github getkirby/kirby 6.0.0-rc.1

pre-releaseone hour ago

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 blueprints option for the pagelist field: a blueprint, a list of blueprints or except with blueprints to exclude.
  • New blueprint option for the filelist field and the uploads option of fields.
  • New Kirby\Form\Interface\ProvidesAcceptedPageBlueprints and Kirby\Form\Interface\ProvidesAcceptedFileBlueprints interfaces, collected by the new Kirby\Blueprint\Blueprint::acceptedPageBlueprints() and Kirby\Blueprint\Blueprint::acceptedFileBlueprints(). Fields implementing ProvidesAcceptedPageBlueprints::hasPageBlueprint() also decide which pages can be moved into their model.
  • New inherit argument for Kirby\Cms\Responder::redirect(), Kirby\Cms\Response::redirect(), Kirby\Http\Response::redirect(), Kirby\Http\Response::go(), Kirby\Cms\Page::go() and the go() 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 the uploads.parent query of fields instead of comparing it with the model id.
  • pages field: create: true offers the blueprints of the list instead of a blueprint named 1.
  • create: false no longer adds the list's blueprints to Kirby\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 from page.html now 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:2 URL
  • Kirby\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\FileListField and Kirby\Panel\Collector\FilesCollector keep the order of a custom query. Add .sorted to the query for the manual order, e.g. page.images.sorted
  • Kirby\Panel\Collector\PagesCollector: the templates and templatesIgnore arguments have been replaced by blueprints: ['only' => […], 'except' => […]].
  • Kirby\Panel\Collector\FilesCollector: the template argument has been renamed to blueprint.
  • Kirby\Panel\Ui\Upload: the template argument has been renamed to blueprint.

☠️ Deprecated

  • Kirby\Blueprint\Blueprint::acceptedFileTemplates() has been deprecated, use Kirby\Blueprint\Blueprint::acceptedFileBlueprints() instead.

Changes since beta.4

🐛 Bug fixes

  • 'languages' => true in panel.viewButtons shows the languages button instead of breaking the view. #8810
  • Slug fields convert special characters again, e.g. Wörld becomes world #8820
  • The window title is correctly updated after the site title has been changed #8836

🚨 Breaking changes

  • Kirby\Cms\Fieldset::fields() and Kirby\Cms\Fieldset::tabs() return the field props as defined in the blueprint. The rendered props for the Panel are only part of Kirby\Cms\Fieldset::toArray(). This also applies to Kirby\Form\Field\BlocksField::fields().

Don't miss a new kirby release

NewReleases is sending notifications on new releases.