Skip to content

v0.25.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 07:52
· 8 commits to main since this release

What's Changed

Added

  • fields-validate warns when a block leaves postTypes open without a reason
    (#104).
    An empty or missing wp.block.acf.postTypes puts the block in the
    inserter of every post type. That is right for a footer in a reusable
    wp_block, and usually a forgotten default elsewhere. The new
    PostTypesLinter stays silent for a restricted block and for an open block
    with a root dev item that starts with post-types: open, <reason>. It
    warns on any other open block, and on the marker with no reason. dev may be
    one string or a list. The marker and its reason must sit in the same item.
    It is a warning, so fields-generate is not blocked. A Drupal project and a
    non-block definition are skipped.

Pull Requests

  • #103 — ci: pin all actions to commit SHAs
  • #105 — feat(validate): warn when a block leaves postTypes open without a reason

Full Changelog: v0.24.0...v0.25.0