3.0.3
- Add Spanish (Latin America)
- Update translations (cs, el, fa, ko)
- Add icon specific type class to the icon component
- Allow PHP 7.1.0 (exact version)
- Fix Kirby singleton issue for plugins
- The
rel
attribute inHTML::a()
will now overwrite predefinednoopener
andnoreferrer
values when a target is defined. - The title and description in user blueprints can now be translated correctly.
title:
en: Client
de: Kunde
description:
en: The client can edit all pages
de: Der Kunde kann alle Seiten bearbeiten
- Thumb presets from v2 are back. You can define them like this in your config
<?php
return [
'thumbs' => [
'presets' => [
'default' => ['width' => 1024, 'quality' => 80],
'blurred' => ['blur' => true]
]
]
];
… and use them afterwards …
// default
$file->thumb()
// preset
$file->thumb('blurred')
- Fix panel redirect with custom Urls after installing the panel assets for the first time.
- Fix
empty
option in all sections and fields - Add
empty
option to users field and structure field - Fix links to images/files when dragging files from other pages into textareas
- Better pagination dropdown
- Avoid listed Page condition duplication in
Page::isUnlisted()
- Content representations now work in multilingual installation with default language set to
'/'
- Set locale correctly on homepage when default language has
url
set to'/'
- Fix more localized float issues for number and range fields
- Fix missing field setup when switching tabs
- Avoid duplicate HTTP requests in the panel
- Avoid pre-filling nested structure fields by default
- New
$this→next()
handler in routes to jump to the next applicable route.
return [
'routes' => [
[
'pattern' => '(:any)',
'action' => function ($slug) {
if ($page = page('photography')->find($slug)) {
return page($page);
}
$this->next();
}
]
]
];
Pages::find()
now finds the right page even when you pass an extension in the path (i.e.page('blog/feed.json')
)- Improve test coverage (75.63% → 78.09%)
- Fix the toggle field in Safari
- Fix float detection in the YAML encoder on Windows
- Fix focus issue in Input component