Skip to content

v0.13.4

Latest

Choose a tag to compare

@justlevine justlevine released this 14 Feb 20:09
a1edc67

This minor release adds support for filtering entries by isRead and isStarred statuses, improves handling of AddressField default values, and deprecates the PhoneField.phoneFormat field in favor of PhoneField.phoneFormatType (with a new GfPhoneFormat type incoming).

Important

GfFieldWithAddressSetting.defaultState and changed type from AddressFieldProvinceEnum to AddressFieldStateEnum.
While this is technically a breaking schema change, we're treating it as a bugfix, since trying to get US State values coerced into a Canadian Province would have caused users any users who had adopted this approach fatal errors.

What's Changed

  • feat: Deprecate PhoneField.phoneFormat in favor of PhoneField.phoneFormatType, and add new GfPhoneFormat type. Props @chetanupare, @justlevine.
  • feat: Add support for filtering entries by isRead and isStarred statuses.
  • fix: Correctly resolve AddressField.defaultState, AddressField.defaultProvince based on the addressType. H/t @byanko-bot
  • fix: Set the default AddressField.inputs.label for the State/Province and Zip/Postal inputs based on the addressType. H/t @byanko-bot
  • chore: Update Composer and NPM deps.
  • tests: Improve cleanup and factory instantiation for better local isolation.
  • tests: Backfill tests for Entry connection args.

Included PRs

  • chore(deps): bump the github-actions-updates group with 6 updates by @dependabot[bot] in #473
  • chore(deps-dev): bump wp-cli/wp-cli-bundle from 2.11.0 to 2.12.0 in the composer-dev-minor-patch group by @dependabot[bot] in #472
  • chore(deps-dev): bump phpunit/phpunit from 9.6.31 to 9.6.34 by @dependabot[bot] in #474
  • chore(deps): bump actions/cache from 5.0.2 to 5.0.3 in the github-actions-updates group by @dependabot[bot] in #478
  • chore(deps-dev): bump phpstan/phpstan from 2.1.35 to 2.1.37 in the composer-dev-minor-patch group by @dependabot[bot] in #477
  • chore(deps-dev): bump phpstan/phpstan from 2.1.37 to 2.1.38 in the composer-dev-minor-patch group by @dependabot[bot] in #480
  • chore(deps-dev): bump the npm-minor-patch group across 1 directory with 3 updates by @dependabot[bot] in #481
  • chore: update deps by @justlevine in #482
  • fix: resolve AddressField defaults by type by @justlevine in #483
  • feat: Add phone format properties to resolve issue #441 by @chetanupare in #475
  • tests: improve test cleanup by @justlevine in #484
  • feat: filter entries by isRead and isStarred by @justlevine in #485
  • chore: version bump by @justlevine in #486

New Contributors

Full Changelog: v0.13.3...v0.13.4