- chore: update "tested up to" and stable version tags.
- #211: feat: add wp-graphql as required plugin dependency. Thanks @stefanmomm!
- #224: chore: update issue templates config.yml to link to Discord instead of Slack
- #223: chore: update branding assets
- #214: chore: bump composer/composer from 2.7.4 to 2.7.7 in the composer group across 1 directory
- #231: fix: block type tests failing
This release refactored some internals regarding how Clone fields and Group fields behave. There was no intentional breaking changes to the Schema, but if you are using Clone and Group fields there is a chance that if you were benefiting from a "bug as a feature" there might be some changes that could impact your Schema and/or resolvers, we recommend testing this update on a staging site to ensure things are still working for you as expected. Should you run into any problems, please open a new issue and provide as much detail as possible to help us reproduce the scenario. Thanks! 🙏
- #193: feat: improved handling of clone and group fields
- #194: ci: test against WordPress 6.5
- #181: feat: update docs Date fields to link to the RFC3339 spec
- #182: fix: admin_enqueue_scripts callback should expect a possible null value passed to it
- #185: fix: clone field within a group field type returns null values
- #189: fix: image fields (and other connection fields) not properly resolving when queried asPreview
- #178: fix: Taxonomy field returns incorrect data if set to store objects instead of IDs
- #174: fix: taxonomy field resolves sorted in the incorrect order
- #167: fix: pagination on connection fields
- #166: fix: errors when querying fields of the
acfe_date_range_picker
field type - #165: fix: user field returning all publicly queryable users
While fixing some performance issues we had to adjust the fallback logic for mapping ACF Field Groups to the Schema if they do not have "graphql_types" defined.
ACF Field Groups that did not have "graphql_types" defined AND were assigned to Location Rules based on "post_status", "post_format", "post_category" or "post_taxonomy" might not show in the Schema until their "graphql_types" are explicitly defined.
- #156: feat: Use published ACF values in resolvers for fields associated with posts that use the block editor, since the Block Editor has a bug preventing meta from being saved for previews. Adds a debug message if ACF fields are queried for with "asPreview" on post(s) that use the block editor.
- #156: fix: ACF Fields not resolving when querying "asPreview"
- #155: fix: "show_in_graphql" setting not being respected when turned "off"
- #152: fix: performance issues with mapping ACF Field Groups to the Schema
- #148: fix: bug when querying taxonomy field on blocks
- #146: chore: update phpcs to match core WPGraphQL
- #142: Update README, versions, plugin assets for deploy to WordPress.org.
- #136: fix: clone fields not respecting "prefix_name" setting
- #126: fix: Make sure oembed field is also formatted when part of a flexible_content field. Thanks @kpoelhekke!
- #131: ci: replace Appsero Updater.php with a blank class to satisfy WordPress.org reqs.
- #132: fix: options page with custom post_id not resolving properly
- #16: ci: Build the plugin zip, deploy to WordPress.org
- #114: feat: add pre filter for resolve type
- #111: fix: oembed field type returns embed instead of URL entered to the field
- #112: fix: field groups on page templates not resolving
- #116: fix: error when querying
post_object
,relationship
orpage_link
field nested on arepeater
orflexible_content
field - #122: ci: update tests to run against WordPress 6.4
- #102: fix: ACF Field Group Location Rules -> GraphQL Schema mapping bugs
- #100: fix: bug with CPTUI Imports, post type/taxonomy graphql_single_name not being respected
- #99: fix: Repeater, Group, File field not resolving properly when used as a field on ACF Blocks
- #81: feat: 🚀 ACF Blocks Support. Query ACF Blocks using WPGraphQL!! 🚀 (when WPGraphQL Content Blocks v1.2.0+ is active)
- feat: ACF Options UI support. ACF Pro v6.2 has a new Options Page UI and now you can register those options pages to show in graphql from the UI.
- #77: fix: js error when clone fields are added to a field group.
- #80: ci: put the files in a subfolder when build zip in github
- fix: cloning an individual field applied the entire cloned field's group as an interface to the clonee field group.
- #85: fix: TermNodes returning null when not array and fix type being set to generic TermNode in Taxonomy field
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)
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.
- #67: [BREAKING] feat: introduce new hook and filter names to reduce chances of conflicting with custom code extending the previous version of the plugin.
- #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
- #60: fix: graphql_field_names were being set incorrectly when adding new fields.
- #46: feat: add "graphql_non_null" setting for fields
- #54: fix: change namespace from WPGraphQLAcf to WPGraphQL\ACF
- #55: fix: cline fields not resolving properly
- #47: fix: allow inactive field groups to show in the Schema (but prevent their location rules from being set)
- #47 feat: Expose field groups that are not active, but set to "show_in_graphql" to allow inactive groups to be cloned and used in the schema.
- #38 feat: ACF Options Page support
- #38 feat: ACF Extended / ACF Extended Pro support
- #35 feat: add Appsero opt-in telemetry.
- feat: add checks for dependencies (WPGraphQL, ACF, min versions, etc) before loading functionality. Show admin notice and graphql_debug messages if pre-reqs aren't satisfied.
- #33 fix: failing github workflow for uploading the graphql schema artifact upon releases. No functional changes for users.
- chore: debugging github workflow for uploading Schema Artifact
- #31 fix: Prevent fatal error when editing ACF Field Groups
- Initial public release. "Quiet Beta".