3.9.4
✨ Enhancements
F::move()
now detects if the source and target are on different filesystems; it then copies the file and deletes the source on success instead of atomically moving the file #5124- Removed
noopener
where it's already implied bynoreferrer
#5138 - Inherit
when
for field groups (thanks @youngcut) #5143
fields:
showit:
type: toggle
myGroup:
type: group
when:
showit: true
fields:
myField1:
type: text
myField2:
type: text
- Introduced new YAML handler that can be activated by setting the config option
yaml.handler
to'symfony'
. We plan to switch over to the Symfony handler in the next major releases. For now,'spyc'
remains the default.
<?php
// File: /site/config/config.php
return [
'yaml.handler' => 'symfony'
];
🐛 Bug fixes
- Custom blocks and layouts methods no longer bleed into collection methods (thanks @lukaskleinschmidt) #5120
- HTML gets now stripped from Block labels #5127
$file->update(['template' => null])
allows unsetting template again #5131alt
text from image source does not get adopted (thanks @holmey) #5132- Date field with display property changes value while editing #5118
- Uploading files no longer fails with the error "Operation not permitted" when the temporary directory is on another filesystem #5024
- Fix detecting language with locale #5135
- Fix filling default values while creating new page on secondary language #5140