🚀 🚀 LAUNCH SALE - 33% off all Lifetime Licenses

Changelog

v1.3.0

June 22, 2026

This is a big one: the Query block now speaks WooCommerce. Query products, variations, and categories, display them with a full set of product dynamic tags, and build multi-clause meta queries with a proper visual builder.

New

  • WooCommerce query type — the Query block can now query products, product variations, and product categories, with its own REST endpoint, query-arg normalization, and looper rendering.
    • WooCommerce dynamic tags — 18 new tags for product data
    • Visual Meta Query builder — build meta queries with multiple clauses, an
      AND/OR relation between them, and a per-clause compare operator (=, !=, LIKE,
      IN, BETWEEN, EXISTS, …) and value type (CHAR, NUMERIC, DATE, …). Works across
      Post, Term, User, and WooCommerce queries.
  • Query Preview — preview the resolved query arguments for any Query block
    right in the editor, with one-click copy to clipboard. Available from both the
    sidebar inspector and the block toolbar.
  • Variation grouping — query products as grouped variations, with dedup logic
    and primary/secondary attribute resolution, plus a dedicated “Grouped Variation
    Card” template.
  • Button styling out of the box — template buttons now auto-resolve their
    styling (your plugin setting → a GB Pro global button class → GB’s default
    button styles), so starter templates look right immediately.

Improved

  • Unified meta handling — Post, Term, User, and WooCommerce queries now build
    structured meta_query arrays through a shared builder instead of per-type
    handling. This fixes a range of meta-query edge cases and lays the groundwork
    for multiple meta-query dimensions per block (coming later).
  • Consolidated product tags — the price, stock, and image tags each cover
    their variants through a single parameter now, so there’s less to scroll past.
  • Accessibility — starter-template images now ship with alt text.
  • Term querieshide_empty is now sticky.
  • Cleaner inspector UI and parameter handling across all query types.
  • Expanded automated test coverage and updated hooks documentation.

Fixed

  • Fixed a runtime error that caused certain autocomplete controls to render
    [object Object] instead of the saved value.
  • Free products (price of 0) now display correctly.
  • Fixed minor issues across the query controls, product dynamic tags, and editor
    UI surfaced during release testing.

v1.3.0-beta.2

June 5, 2026

New

  • Query Preview: preview the resolved query arguments for any Query block directly in the editor, with one-click copy to clipboard. Available from both the sidebar inspector and the block toolbar, and works across Term, User, Post, and WooCommerce queries.
  • Visual Meta Query builder: build meta queries with multiple clauses, an AND/OR relation between them, and a compare operator (=, !=, LIKE, IN, BETWEEN, EXISTS, …) and value type (CHAR, NUMERIC, DATE, …) per clause. Works for all query types.

Improved

  • Better WooCommerce query presets for faster setup.
  • Cleaner inspector UI and parameter handling across all query types.
  • Updated hooks documentation.

Fixed

  • WooCommerce meta queries now build and resolve correctly.
  • Fixed incorrect meta_value handling that produced bad query parameters.
  • Corrected meta query parameter handling (relation and value normalization).
  • Fixed issue that caused Meta Queries to not output correctly for Post Queries.

v1.3.0-beta.1

June 3, 2026

New

  • WooCommerce query type: new WooCommerce_Query integration lets the Query block query products, product variations, and product categories. Includes its own REST endpoint, query-arg normalization, and looper render handling.
  • 22 WooCommerce dynamic tags
    • product_price
    • product_regular_price
    • product_sale_price
    • product_sku
    • product_stock_status
    • product_stock_quantity
    • product_rating
    • product_review_count
    • product_add_to_cart_url
    • product_add_to_cart_text
    • product_image_url
    • product_gallery
    • product_weight
    • product_dimensions
    • product_on_sale
    • product_attribute
    • product_title
    • product_variation_description
    • product_category_image_url
    • product_url
    • product_option
    • product_options
  • Variation grouping: products can be queried as grouped variations, with dedup logic, primary/secondary attribute resolution, and a dedicated “Grouped Variation Card” template + icon.
  • WooCommerce template library: pre-built starter templates: Product Card, Product List, Category Grid, Variation Card, and Grouped Variation Card (plus “Start blank” options).
  • Structured Meta Query control: new MetaQueryControl UI and shared Meta_Query_Builder PHP class that emit proper structured meta_query arrays instead of flat key/value params.
  • Button class auto-resolutionresolveButtonClass() / injectButtonClassIntoTemplate() resolve button styling for template buttons (plugin setting → GB Pro global classes → GB default button styles).

Improved

  • Unified meta handlingPost_QueryTerm_QueryUser_Query, and WooCommerce_Query all refactored to build structured meta_query arrays through the shared Meta_Query_Builder, replacing the previous per-class ad-hoc handling.
  • Term querieshide_empty is now sticky.
  • Test coverage: large additions: new Dynamic_Tags_Output_Test and WooCommerce_Query_Test, plus significantly expanded Post_QueryTerm_Query, and User_Query tests.
  • Meta Queries for all query types are now coerced into the meta_query array structure instead of flat values. This addresses some functionality issues and prepares the way for multiple meta query dimensions per Query block (coming in a future release).

Fixed

  • Runtime error that caused certain autocomplete controls to load [object Object] instead of the attribute value.

v1.2.0

February 23, 2026

New

  • Term Queries: Added “Include terms from this post” (i.e. object_id) param support.
  • Term & User Queries: Added {{post_id}} placeholder support for all meta_value params

Improved

  • Post Queries can now order by meta value.
  • Current Author support now works properly in the editor as well as the frontend. This was an existing issue in GenerateBlocks itself, but I fixed it while I was in there doing some other things.
  • User Queries: Post queries running in a user query can now correctly pull the posts associated with that specific user.

