Pre-release notes
https://getkirby.com/releases/5
Changelog since 5.0.0-rc.1
✨ Enhancements
page.changeTitle
andpage.changeSlug
hooks receive a new optional$language
parameter, which passes a fullLanguage
object. #7227- New
$filename
arguments forAsset::mediaPath()
,Asset::mediaUrl()
andAsset::mediaRoot()
to keep the Asset class consistent with the v5 changes in theFile
class #7241 - New
_preview
param for preview iframe URLs. This new parameter can now be used in the frontend to adjust the UI for when being shown inside Panel preview view. #7225
🐛 Fixed regressions from RC-1
- When changing the title for a
Page
or theSite
or the slug for aPage
(in a secondary language) , the::changeTitle()
and::changeSlug()
methods will check for an existingchanges
version and store them there as well. Otherwise, the changed title or slug would get reverted as soon as thechanges
version is published. #7227 - When changing the sort value for a
File
, theFile::changeSort()
, the method will check for an existingchanges
version and store it there as well. Otherwise, the changed sorting number would get lost as soon as the changes are published. #7230 - Added missing
Asset::mediaDir()
method. Thumbnails for assets can now be generated properly again. #7238 - Fixed empty writer toolbar when marks are disabled and inline mode is activated #7231
- When a structure field has disabled fields with a default value, the default value is now properly submitted and saved again. #7233
- Title fields in forms are no longer removed by accident #7232
Kirby\Form\Field
andKirby\Form\FieldClass
normalize type and name attributes and set the name to lowercase. This will now bring back the default column setup in structure fields if you use camelCase or anything else than lowercase for field names. #7236
🧹 Housekeeping
- Updated outdated JS dependencies