From 6f5c0b6908d5932ac0ca5faea54edbc4b9237c5d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 16:31:51 +0000 Subject: [PATCH] Release Plugin (#291) * Release Plugin * chore: update versionPlugin.js --------- Co-authored-by: github-actions[bot] Co-authored-by: Theo <328805+theodesp@users.noreply.github.com> --- .changeset/dull-pandas-joke.md | 5 ----- .changeset/empty-pants-live.md | 5 ----- .changeset/fair-scissors-teach.md | 5 ----- .changeset/four-shoes-fix.md | 5 ----- .changeset/good-days-work.md | 5 ----- .changeset/neat-books-kick.md | 5 ----- .changeset/odd-hounds-sing.md | 5 ----- .changeset/odd-pens-rule.md | 5 ----- .changeset/olive-clocks-clean.md | 5 ----- .changeset/orange-buses-help.md | 5 ----- .changeset/pink-months-flash.md | 5 ----- .changeset/silver-actors-retire.md | 5 ----- .changeset/spotty-files-own.md | 5 ----- .changeset/thirty-chicken-drum.md | 5 ----- .changeset/weak-days-suffer.md | 5 ----- CHANGELOG.md | 23 +++++++++++++++++++++ bin/versionPlugin.js | 2 +- package.json | 2 +- readme.txt | 33 ++++++++++++++++++++++-------- wp-graphql-content-blocks.php | 4 ++-- 20 files changed, 51 insertions(+), 88 deletions(-) delete mode 100644 .changeset/dull-pandas-joke.md delete mode 100644 .changeset/empty-pants-live.md delete mode 100644 .changeset/fair-scissors-teach.md delete mode 100644 .changeset/four-shoes-fix.md delete mode 100644 .changeset/good-days-work.md delete mode 100644 .changeset/neat-books-kick.md delete mode 100644 .changeset/odd-hounds-sing.md delete mode 100644 .changeset/odd-pens-rule.md delete mode 100644 .changeset/olive-clocks-clean.md delete mode 100644 .changeset/orange-buses-help.md delete mode 100644 .changeset/pink-months-flash.md delete mode 100644 .changeset/silver-actors-retire.md delete mode 100644 .changeset/spotty-files-own.md delete mode 100644 .changeset/thirty-chicken-drum.md delete mode 100644 .changeset/weak-days-suffer.md diff --git a/.changeset/dull-pandas-joke.md b/.changeset/dull-pandas-joke.md deleted file mode 100644 index fc90f01b..00000000 --- a/.changeset/dull-pandas-joke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpengine/wp-graphql-content-blocks": patch ---- - -tests: fix `setUp()`/`tearDown()` methods to prevent PHPUnit lifecycle issues. diff --git a/.changeset/empty-pants-live.md b/.changeset/empty-pants-live.md deleted file mode 100644 index a4af4597..00000000 --- a/.changeset/empty-pants-live.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpengine/wp-graphql-content-blocks": patch ---- - -tests : Add tests for `CoreList` and `CoreListItem` blocks. \ No newline at end of file diff --git a/.changeset/fair-scissors-teach.md b/.changeset/fair-scissors-teach.md deleted file mode 100644 index 8bd1ad48..00000000 --- a/.changeset/fair-scissors-teach.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpengine/wp-graphql-content-blocks": patch ---- - -tests : Backfill tests for Core Image block. diff --git a/.changeset/four-shoes-fix.md b/.changeset/four-shoes-fix.md deleted file mode 100644 index d36e85e5..00000000 --- a/.changeset/four-shoes-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpengine/wp-graphql-content-blocks": patch ---- - -tests: Add tests for CoreHeading block diff --git a/.changeset/good-days-work.md b/.changeset/good-days-work.md deleted file mode 100644 index abdca74c..00000000 --- a/.changeset/good-days-work.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpengine/wp-graphql-content-blocks": patch ---- - -tests : Backfill tests for Core Video block. diff --git a/.changeset/neat-books-kick.md b/.changeset/neat-books-kick.md deleted file mode 100644 index 202bcfd7..00000000 --- a/.changeset/neat-books-kick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpengine/wp-graphql-content-blocks": patch ---- - -fix: Correctly parse nested attribute and tag sources. diff --git a/.changeset/odd-hounds-sing.md b/.changeset/odd-hounds-sing.md deleted file mode 100644 index 81c39a62..00000000 --- a/.changeset/odd-hounds-sing.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpengine/wp-graphql-content-blocks": patch ---- - -tests : Add tests for `CoreSeparator` block. diff --git a/.changeset/odd-pens-rule.md b/.changeset/odd-pens-rule.md deleted file mode 100644 index d4e2f159..00000000 --- a/.changeset/odd-pens-rule.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpengine/wp-graphql-content-blocks": minor ---- - -dev: Refactor attribute resolution into `Data\BlockAttributeResolver` diff --git a/.changeset/olive-clocks-clean.md b/.changeset/olive-clocks-clean.md deleted file mode 100644 index 105d8570..00000000 --- a/.changeset/olive-clocks-clean.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpengine/wp-graphql-content-blocks": patch ---- - -tests: Add tests for CoreParagraph block diff --git a/.changeset/orange-buses-help.md b/.changeset/orange-buses-help.md deleted file mode 100644 index c581d9f9..00000000 --- a/.changeset/orange-buses-help.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpengine/wp-graphql-content-blocks": patch ---- - -tests: Add tests for CorePreformatted Block diff --git a/.changeset/pink-months-flash.md b/.changeset/pink-months-flash.md deleted file mode 100644 index 72d261dc..00000000 --- a/.changeset/pink-months-flash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpengine/wp-graphql-content-blocks": patch ---- - -tests: backfill tests for `CoreTable` attributes. diff --git a/.changeset/silver-actors-retire.md b/.changeset/silver-actors-retire.md deleted file mode 100644 index 6377130a..00000000 --- a/.changeset/silver-actors-retire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpengine/wp-graphql-content-blocks": patch ---- - -tests: Add tests for CoreCode Block diff --git a/.changeset/spotty-files-own.md b/.changeset/spotty-files-own.md deleted file mode 100644 index 1b6aca83..00000000 --- a/.changeset/spotty-files-own.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpengine/wp-graphql-content-blocks": minor ---- - -feat: add support for parsing (deprecated) `meta` attributes. diff --git a/.changeset/thirty-chicken-drum.md b/.changeset/thirty-chicken-drum.md deleted file mode 100644 index 672426ba..00000000 --- a/.changeset/thirty-chicken-drum.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpengine/wp-graphql-content-blocks": patch ---- - -tests : Add tests for `CoreQuote` block. diff --git a/.changeset/weak-days-suffer.md b/.changeset/weak-days-suffer.md deleted file mode 100644 index a6297612..00000000 --- a/.changeset/weak-days-suffer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpengine/wp-graphql-content-blocks": patch ---- - -tests : backfill tests for ContentBlockResolver diff --git a/CHANGELOG.md b/CHANGELOG.md index 3dfcd4f5..9d1802ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # WPGraphQL Content Blocks +## 4.3.0 + +### Minor Changes + +- d123b81: dev: Refactor attribute resolution into `Data\BlockAttributeResolver` +- d123b81: feat: add support for parsing (deprecated) `meta` attributes. + +### Patch Changes + +- 96bad40: tests: fix `setUp()`/`tearDown()` methods to prevent PHPUnit lifecycle issues. +- f898d61: tests : Add tests for `CoreList` and `CoreListItem` blocks. +- 3b32f06: tests : Backfill tests for Core Image block. +- 7301ed9: tests: Add tests for CoreHeading block +- d4d7374: tests : Backfill tests for Core Video block. +- 3a1157b: fix: Correctly parse nested attribute and tag sources. +- 8b2e168: tests : Add tests for `CoreSeparator` block. +- 962081d: tests: Add tests for CoreParagraph block +- 5915c06: tests: Add tests for CorePreformatted Block +- 3a1157b: tests: backfill tests for `CoreTable` attributes. +- a02e75a: tests: Add tests for CoreCode Block +- c6bdab0: tests : Add tests for `CoreQuote` block. +- a38e479: tests : backfill tests for ContentBlockResolver + ## 4.2.0 ### Minor Changes diff --git a/bin/versionPlugin.js b/bin/versionPlugin.js index 451d568e..39b2a7ee 100644 --- a/bin/versionPlugin.js +++ b/bin/versionPlugin.js @@ -23,7 +23,7 @@ async function versionPlugin() { const changelog = path.join(pluginPath, "CHANGELOG.md"); const constantsFile = path.join( pluginPath, - "includes/WPGraphQLContentBlocks.php" + "wp-graphql-content-blocks.php" ); const version = await getNewVersion(pluginPath); diff --git a/package.json b/package.json index cf41b4d1..982d0c5e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@wpengine/wp-graphql-content-blocks", "private": true, - "version": "4.2.0", + "version": "4.3.0", "engines": { "node": ">=16.0.0" }, diff --git a/readme.txt b/readme.txt index 2a08e2b6..b1438d09 100644 --- a/readme.txt +++ b/readme.txt @@ -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.2.0 +Stable tag: 4.3.0 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -25,6 +25,29 @@ Extends WPGraphQL to support querying (Gutenberg) Blocks as data. == Changelog == += 4.3.0 = + +### Minor Changes + +- d123b81: dev: Refactor attribute resolution into `Data\BlockAttributeResolver` +- d123b81: feat: add support for parsing (deprecated) `meta` attributes. + +### Patch Changes + +- 96bad40: tests: fix `setUp()`/`tearDown()` methods to prevent PHPUnit lifecycle issues. +- f898d61: tests : Add tests for `CoreList` and `CoreListItem` blocks. +- 3b32f06: tests : Backfill tests for Core Image block. +- 7301ed9: tests: Add tests for CoreHeading block +- d4d7374: tests : Backfill tests for Core Video block. +- 3a1157b: fix: Correctly parse nested attribute and tag sources. +- 8b2e168: tests : Add tests for `CoreSeparator` block. +- 962081d: tests: Add tests for CoreParagraph block +- 5915c06: tests: Add tests for CorePreformatted Block +- 3a1157b: tests: backfill tests for `CoreTable` attributes. +- a02e75a: tests: Add tests for CoreCode Block +- c6bdab0: tests : Add tests for `CoreQuote` block. +- a38e479: tests : backfill tests for ContentBlockResolver + = 4.2.0 = ### Minor Changes @@ -65,12 +88,4 @@ Extends WPGraphQL to support querying (Gutenberg) Blocks as data. - 205da8c: ci: replace `docker-compose` commands with `docker compose` - 5c21ce3: Bug fix. Reusable block isn't resolved inside innerBlocks. -= 4.0.1 = - -### Patch Changes - -- 39e8181: Bug fix: CoreTable column alignment returns null -- 8d8ce66: fix: refactor `Block::resolve_block_attributes_recursive()` and improve type safety -- a910d62: fix: Don't overload `NodeWithEditorBlocks.flat` on implementing Interfaces. - [View the full changelog](https://github.com/wpengine/wp-graphql-content-blocks/blob/main/CHANGELOG.md) \ No newline at end of file diff --git a/wp-graphql-content-blocks.php b/wp-graphql-content-blocks.php index 61e9e85b..4a3c312d 100644 --- a/wp-graphql-content-blocks.php +++ b/wp-graphql-content-blocks.php @@ -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.2.0 + * Version: 4.3.0 * Requires PHP: 7.4 * Requires at least: 5.7 * @@ -43,7 +43,7 @@ function wpgraphql_content_blocks_constants(): void { define( 'WPGRAPHQL_CONTENT_BLOCKS_PLUGIN_PATH', plugin_basename( WPGRAPHQL_CONTENT_BLOCKS_PLUGIN_FILE ) ); } if ( ! defined( 'WPGRAPHQL_CONTENT_BLOCKS_VERSION' ) ) { - define( 'WPGRAPHQL_CONTENT_BLOCKS_VERSION', '4.1.0' ); + define( 'WPGRAPHQL_CONTENT_BLOCKS_VERSION', '4.2.0' ); } } }