Skip to content

Releases: craftcms/cms

5.6.6

12 Feb 00:17
5.6.6
bde0a7f
Compare
Choose a tag to compare
  • Fixed a bug where multi-site elements’ search indexes could be updated twice.
  • Fixed a bug where some nested Matrix entries weren’t getting propagated to newly-added sites of their owners, if any blocks had been modified. (#16640)
  • Fixed an error that could occur when deleting a draft.
  • Fixed an error that could occur when saving a Structure section entry, if it had an Assets field with a dynamic subpath that referenced level. (#16661)
  • Fixed a bug where “Fit” image transforms were showing the “Default Focal Point” setting. (#16665)
  • Fixed a bug where the “Image Position” setting wasn’t saving for “Letterbox” image transforms. (#16648)
  • Fixed a bug where the up command, the app/migrate action, and the Project Config utility weren’t aware of pending project config changes if a database backup was restored but caches weren’t cleared. (#16668)
  • Fixed a bug where condition rules weren’t always getting created with their condition set. (#16676)
  • Fixed an error that occurred when opening the filter HUD within the element selection modal for a relational field, if the user didn’t have permission to view the selected source outside of the field. (#16678)
  • Fixed a bug where Number fields weren’t getting sorted properly in PostgreSQL. (#15828)
  • Fixed a bug where Matrix fields’ “Default View Mode” settings included a “Display in a structured table” option. (#16631)
  • Fixed a bug where user addresses weren’t getting restored when soft-deleted users were restored. (#16636)
  • Fixed a bug where pressing the “New entry” button multiple times quickly would create multiple nested entries, circumventing the “Max Entries” settings. (#16642)
  • Fixed a bug where Link fields without values were always getting marked as dirty when making another change to the element. (#16649)
  • Fixed an error that could occur when programmatically duplicating a nested element for a new site. (#16659)
  • Fixed a bug where Link fields’ “URL Suffix” and “Target” advanced fields were getting enabled even if they had been disabled in Craft 5.5. (#16663)
  • Fixed an error that occurred when executing the users/remove-2fa command.
  • Fixed a potential phishing attack vector.
  • Fixed styling issues. (#16683, #16684)

4.14.5

12 Feb 00:15
4.14.5
f779db3
Compare
Choose a tag to compare
  • Fixed a bug where multi-site elements’ search indexes could be updated twice.
  • Fixed a bug where the utils/delete-empty-volume-folders command was deleting folders that had no assets directly, but had subfolders. (#16388)
  • Fixed a bug where some Matrix blocks weren’t getting propagated to newly-added sites of their owners, if any blocks had been modified. (#16640)
  • Fixed an error that could occur when deleting a draft.
  • Fixed an error that could occur when saving a Structure section entry, if it had an Assets field with a dynamic subpath that referenced level. (#16661)
  • Fixed a bug where “Fit” image transforms were showing the “Default Focal Point” setting. (#16665)
  • Fixed a bug where the “Image Position” setting wasn’t saving for “Letterbox” image transforms. (#16648)
  • Fixed a bug where the up command, the app/migrate action, and the Project Config utility weren’t aware of pending project config changes if a database backup was restored but caches weren’t cleared. (#16668)
  • Fixed a bug where condition rules weren’t always getting created with their condition set. (#16676)
  • Fixed an error that occurred when opening the filter HUD within the element selection modal for a relational field, if the user didn’t have permission to view the selected source outside of the field. (#16678)
  • Fixed a potential phishing attack vector.

5.6.5.1

05 Feb 00:31
5.6.5.1
bb960e6
Compare
Choose a tag to compare
  • Fixed an error that could occur when saving elements with nested elements on multi-site installs. (#16609)

5.6.5

04 Feb 19:35
5.6.5
d1c1ae5
Compare
Choose a tag to compare
  • Fixed a bug where transformed images could be slightly smaller than they should be when using the fit transform mode. (#16622)
  • Fixed a bug where tests weren’t outputting exceptions thrown during Craft installation. (#16624)
  • Fixed a bug where section-specific GraphQL queries (<sectionHandle>Entries) weren’t available if a Matrix or CKEditor field existed with the same handle as the section.
  • Fixed an error that could occur after reordering routes. (#16610)
  • Fixed an error that occurred when a non-admin user attempted to copy a field value from another site.
  • Fixed a bug where the migrate/up and migrate/all commands were writing out changes to the project config YAML when there were already pending YAML changes. (#16086)
  • Fixed a bug where fields were getting added to field layout tabs if they were dragged from the library, and dropped back on their library element. (#16619)
  • Fixed a bug where field layout conditions weren’t getting applied after nested elements were added or removed. (#16558)
  • Fixed a bug where element thumbs weren’t loading when an element editor’s content was refreshed after closing Live Preview.
  • Fixed a bug where changes to nested entries weren’t always showing when previewing elements. (#16626)
  • Fixed a PHP error that occurred when an invalid token was passed to the token query string param. (#16630)

4.14.4

04 Feb 19:33
4.14.4
469b3fc
Compare
Choose a tag to compare
  • Fixed an error that occurred when accessing the edit/<elementId> route for a draft that no longer existed.
  • Fixed a bug where transformed images could be slightly smaller than they should be when using the fit transform mode. (#16622)
  • Fixed a bug where tests weren’t outputting exceptions thrown during Craft installation. (#16624)

5.6.4

31 Jan 00:10
5.6.4
7547163
Compare
Choose a tag to compare
  • Fixed an error that occurred when accessing the edit/<elementId> route for a draft that no longer existed.
  • Fixed a bug where Matrix fields set to inline-editable blocks view were showing drafts of nested entries.
  • Fixed a bug where element card attributes weren’t saving for field layouts that didn’t have any tabs. (#16589)
  • Fixed an error that occurred when attempting to move entries to a new section, if they didn’t exist in the primary site. (#16421)
  • Fixed a bug where Link fields weren’t responsive for newly-created nested entries. (#16592)
  • Fixed an error that could occur when executing the utils/prune-orphaned-entries command. (#16598)

5.6.3

29 Jan 19:03
5.6.3
4a1bb36
Compare
Choose a tag to compare
  • Fixed a bug where craft\db\QueryBatcher::getSlice() wasn’t using the database connection passed to the class constructor. (#16579)
  • Fixed an error that could occur when eager-loading nested elements’ owners, if any of the queried elements didn’t have an owner ID. (#16570, #16572, #16576)
  • Fixed a bug where collapsed elements within element indexes in structure view weren’t showing their expand/collapse toggles.
  • Fixed a bug where Color fields weren’t getting fully instantiated within slideouts, Live Preview, and after copying the field value from another site. (#16571)
  • Fixed a bug where buttons weren’t getting focus rings.
  • Fixed a bug where light text didn’t meet minimum contrast requirements.
  • Fixed an error that could occur when attempting to edit a recursively-nested entry. (#16566)
  • Fixed a bug where custom options set to Checkboxes and Radio Buttons fields weren’t showing up in field previews. (#16575)

4.14.3

29 Jan 20:04
4.14.3
8d4bc53
Compare
Choose a tag to compare
  • Added craft\db\ExpressionBuilder.
  • Added craft\db\ExpressionInterface.
  • Added compatibility with codeception/module-yii2 1.1.6+. (#16580)
  • Fixed a bug where craft\db\QueryBatcher::getSlice() wasn’t using the database connection passed to the class constructor. (#16579)
  • Fixed a bug where collapsed elements within element indexes in structure view weren’t showing their expand/collapse toggles.

5.6.2

28 Jan 23:44
5.6.2
8f5418c
Compare
Choose a tag to compare
  • The Login page now displays the Login Page Logo above the login form, rather than within the header. (#16564)
  • The field layout element library HUD is no longer closed automatically when an element is selected. (#16521)
  • The “Settings” global nav item now has an alternate icon when allowAdminChanges is disabled, indicating that settings are read-only. (#16563)
  • Added craft\web\User::getDefaultReturnUrl().
  • Fixed a bug where Entries fields’ entry select modals could show expand/collapse toggles for Structure sections, for elements that didn’t have any selectable descendants. (#16506)
  • Fixed a bug where changes to custom fields within nested Matrix entries weren’t getting merged into existing drafts for the same owner element. (#16519)
  • Fixed a bug where native fields (e.g. Title) were showing changed statuses when viewing revisions, if they had been updated since the time the revision was created.
  • Fixed a bug where eager-loading element queries could create an excessive amount of cache invalidation tags.
  • Fixed a bug where it was possible to enable elements for new sites with validation errors. (#16505)
  • Fixed a bug where ʻokina characters weren’t being removed in auto-generated slugs. (#16548)
  • Added a cp.login.alternative-login-methods hook to the system login template.
  • Fixed a bug where Color fields’ custom color inputs were including presets based on the color palette.
  • Fixed a bug where nested Matrix entries weren’t getting assigned a post date if they were created while saving the owner element with a custom validation scenario. (#16504)
  • Fixed a bug where plugin settings pages weren’t displaying a read-only notice and had Save buttons, when allowAdminChanges was false. (#16509)
  • Fixed a bug where eager-loading elements on nested entries resulted in a large number of database queries.
  • Fixed a bug where field action menus were showing on fields that didn’t have a label or visible field handle. (#16510)
  • Fixed a styling issue. (#16515)
  • Fixed a bug where the login modal could be displayed too short for its contents.
  • Fixed a bug where SSO logins would redirect to the front end by default.
  • Fixed a bug where SSO users were able to “reset” their passwords.
  • Fixed JavaScript error that occurred if there was problem sending a password-reset email.
  • Fixed an error that could occur when working with an entry whose type is no longer allowed by its section/field. (#16539)
  • Fixed a bug where tooltips were displaying behind slideouts. (#16529)
  • Fixed a bug where field translation indicators and action menu buttons could be autofocussed when creating a new entry within a Matrix field, or opening an element editor slideout. (#16528)
  • Fixed a bug where field values copied from another site weren’t always saving. (#16537)
  • Fixed errors that could occur on Ajax requests when deleting an inline-editable Matrix block. (#16540)
  • Fixed compatibility with the Google Authenticator app for TOTP-based authentication. (#16466, #16552)
  • Fixed a bug where the Updates utility wasn’t showing the “Update all” button if multiple updates were available. (#16565)
  • Fixed a bug where craft\services\Sso::findUser() wasn't accounting for soft-deleted users. (#16491)
  • Fixed a bug where Color fields weren’t getting fully instantiated when present on a newly-created nested entry within a Matrix field. (#16554)
  • Fixed a bug where content footers could bleed out of their containers on smaller screens. (#16557)
  • Fixed a bug where email settings weren’t validating if any System Email Address or Reply-To Address site override settings were set to environment variables. (#16559)
  • Fixed a bug where tooltips could be closed immediately. (#16530)

4.14.2

28 Jan 23:43
4.14.2
22c4b16
Compare
Choose a tag to compare
  • Fixed a bug where Entries fields’ entry select modals could show expand/collapse toggles for Structure sections, for elements that didn’t have any selectable descendants. (#16506)
  • Fixed a bug where changes to custom fields within Matrix blocks weren’t getting merged into existing drafts for the same owner element. (#16519)
  • Fixed a bug where native fields (e.g. Title) were showing changed statuses when viewing revisions, if they had been updated since the time the revision was created.
  • Fixed a bug where eager-loading element queries could create an excessive amount of cache invalidation tags.
  • Fixed a bug where it was possible to enable elements for new sites with validation errors. (#16505)
  • Fixed a bug where setting transaction: true in the Codeception configuration wasn’t rolling back database DML changes after a test. (#16546)
  • Fixed a bug where ʻokina characters weren’t being removed in auto-generated slugs. (#16548)