Releases: getkirby/kirby
3.5.3.1
3.5.3
This is a patch release for a regression in 3.5.2. The regression in 3.5.2 might affect multi-language setups and will lead to a broken Panel. If you are running a single-language setup, you don't necessarily have to upgrade to this patch release.
Fixes
- Fixed Panel translation error #3149
Improvements
- Updated translations (fr, id)
3.5.2
Features
- New
isEmpty()
andisNotEmpty()
methods for layout field #3131 - Added similarity search method for
Str
class #2936 #3134 - Improved
F::niceSize()
typography and locale #3019
Enhancements
- Refactored some return types #3061
- Sections info and text props are translatable #3109
- Supported list items in info fields #2946
- Improved contrast of read-only/disabled fields #2807
- Enabled
fail_ci_if_error
argument for Codecov #3119 - Added Transifex to the issue list
- Nicer badges for the readme
- Updated languages
Fixes
- Added missing translation for the src label in the image block #3087
- Tabs on account page work correctly again #3098
- Fixed error when overwriting block tabs #3101
- Fixed error when overwriting layout tabs #3095
- Consistent arguments for
Response::redirect()
#3136 site()->index(true)
now always returns drafts correctly #3082- Panel page icons are now centered as expected in Firefox #2943
$collection->filter()
can no longer collide with global functions #3117- An empty writer field no longer leaves
<p></p>
as artefacts.isEmpty()
is fixed with this change as well #3115 - PHP locale strings are updated correctly in the dialog #3129
- List items no longer contain p-tags in list blocks and the list field #3086
api/translations/:code
now returns custom language variables #3064- We switched to PHP 7.4 for GitHub action analysis for now #3113
- Fixed potential relative paths in FileCache keys.
Stats
- 74 commits
- 43 closed issues and PRs
3.5.1
Features
- New blocks navigation in the blocks drawer
settings
in the Layout field can now be extended #3011- Support for blocks in field queries #2977
Enhancements
- Support for all 12-column layout variations in fields sections and layouts
- Automatically generate locale code in new language dialog #2427
- I18n: Support for multiple fallback locales #3006
- New
$auth->status()
method andKirby\Cms\Auth\Status
class panel.language
: Fall back to site default lang- We switched our test setup from Travis to Github actions with tons of new enhancements
- We switched our code coverage setup from Coveralls to Codecov
- We now use Psalm for static code analysis
- We now use PHPMD to detect additional possible problems
- PHP 8.0 in CI
- Improved
Cookie::forever()
method for 32-bit servers #2968 - Deactivate the replace action if files cannot be replaced #3031
- Automatic fallback for email security = true #2896
- Updated PR template
- Updated Russian translation
Fixes
- Fixed global search shortcut #3015
- Date field: Fixed missing
format
option #3026 - Fixed autofocus issue on blocks field #3002
- The Blocks and Layouts fields now support the
when
option #3013 - Fixed autofocus issue on structure field #3083
- Avoid invalid content representation types for missing representations #2924
- Various small fixes for issues detected by the new analysis tools
PHP::encode()
: Fix encoding of ints- Fixed Apcu detection in tests
- Fixed
F::rename
overwriting - Fixed broken flag prop
- Fixed styling issue in pagination element in sections #3027
Stats
- 146 commits
- 55 closed issues and PRs
- Contributors: @afbora, @bastianallgeier, @distantnative, @lukasbestle, @steirico (alphabetical order)
3.5.0 – Calumma
We've prepared a special site for this release with all new features and changes:
https://getkirby.com/releases/3.5
3.5.0-rc.7
Our last pre-release 🤞
Enhancements
- Faster file cache access
- Date input: support key manipulation for am/pm
- Updated translations (el, ko, it)
Bug fixes
- Fixed regression in F::read
- Various date and time field fixes
- Fixed breadcrumb issue in block and layout settings
3.5.0-rc.6
All the good stuff from:
- https://github.com/getkirby/kirby/releases/tag/3.5.0-rc.1
- https://github.com/getkirby/kirby/releases/tag/3.5.0-rc.2
- https://github.com/getkirby/kirby/releases/tag/3.5.0-rc.3
- https://github.com/getkirby/kirby/releases/tag/3.5.0-rc.4
- https://github.com/getkirby/kirby/releases/tag/3.5.0-rc.5
and …
Enhancements
- New sponsor button for Github
- Graceful fallback for Parsley when PHP's XML extension is missing
- Increasesd performance when a lot of files need to be published
- Updated translations
Fixes
3.5.0-rc.5
All the good stuff from:
- https://github.com/getkirby/kirby/releases/tag/3.5.0-rc.1
- https://github.com/getkirby/kirby/releases/tag/3.5.0-rc.2
- https://github.com/getkirby/kirby/releases/tag/3.5.0-rc.3
- https://github.com/getkirby/kirby/releases/tag/3.5.0-rc.4
and …
More detailed accept
options for file blueprints
Previously, file blueprints could be configured to only allow specific MIME types to be uploaded.
- It is now possible to limit the uploaded files based on the file extension and/or the file type.
accept:
extension: jpg, png
accept:
type: image, audio, video
- These restrictions can be combined with a custom set of MIME types. This makes it possible to define MIME types that are compatible with all browsers while still protecting the uploads based on the extension and/or file type:
accept:
mime: image/*
type: image
In this example, Kirby will generate a file upload input with an accept="image/*"
attribute and will then validate both the MIME type and the detected file type on the server after the file is uploaded.
-
If no restrictions are defined in the file blueprint, Kirby will now limit the accepted uploads to the types image, document, archive, audio and video by default. This protects your sites against unexpected uploads like code files that could be used to attack the server or the visitor's browsers.
-
You can disable the automatic types and allow all uploads like this:
accept: true
# or:
accept:
mime: null
orientation: square
...
- New
F::typeToExtensions()
method
Enhancements
- Open table block on dblclick instead of single click
- Add props docs to writer and list fields
- Support import of em marks
- New set of default ratios for the image block
- Updated languages (ko, id, it)
Fixes
3.5.0-rc.4
All the good stuff from:
- https://github.com/getkirby/kirby/releases/tag/3.5.0-rc.1
- https://github.com/getkirby/kirby/releases/tag/3.5.0-rc.2
- https://github.com/getkirby/kirby/releases/tag/3.5.0-rc.3
and …
Enhancements
- Nested blocks are no longer broken
- Better image snippet with support for external images
- More unit tests
- Better debouncing of input events to increase performance
- Support for all 6 heading levels in the heading block
- Missing fieldset definitions are now handled more gracefully
- Group labels can now be translated
3.5.0-rc.3
All the good stuff from:
- https://github.com/getkirby/kirby/releases/tag/3.5.0-rc.1
- https://github.com/getkirby/kirby/releases/tag/3.5.0-rc.2
and …
Features
- Support for PHP 8 🎉
- New dedicated layout settings button
- New list field and writer field previews for structure fields
Enhancements
- Better custom block import from the editor and the builder
Fixes
- All validations for the layout field are now correctly executed before the page is saved
- Fixed missing icon in the block drawer