🐛 Bug fixes
- Image block: the preview shows the image again for custom blueprints without a
locationfield #8944 - Image block: previews of images without a ratio no longer stay blank in Safari or get squeezed into 300×150px #8802
- Video block: the preview shows the poster image again
- YAML errors in blueprints are shown in debug mode instead of being ignored silently #8936
- Panel menu items:
- Changing a user's name, email, language or role several times in the same request no longer reverts the earlier changes #8950
- Moving the last block out of a layout column no longer leaves an empty block element in the target column #8949
- The textarea input no longer throws when a
selectionchangeevent arrives after it is unmounted. #8961 (thx to @johannschopplich) focus()of<k-multiselect-input>and<k-multiselect-field>now focuses the toggle button #8985- Thumbs with
cropand only aheight(e.g.$image->thumb(['height' => 300, 'crop' => true])) no longer fail and are cropped to a square #8964 - Byte-range responses from
Response::file()with custom headers now keep theirAccept-Ranges,Content-RangeandContent-Lengthheaders #8965 - Creating a user without an email address (e.g. via
POST /api/users) shows the invalid email error instead of a type error #8972 - The
files/searchAPI route works again; it was registered a second time as(:any)/files/searchinstead #9015 <k-checkboxes-input>no longer mutates the passedvaluewhen an option is checked or unchecked #9003- Pagination validation no longer stays off for the rest of the request after an API route throws #8981
- Aliased KirbyTags now parse their attributes correctly #8971
F::relativepath()no longer cuts paths that contain the base directory somewhere other than at the start #8967- Dialogs and drawers that open over another one, or come back after the nested one closes, focus their first input again #8960
- The times dropdown of date fields highlights the current hour. #8968
Kirby\Cache\ApcuCache::flush()only deletes the keys of its own prefix and not all prefix starting the same #8970- A
Kirby\Database\Query::where()callback that adds no conditions no longer produces invalid SQL #8980 - Page create dialog: Submit button is no longer broken when
create.statusis not one of its options #8988 <kbd>text in themed boxes is readable in dark mode #9031- List block: merging and splitting ordered lists keeps all items #8852
focus()of<k-fieldset>and<k-form>without fields no longer throws #9028- Removed sortable lists no longer stay in memory and slow down later drags. #8993
Dir::remove()on a symlinked directory now only removes the symlink, not the directory it points to #8966- Blueprint sections, tabs and block fieldsets without options no longer throw a
TypeError#9005 - Dialogs and drawers that succeed with a string message reload the view again #9045
- Updating a file without
focus, e.g.$file->update(['alt' => 'Text']), no longer deletes the thumbs of files with a focus point #9001 - The
slugsoption no longer breaks the site when it's set without alanguage, e.g.'slugs' => ['maxlength' => 100]#8976 - Sorting files no longer rewrites the content files of files whose sort number stays the same #9069
- Video blocks and
Html::video()render video files with an uppercase or non-HTTP URL scheme again #9037 - Missing plugin assets requested via a URL without hash return a 404 instead of an error #8977
- View buttons, the buttons field and stats accept
dialoganddraweras an options object again #8979 - Heading and code blocks no longer offer an empty level or language option #8990
endslot()withoutslot()throws a clear error instead ofCall to a member function close() on null#9073Kirby\Http\Remoteno longer keeps the connections of finished requests open until PHP's garbage collector runs. #9029- Date and time fields with an escaped dash in
display, e.g.[KW-]DD.MM.YYYY, accept typed input again #9039 - Picking the same layout in "Change layout" no longer moves blocks to other columns #8983
- Date fields compare
minandmaxby day again. A boundary with a time no longer flags its whole day, e.g.min: 2024-09-19 14:16:10rejected 2024-09-19 even at 15:00. #8923 - Date fields with
time: truenow flag a time outsideminormaxon the boundary day right away, instead of only when saving. - The picker of a files field with
parentlists the parent's files again #9034
👭 Accessibility
- The last item in dialogs and the object field keep their shadow. The object field's remove button shows its full focus outline. #8897 (thx @medienbaecker)
- Layouts, layout columns, the login view and the page move dialog are no longer empty Tab stops. #8895 (thx @medienbaecker)
- Multi-selected blocks are visible in dark mode, and their tint no longer covers the block toolbar. #8892 (thx @medienbaecker)
- Focus outlines are no longer cut off in the search dialog, file view, frames, block toolbar, textarea/writer toolbars and table rows. #8889 (thx @medienbaecker)
- The "…" button in table rows fills its whole cell, so it's easier to click. #8889 (thx @medienbaecker)
- Fields keep their focus border, counter and toolbar while their own dropdown is open. #8891 (thx @medienbaecker)
<k-button>no longer dropsaria-*attributes set tofalse. #8948- Moving a block with
Ctrl+Shift+↑/↓while its sort button is focused no longer moves it twice and removes another block. #8993
🧹 Housekeeping
- CI uses the shared
getkirby/actionsworkflows - Upgraded PHP static analysis to Psalm 7 #8962
- Updated translations
- Updated PHP dependencies
- Updated JS dependencies