Skip to content

Releases: pristas-peter/wp-graphql-gutenberg

v0.3.4

25 Jun 19:05
5200631
Compare
Choose a tag to compare

Release Notes

Breaking Changes

Bug Fixes

  • Change BlockEditorPreview internals to ensure compability with gatsby-source-wordpress-experimental

v0.3.3

16 Jun 22:33
Compare
Choose a tag to compare

Release Notes

Breaking Changes

Bug Fixes

  • Fix accessing optional 'selector' key without checking for its presence first
  • Mark block as core/freeform when innerHTML is not empty and block has no name #52

v0.3.2

12 Jun 12:26
bbd57b1
Compare
Choose a tag to compare

Release Notes

Breaking Changes

Bug Fixes

  • Add a workaround when translations are not working properly when importing @wordpress/blocks directly #49
  • Fix attributes parsing when there is a multiline html source

v0.3.1

02 Jun 16:48
8e4a4ae
Compare
Choose a tag to compare

Release Notes

Breaking Changes

Bug Fixes

  • Fixes blocksJSON and previewBlocksJSON not resolving due to cyclic references

v0.3.0

28 May 21:26
193301b
Compare
Choose a tag to compare

Release Notes

Breaking Changes

  • the parsing of blocks has been moved to PHP codebase. Now the plugin is only dependant on the client side block registry
  • clientId, isValid, validationIssues fields have been removed due to changes above

Bug Fixes

N/A

v0.2.2

21 May 22:29
bb5608e
Compare
Choose a tag to compare

Release Notes

Breaking Changes

n/a. Please open an issue if you discover otherwise.

Bug Fixes

Support for wp-graphql 0.9.0 changes

  • Fix register_graphql_scalar call signature updated in upstream
  • Change interfaces registration to existing types to use new upstream method

v0.2.1

11 May 05:39
fb7c892
Compare
Choose a tag to compare

Release Notes

Breaking Changes

n/a. Please open an issue if you discover otherwise.

Bug Fixes

  • Scalar types now use register_graphql_scalar API
  • Attribute types with query field are now properly typed
  • Fix registering attributes types with no fields (#35)

v0.2.0

30 Apr 13:30
9570895
Compare
Choose a tag to compare

Release Notes

Summary

This is a complete rewrite of the plugin. Please read carefully before upgrading.

New Features

  • Adds support for revisions
  • Adds new optional Server component written in JS (more info in docs)
  • Adds new Previews functionality (more info in docs)
  • New docs
  • Upgrading of stale content in admin uses new faster technique
  • Adds ReusableBlock type

Breaking Changes

  • Resolver will now throw exception if the parsed content is missing, or out of sync (stale)
  • Attributes type name without the suffix is always the latest definition, deprecated attribute types now have DeprecatedV1, DeprecatedV2 suffix, for example the CoreParagraphBlockAtrributesV4 is now just CoreParagraphBlockAtrributes and CoreParagraphBlockAtrributesV1 -> CoreParagraphBlockAtrributesDeprecatedV1 and so...
  • some fields on RootQuery were renamed to match the base plugin naming, like postsWithBlocks to blockEditorContentNodes
  • reusable blocks now have their own CoreBlock type with reference to ReusableBlock type

v0.1.4

08 Jan 01:14
5355b23
Compare
Choose a tag to compare

Remove dependency on wp-graphql in composer for now.

v0.1.3

05 Dec 20:30
Compare
Choose a tag to compare

Bugfixes:

  • Fix checking of meta update return value, add postWithBlocks field

Other:

  • Update JS packages
  • Add postsWithBlocks field to RootQuery
  • Add new union types for posts