Skip to content

Releases: Automattic/vip-block-data-api

1.4.1

10 Sep 21:19
1.4.1
079599c
Compare
Choose a tag to compare

What's Changed

  • Fix #77, so that the plugin works again on PHP 8.0 and PHP 8.1

Full Changelog: 1.4.0...1.4.1

1.4.0

05 Sep 18:58
1.4.0
1593b60
Compare
Choose a tag to compare

What's Changed

Both of these additions take advantage of new WordPress content features and ensure data is rendered correctly via the Block Data API. Thank you to @chriszarate for these contributions!

Full Changelog: 1.3.0...1.4.0

1.3.0

07 Aug 17:00
1.3.0
23f508a
Compare
Choose a tag to compare

What's Changed

  • #66: Fixes several data type representations in GraphQL output, including boolean and number values. Note that this only applies to the new blocksDataV2 property and does not change existing behavior in blocksData queries.
  • #72: Adds a blocksDataV2 property to posts in GraphQL. Contains the above data type fixes, and also alters the block flattening format to be simpler. Check out the updated GraphQL and Block hierarchy reconstruction sections in the README.
  • #71: Fix * selectors used in anchor and ariaLabel attributes. Also see this filter to register client-side attributes from block supports.
  • #70: Minor test addition to clarify how we represent missing attributes without defaults.

Thank you to @Zamfi99 for contributing code and discussion!

1.2.4

17 Jun 18:50
1.2.4
cbdc101
Compare
Choose a tag to compare

What's Changed

  • #62: Documentation changes to RELEASE.md
  • #63: Update lowest supported version of WordPress to 6.0, improve tests to run on latest version of WordPress, improve test stability.

1.2.3

09 May 03:33
1.2.3
6ece52e
Compare
Choose a tag to compare

What's Changed

  • #61: Fix the WPGraphQL attributes missing with blocks that have array attributes

1.2.2

09 Apr 15:52
83474cf
Compare
Choose a tag to compare

What's Changed

  • #60: Add new filters for modifying parser input (vip_block_data_api__before_parse_post_content) and output (vip_block_data_api__after_parse_blocks).

1.2.1

19 Mar 17:21
4c58623
Compare
Choose a tag to compare

What's Changed

  • #58: Support WordPress 6.5 rich-text attribute sources. Thank you to @leoloso for identifying and PRing a fix for this pre-release WordPress change.

1.2.0

07 Feb 19:55
0c0d679
Compare
Choose a tag to compare

What's Changed

  • #54: Explicitly sets required PHP version to 8.0 and upgrades dependencies.

1.1.0

14 Dec 18:04
2032b58
Compare
Choose a tag to compare

Adds Block Data API access in GraphQL. See the GraphQL section of the README for usage!

  • #50: Update composer packages, linting, and README.
  • #51: Automatically adds support for exposing parsed block data in GraphQL queries with WPGraphQL.

1.0.3

06 Sep 22:18
54ceb30
Compare
Choose a tag to compare
  • #48: Reduce analytics calls by introducing sampling