https://github.com/Automattic/vip-block-data-api/pull/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. Thank you @Zamfi99!
https://github.com/Automattic/vip-block-data-api/pull/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.
Description
In this release:
https://github.com/Automattic/vip-block-data-api/pull/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 inblocksData
queries. Thank you @Zamfi99!https://github.com/Automattic/vip-block-data-api/pull/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.https://github.com/Automattic/vip-block-data-api/pull/71: Fix
*
selectors used inanchor
andariaLabel
attributes. Also see this filter to register client-side attributes from block supports. Thank you @Zamfi99!https://github.com/Automattic/vip-block-data-api/pull/70: Minor test addition to clarify how we represent missing attributes without defaults.