Repository navigation
v0.24.0
What's Changed
Added
fields-validatewarns on awp.blockkey the generator ignores. The
schema keepswpopen, andBlockJsonGeneratorreplays onlydescription,
keywords,acf,supports,attributesandexample. Any other key,
such asiconortitle, was dropped without a trace. The new
WpBlockKeyLinternames the key and lists the ones that work. It is a
warning, sofields-generateis not blocked. A new end-to-end test also
pins the #51 round trip:descriptionandkeywordssurvive
fields-migrateandfields-generate, andfields-lintreports no drift.
Fixed
fields-fixturesno longer crashes onparisek/styleguide1.32.0. From
1.32.0,componentDirectories()reportshasTemplate: truefor a folder
that holds only<id>.yamlorstyleguide.twig. The auditor read the flag
as "has<id>.twig". It then audited a.yaml-only folder, hit a
TypeErroron a list-shapedfields:, and printed nothing. The auditor now
checks for<id>.twigon 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