github bogdancondorachi/kirby-table-field v2.5.0

53 minutes ago

Changelog

✨ Enhancements

  • Blueprint options with invalid types now display an error instead of breaking the Panel.

♻️ Refactored

  • Implemented the field as a PHP class (Bogdancondorachi\TableField\TableField) with typed blueprint options.
  • Replaced the custom table parser with Kirby's YAML decoder (Bogdancondorachi\TableField\Table::rows()).

🐛 Bug fixes

  • Fixed parsing of quoted and multiline cell values by using Kirby's YAML decoder. #25
  • Fixed block rendering and previews to respect the headers option in block blueprints. #8 #27
  • Fixed reactivity issues with multilingual content and other field interactions. #20

🧹 Housekeeping

  • Updated build tooling to kirbyup 3 and moved it to devDependencies.
  • Declared Kirby 4 and 5 compatibility and documented supported Kirby and PHP versions.

🚨 Breaking changes

  • Content saved with v2.5.0 uses Symfony YAML. Versions prior to v2.5.0 cannot reliably read this format, particularly multiline cells and quoted values. Avoid downgrading after editing tables with v2.5.0.
  • Block snippet must pass the block to toTable() (e.g. $block->table()->toTable($block)) so the method can read the block blueprint headers option.

Thanks to bastianallgeier for the quality-of-life improvements introduced in #30

Full Changelog: v2.4.3...v2.5.0

Don't miss a new kirby-table-field release

NewReleases is sending notifications on new releases.