Skip to content

Commit

Permalink
Release Plugin (#333)
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 Jan 28, 2025
1 parent b813352 commit fcca872
Show file tree
Hide file tree
Showing 7 changed files with 140 additions and 83 deletions.
5 changes: 0 additions & 5 deletions .changeset/bright-trains-approve.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/proud-fireants-buy.md

This file was deleted.

63 changes: 0 additions & 63 deletions .changeset/thirty-ducks-check.md

This file was deleted.

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

## 4.5.0

### Minor Changes

- b133a1b: Added WP GraphQL as a required plugin.
- b813352: Adds support for resolving and returning navigation items within the CoreNavigation innerBlocks for WPGraphQL Content Blocks.

```graphql
{
posts {
nodes {
editorBlocks {
... on CoreNavigation {
type
name
innerBlocks {
type
name
}
attributes {
ref
}
}
}
}
}
}
```

```json
{
"data": {
"posts": {
"nodes": [
{
"editorBlocks": [
{
"type": "CoreNavigation",
"name": "core/navigation",
"innerBlocks": [
{
"type": "CorePageList",
"name": "core/page-list"
},
{
"type": "CoreNavigationLink",
"name": "core/navigation-link"
}
],
"attributes": {
"ref": 31
}
}
]
},
{
"editorBlocks": [{}]
}
]
}
}
}
```

### Patch Changes

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

## 4.4.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.4.0",
"version": "4.5.0",
"engines": {
"node": ">=16.0.0"
},
Expand Down
76 changes: 69 additions & 7 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.4.0
Stable tag: 4.5.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,74 @@ Extends WPGraphQL to support querying (Gutenberg) Blocks as data.

== Changelog ==

= 4.5.0 =

### Minor Changes

- b133a1b: Added WP GraphQL as a required plugin.
- b813352: Adds support for resolving and returning navigation items within the CoreNavigation innerBlocks for WPGraphQL Content Blocks.

```graphql
{
posts {
nodes {
editorBlocks {
... on CoreNavigation {
type
name
innerBlocks {
type
name
}
attributes {
ref
}
}
}
}
}
}
```

```json
{
"data": {
"posts": {
"nodes": [
{
"editorBlocks": [
{
"type": "CoreNavigation",
"name": "core/navigation",
"innerBlocks": [
{
"type": "CorePageList",
"name": "core/page-list"
},
{
"type": "CoreNavigationLink",
"name": "core/navigation-link"
}
],
"attributes": {
"ref": 31
}
}
]
},
{
"editorBlocks": [{}]
}
]
}
}
}
```

### Patch Changes

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

= 4.4.0 =

### Minor Changes
Expand All @@ -41,10 +109,4 @@ Extends WPGraphQL to support querying (Gutenberg) Blocks as data.
- c8832fc: fix: improve handling of empty blocks in `ContentBlocksResolver`.
- 9a2ebf7: fix: Ensure correct `EditorBlock.type` field resolution.

= 4.3.1 =

### Patch Changes

- f99f768: Correct version definition

[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.4.0
* Version: 4.5.0
* Requires PHP: 7.4
* Requires at least: 5.7
*
Expand Down Expand Up @@ -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.4.0' );
define( 'WPGRAPHQL_CONTENT_BLOCKS_VERSION', '4.5.0' );
}
}
}
Expand Down

0 comments on commit fcca872

Please sign in to comment.