Pre-release notes: https://getkirby.com/releases/5
Changelog since 5.0.0-beta.2
🎉 Features
New entries
field
Batch delete mode
New option for pages and files sections, to delete multiple files or pages at once https://kirby.nolt.io/38
PDF file preview
In addition to audio and video files, we've now also added a PDF preview to the core:
✨ Enhancements
- Support for content representation specific site controllers, e.g.
site.rss.php
#6950 - New
Kirby\Cms\Pages::delete(array $ids)
andKirby\Cms\Files::delete(array $ids)
methods to handle batch delete for multiple files in a collection. - New batch mixin for model sections (pages & files), which introduces the batch option and a computed property to check for supported layouts.
- New
selectable
property for the<k-item>
and<k-items>
components. When set to true, the items show checkboxes and emit an select event, when the checkbox is clicked. - The
files
andpages
sections introduce newdelete
API endpoints. Those endpoints can take a set of page or file ids and will delete each one. Errors will be caught and sent back in the details array of the final thrown exception.
✨ Enhancements for earlier beta features
- View buttons: support
name: true
notation #6928 - UI component class: support non-pre-defined props #6929
🐛 Bug fixes
- Select, radio and toggles field: values that include a comma will not be split into two tags in the structure field preview anymore #5800
- Blocks field: fix empty display #6951
- Fix Drag & Drop between block fields #5290
- Drawers + Fields block: collapse tabs in header correctly into dropdown for narrow columns #6914
🐛 Fixed regressions from earlier betas
- Languages dropdown: fix changing language #6945
- Sticky column offset from sticky header
- Always use
date
handler for changes timestamp #6937
🚨 Breaking changes
- File drag texts in the Panel always use the file UUID, if UUIDs are not disabled #6948
api.methodOverwrite
option has been renamed toapi.methodOverride
☠️ Deprecated
- Color field: the
text => value
notation for options has been deprecated and will be removed in Kirby 6. Please rewrite your options asvalue => text
. #6913
🧹 Housekeeping
- Updated dependencies
- Updated todo comments #6987