Note
You can find the full changelog and docs for Kirby 6 over here: https://getkirby.com/releases/6
🐛 Bug fixes
- Looking up a page or file by the UUID
0(e.g.page('page://0'),site()->find('@0'),kirby()->file('file://0')) returnsnullinstead of throwing an error #8872 - Dropdown search fields have no divider below them when there are no options (thx @medienbaecker). #8902
- Dropdowns no longer show the pointer cursor of the field they belong to (thx @medienbaecker). #8902
- After cancelling a tag replace, the add dropdown no longer says "Replace with" (thx @medienbaecker). #8901
- The add button of the tags field shows on hover (thx @medienbaecker). #8900
☠️ Deprecated
Kirby\Content\Lock::legacy(),Kirby\Content\Lock::legacyFile()andKirby\Content\Lock::isLegacy()are deprecated. Old.lockfiles are no longer read and can be safely deleted. #8911
Changes since rc.2
🐛 Fixed regressions
- Panel responses send
Cache-Control: no-store, privateagain and keep headers added through$kirby->response() - Fixed user enumeration through response timing on code verification and through the challenge switch in the Panel login when the
codeorpassword-resetlogin method is enabled. - The preview view no longer hands out preview URLs for pages the current user cannot access.
- Field upload routes (files and textarea fields) now check the file create permission before processing uploaded chunk data
- Content data with keys in the
<key>form can no longer be rendered as trusted HTML in the Panel. - Store the passkey counter without guards and keep sessions
- A translated
displayoption failed thestring|nullprop type of date and time fields. The prop accepts arrays again, as in v5. #8877 - Field methods:
callback()got the original field instead of a copy, so changes inside the callback persisted. This is now fixed. #8880 - Field methods:
permalinksToUrls()no longer ignores rawpage://,file://andsite://links. #8880 - Pickers and the textarea file dialog in layout settings returned 404, because
LayoutFieldhad no dialog or drawer routes for its settings fields. It now addsfields/(:any)/(:all?)next to the inherited block routes. #8879 - The password confirmations for disabling TOTP or email codes and for removing a passkey showed the user's email escaped twice (
o'brien@…). The drawers escaped it before$t(), andv-safe-htmlescaped the plain string again. They now pass the raw email to$th(), which escapes it once. #8881 - #8284 made
oga/webathe first extensions foraudio/oggandaudio/webm, but they weren't inF::$types. Ogg uploads without an extension got the typenulland were rejected, andF::mimeToType('audio/ogg')returned nothing. Both extensions are now audio. #8885 - Changing your own email resets the email challenge opt-in, which rewrites
.htpasswdand moves the password timestamp, so you were logged out.changeEmail()now renews the current session afterwards, the same waychangeSecret()does. #8884 - With Vue 3 Teleport, dialog content is already rendered when
showModal()runs, so the browser focuses the first button (e.g. Cancel). The overlay autofocus then gave up, because focus was already inside.Overlay.open()now drops the browser's focus, so the autofocus picks[autofocus], then inputs, then submit, as in v5. #8882 - Disabled link (page/file), object (toggle cells), checkboxes (batch buttons) and slug (wizard, also in the Rename dialog) fields could still be changed with a click. Each field now hides or disables these controls and ignores the change in its method. #8878
- Select, radio, toggles, multiselect and tags fields with numeric option values no longer fail validation #8899
- Users fields list users again for roles without access to the Users area #8903
- Logging in with a challenge (2FA,
codelogin, password reset) no longer logged you out right away #8904 - A retry in the passkey drawer after a failed attempt passed a
nullchallenge toWebauthn::verifyRegister()/::verifyLogin(), which only accepted strings, so it threw a TypeError (500). The challenge is nowmixed, so the existing check reports "The passkey challenge is missing or expired" (400). #8883 - Toggle values inside structure, object, blocks and layout fields are stored as
true/falsetext again #8906 - Panel: Pages and files list fields reload again when the view is reloaded with
$panel.view.reload()#8837 - Pages with output that is not valid UTF-8 (e.g. binary content representations) no longer fail with an error when the pages cache is active. They are rendered without being cached, like in Kirby 5. #8908
- Content locking works again for models that still have an old
.lockfile in their content folder. Before, an outdated entry in such a file hid the actual lock, so other editors could overwrite unsaved changes without a warning. #8911 - Panel: The empty state of pagelist and filelist fields is clickable again and opens the create dialog or file picker #8909
- Writer: Keyboard shortcuts for marks (e.g. underline with
Cmd/Ctrl + U) no longer trigger the browser's own action for the same shortcut - Panel: Pressing Enter in the middle of a heading block splits the heading again, instead of adding an empty text block below it. #8912
- Panel: The "Split" option in the menu of heading, text and list blocks shows up again whenever the cursor is in the middle of the text. #8912
- A number or range field cleared in a secondary language no longer shows the value of the default language #8914
- The preview view no longer redirects to URLs outside of the site
- Logged-in users who open a login URL again are sent to the Panel instead of an error #8917
- Page and file lists stay clickable while the content is locked by another user #8916
- Panel: Typing the full text of an option in a tags field and pressing Enter no longer adds the text as a custom tag instead of the option's value. The same applies when replacing a tag. #8913
- Preview view: Navigating to a page in another language inside a pinned preview no longer changes the Panel's interface language or the language of the edited content. #8915
- Preview view: Panel and API URLs passed to the preview view no longer cause an endless loop and a fatal error. #8915
- Filepicker field and textarea file picker: queries that return a site, page or user (e.g.
query: page.parent) show that model's files again instead of an empty dialog #8918 - Filepicker field and textarea file picker: listing user files for a page or the site no longer fails #8918
- Filelist field now also support queries that return a site, page or user #8918
♻️ Refactored
- Panel:
k-dialogandk-drawernow check for adroplistener on every render. Before, the check was cached after the first render, so a listener added later would not have enabled the dropzone.
🚨 Breaking changes due to regression
- Custom field methods are now bound to the field, like page, file, site and user methods. Static closures (
static fn), first-class callables (Foo::bar(...)) and array callables ([Foo::class, 'bar']) no longer work as field methods. Register a regular closure instead, e.g.'shout' => fn ($field) => Foo::shout($field).
🧹 Housekeeping
- Updated translations
- Updated JS dependencies