From 89a4937cbb08938c54c73f3986889966eb913672 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 21 Sep 2023 08:58:11 +0000 Subject: [PATCH] Release Plugin --- .changeset/fifty-emus-mate.md | 27 ---------------------- CHANGELOG.md | 28 ++++++++++++++++++++++ includes/WPGraphQLContentBlocks.php | 2 +- package.json | 2 +- readme.txt | 36 +++++++++++++++++++++++------ wp-graphql-content-blocks.php | 2 +- 6 files changed, 60 insertions(+), 37 deletions(-) delete mode 100644 .changeset/fifty-emus-mate.md diff --git a/.changeset/fifty-emus-mate.md b/.changeset/fifty-emus-mate.md deleted file mode 100644 index 64070fe9..00000000 --- a/.changeset/fifty-emus-mate.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -"@wpengine/wp-graphql-content-blocks": patch ---- - -Adds mediaDetails field in CoreImage block: - -```graphql -{ - posts { - nodes { - editorBlocks { - ... on CoreImage { - mediaDetails { - file - sizes { - name - fileSize - height - width - } - } - } - } - } - } -} -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ae33670..ca80d746 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,33 @@ # WPGraphQL Content Blocks +## 1.2.1 + +### Patch Changes + +- 54affda: Adds mediaDetails field in CoreImage block: + + ```graphql + { + posts { + nodes { + editorBlocks { + ... on CoreImage { + mediaDetails { + file + sizes { + name + fileSize + height + width + } + } + } + } + } + } + } + ``` + ## 1.2.0 ### Minor Changes diff --git a/includes/WPGraphQLContentBlocks.php b/includes/WPGraphQLContentBlocks.php index 1778d7f2..7b757b79 100644 --- a/includes/WPGraphQLContentBlocks.php +++ b/includes/WPGraphQLContentBlocks.php @@ -78,7 +78,7 @@ private function setup_constants(): void { $main_file_path = dirname( __DIR__ ) . '/wp-graphql.php'; // Plugin version. - $this->define( 'WPGRAPHQL_CONTENT_BLOCKS_VERSION', '1.2.0' ); + $this->define( 'WPGRAPHQL_CONTENT_BLOCKS_VERSION', '1.2.1' ); // Plugin Folder Path. $this->define( 'WPGRAPHQL_CONTENT_BLOCKS_PLUGIN_DIR', plugin_dir_path( $main_file_path ) ); // Plugin Root File. diff --git a/package.json b/package.json index 6f9d082e..e6b4e87e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@wpengine/wp-graphql-content-blocks", "private": true, - "version": "1.2.0", + "version": "1.2.1", "engines": { "node": ">=16.0.0" }, diff --git a/readme.txt b/readme.txt index 3a2cc37b..0d1cd6e1 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.1 -Stable tag: 1.2.0 +Stable tag: 1.2.1 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -25,6 +25,34 @@ Extends WPGraphQL to support querying (Gutenberg) Blocks as data. == Changelog == += 1.2.1 = + +### Patch Changes + +- 54affda: Adds mediaDetails field in CoreImage block: + + ```graphql + { + posts { + nodes { + editorBlocks { + ... on CoreImage { + mediaDetails { + file + sizes { + name + fileSize + height + width + } + } + } + } + } + } + } + ``` + = 1.2.0 = ### Minor Changes @@ -44,10 +72,4 @@ Extends WPGraphQL to support querying (Gutenberg) Blocks as data. - db52dac: Rename `utilities` folder to `Utilities` - 748d846: Bug Fix. Boolean block attributes no longer always resolve as false. -= 1.1.2 = - -### Patch Changes - -- 28fca4a: Bug Fix: CoreImage `width` attribute throws error. - [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 4a36a436..5b4f2377 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: 1.2.0 + * Version: 1.2.1 * Requires PHP: 7.4 * Requires at least: 5.7 *