Fixed

  • Fixed a run time error caused by someone (me) adding the wrong prop.
  • Fix type definitions

v1.1.2

February 20, 2026

Fixed

  • Fixed a React runtime error.

v1.1.1

February 16, 2026

Fixed

  • Fixed version number, add missing plugin list settings link.

v1.1.0

February 16, 2026

New

  • Core Block Support setting: Select which core blocks (paragraph, heading, list-item, quote) receive dynamic tag replacements and loop context injection inside GenerateBlocks loops. Configurable from Settings > GB Query Enhancements.
  • Command Palette integration: Insert dynamic tags via Cmd+K / Ctrl+K. Searches all registered dynamic tags and inserts at cursor in supported blocks, or copies to clipboard as a fallback.
  • {{post_id}} placeholder: Use {{post_id}} in the Meta Value field of Post Query to dynamically insert the current post ID. Useful for relational meta queries inside loops.
  • Added extensive filter and action hooks for customizing queries, loop item context, dynamic tag output, and rendered content:
    • Filter query results after execution.
      • gb_query_enhancements_term_query_data / gb_query_enhancements_user_query_data
    • Modify block context per loop item.
      • gb_query_enhancements_term_loop_item_context / gb_query_enhancements_user_loop_item_context
    • Filter individual dynamic tag output.
      • gb_query_enhancements_dynamic_tag_output_{$tag}
    • Control core block support programmatically.
      • gb_query_enhancements_supported_core_blocks / gb_query_enhancements_context_keys
    • Filter rendered loop HTML.
      • gb_query_enhancements_term_query_render_loop_items / gb_query_enhancements_user_query_render_loop_items
    • Action hooks around each loop item render.
      • gb_query_enhancements_term_query_before_loop_item / gb_query_enhancements_term_query_after_loop_item (and user equivalents)
  • Hooks reference documentation: Full developer docs for all filters and actions with examples and execution order.

Improved

  • Settings page redesign: Card-based layout with status badges, toggle switches, and a cleaner visual hierarchy.
  • Dynamic tag type hints and docblocks: Added return types, parameter types, and PHPDoc to Dynamic_Tags methods (with_url, with_fallback, filter_output).
  • Code style cleanup: WordPress coding standards spacing fixes, removed stray console.log, cleaned up whitespace in SCSS.
  • Test coverage: New tests for Dynamic_Tags (core block support, context keys, context injection), Post_Query ({{post_id}} placeholder), and expanded filter signature tests for Term_Query and User_Query.
  • gb_query_enhancements_term_query_args and gb_query_enhancements_user_query_args now pass $attributes and $page as additional parameters.
  • gb_query_enhancements_rest_term_query_args and gb_query_enhancements_rest_user_query_args now pass original $args and $attributes.

Fixed

  • User meta dynamic tags in editor preview: user_meta tags now correctly resolve against the loop item’s user ID during editor preview, instead of falling back to the current user.
  • License activation notice: Fixed a typo ($results instead of $result) that prevented the activation success/error status from displaying correctly.

v1.0.0

January 27, 2026

The v1 release extends GenerateBlocks® with new query types, enhancements to post queries, and dynamic tags. This allows you to do all kinds of things that required custom PHP before, like querying meta keys and values in Post Queries.

Term Query

  • Query and display taxonomy terms using GenerateBlocks looper blocks
  • Support for all public and private taxonomies
  • Multi-taxonomy queries
  • Includes new “Term Query” block variation to automatically set the query type on block insert.
  • Parameters
    • Taxonomies – Select one or more taxonomies to query
    • Ordering – Order by name, slug, term ID, post count, parent, description, include order, or meta value
    • Hide empty – Exclude terms with zero posts
    • Include/Exclude – Filter specific terms by ID
    • Search – Search terms by name
    • Name like – Match terms containing a substring
    • Hierarchy controls – Parent term, child of, childless only, pad counts
    • Meta filtering – Filter by meta key/value with comparison operators
    • Pagination – Per-page limits and offset support

User Query

  • Query and display WordPress users using GenerateBlocks looper blocks
  • Filter by role, meta, and published post status
  • Includes new “User Query” block variation to automatically set the query type on block insert.
  • Parameters
    • Role filtering – Filter by user role(s)
    • Ordering – Order by display name, username, email, registration date, post count, or meta value
    • Include/Exclude – Filter specific users by ID
    • Search – Search user data
    • Has published posts – Only show users with content
    • Meta filtering – Filter by user meta with comparison operators
    • Pagination – Per-page limits and offset support

Post Query Enhancements

  • Meta filtering – Filter posts by meta key/value with comparison operators and type casting

Dynamic Tags

  • term_title – Term name with optional archive link
  • term_description – Term description text
  • term_archive_url – Permalink to term archive
  • term_count – Number of posts in term
  • user_display_name – Display name with optional author archive link
  • user_email – User email address
  • user_bio – User biographical info
  • user_avatar_url – Avatar URL with customizable size and default style
  • user_url – User website URL
  • user_posts_url – Link to user’s posts archive
  • user_post_count – Number of published posts

Dynamic Tag Filters

  • fallback -Display a fallback string if the tag replacement is empty
  • url – Turns a media ID into a URL with an optional size param.

PHP Filters:

  • gb_query_enhancements_max_terms – Maximum term limit (default: 150)
  • gb_query_enhancements_max_users – Maximum user limit (default: 150)
  • gb_query_enhancements_term_query_args – Modify term query arguments
  • gb_query_enhancements_user_query_args – Modify user query arguments
  • gb_query_enhancements_term_response_data – Filter term REST response data
  • gb_query_enhancements_user_response_data – Filter user REST response data

REST API

  • /gb-query-enhancements/get-term-query
  • /gb-query-enhancements/get-user-query