3.6.0-alpha.4
Pre-release
Pre-release
3.6 Alpha
To learn more about Kirby 3.6 and the alpha phase, check out our dedicated preview site: https://getkirby.com/releases/3.6
Features
Dynamic blueprint plugins
You can now define blueprint settings in a callback and base blueprint setups on config options, content and more.
<?php
Kirby::plugin('my/plugin', [
'blueprints' => [
'pages/blog' => function ($kirby) {
return [
'title' => 'Blog',
'sections' => [
// ...
]
];
}
]
]);
New core methods
- New
$file->sha1()
method
Enhancements
Instant field and info section loading
Form fields and info boxes now show up immediately in the Panel. This massively improves the received performance and usability.
Additional enhancements
- File uploads now check for duplicates via sha1 hashes. This leads to a better upload experience because when you upload the exact same file twice, the upload is simply ignored.
- The files field can now accept new files via drag & drop
- New files automatically store the sort attribute on upload if the files section is sortable #2886
Fixed regressions from 3.6.0-alpha.3
- Fixed CSS dir issue in dialogs and drawers
- Fixed images in picker field previews #3551
- Fixed file urls for draft pages #3587
Refactoring
- The
api.csrf
option is automatically set todev
when thepanel.dev
option is true - CSS: logical properties aren't preserved for now (until browser support increases)
Breaking Changes
New minimum browser requirements (browsers with dynamic import()
support):
- Firefox 67+
- Chrome 63+
- Opera 50+
- macOS Safari 11.1+
- Safari iOS 11+
- Android Browser 92+
- Chrome for Android 92+
Removed outdated $api methods in Vue:
$api.pages.breadcrumb
$api.files.breadcrumb
$api.users.breadcrumb
$api.site.breadcrumb
$api.site.options
$api.roles.options
$api.translations.options