Skip to content

Commit ec2e703

Browse files
committed
feat: Update version to 0.2 and enhance changelog with detailed fixes and new features
1 parent 445f8a5 commit ec2e703

4 files changed

Lines changed: 45 additions & 12 deletions

File tree

CHANGELOG.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
### Added
11-
- GitHub Actions workflow for automated releases
12-
- Comprehensive documentation index
13-
- Cross-linked documentation for better navigation
14-
- LICENSE file at repository root
15-
- Updated CONTRIBUTING.md with step-by-step guide
16-
- GitHub Actions build verification workflow
10+
---
11+
12+
## [0.2.0] - 2025-07-13
1713

1814
### Fixed
15+
- **Page templates not fetched** (GitHub #1) — now dynamically scans all public post types and block theme templates
16+
- Template matching failure when default template is selected (value mismatch between `get_page_template_slug()` returning `''` and rules storing `'default'`)
17+
- Fields not saving when fieldsets have template, category, or post format location rules (missing context in `save_post()`)
18+
- Admin interface failed to load any data — localized script variable name mismatch (`cofAdmin``openfieldsAdmin`)
19+
- Invalid menu icon (`dashicons-forms` does not exist, replaced with `dashicons-editor-table`)
20+
- Meta box script localization targeting non-existent `cof-meta-box` handle (changed to `cof-fields`)
21+
- Term and user default value logic overriding intentional `0`/empty values (now uses `metadata_exists()`)
22+
- Admin mount point ID mismatch between PHP (`cof-admin`) and React (`openfields-admin`)
1923
- TypeScript type error in ConditionalLogicPanel (field ID to string conversion)
2024
- Deprecated `get_openfields()` reference removed from documentation
2125

26+
### Added
27+
- Dynamic page template options in location rule builder (fetched from WordPress instead of hardcoded)
28+
- Post Category and Post Format location rule types in admin UI
29+
- Categories, post formats, and page templates provided to admin via localized data
30+
- Plugin text domain loading for translation support
31+
- Activation redirect transient for first-time setup experience
32+
- Switch field renderer include (was missing)
33+
- GitHub Actions workflow for automated releases
34+
- Comprehensive documentation index with cross-linked navigation
35+
2236
### Changed
37+
- Removed unnecessary `flush_rewrite_rules()` on activation/deactivation
38+
- Removed phantom scheduled hook cleanup for non-existent cron event
2339
- Completely redesigned README for user-friendliness
2440
- Simplified and reorganized CONTRIBUTING.md
25-
- Added "See Also" links to all main documentation files
2641
- Improved documentation discoverability with INDEX.md
2742

2843
---

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openfields",
3-
"version": "0.1.1",
3+
"version": "0.2",
44
"type": "module",
55
"description": "Modern custom fields builder for WordPress. Create and manage custom field groups with an intuitive interface.",
66
"author": "Codeideal",

plugin/codeideal-open-fields.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Codeideal Open Fields
44
* Plugin URI: https://openfields.codeideal.com
55
* Description: Modern custom fields builder for WordPress. Create and manage custom field groups with an intuitive interface.
6-
* Version: 0.1.1
6+
* Version: 0.2
77
* Requires at least: 6.0
88
* Requires PHP: 7.4
99
* Author: Codeideal
@@ -22,7 +22,7 @@
2222
}
2323

2424
// Define plugin constants.
25-
define( 'COF_VERSION', '0.1.1' );
25+
define( 'COF_VERSION', '0.2' );
2626
define( 'COF_PLUGIN_FILE', __FILE__ );
2727
define( 'COF_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
2828
define( 'COF_PLUGIN_URL', plugin_dir_url( __FILE__ ) );

plugin/readme.txt

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://codeideal.com
44
Tags: custom fields, meta fields, field builder, post meta, custom meta
55
Requires at least: 6.0
66
Tested up to: 6.9
7-
Stable tag: 0.1.1
7+
Stable tag: 0.2
88
Requires PHP: 7.4
99
License: GPLv2 or later
1010
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -86,6 +86,24 @@ Use the standard WordPress functions like `get_post_meta()` or the helper functi
8686

8787
== Changelog ==
8888

89+
= 0.2 =
90+
* Fixed: Page templates not fetched dynamically — now scans all public post types and block theme templates
91+
* Fixed: Template matching failure when default template is selected (value mismatch between WordPress API and stored rules)
92+
* Fixed: Fields not saving when fieldsets use template, category, or post format location rules
93+
* Fixed: Admin interface failed to load data (localized script variable name mismatch)
94+
* Fixed: Invalid menu icon (dashicons-forms does not exist)
95+
* Fixed: Meta box script localization targeting non-existent script handle
96+
* Fixed: Term and user default value logic overriding intentional "0" or empty values
97+
* Added: Dynamic page template options in location rule builder (fetched from WordPress, no longer hardcoded)
98+
* Added: Post Category and Post Format location rule types in admin UI
99+
* Added: Categories, post formats, and page templates provided to admin via localized data
100+
* Added: Plugin text domain loading for translation support
101+
* Added: Activation redirect transient for first-time setup experience
102+
* Added: Switch field renderer include (was missing)
103+
* Improved: Removed unnecessary flush_rewrite_rules on activation/deactivation
104+
* Improved: Removed phantom scheduled hook cleanup for non-existent cron event
105+
* Improved: Admin mount point ID aligned between PHP and React
106+
89107
= 0.1.1 =
90108
* Rebranded to Codeideal Open Fields
91109
* Improved security and code quality

0 commit comments

Comments
 (0)