3.9.8
🎉 Features
- New
A::every()
,A::find()
andA::some()
methods that implement the functionality of the JavaScript functions with the same names (thanks to @rasteiner) #5724 - New option to add a CLI specific config file (thanks to @lukaskleinschmidt) #5581
// config.cli.php
return [
'option.one' => 1,
'option.two' => 2,
];
✨ Enhancements
- The System view in the Panel now warns when the used PHP version is end-of-life and no longer receives security updates. #5728
- Files with the
.pht
extension can no longer be uploaded to a Kirby site to provide additional protection in older server setups beyond our recommendations in the security guide (thanks to @akabe1). #5925
🐛 Bug fixes
- Blocks field: pasting HTML does not remove crucial spaces anymore in inline contexts #4702
- The "Session ... is currently read-only because it was accessed via an old session" error is circumvented when the PHP
sodium
extension is available #5319 $collection->remove()
and$collection->__unset()
in Toolkit collections behave like$collection->set()
/$collection->__set()
by default and ignore the key case #5704- Append copy suffix of duplicated pages #5787
- Fix searching for Unicode characters #5780
- The backup copy of changed content now includes a JSON output for fields with structured data instead of scrambled data. #5791
- The validation error "Please enter a date between ... and ..." for the date field now correctly includes the maximum date. #5920