v0.5.0
Release Notes
This release focuses primarily on Location Rules and how ACF Field Groups are mapped to the WPGraphQL Schema.
Bugfixes / Chores
- #174: Typo fix in README. Thanks @pickleat!
- #175: Fixes problem with return type on Select fields. Thanks @ljanecek!
- #191: Replaces deprecated
acf_get_term_post_id()
method. Thanks @sboerrigter! - #197: Adds URI to play nice with Github Plugin Updater
- #235: Updates README to include docs for registering field groups in PHP. Thanks @XAce90!
New Features / Big Changes
LOCATION, LOCATION, LOCATION!!!
This release primarily addresses issues related to Field Group location rules and adding field groups to the GraphQL Schema.
Prior to this release, ACF Field Groups were added to the GraphQL Schema strictly by analyzing the ACF Location Rules for the field group(s) and attempting to map the field group to the Schema.
Some rules are quite nuanced and hard to translate, and in some cases this meant that the Field Group would simply not show up in the Schema, or in other cases the field group wouldn't show exactly where you wanted.
This release brings a new way of mapping ACF Field Groups to the WPGraphQL Schema.
It still uses ACF Location Rules to try and "guess" where in the Schema the field group should show, but now it shows you where it will be and allows you to opt-out of the auto-mapping and set the GraphQL Types the field group should show on manually.
🎥 👉 This video walks through this new functionality: https://youtu.be/VvrZGrcwv0Y
Closes the following issues:
- closes #58
- closes #149
- closes #169
- closes #206
- closes #76
- closes #135
- closes #198
- closes #189
- closes #186
- closes #188
- closes #210
- closes #22
- closes #42
- closes #52
- closes #65
- closes #127
- closes #132
- closes #162
- closes #203
- closes #233
📣 HUGE shout out to @drewbaker @rsm0128 and @funkhaus for putting a lot of time and energy into Location Rule revamp. Would not be where it is without your work!!! 🙌🏻