Skip to content

Commit

Permalink
Merge pull request #270 from wpengine/changeset-release/main
Browse files Browse the repository at this point in the history
Release Plugin
  • Loading branch information
jasonbahl authored Sep 19, 2024
2 parents de593ef + cc0d884 commit 3fb784d
Show file tree
Hide file tree
Showing 17 changed files with 46 additions and 97 deletions.
5 changes: 0 additions & 5 deletions .changeset/five-turtles-rule.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/giant-buttons-decide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/green-cows-accept.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/heavy-pans-excercise.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/large-cheetahs-flow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/late-poems-study.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/light-frogs-grow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/little-cobras-admire.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/many-waves-cry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silly-lions-study.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/smooth-years-love.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tame-spoons-float.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ten-bulldogs-cover.md

This file was deleted.

21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# WPGraphQL Content Blocks

## 4.2.0

### Minor Changes

- 766737d: fix: cleanup constants and refactor autoload handling to improve Composer compatibility.
- 7514021: chore: Update Composer dev-dependencies to their latest (semver-compatible) versions.
- b64583f: dev: Add `wpgraphql_content_blocks_pre_resolve_blocks` and `wp_graphql_content_blocks_resolve_blocks` filters.
- 179948c: dev: make `PluginUpdater` namespaced functions PSR-4 compatible.
- bced76d: feat: expose `EditorBlock.type` field

### Patch Changes

- de885f1: Skip the Sonar Qube workflow if the user that opened the PR is not a member of the Github org
- 6ced628: Fix: prevent fatal errors when get_current_screen() is unset.
- 58b6792: chore: remediate non-code PHPStan errors in phpstan-baseline.neon
- c3e11b1: ci: test against WordPress 6.6
- 27f459f: tests: fix PHP deprecation notices
- 4f4b851: tests: fix order of expected/actual values passed to asserts.
- 89b6c60: tests: lint and format PHPUnit tests
- 65f0c2d: Update @since @todo tags and @todo placeholders in \_deprecated_function calls

## 4.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@wpengine/wp-graphql-content-blocks",
"private": true,
"version": "4.1.0",
"version": "4.2.0",
"engines": {
"node": ">=16.0.0"
},
Expand Down
53 changes: 23 additions & 30 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: blakewpe, chriswiegman, joefusco, matthewguywright, TeresaGobble,
Tags: faustjs, faust, headless, decoupled, gutenberg
Requires at least: 5.7
Tested up to: 6.6.2
Stable tag: 4.1.0
Stable tag: 4.2.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand All @@ -25,6 +25,27 @@ Extends WPGraphQL to support querying (Gutenberg) Blocks as data.

== Changelog ==

= 4.2.0 =

### Minor Changes

- 766737d: fix: cleanup constants and refactor autoload handling to improve Composer compatibility.
- 7514021: chore: Update Composer dev-dependencies to their latest (semver-compatible) versions.
- b64583f: dev: Add `wpgraphql_content_blocks_pre_resolve_blocks` and `wp_graphql_content_blocks_resolve_blocks` filters.
- 179948c: dev: make `PluginUpdater` namespaced functions PSR-4 compatible.
- bced76d: feat: expose `EditorBlock.type` field

### Patch Changes

- de885f1: Skip the Sonar Qube workflow if the user that opened the PR is not a member of the Github org
- 6ced628: Fix: prevent fatal errors when get_current_screen() is unset.
- 58b6792: chore: remediate non-code PHPStan errors in phpstan-baseline.neon
- c3e11b1: ci: test against WordPress 6.6
- 27f459f: tests: fix PHP deprecation notices
- 4f4b851: tests: fix order of expected/actual values passed to asserts.
- 89b6c60: tests: lint and format PHPUnit tests
- 65f0c2d: Update @since @todo tags and @todo placeholders in \_deprecated_function calls

= 4.1.0 =

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

= 4.0.0 =

### Major Changes

- ed23a32: MAJOR: Update Schema to reflect latest WordPress 6.5 changes.

- WHAT the breaking change is: Added new `rich-text` type
- 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.
- 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.

### Patch Changes

- d62e8db: chore: remove `squizlabs/php_codesniffer` from Composer's direct dependencies.
- e348494: fix: handle arrays before casting when using `Block::normalize_attribute_value()`
- 7bf6bcb: fix: Change Block:get_block_attribute_fields()`$prefix parameter be an optional`string`.
- e6b4ac4: chore: update Composer dev-deps and lint
- 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
- 7b49863: chore: Bump PHPStan.neon.dist to level 8 and generate baseline of existing tech debt.
- 0c8e2c7: fix: check for `post_content` before attempting to parse them.
- 8eb1bb8: chore: remove unnecessary `isset()` in Anchor::get_block_interfaces().
- bdff4fb: dev: inline and remove `Block::resolve()` and make `name` field nullable.
- 9b0a63e: fix: Ensure valid `WP_Block_Type` before applying `Anchor` interfaces.
- 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`.
- d00ee4a: fix: rename `DomHelpers.php` to `DOMHelpers.php` and improve type-safety of internal methods.
- 66f74fb: chore: stub WP_Post_Type and boostrap wp-graphql-content-blocks.php when scanning with PHPStan
- ad03a21: fix: Don't register `NodeWithEditorBlocks` interface to `null` type names.
- 43791db: chore: update PHPStan ruleset for stricter linting, and address newly-discovered tech debt.

[View the full changelog](https://github.com/wpengine/wp-graphql-content-blocks/blob/main/CHANGELOG.md)
[View the full changelog](https://github.com/wpengine/wp-graphql-content-blocks/blob/main/CHANGELOG.md)
2 changes: 1 addition & 1 deletion wp-graphql-content-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: wp-graphql-content-blocks
* Domain Path: /languages
* Version: 4.1.0
* Version: 4.2.0
* Requires PHP: 7.4
* Requires at least: 5.7
*
Expand Down

0 comments on commit 3fb784d

Please sign in to comment.