Skip to content

v0.24.0

Choose a tag to compare

@github-actions github-actions released this 09 Oct 11:50
· 11 commits to main since this release

What's Changed

Added

  • fields-validate warns on a wp.block key the generator ignores. The
    schema keeps wp open, and BlockJsonGenerator replays only description,
    keywords, acf, supports, attributes and example. Any other key,
    such as icon or title, was dropped without a trace. The new
    WpBlockKeyLinter names the key and lists the ones that work. It is a
    warning, so fields-generate is not blocked. A new end-to-end test also
    pins the #51 round trip: description and keywords survive
    fields-migrate and fields-generate, and fields-lint reports no drift.

Fixed

  • fields-fixtures no longer crashes on parisek/styleguide 1.32.0. From
    1.32.0, componentDirectories() reports hasTemplate: true for a folder
    that holds only <id>.yaml or styleguide.twig. The auditor read the flag
    as "has <id>.twig". It then audited a .yaml-only folder, hit a
    TypeError on a list-shaped fields:, and printed nothing. The auditor now
    checks for <id>.twig on disk.

Pull Requests

  • #98 — docs: add security policy, contributing guide and GitHub templates
  • #99 — fix(fixtures): detect a component's own twig on disk, not via hasTemplate
  • #100 — chore(deps): update parisek/acf-json-schema requirement from ^0.6 to ^0.6 || ^0.9 in the composer-minor-patch group
  • #101 — chore(deps): bump actions/checkout from 5 to 7
  • #102 — fix(validate): warn on a wp.block key the generator ignores

Full Changelog: v0.23.0...v0.24.0