github getkirby/kirby 5.0.0-rc.2

latest releases: 5.1.0-rc.1, 5.0.4, 5.0.3...
pre-release3 months ago

Pre-release notes

https://getkirby.com/releases/5

Changelog since 5.0.0-rc.1

✨ Enhancements

  • page.changeTitle and page.changeSlug hooks receive a new optional $language parameter, which passes a full Language object. #7227
  • New $filename arguments for Asset::mediaPath()Asset::mediaUrl() and Asset::mediaRoot() to keep the Asset class consistent with the v5 changes in the File 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 the Site or the slug for a Page (in a secondary language) , the ::changeTitle() and ::changeSlug() methods will check for an existing changes version and store them there as well. Otherwise, the changed title or slug would get reverted as soon as the changes version is published. #7227
  • When changing the sort value for a File, the File::changeSort(), the method will check for an existing changesversion 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 and Kirby\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

Don't miss a new kirby release

NewReleases is sending notifications on new releases.