Kirby 3.9.4 is here!

Kirby 3.9.4 is here and it has a couple of really nice 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'
];

https://github.com/getkirby/kirby/releases/tag/3.9.4 :rocket:

1 Like

Just wondering, if I don’t know the difference between Symfony and Spyc YAML handling, should I care…? If there’s some clear benefit, I might switch over, but I don’t want to break anything unnecessarily. (As mentioned in Kosmos: “Since the Symfony YAML parser enforces stricter rules, you might have to adjust your blueprints.”)

The reason for the change is that Spyc is no longer maintained and will need to be replaced in the mid term, so the migration of the blueprints will need to be done at some point anyway. We already offer Symfony YAML for those who were having problems with Spyc, but you don’t have to switch already. We will try to ease the migration in the coming releases.

1 Like