Skip to content

v2.0.0-beta.4.0.0

Compare
Choose a tag to compare
@jasonbahl jasonbahl released this 04 Aug 19:11
· 323 commits to main since this release
d5f2c8c

Release Notes

Breaking Changes

Hook / Filter Name Changes

This release contains breaking changes. Action and Filter names have been renamed to be more consistent across the codebase and to follow a "namespace" pattern similar to core ACF.

If you have custom code that was hooking into / filtering WPGraphQL for ACF, check your hook names.

There's a table documenting the name changes here: #67 (comment)

LocationRules namespace change

The LocationRules class has changed from \WPGraphQL\Acf\LocationRules to \WPGraphQL\Acf\LocationRules\LocationRules. It's unlikely that you have custom code referencing this class, but if you do, you'll need to update references.

New Features

  • #67: [BREAKING] feat: introduce new hook and filter names to reduce chances of conflicting with custom code extending the previous version of the plugin.

Chores / Bugfixes

  • #62: fix: prepare values when return_format is set to "array"
  • #68: fix: fieldGroupName was always returning null
  • #69: fix: graphql_description default value incorrect
  • #73: fix: replace filter_input with sanitize_text_field

Full Changelog: v2.0.0-beta.3.1.0...v2.0.0-beta.4.0.0