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)
- โ Added