Skip to content

Commit 3fb784d

Browse files
authored
Merge pull request #270 from wpengine/changeset-release/main
Release Plugin
2 parents de593ef + cc0d884 commit 3fb784d

17 files changed

+46
-97
lines changed

.changeset/five-turtles-rule.md

-5
This file was deleted.

.changeset/giant-buttons-decide.md

-5
This file was deleted.

.changeset/green-cows-accept.md

-5
This file was deleted.

.changeset/heavy-pans-excercise.md

-5
This file was deleted.

.changeset/large-cheetahs-flow.md

-5
This file was deleted.

.changeset/late-poems-study.md

-5
This file was deleted.

.changeset/light-frogs-grow.md

-5
This file was deleted.

.changeset/little-cobras-admire.md

-5
This file was deleted.

.changeset/many-waves-cry.md

-5
This file was deleted.

.changeset/silly-lions-study.md

-5
This file was deleted.

.changeset/smooth-years-love.md

-5
This file was deleted.

.changeset/tame-spoons-float.md

-5
This file was deleted.

.changeset/ten-bulldogs-cover.md

-5
This file was deleted.

CHANGELOG.md

+21
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# WPGraphQL Content Blocks
22

3+
## 4.2.0
4+
5+
### Minor Changes
6+
7+
- 766737d: fix: cleanup constants and refactor autoload handling to improve Composer compatibility.
8+
- 7514021: chore: Update Composer dev-dependencies to their latest (semver-compatible) versions.
9+
- b64583f: dev: Add `wpgraphql_content_blocks_pre_resolve_blocks` and `wp_graphql_content_blocks_resolve_blocks` filters.
10+
- 179948c: dev: make `PluginUpdater` namespaced functions PSR-4 compatible.
11+
- bced76d: feat: expose `EditorBlock.type` field
12+
13+
### Patch Changes
14+
15+
- de885f1: Skip the Sonar Qube workflow if the user that opened the PR is not a member of the Github org
16+
- 6ced628: Fix: prevent fatal errors when get_current_screen() is unset.
17+
- 58b6792: chore: remediate non-code PHPStan errors in phpstan-baseline.neon
18+
- c3e11b1: ci: test against WordPress 6.6
19+
- 27f459f: tests: fix PHP deprecation notices
20+
- 4f4b851: tests: fix order of expected/actual values passed to asserts.
21+
- 89b6c60: tests: lint and format PHPUnit tests
22+
- 65f0c2d: Update @since @todo tags and @todo placeholders in \_deprecated_function calls
23+
324
## 4.1.0
425

526
### Minor Changes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@wpengine/wp-graphql-content-blocks",
33
"private": true,
4-
"version": "4.1.0",
4+
"version": "4.2.0",
55
"engines": {
66
"node": ">=16.0.0"
77
},

readme.txt

+23-30
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: blakewpe, chriswiegman, joefusco, matthewguywright, TeresaGobble,
33
Tags: faustjs, faust, headless, decoupled, gutenberg
44
Requires at least: 5.7
55
Tested up to: 6.6.2
6-
Stable tag: 4.1.0
6+
Stable tag: 4.2.0
77
Requires PHP: 7.4
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -25,6 +25,27 @@ Extends WPGraphQL to support querying (Gutenberg) Blocks as data.
2525

2626
== Changelog ==
2727

28+
= 4.2.0 =
29+
30+
### Minor Changes
31+
32+
- 766737d: fix: cleanup constants and refactor autoload handling to improve Composer compatibility.
33+
- 7514021: chore: Update Composer dev-dependencies to their latest (semver-compatible) versions.
34+
- b64583f: dev: Add `wpgraphql_content_blocks_pre_resolve_blocks` and `wp_graphql_content_blocks_resolve_blocks` filters.
35+
- 179948c: dev: make `PluginUpdater` namespaced functions PSR-4 compatible.
36+
- bced76d: feat: expose `EditorBlock.type` field
37+
38+
### Patch Changes
39+
40+
- de885f1: Skip the Sonar Qube workflow if the user that opened the PR is not a member of the Github org
41+
- 6ced628: Fix: prevent fatal errors when get_current_screen() is unset.
42+
- 58b6792: chore: remediate non-code PHPStan errors in phpstan-baseline.neon
43+
- c3e11b1: ci: test against WordPress 6.6
44+
- 27f459f: tests: fix PHP deprecation notices
45+
- 4f4b851: tests: fix order of expected/actual values passed to asserts.
46+
- 89b6c60: tests: lint and format PHPUnit tests
47+
- 65f0c2d: Update @since @todo tags and @todo placeholders in \_deprecated_function calls
48+
2849
= 4.1.0 =
2950

3051
### Minor Changes
@@ -52,32 +73,4 @@ Extends WPGraphQL to support querying (Gutenberg) Blocks as data.
5273
- 8d8ce66: fix: refactor `Block::resolve_block_attributes_recursive()` and improve type safety
5374
- a910d62: fix: Don't overload `NodeWithEditorBlocks.flat` on implementing Interfaces.
5475

55-
= 4.0.0 =
56-
57-
### Major Changes
58-
59-
- ed23a32: MAJOR: Update Schema to reflect latest WordPress 6.5 changes.
60-
61-
- WHAT the breaking change is: Added new `rich-text` type
62-
- 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.
63-
- 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.
64-
65-
### Patch Changes
66-
67-
- d62e8db: chore: remove `squizlabs/php_codesniffer` from Composer's direct dependencies.
68-
- e348494: fix: handle arrays before casting when using `Block::normalize_attribute_value()`
69-
- 7bf6bcb: fix: Change Block:get_block_attribute_fields()`$prefix parameter be an optional`string`.
70-
- e6b4ac4: chore: update Composer dev-deps and lint
71-
- 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
72-
- 7b49863: chore: Bump PHPStan.neon.dist to level 8 and generate baseline of existing tech debt.
73-
- 0c8e2c7: fix: check for `post_content` before attempting to parse them.
74-
- 8eb1bb8: chore: remove unnecessary `isset()` in Anchor::get_block_interfaces().
75-
- bdff4fb: dev: inline and remove `Block::resolve()` and make `name` field nullable.
76-
- 9b0a63e: fix: Ensure valid `WP_Block_Type` before applying `Anchor` interfaces.
77-
- 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`.
78-
- d00ee4a: fix: rename `DomHelpers.php` to `DOMHelpers.php` and improve type-safety of internal methods.
79-
- 66f74fb: chore: stub WP_Post_Type and boostrap wp-graphql-content-blocks.php when scanning with PHPStan
80-
- ad03a21: fix: Don't register `NodeWithEditorBlocks` interface to `null` type names.
81-
- 43791db: chore: update PHPStan ruleset for stricter linting, and address newly-discovered tech debt.
82-
83-
[View the full changelog](https://github.com/wpengine/wp-graphql-content-blocks/blob/main/CHANGELOG.md)
76+
[View the full changelog](https://github.com/wpengine/wp-graphql-content-blocks/blob/main/CHANGELOG.md)

wp-graphql-content-blocks.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
99
* Text Domain: wp-graphql-content-blocks
1010
* Domain Path: /languages
11-
* Version: 4.1.0
11+
* Version: 4.2.0
1212
* Requires PHP: 7.4
1313
* Requires at least: 5.7
1414
*

0 commit comments

Comments
 (0)