Deprecated
Core
- Files in a plugin's
assetsdirectory are now always assumed to be public, independent of their file extension. If your plugin needs to store other files in the assets directory, please use the newassetsextension to explicitly define the public assets. - Passing a single space as value to
Xml::attr()(with the intention to generate an attribute with an empty value) has been deprecated in favor of passing an empty string. Kirby\Cms\Model: UseKirby\Cms\ModelWithContentinsteadKirby\Email\Email::clone()andKirby\Email\Body::clone()Page::isReadable(): UsePage::isAccessible()instead- The name
queryshould not be used for custom API endpoints anymore, it will be used for the Kirby QL (KQL) plugin/core implementation - Internal
$model->contentFile(),$model->contentFiles(),$model->contentFileDirectory(),$model->contentFileExtension()and$model->contentFileName()methods have been deprecated and will be removed in v5.
Panel
- Custom icons using a 16x16 viewbox have been deprecated. In an upcoming version, Kirby will only support custom icons with a 24x24 viewbox by default. If you want to continue using icons with a different viewport, please wrap them in an
<svg>element with the correspondingviewBoxattribute. - Icons
circle-outline,heart-outlineandstar-outline: Usecircle,heartandstarinstead this.$events: Usethis.$panel.eventsinsteadthis.$panel.events.$on: Usethis.$panel.events.oninsteadthis.$panel.events.$off: Usethis.$panel.events.offinsteadthis.$panel.events.$emit: Usethis.$panel.events.emitinsteadthis.$store.dispatch("isLoading"): Usethis.$panel.isLoadinginsteadthis.$translation: Usethis.$panel.translationinsteadthis.$store.dispatch("dialog"): Usethis.$panel.dialog.openandthis.$panel.dialog.closeinsteadthis.$store.dispatch("drag", drag): Usethis.$panel.drag = draginsteadk-dropdown: Usek-dropdown-contentas standalone insteadk-calendarwas renamed tok-calendar-input;k-calendaris still available but only as deprecated alias.