Skip to content

Commit 25785cd

Browse files
Release Plugin (#343)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent e935407 commit 25785cd

File tree

5 files changed

+86
-52
lines changed

5 files changed

+86
-52
lines changed

.changeset/calm-socks-battle.md

-40
This file was deleted.

CHANGELOG.md

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

3+
## 4.7.0
4+
5+
### Minor Changes
6+
7+
- 82c6080: Adds support for resolving and returning related term items as a `terms` connection for the CorePostTerms block along with `taxonomy` connection.
8+
Adds support for resolving and returning the `prefix` and `suffix` items within the correspondent fields of the CorePostTerms block.
9+
10+
```graphql
11+
query TestPostTerms($uri: String! = "test-terms") {
12+
nodeByUri(uri: $uri) {
13+
id
14+
uri
15+
... on NodeWithPostEditorBlocks {
16+
editorBlocks {
17+
__typename
18+
... on CorePostTerms {
19+
prefix
20+
suffix
21+
taxonomy {
22+
__typename
23+
node {
24+
__typename
25+
id
26+
name
27+
}
28+
}
29+
terms {
30+
__typename
31+
nodes {
32+
__typename
33+
id
34+
name
35+
}
36+
}
37+
}
38+
}
39+
}
40+
}
41+
}
42+
```
43+
344
## 4.6.0
445

546
### 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.6.0",
4+
"version": "4.7.0",
55
"engines": {
66
"node": ">=16.0.0"
77
},

readme.txt

+42-9
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.7.1
6-
Stable tag: 4.6.0
6+
Stable tag: 4.7.0
77
Requires PHP: 7.4
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -26,6 +26,47 @@ Extends WPGraphQL to support querying (Gutenberg) Blocks as data.
2626

2727
== Changelog ==
2828

29+
= 4.7.0 =
30+
31+
### Minor Changes
32+
33+
- 82c6080: Adds support for resolving and returning related term items as a `terms` connection for the CorePostTerms block along with `taxonomy` connection.
34+
Adds support for resolving and returning the `prefix` and `suffix` items within the correspondent fields of the CorePostTerms block.
35+
36+
```graphql
37+
query TestPostTerms($uri: String! = "test-terms") {
38+
nodeByUri(uri: $uri) {
39+
id
40+
uri
41+
... on NodeWithPostEditorBlocks {
42+
editorBlocks {
43+
__typename
44+
... on CorePostTerms {
45+
prefix
46+
suffix
47+
taxonomy {
48+
__typename
49+
node {
50+
__typename
51+
id
52+
name
53+
}
54+
}
55+
terms {
56+
__typename
57+
nodes {
58+
__typename
59+
id
60+
name
61+
}
62+
}
63+
}
64+
}
65+
}
66+
}
67+
}
68+
```
69+
2970
= 4.6.0 =
3071

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

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

103-
= 4.4.0 =
104-
105-
### Minor Changes
106-
107-
- 756471a: feat: add support for resolving PostContent blocks
108-
- 19f6e27: feat: add support for resolving Template Part blocks
109-
- 4c548c3: feat: add support for resolving Block Patterns
110-
111144
[View the full changelog](https://github.com/wpengine/wp-graphql-content-blocks/blob/main/CHANGELOG.md)

wp-graphql-content-blocks.php

+2-2
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.6.0
11+
* Version: 4.7.0
1212
* Requires PHP: 7.4
1313
* Requires at least: 5.7
1414
*
@@ -44,7 +44,7 @@ function wpgraphql_content_blocks_constants(): void {
4444
}
4545

4646
if ( ! defined( 'WPGRAPHQL_CONTENT_BLOCKS_VERSION' ) ) {
47-
define( 'WPGRAPHQL_CONTENT_BLOCKS_VERSION', '4.6.0' );
47+
define( 'WPGRAPHQL_CONTENT_BLOCKS_VERSION', '4.7.0' );
4848
}
4949

5050
if ( ! defined( 'WPGRAPHQL_CONTENT_BLOCKS_PLUGIN_URL' ) ) {

0 commit comments

Comments
 (0)