Note
You can find the full changelog and docs for Kirby 6 over here: https://getkirby.com/releases/6
🔒 Security
All security fixes from: 5.6.4
✨ Enhancements
- Search results in files lists and the file picker are sorted by relevance, like pages and users
- New
blueprintsoption for thepagelistfield: a blueprint, a list of blueprints orexceptwith blueprints to exclude. - New
blueprintoption for thefilelistfield and theuploadsoption of fields. - New
Kirby\Form\Interface\ProvidesAcceptedPageBlueprintsandKirby\Form\Interface\ProvidesAcceptedFileBlueprintsinterfaces, collected by the newKirby\Blueprint\Blueprint::acceptedPageBlueprints()andKirby\Blueprint\Blueprint::acceptedFileBlueprints(). Fields implementingProvidesAcceptedPageBlueprints::hasPageBlueprint()also decide which pages can be moved into their model. - New
inheritargument forKirby\Cms\Responder::redirect(),Kirby\Cms\Response::redirect(),Kirby\Http\Response::redirect(),Kirby\Http\Response::go(),Kirby\Cms\Page::go()and thego()helper. It keeps the query and params of the current request; the target's own query and params win.
🐛 Bug fixes
Kirby\Blueprint\Blueprint::acceptedFileBlueprints()resolves theuploads.parentquery of fields instead of comparing it with the model id.pagesfield:create: trueoffers the blueprints of the list instead of a blueprint named1.create: falseno longer adds the list's blueprints toKirby\Cms\ModelWithContent::blueprints().- Moving a page checks each pages field of the new parent, also in nested forms: a field without restriction accepts every page, and excluded blueprints are rejected.
- Field buttons (e.g. pages, structure) stay on the right when the field has
label: false#8805 - Redirects to the language URL, from
/home, from page UUID permalinks and frompage.htmlnow keep the query and params of the request
#7603 Kirby\Http\Uri::toString(): params on a relative root URL no longer produce a protocol-relative//page:2URLKirby\Http\Uri::inherit()keeps the Uri's own query, params and fragment; the parent only adds missing ones- Time and date fields: the times dropdown button now has a translated title and accessible name #8821
- System view: the license status column of the plugins table now has a translated label #8830
🚨 Breaking changes
Kirby\Form\Field\FileListFieldandKirby\Panel\Collector\FilesCollectorkeep the order of a customquery. Add.sortedto the query for the manual order, e.g.page.images.sortedKirby\Panel\Collector\PagesCollector: thetemplatesandtemplatesIgnorearguments have been replaced byblueprints: ['only' => […], 'except' => […]].Kirby\Panel\Collector\FilesCollector: thetemplateargument has been renamed toblueprint.Kirby\Panel\Ui\Upload: thetemplateargument has been renamed toblueprint.
☠️ Deprecated
Kirby\Blueprint\Blueprint::acceptedFileTemplates()has been deprecated, useKirby\Blueprint\Blueprint::acceptedFileBlueprints()instead.
Changes since beta.4
🐛 Bug fixes
'languages' => trueinpanel.viewButtonsshows the languages button instead of breaking the view. #8810- Slug fields convert special characters again, e.g.
Wörldbecomesworld#8820 - The window title is correctly updated after the site title has been changed #8836
🚨 Breaking changes
Kirby\Cms\Fieldset::fields()andKirby\Cms\Fieldset::tabs()return the field props as defined in the blueprint. The rendered props for the Panel are only part ofKirby\Cms\Fieldset::toArray(). This also applies toKirby\Form\Field\BlocksField::fields().