From a724d5a55481fccebf5133b29eeab4d451f56d61 Mon Sep 17 00:00:00 2001 From: Jason Bahl Date: Fri, 4 Aug 2023 12:58:38 -0600 Subject: [PATCH] - update version, changelog for release --- CHANGELOG.md | 30 +++++++++++++++++++++++++++++- wp-graphql-acf.php | 4 ++-- 2 files changed, 31 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7158a3..abb16cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,36 @@ # Changelog +## v2.0.0-beta.4.0.0 + +### 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: [https://github.com/wp-graphql/wpgraphql-acf/pull/67#issue-1818715865](https://github.com/wp-graphql/wpgraphql-acf/pull/67#issue-1818715865) + + +#### 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](https://github.com/wp-graphql/wpgraphql-acf/pull/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](https://github.com/wp-graphql/wpgraphql-acf/pull/62): fix: prepare values when return_format is set to "array" +- [#68](https://github.com/wp-graphql/wpgraphql-acf/pull/68): fix: fieldGroupName was always returning null +- [#69](https://github.com/wp-graphql/wpgraphql-acf/pull/69): fix: graphql_description default value incorrect +- [#73](https://github.com/wp-graphql/wpgraphql-acf/pull/73): fix: replace filter_input with sanitize_text_field + ## v2.0.0-beta.3.1.0 -## Chores / Bugfixes +### Chores / Bugfixes - [#60](https://github.com/wp-graphql/wpgraphql-acf/pull/60): fix: graphql_field_names were being set incorrectly when adding new fields. diff --git a/wp-graphql-acf.php b/wp-graphql-acf.php index 5a3a197..e1633d7 100644 --- a/wp-graphql-acf.php +++ b/wp-graphql-acf.php @@ -4,7 +4,7 @@ * Description: Re-imagining the WPGraphQL for ACF plugin * Author: WPGraphQL, Jason Bahl * Author URI: https://www.wpgraphql.com - * Version: 2.0.0-beta.3.1.0 + * Version: 2.0.0-beta.4.0.0 * Text Domain: wp-graphql-acf * Requires PHP: 7.3 * Requires at least: 5.9 @@ -29,7 +29,7 @@ } if ( ! defined( 'WPGRAPHQL_FOR_ACF_VERSION' ) ) { - define( 'WPGRAPHQL_FOR_ACF_VERSION', '2.0.0-beta.3.1.0' ); + define( 'WPGRAPHQL_FOR_ACF_VERSION', '2.0.0-beta.4.0.0' ); } if ( ! defined( 'WPGRAPHQL_FOR_ACF_VERSION_WPGRAPHQL_REQUIRED_MIN_VERSION' ) ) {