Skip to content

Releases: craftcms/cms

5.8.18

06 Oct 18:27
5.8.18
ff394cc

Choose a tag to compare

  • The fields/auto-merge command now writes updated project config YAML files after each merge. (#16198)
  • new is now a reserved filesystem handle.
  • Added craft\base\ApplicationTrait::ensureEdition().
  • Fixed an error that could occur when running the utils/fix-field-layout-uids command. (#17848)
  • Fixed a bug where the EVENT_DEFINE_EXTRA_FIELDS event wasn’t getting triggered for elements. (#17866)
  • Fixed a bug where craft\services\Assets::EVENT_AFTER_REPLACE_ASSET events weren’t getting triggered when replacing an asset file via GraphQL. (#17005)
  • Fixed a bug where sections’ preview targets weren’t getting stored in the project config properly. (#17919)
  • Fixed a bug where inline search wasn’t working for Users fields. (#17838)
  • Fixed a bug where inline search wasn’t returning results ordered by search score.
  • Fixed a bug where “load more” buttons weren’t keyboard-accessible. (#17797)
  • Fixed a bug where the skip link target wasn’t able to be focused after the right sidebar was closed. (#17847)
  • Fixed a bug where focus was dropped after deleting a passkey. (#17853)
  • Fixed a bug where craft\helpers\Typecast wasn’t typecasting DateTimeInterface property values.
  • Fixed a bug where nested elements could get duplicated when canonical changes were merged into a draft. (#17740)
  • Fixed an error that could occur when executing GraphQL queries if the lazyGqlTypes config setting was enabled. (#17858)
  • Fixed a bug where focus was moved to the top of the body after the final tag in a Tags field was removed. (#17861)
  • Fixed a bug where element queries weren’t handling generated field params properly, for generated fields with the same handle as custom fields. (#17851, #17855)
  • Fixed a bug where it wasn’t possible to choose autosuggest inputs’ suggestions via mouse click. (#17869)
  • Fixed a bug where nested entries within Matrix fields weren’t getting a “Copy” action if the field was set to the inline-editable blocks view mode and Min/Max Entries were set to 1. (#17878)
  • Fixed a bug where Categories fields weren’t showing inline search inputs when “Show the search input” was enabled. (#17886)
  • Fixed a bug where the “Entry type settings” action for nested entries could open the owner entry’s entry type settings. (#17875)
  • Fixed a bug where entry type chips would lose their overridden name, handle, and description values when the entry type’s settings were saved. (#17876)
  • Fixed a bug where Matrix entries still showed a “Duplicate” action when the Matrix field’s Max Entries setting was reached. (#17902)
  • Fixed a bug where Matrix enttries’ “Duplicate” action was failing silently if the field’s Max Entries setting was reached for the canonical owner, but not the current draft. (#17902)
  • Fixed a bug where Matrix fields set to the element index view mode weren’t showing the correct nested entries when viewing an owner’s revision. (#17887)
  • Fixed a bug where RTL inputs were getting left-aligned text for users with an LTR language preference. (#17904)
  • Fixed a PHP error that could occur if Craft::$app->getEdition() was called early in the request. (#16288)
  • Fixed a bug where field layout editability conditions weren’t getting enforced when no user was logged in. (#17883)
  • Fixed a PHP error that could occur when saving an element with a Link field, if the Link field no longer accepts the previously-selected link type. (#16850)
  • Fixed a styling issue.

4.16.14

06 Oct 18:25
4.16.14
921acd7

Choose a tag to compare

  • new is now a reserved filesystem handle.
  • Fixed an error that could occur when running the utils/fix-field-layout-uids command. (#17848)
  • Fixed a bug where the EVENT_DEFINE_EXTRA_FIELDS event wasn’t getting triggered for elements. (#17866)
  • Fixed a bug where craft\services\Assets::EVENT_AFTER_REPLACE_ASSET events weren’t getting triggered when replacing an asset file via GraphQL. (#17005)
  • Fixed a bug where sections’ preview targets weren’t getting stored in the project config properly. (#17919)

5.8.17

06 Sep 00:03
5.8.17
afad55f

Choose a tag to compare

  • Added craft\base\NestedElementInterface::getOwners().
  • Added craft\base\NestedElementTrait::getOwners().
  • Fixed a bug where entries’ and categories’ descendants’ URIs weren’t always getting updated after a parent’s URI changed. (#17804)
  • Fixed a bug where addresses weren’t saving firstName, lastName, and fullName values properly. (#17807)
  • Fixed an n+1 query bug when working with Content Block fields. (#17801)
  • Fixed a bug where element selector modals’ sidebars would go out of view if the browser had a custom font size. (#17809)
  • Fixed a bug where relation field values weren’t getting updated properly when two elements were merged together. (#17817)
  • Fixed an authorization error that could occur when editing a provisional draft of a nested element.
  • Fixed a bug where custom field values could be lost when changing an entry type. (#17821)
  • Fixed a bug where non-admin users couldn’t edit recursively-nested elements if they didn’t have save permissions for the top-level element.
  • Fixed a bug where it was possible to select disabled elements within element select modals. (#17824)
  • Fixed a bug where toast notifications weren’t always being dismissed automatically when they should have. (#17825)
  • Fixed an error that could occur if a Content Block field was saved without any fields selected. (#17829)
  • Fixed a styling issue.

4.16.13

05 Sep 23:54
4.16.13
f5cc602

Choose a tag to compare

  • Fixed a bug where entries’ and categories’ descendants’ URIs weren’t always getting updated after a parent’s URI changed. (#17804)
  • Fixed a bug where addresses weren’t saving firstName, lastName, and fullName values properly. (#17807)

5.8.16

30 Aug 02:35
5.8.16
3daa5c8

Choose a tag to compare

  • When searching for elements, partial matches within titles are now scored higher than exact matches in other fields. (#17739)
  • Date pickers’ year selects now have a range of 100 years in the past and future. (#17782)
  • Fixed a bug where volumes’ filesystem settings weren’t respecting static translations of filesystem names. (#17749)
  • Fixed an error that could occur when applying project config changes. (#15357)
  • Fixed a bug where pressing the “Use defaults” button within element indexes’ View menus wasn’t removing the sort query string parameter, so the selected sort option could revert back if the window was reloaded. (#17761)
  • Fixed a bug where Link field condition rules’ “Is of type” operators weren’t getting saved correctly within field layout conditions. (#17741)
  • Fixed a bug where two nested Matrix fields with the same handle but different casing weren’t being treated as identical when upgrading to Craft 5. (#17751)
  • Fixed a bug where it wasn’t possible to view elements in structure view when a status was selected or a filter was applied. (#17759, #17774)
  • Fixed a bug where custom field values weren’t always retaining changes after changing an entry type. (#17768)
  • Fixed a bug where JSON fields weren’t initializing properly when they weren’t on the initially-shown field layout tab. (#17772)
  • Fixed a bug where the Live Preview drag bar’s hit area was only 2px wide. (#17781)
  • Fixed a bug where multi-select Selectize inputs didn’t allow selected options’ labels to wrap. (#17790)
  • Updated the bundled composer.phar to 2.7.7. (#17796)

4.16.12

30 Aug 02:34
4.16.12
a98d0e1

Choose a tag to compare

  • When searching for elements, partial matches within titles are now scored higher than exact matches in other fields. (#17739)
  • Fixed a bug where volumes’ filesystem settings weren’t respecting static translations of filesystem names. (#17749)
  • Fixed an error that could occur when applying project config changes. (#15357)
  • Fixed a bug where pressing the “Use defaults” button within element indexes’ View menus wasn’t removing the sort query string parameter, so the selected sort option could revert back if the window was reloaded. (#17761)
  • Updated the bundled composer.phar to 2.7.7. (#17796)

5.8.15

13 Aug 18:21
5.8.15
1fed537

Choose a tag to compare

  • Improved the performance of element queries. (#16401)
  • Updated svg-sanitizer to 0.22. (#17738)

5.8.14

13 Aug 02:09
5.8.14
78e791c

Choose a tag to compare

  • Relational fields’ search inputs no longer exclusively search for elements by their titles. (#17733)
  • Improved the accessibility of the Craft Support widget. (#17718)
  • Fixed a bug where the folderPath asset query param required a trailing slash. (craftcms/html-field#18)
  • Fixed a bug where the _includes/forms/button.twig template was HTML-encoding the iconHtml value.
  • Fixed an error that could occur when installing Craft with existing project config data. (#17587)
  • Fixed a bug where slideouts’ trigger elements weren’t always refocused after the slideout was closed. (#17736)
  • Fixed a bug where nested Matrix entries could lose their content if a validation error occurred. (#17732)
  • Fixed PHP deprecation errors.

4.16.11

13 Aug 18:18
4.16.11
e70d101

Choose a tag to compare

  • Improved the performance of element queries. (#16401)
  • Updated svg-sanitizer to 0.22. (#17738)

4.16.10

13 Aug 02:07
4.16.10
4ff5320

Choose a tag to compare

  • Fixed a bug where the folderPath asset query param required a trailing slash. (craftcms/html-field#18)
  • Fixed PHP deprecation errors.