Skip to content

3.9.4

Compare
Choose a tag to compare
@bastianallgeier bastianallgeier released this 21 Apr 09:24
· 4354 commits to main since this release
282b1e2

✨ 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 by noreferrer #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 #5131
  • alt 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

♻️ Refactored

  • Removed abandoned phpcpd tool from CI #5139
  • Upgrade to vite 4.3 #5154