Skip to content

v0.19.1

Choose a tag to compare

@github-actions github-actions released this 25 Sep 07:41
· 28 commits to main since this release

What's Changed

Fixed

  • TwigMetadataReader::read() no longer carries an explicitly empty
    quoted value (description: "") forward as ''.
    Its emptiness check
    ran on the still-quoted two-character literal "", before unquoting,
    so it never caught it; every other reader on this path
    (EntryMetadataMigrator, AcfJsonReader) drops an empty value instead
    of carrying it forward. Surfaced by the fields-migrate --strip-comment
    (#84/#87) dry run against a 49-component Drupal project: 5 components
    were refused as a false mismatch (description: comment has '', yaml has no such key) purely because their yaml, correctly, omits an empty
    description: that the comment still states as "".

Pull Requests

  • #92 — fix(migrate): drop an empty quoted twig metadata value, not just an empty one

Full Changelog: v0.19.0...v0.19.1