Skip to content

6.0.1

Latest

Choose a tag to compare

@bastianallgeier bastianallgeier released this 01 Dec 15:03
8ebc702

🐛 Bug fixes

  • Image block: the preview shows the image again for custom blueprints without a location field #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:
    • Panel menu items with a dialog or drawer no longer open the link of their area as well #8947
    • badge, theme, variant and other button props returned by an area's menu callback are passed to the Panel menu item again #8946
  • 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 selectionchange event 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 crop and only a height (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 their Accept-Ranges, Content-Range and Content-Length headers #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/search API route works again; it was registered a second time as (:any)/files/search instead #9015
  • <k-checkboxes-input> no longer mutates the passed value when 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.status is 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 slugs option no longer breaks the site when it's set without a language, 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 dialog and drawer as an options object again #8979
  • Heading and code blocks no longer offer an empty level or language option #8990
  • endslot() without slot() throws a clear error instead of Call to a member function close() on null #9073
  • Kirby\Http\Remote no 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 min and max by day again. A boundary with a time no longer flags its whole day, e.g. min: 2024-09-19 14:16:10 rejected 2024-09-19 even at 15:00. #8923
  • Date fields with time: true now flag a time outside min or max on the boundary day right away, instead of only when saving.
  • The picker of a files field with parent lists 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 drops aria-* attributes set to false. #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/actions workflows
  • Upgraded PHP static analysis to Psalm 7 #8962
  • Updated translations
  • Updated PHP dependencies
  • Updated JS dependencies