Skip to content

Commit

Permalink
2025.01.07
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-jaussaud committed Jan 7, 2025
1 parent 5748de3 commit 7f16419
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 4 deletions.
36 changes: 35 additions & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [] ) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tangible-fields",
"description": "",
"version": "2024.10.24",
"version": "2025.01.07",
"type": "module",
"tangible": {
"deployType": "module"
Expand Down
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7f16419

Please sign in to comment.