Skip to main content

v1.0.0-beta.8

  • Added — WooCommerce: product fields such as price, SKU, stock, attributes and galleries can now be inserted from the data picker when editing a product, a product template, or a loop over products.
  • Improved — Data picker: search now ranks the current level's fields so the one you want is at the top and the list stays short, points to the sources a nested field lives in, and lets you type a path like author.email to reach it directly.
  • Improved — Loop and Variable blocks: the query builder's post and term pickers no longer come up empty for custom post types and taxonomies outside the REST API, or for terms searched before a taxonomy is set.
  • Improved — CSS inspector: the add-selector field now autocompletes with grouped suggestions and can create a new selector, matching the styles panel.
  • Improved — Condition and query builders: your choice of Visual or Code mode is now remembered, so a builder reopens the way you left it instead of resetting to Visual.

Dynamic Data

  • Added — WooCommerce: product fields such as price, SKU, stock, attributes and galleries can now be inserted from the data picker when editing a product, a product template, or a loop over products.
  • Improved — Data picker: search now ranks the current level's fields so the one you want is at the top and the list stays short, points to the sources a nested field lives in, and lets you type a path like author.email to reach it directly.
  • Improved — Editor preview: fields on a custom post type template, including WooCommerce products, now show dynamic data placeholders instead of nothing.

Query Builder

  • Improved — Loop and Variable blocks: the query builder's post and term pickers no longer come up empty for custom post types and taxonomies outside the REST API, or for terms searched before a taxonomy is set.
  • Improved — Condition and query builders: your choice of Visual or Code mode is now remembered, so a builder reopens the way you left it instead of resetting to Visual.
  • Improved — Loop and Variable blocks: sorting by a meta value now reveals a Meta Key field under Order By, with key suggestions, and keeps its value when you switch sort types.
  • Fixed — Loop and Variable blocks: in the query builder, dynamic data added to a list filter (such as Exclude Posts) replaced the whole selection; you can now add it alongside picked items, for example to exclude the current post.
  • Fixed — Loop and Variable blocks: an empty custom-field condition, or an out-of-range date part (such as day 200 or week 60) in a date query, could log a PHP notice; these values are now ignored before the query runs.

Variable Block

  • Changed — Variable block: newly inserted blocks now start in the Expression source; existing blocks are unchanged.
  • Fixed — Variable block: when an expression pointed to an item (such as a loop item), reading one of its fields from the variable, like its title or a custom field, came back empty; those fields now resolve.

CSS

  • Improved — CSS inspector: the add-selector field now autocompletes with grouped suggestions and can create a new selector, matching the styles panel.
  • Fixed — CSS import: rules and variables written inside a @layer block, and @layer order statements such as @layer tokens, elements, components;, were dropped on import; they are now imported.
  • Fixed — CSS import: a variable collection created by an import could appear below the Uncategorized group in the Variables manager instead of above it.
  • Fixed — CSS import: stray non-CSS text with no style block was turned into a bogus selector; such text is now ignored.
  • Fixed — Editor: cleared a browser-console warning about a missing React key that appeared when saving a page with CSS changes.

Developer

  • Changed — The CSS permission filters unblock/settings/can_read and unblock/settings/can_write were renamed to unblock/css/can_read and unblock/css/can_write. Update any custom code that referenced the old names.