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
headersoption in block blueprints. #8 #27 - Fixed reactivity issues with multilingual content and other field interactions. #20
🧹 Housekeeping
- Updated build tooling to
kirbyup3 and moved it todevDependencies. - Declared Kirby 4 and 5 compatibility and documented supported Kirby and PHP versions.
🚨 Breaking changes
- Content saved with
v2.5.0uses Symfony YAML. Versions prior tov2.5.0cannot reliably read this format, particularly multiline cells and quoted values. Avoid downgrading after editing tables withv2.5.0. - Block snippet must pass the block to
toTable()(e.g.$block->table()->toTable($block)) so the method can read the block blueprintheadersoption.
Thanks to bastianallgeier for the quality-of-life improvements introduced in #30
Full Changelog: v2.4.3...v2.5.0