You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- WHAT the breaking change is: Added new `rich-text` type
10
+
- WHY the change was made: WordPress 6.5 replaced some of the attribute types from string to `rich-text` causing breaking changes to the existing block fields.
11
+
- HOW a consumer should update their code: If users need to use WordPress >= 6.5 they need to update this plugin to the latest version and update their graphql schemas.
12
+
13
+
### Patch Changes
14
+
15
+
- d62e8db: chore: remove `squizlabs/php_codesniffer` from Composer's direct dependencies.
16
+
- e348494: fix: handle arrays before casting when using `Block::normalize_attribute_value()`
17
+
- 7bf6bcb: fix: Change Block:get_block_attribute_fields()`$prefix parameter be an optional`string`.
18
+
- e6b4ac4: chore: update Composer dev-deps and lint
19
+
- 05b21b5: fix: Update parameter type for `$supported_blocks_for_post_type_context` in `wpgraphql_content_blocks_should_apply_post_type_editor_blocks_interfaces` to support boolean values
20
+
- 7b49863: chore: Bump PHPStan.neon.dist to level 8 and generate baseline of existing tech debt.
21
+
- 0c8e2c7: fix: check for `post_content` before attempting to parse them.
22
+
- 8eb1bb8: chore: remove unnecessary `isset()` in Anchor::get_block_interfaces().
23
+
- bdff4fb: dev: inline and remove `Block::resolve()` and make `name` field nullable.
24
+
- 9b0a63e: fix: Ensure valid `WP_Block_Type` before applying `Anchor` interfaces.
25
+
- 2d4a218: fix: : rename `WPGraphQLHelpers` file to match class casing. The file name has been changed from `includes/Utilities/WPGraphqlHelpers.php` to `includes/Utilities/WPGraphQLHelpers.php`.
26
+
- d00ee4a: fix: rename `DomHelpers.php` to `DOMHelpers.php` and improve type-safety of internal methods.
27
+
- 66f74fb: chore: stub WP_Post_Type and boostrap wp-graphql-content-blocks.php when scanning with PHPStan
28
+
- ad03a21: fix: Don't register `NodeWithEditorBlocks` interface to `null` type names.
29
+
- 43791db: chore: update PHPStan ruleset for stricter linting, and address newly-discovered tech debt.
- WHAT the breaking change is: Added new `rich-text` type
35
+
- WHY the change was made: WordPress 6.5 replaced some of the attribute types from string to `rich-text` causing breaking changes to the existing block fields.
36
+
- HOW a consumer should update their code: If users need to use WordPress >= 6.5 they need to update this plugin to the latest version and update their graphql schemas.
37
+
38
+
### Patch Changes
39
+
40
+
- d62e8db: chore: remove `squizlabs/php_codesniffer` from Composer's direct dependencies.
41
+
- e348494: fix: handle arrays before casting when using `Block::normalize_attribute_value()`
42
+
- 7bf6bcb: fix: Change Block:get_block_attribute_fields()`$prefix parameter be an optional`string`.
43
+
- e6b4ac4: chore: update Composer dev-deps and lint
44
+
- 05b21b5: fix: Update parameter type for `$supported_blocks_for_post_type_context` in `wpgraphql_content_blocks_should_apply_post_type_editor_blocks_interfaces` to support boolean values
45
+
- 7b49863: chore: Bump PHPStan.neon.dist to level 8 and generate baseline of existing tech debt.
46
+
- 0c8e2c7: fix: check for `post_content` before attempting to parse them.
47
+
- 8eb1bb8: chore: remove unnecessary `isset()` in Anchor::get_block_interfaces().
48
+
- bdff4fb: dev: inline and remove `Block::resolve()` and make `name` field nullable.
49
+
- 9b0a63e: fix: Ensure valid `WP_Block_Type` before applying `Anchor` interfaces.
50
+
- 2d4a218: fix: : rename `WPGraphQLHelpers` file to match class casing. The file name has been changed from `includes/Utilities/WPGraphqlHelpers.php` to `includes/Utilities/WPGraphQLHelpers.php`.
51
+
- d00ee4a: fix: rename `DomHelpers.php` to `DOMHelpers.php` and improve type-safety of internal methods.
52
+
- 66f74fb: chore: stub WP_Post_Type and boostrap wp-graphql-content-blocks.php when scanning with PHPStan
53
+
- ad03a21: fix: Don't register `NodeWithEditorBlocks` interface to `null` type names.
54
+
- 43791db: chore: update PHPStan ruleset for stricter linting, and address newly-discovered tech debt.
55
+
28
56
= 3.1.2 =
29
57
30
58
### Patch Changes
@@ -37,10 +65,4 @@ Extends WPGraphQL to support querying (Gutenberg) Blocks as data.
37
65
38
66
- bc32b94: No functional changes between 3.1.0 and 3.1.1. This was tagged due to pipeline issues during the 3.1.0 release.
39
67
40
-
= 3.1.0 =
41
-
42
-
### Minor Changes
43
-
44
-
- 9fab724: Added support for automatic updates hosted from WP Engine infrastructure. Includes warnings when major versions with potential breaking changes are released.
45
-
46
-
[View the full changelog](https://github.com/wpengine/wp-graphql-content-blocks/blob/main/CHANGELOG.md)
68
+
[View the full changelog](https://github.com/wpengine/wp-graphql-content-blocks/blob/main/CHANGELOG.md)
0 commit comments