Releases: craftcms/cms
Releases · craftcms/cms
5.5.5
- Fixed a bug where asset, category, and entry sources defined by the
EVENT_REGISTER_SOURCES
event didn’t have any custom fields available to them, unless theEVENT_REGISTER_FIELD_LAYOUTS
event was also used to define the available field layouts for the event-defined source. (#16256) - Fixed a bug where Link fields were getting
string
types inCustomFieldBehavior
rather thancraft\fields\data\LinkData
. - Fixed a JavaScript error that could occur when creating new nested elements. (#16262)
4.13.5
5.5.4
- Reduced the likelihood of a deadlock error occurring when updating search indexes. (#15221)
- The PHP Info utility is no longer shown in environments where the
phpinfo()
function is disabled. (#16229) - “View” buttons within element indexes are now disabled when the selected view mode has no applicable settings. (#16242)
- Fixed an error that could occur when duplicating an element with an Assets field that had a dynamic subpath. (#16214)
- Fixed a bug where renaming asset folders could move them to the webroot on Windows. (#16215)
- Fixed a bug where utilities’
isSelectable()
methods weren’t being respected. - Fixed an exception that could be thrown when displaying entry indexes, if any
EVENT_INIT
orEVENT_DEFINE_BEHAVIORS
entry event handlers were callinggetType()
on the entry. (#16254) - Fixed a bug where element slideouts had Save buttons even if the user didn’t have permission to save the element. (#16205)
- Fixed a bug where pagination wasn’t working properly on the Entry Types index page when searching. (#16204)
- Fixed an error that could occur when saving an element with an invalid Link field value. (#16212)
- Fixed a bug where sortable checkbox selects were displaying menu buttons even when only one option was selected. (#16213)
- Fixed a bug where it wasn’t possible to sort embedded element indexes by custom fields.
- Fixed a bug where changes to nested elements weren’t getting saved to a draft of the parent, if the element editor was triggered via the “Edit” action menu item. (#16251)
- Fixed a bug where all elements would get soft-deleted when deleting a section on PostgreSQL. (#16230)
- Fixed a bug where entry cards could contain two entry type icons if the “Entry Type” attribute was included in the card view designer. (#16234)
- Fixed a bug where address error summaries weren’t linking to Latitude/Longitude fields properly. (#16244)
- Fixed a styling issue.
4.13.4
- Reduced the likelihood of a deadlock error occurring when updating search indexes. (#15221)
- The PHP Info utility is no longer shown in environments where the
phpinfo()
function is disabled. (#16229) - Fixed an error that could occur when duplicating an element with an Assets field that had a dynamic subpath. (#16214)
- Fixed a bug where renaming asset folders could move them to the webroot on Windows. (#16215)
- Fixed a bug where Matrix fields’ content tables weren’t getting renamed properly when applying project config changes. (#16227)
- Fixed a bug where utilities’
isSelectable()
methods weren’t being respected. - Fixed an exception that could be thrown when displaying entry indexes, if any
EVENT_INIT
orEVENT_DEFINE_BEHAVIORS
entry event handlers were callinggetSection()
orgetType()
on the entry. (#16254)
5.5.3
- Element indexes now sort by ID by default, for sources that don’t define a default sort option.
- Fixed a bug where element indexes were sorting by the first sortable attribute alphabetically by default, rather than the first sortable attribute defined by the element type.
- Fixed a bug where
craft\events\ApplyFieldSaveEvent::$field
wasn’t being set consistently bycraft\services\Fields::EVENT_BEFORE_APPLY_FIELD_SAVE
. (#16156) - Fixed a bug where the address field layout’s project config data wasn’t getting recreated when running
project-config/rebuild
. (#16189) - Fixed an error that could occur when creating a nested element. (#16162)
- Fixed a bug where custom fields weren’t being displayed at 25% width when they should have. (#16165)
- Fixed a bug where the “Default Table Columns” element source settings could contain duplicate checkbox options. (#16177)
- Fixed a JavaScript error that broke nested element creation in global sets. (#16182)
- Fixed a bug where Number fields weren’t rounding existing values based on the precision specified by the Decimals setting. (#16181)
4.13.3
- Element indexes now sort by ID by default, for sources that don’t define a default sort option.
- Fixed a bug where element indexes were sorting by the first sortable attribute alphabetically by default, rather than the first sortable attribute defined by the element type.
- Fixed a bug where bulk asset actions where shown as available when subfolders were selected, when they shouldn’t have. (#16151)
- Fixed a bug where
craft\events\ApplyFieldSaveEvent::$field
wasn’t being set consistently bycraft\services\Fields::EVENT_BEFORE_APPLY_FIELD_SAVE
. (#16156) - Fixed a bug where the address field layout’s project config data wasn’t getting recreated when running
project-config/rebuild
. (#16189)
5.5.2
- Fixed an error that could occur if an invalid folder ID was passed to
craft\services\Assets::deleteFoldersByIds()
. (#16147) - Fixed a SQL error that occurred when creating a new Single section. (#16145)
- Fixed an error that occurred when running the
resave/all
command, if any of the options passed weren’t supported by otherresave/*
commands. (#16148) - Fixed an error that occurred when restoring a soft-deleted custom field. (#16150)
- Fixed an RCE vulnerability.
5.5.1.1
5.5.1
- The
entry-types/merge
command can now be run non-interactively. (#16135) - Fixed a JavaScript error that could occur on element edit pages. (#16055)
- Fixed a Twig deprecation error. (#16107)
- Fixed a bug where
craft\services\Structures::fillGapsInElements()
wasn’t working properly if the elements weren’t passed in hierarchical order. (#16085) - Fixed a bug where
craft\helpers\Console::table()
wasn’t handling multi-byte characters and ANSI-formatted strings properly. - Fixed a bug where entries could appear to retain old field values when switching entry types, even if the new type’s fields weret’t compatible with the original type’s fields. (#16056)
- Fixed a bug where Link field query params weren’t working for elements that hadn’t been saved since updating to Craft 5.5.0+. (#16113)
- Fixed a bug where Live Preview wasn’t reloading after reordering nested entries or addresses. (#16122)
- Fixed a JavaScript error that could occur when reordering structured elements within an embedded element index. (#16103)
- Fixed a bug where changes to nested entries/addresses in card view were getting published immediately on save, if the parent element was a draft.
- Fixed a bug where element cards could bleed out of their containers. (#16112)
- Fixed a bug where nested entries could get deleted when restoring revisions. (#16116)
- Fixed a bug where reordering nested addresses or entries would cause any provisional drafts to be fully created. (#16094)
- Fixed a PHP error that could occur on element indexes. (craftcms/commerce#3774)
- Fixed a bug where an existing Single section entry could be deleted when the section’s Entry Types setting changed. (#16102)
- Fixed a bug where Single section entries’ content could be lost after running the
entry-types/merge
command. (#16102) - Fixed a bug where Single section entries could be duplicated after running the
entry-types/merge
command. (#16087, #16102) - Fixed an RCE vulnerability.