Skip to content

Commit d5f2c8c

Browse files
authored
Merge pull request #74 from wp-graphql/release/v2.0.0-beta.4.0.0
release: v2.0.0 beta.4.0.0
2 parents 66d8c55 + 63f88dc commit d5f2c8c

File tree

2 files changed

+31
-3
lines changed

2 files changed

+31
-3
lines changed

CHANGELOG.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,36 @@
11
# Changelog
22

3+
## v2.0.0-beta.4.0.0
4+
5+
### Breaking Changes
6+
7+
#### Hook / Filter Name Changes
8+
9+
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.
10+
11+
If you have custom code that was hooking into / filtering WPGraphQL for ACF, check your hook names.
12+
13+
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)
14+
15+
16+
#### LocationRules namespace change
17+
18+
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.
19+
20+
### New Features
21+
22+
- [#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.
23+
24+
### Chores / Bugfixes
25+
26+
- [#62](https://github.com/wp-graphql/wpgraphql-acf/pull/62): fix: prepare values when return_format is set to "array"
27+
- [#68](https://github.com/wp-graphql/wpgraphql-acf/pull/68): fix: fieldGroupName was always returning null
28+
- [#69](https://github.com/wp-graphql/wpgraphql-acf/pull/69): fix: graphql_description default value incorrect
29+
- [#73](https://github.com/wp-graphql/wpgraphql-acf/pull/73): fix: replace filter_input with sanitize_text_field
30+
331
## v2.0.0-beta.3.1.0
432

5-
## Chores / Bugfixes
33+
### Chores / Bugfixes
634

735
- [#60](https://github.com/wp-graphql/wpgraphql-acf/pull/60): fix: graphql_field_names were being set incorrectly when adding new fields.
836

wp-graphql-acf.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Description: Re-imagining the WPGraphQL for ACF plugin
55
* Author: WPGraphQL, Jason Bahl
66
* Author URI: https://www.wpgraphql.com
7-
* Version: 2.0.0-beta.3.1.0
7+
* Version: 2.0.0-beta.4.0.0
88
* Text Domain: wp-graphql-acf
99
* Requires PHP: 7.3
1010
* Requires at least: 5.9
@@ -29,7 +29,7 @@
2929
}
3030

3131
if ( ! defined( 'WPGRAPHQL_FOR_ACF_VERSION' ) ) {
32-
define( 'WPGRAPHQL_FOR_ACF_VERSION', '2.0.0-beta.3.1.0' );
32+
define( 'WPGRAPHQL_FOR_ACF_VERSION', '2.0.0-beta.4.0.0' );
3333
}
3434

3535
if ( ! defined( 'WPGRAPHQL_FOR_ACF_VERSION_WPGRAPHQL_REQUIRED_MIN_VERSION' ) ) {

0 commit comments

Comments
 (0)