Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Plugin #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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