Skip to content

Commit

Permalink
Release Plugin (#343)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Feb 11, 2025
1 parent e935407 commit 25785cd
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 52 deletions.
40 changes: 0 additions & 40 deletions .changeset/calm-socks-battle.md

This file was deleted.

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

## 4.7.0

### Minor Changes

- 82c6080: Adds support for resolving and returning related term items as a `terms` connection for the CorePostTerms block along with `taxonomy` connection.
Adds support for resolving and returning the `prefix` and `suffix` items within the correspondent fields of the CorePostTerms block.

```graphql
query TestPostTerms($uri: String! = "test-terms") {
nodeByUri(uri: $uri) {
id
uri
... on NodeWithPostEditorBlocks {
editorBlocks {
__typename
... on CorePostTerms {
prefix
suffix
taxonomy {
__typename
node {
__typename
id
name
}
}
terms {
__typename
nodes {
__typename
id
name
}
}
}
}
}
}
}
```

## 4.6.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.6.0",
"version": "4.7.0",
"engines": {
"node": ">=16.0.0"
},
Expand Down
51 changes: 42 additions & 9 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.7.1
Stable tag: 4.6.0
Stable tag: 4.7.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand All @@ -26,6 +26,47 @@ Extends WPGraphQL to support querying (Gutenberg) Blocks as data.

== Changelog ==

= 4.7.0 =

### Minor Changes

- 82c6080: Adds support for resolving and returning related term items as a `terms` connection for the CorePostTerms block along with `taxonomy` connection.
Adds support for resolving and returning the `prefix` and `suffix` items within the correspondent fields of the CorePostTerms block.

```graphql
query TestPostTerms($uri: String! = "test-terms") {
nodeByUri(uri: $uri) {
id
uri
... on NodeWithPostEditorBlocks {
editorBlocks {
__typename
... on CorePostTerms {
prefix
suffix
taxonomy {
__typename
node {
__typename
id
name
}
}
terms {
__typename
nodes {
__typename
id
name
}
}
}
}
}
}
}
```

= 4.6.0 =

### Minor Changes
Expand Down Expand Up @@ -100,12 +141,4 @@ Extends WPGraphQL to support querying (Gutenberg) Blocks as data.

- dec27c3: feat: Added a `CoreGroup` block class to fix an issue with a missing attribute `cssClassName`

= 4.4.0 =

### Minor Changes

- 756471a: feat: add support for resolving PostContent blocks
- 19f6e27: feat: add support for resolving Template Part blocks
- 4c548c3: feat: add support for resolving Block Patterns

[View the full changelog](https://github.com/wpengine/wp-graphql-content-blocks/blob/main/CHANGELOG.md)
4 changes: 2 additions & 2 deletions 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.6.0
* Version: 4.7.0
* Requires PHP: 7.4
* Requires at least: 5.7
*
Expand Down Expand Up @@ -44,7 +44,7 @@ function wpgraphql_content_blocks_constants(): void {
}

if ( ! defined( 'WPGRAPHQL_CONTENT_BLOCKS_VERSION' ) ) {
define( 'WPGRAPHQL_CONTENT_BLOCKS_VERSION', '4.6.0' );
define( 'WPGRAPHQL_CONTENT_BLOCKS_VERSION', '4.7.0' );
}

if ( ! defined( 'WPGRAPHQL_CONTENT_BLOCKS_PLUGIN_URL' ) ) {
Expand Down

0 comments on commit 25785cd

Please sign in to comment.