Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: 2.0.0-beta.6 #1268

Open
wants to merge 1,520 commits into
base: master
Choose a base branch
from
Open

Release: 2.0.0-beta.6 #1268

wants to merge 1,520 commits into from

Conversation

tomusborne
Copy link
Owner

@tomusborne tomusborne commented Aug 6, 2024

Changelog

Note: Work in progress

New

  • New v2 Blocks
    • These blocks are enabled by default for new installs. If your site is using existing v1 blocks, only those will be available in the inserter. This behavior is overridable by PHP filter.
    • All v2 blocks use a local version of the Global Styles builder for styling. This brings the previously pro-only Styles Builder controls to local blocks in place of the previous controls.
    • Blocks List
      • Element
      • Text
      • Media
      • Query
      • Looper
      • Loop Item
  • Dynamic Tags
    • Used in v2 blocks only instead of the current Dynamic Content system in v1 blocks (which remains the same).
    • Tags are supported in all v2 blocks.
    • Custom Tags
      • In addition to built-in tags, users may add their own tags via PHP.
      • Custom tags can declare tag support and option fields as needed.
        • Ex: You can add a custom text input to support a bespoke option for your tag using the fields key on registration.
  • New Query Functionality
    • The new Query block supports a standard Post Query (WP_Query) as well as custom query types:
      • Post Meta (Pro)
      • Options (Pro)
    • ACF Integration: ACF meta keys for the selected post will display in a separate group in the list. If a meta value is from ACF the key will be processed by ACF via get_field.
    • Meta/option keys can be used even if they are nested.
    • The Looper block is used inside the query to simplify block markup and make the Loop Item contents easier to style.
    • The current object being looped over in the query is available via the dynamic tag: loop_item. Users may access properties on the current loop item using this tag.
  • New HTML Attributes Functionality (v2 blocks only)
    • The HTML attributes for a block are fully exposed in the block settings and you may enter more attributes than ever before. This makes it simple to customize your markup to suit your needs.
  • New Styles Builder Control
    • Text Shadow is now available in the Effects panel.
  • For Developers
    • New REST endpoints are available for querying meta/option values. These are used internally including in our new ACF integration in GenerateBlocks Pro. You can use these to request a value using the same id and key structure as our dynamic tags.

Improved

  • Style Indicators
    • Style indicators now work for local and global styles (pro only). Previously these only showed Global Styles being applied to someone controls. Now these indicators are applied to all controls.
  • Styles Builder UI/UX
    • Added search and filtering options for controls.
      • Hide Empty: Hide all controls that don't have a value set.
      • Show Inherited: Show controls that inherit a style you've set elsewhere (another breakpoint, selector, global style, etc).
    • Tightened up UI and added collapsible sub panels in Layout.
    • Added new icons for styles builder panels.
    • Added baseline extensibility to support additional custom filters.
  • UnitControl was refactored to be much faster and more reliable.

Fixed

  • Removed input lag in various Styles Builder controls.
  • Resolved a few logic errors that would cause infinite loops in some situations.
  • Various minor UI bugs in the Styles Builder.

@tomusborne tomusborne added the alpha To track alpha PRs and issues label Aug 6, 2024
@tomusborne tomusborne added this to the 2.0.0 milestone Aug 6, 2024
@tomusborne tomusborne changed the title Release: 2.0.0-alpha.1 Release: 2.0.0-alpha.2 Nov 13, 2024
@tomusborne tomusborne changed the title Release: 2.0.0-alpha.2 Release: 2.0.0-beta.1 Nov 20, 2024
@tomusborne tomusborne added beta To track beta PRs and issues and removed alpha To track alpha PRs and issues labels Nov 20, 2024
@tomusborne tomusborne changed the title Release: 2.0.0-beta.1 Release: 2.0.0-beta.2 Nov 21, 2024
tomusborne and others added 30 commits January 2, 2025 13:47
…tities

Fix: HTML entities in pattern category names
Fix: Styles builder element held in memory
…-preview

Feature - Add filter to disable dynamic tag previews in editor
Bug - Loop Item tag not always visible in Loop Item block
Query - Add support for WP_Query-like custom query types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta To track beta PRs and issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants