diff --git a/docs/changelog.md b/docs/changelog.md index 9982ad4d..fddbf724 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,10 +1,44 @@ +# 20250107 + +- Dependent attributes + - Add possibility to add multiple dependent string on the same attribtue + - Add possibility to add dependent attribute inside a string + - Add support for callbackData + - Fix issue when formating dependent attributes +- Development: + - Add archive command to create zip package + - Add E2E testing with Playwright and wp-now + - Add GitHub release workflow for version tag + - Add local site environment with wp-now + - Add NPM script "version" to update module version + - Documentation: Move documentation from the [fields-example](https://github.com/TangibleInc/fields-example) plugin to the example folder + - Document local test site and installing dev dependencies such as third-party plugins + - Load Framework and Updater when running as plugin + - Load Updater module when running as plugin + - Move to devDependencies: @playwright/test, @wordpress/e2e-test-utils-playwright, concurrently + - Update dependencies + - Update URLs from Bitbucket to GitHub + - Use standard module loader +- Fields: + - Combobox: Async - Attempt to convert response to an array if it's an object + - Checkbox: Make label clickable + - Fetch/Store: Add possibility to pass an optional array + - Repeater: Add possibility to override string for the add button + - Repeater: Add possibility to register repeater layout from outisde of fields and give access to dispatcher + - Repeater: Add Tab layout + - Repeater: Fix default layout not being set correctly + - Switch: Style - Use aspect ratio to change size easily + - Text: Improve readonly mode +- Tests: + - Checkbox: Add tests + # 20240927 - Dependent attribues: - Add possibility to define a callback to format the dependent value before using it as a prop - Dynamic values: - Format: Move formating logic from PHP to JS -- Dev: +- Development: - Update npm dependencies and switch to ES module - Improve `initField` and `initElement` events - Add `ready` event diff --git a/index.php b/index.php index 3522dfc3..a0375913 100644 --- a/index.php +++ b/index.php @@ -13,7 +13,7 @@ function tangible_fields( $arg = false ) { public $name = 'tangible_fields'; // Remember to update the version - Expected format: YYYYMMDD - public $version = '20241024'; + public $version = '20250107'; // Dynamic methods function __call( $method = '', $args = [] ) { diff --git a/package.json b/package.json index b9cef447..108b1bb4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "tangible-fields", "description": "", - "version": "2024.10.24", + "version": "2025.01.07", "type": "module", "tangible": { "deployType": "module" diff --git a/plugin.php b/plugin.php index 7dfcf71f..bce5a8bb 100644 --- a/plugin.php +++ b/plugin.php @@ -2,7 +2,7 @@ /** * Plugin Name: Tangible Fields * Description: React-based custom fields library - * Version: 2024.10.24 + * Version: 2025.01.07 */ use tangible\framework; use tangible\updater;