CraftCMS v4.0.6 Release Notes

Release Date: 2022-06-28 // almost 2 years ago
  • โž• Added

    • โž• Added craft\fields\BaseOptionsField::encodeValue().

    ๐Ÿ”„ Changed

    • ๐Ÿ‘Œ Improved the install commandโ€™s error output when invalid options were passed.
    • canonical is now a reserved field handle. (#11503)
    • craft\fields\BaseOptionsField::translatedOptions() now has an $encode argument.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug where self relations within relational fields were being forgotten. (#11461)
    • ๐Ÿ›  Fixed a bug where the install command required --site-name, --site-url, and --language options to be passed when project config YAML was already present. (#11513)
    • ๐Ÿ›  Fixed a bug where Garnish.setFocusWithin() wasnโ€™t working if the first focusable element was a checkbox. (#11498)
    • ๐Ÿ›  Fixed a bug where Matrix blocks could be saved in the wrong order.
    • ๐Ÿ›  Fixed a bug where Checkboxes, Dropdown, Multi-select, and Radio Buttons fields could lose their values if their option values were set to integers. (#11461)