Releases: craftcms/cms
Releases · craftcms/cms
5.6.1
- Fixed a bug where all multi-byte characters were getting stripped out of search indexes. (#16457)
- Fixed a bug where Color fields weren’t translating color palette labels.
- Fixed a bug where
craft\elements\Asset::getSrcset()
(andsrcset
method arguments) weren’t producing the correct transform URLs if the asset already had a named transform applied to it. (#16486) - Fixed a bug where the Login Page Logo general setting had inaccurate instructions. (#16482)
- Fixed a bug where element indexes’ View menus could have a horizontal scrollbar. (#16473)
- Fixed a bug where info icons weren’t shown within slideouts.
- Fixed a bug where the
utils/delete-empty-volume-folders
command was deleting folders that had no assets directly, but had subfolders. (#16388)
4.14.1
5.6.0.2
4.14.0.2
5.6.0.1
5.6.0
Content Management
- Custom fields within element edit pages can now have action menus with “Copy value from site…”, “Edit field” and “Copy field handle” items. (#16415, #14056)
- Added the “Field” entry condition rule, which replaces “Matrix field”, includes a “has a value” operator. (#16270)
- “Related To”, “Not Related To”, “Author”, and relational field condition rules now allow multiple elements to be specified. (#16121)
- Section condition rules now have a “has a value” operator. (#16270)
- Added the “Widget Title” setting to Quick Post widgets. (#16429)
- Improved the styling of inline code fragments. (#16141)
- Improved the styling of attribute previews in card view. (#16324)
- Added the “Affiliated Site” user condition rule. (#16174)
- Added the “Credentialed” user card/table attribute.
- The global sidebar no longer shows “Failed” for queue jobs, for users that don’t have access to the Queue Manager. (#16184)
- Addresses and Matrix fields now show provisional drafts when previewing an owner element. (#16295)
- Color fields with a predefined color palette now primarily show a color select dropdown, rather than a manual color input. (#16249)
- Improved how fields are sized in responsive field layouts. (#16303)
- Entry indexes now only show table column options and sort options for custom fields associated with the selected sections/entry types within custom entry sources’ conditions.
- Structure views are now available to element indexes on mobile browsers. (#16190)
- Datepickers now include a dropdown menu for selecting the year. (#16376)
- Element exports now include date attribute values set to the system time zone. (#16447)
- Heads-up displays now reposition themselves on window scroll.
Accessibility
- Improved the accessibility of Checkboxes and Radio Buttons fields that allow custom options. (#16080)
- Improved the accessibility of control panel icons. (#16128)
- Improved the accessibility of Selectize inputs. (#16110)
- Improved the accessibility of the image rotation control within the Image Editor. (#16218)
- Improved the accessibility of action menus on the Plugins index page.
- Improved the accessibility of “More” and “Advanced” toggle triggers. (#16293)
- Improved the accessibility of the Craft Support widget. (#16293)
- Improved the accessibility of field translatable indicators and tooltips.
- Progress bars now announce their progress to screen readers. (#16398)
- Loading spinners within element indexes and inline-editable Matrix fields are now announced to screen readers. (#16417)
- Improved the accessibility of timepicker inputs. (#16152)
Administration
- Added support for setting site-specific email setting overrides. (#16187)
- Added the “Affiliated Site” native user field. (#16174)
- Added the “View users” user permission. (#16206)
- Added the ability to override entry type names and handles for sections and Matrix fields. (#16453)
- Added the “Advanced Fields” setting to Link fields, with “Target”, “URL Suffix”, “Title Text”, “ARIA Label”, “Class Name”, “ID”, and “Relation (rel)” options. (#16268)
- Added the “Palette” setting to Color fields, which replaces “Presets”. (#16249)
- Added the “Allow custom colors” setting to Color fields. (#16249)
- Added the “GraphQL Mode” Link field setting. (#16237)
- Added a card view designer for addresses. (#16446)
- It’s now possible to view (but not edit) system and plugin settings on environments where
allowAdminChanges
is disabled. (#16265) - Added “Copy plugin handle” and “Copy package name” options to plugins’ action menus on the Plugins index page. (#16281)
- The Updates utility now shows an action menu for each plugin, with “Copy plugin handle” and “Copy package name” options. (#16281)
- The Queue Manager utility now shows jobs’ class names. (#16228)
- Field layout designers no longer show the element library in a persisting sidebar. Instead, tabs always show “Add” buttons, which open the element library within a heads-up display. (#16374)
- It’s now possible to add new field layout elements to tabs by clicking/tapping or pressing Return/Spacebar on them. (#16374)
- After creating a new field from a field layout designer, the field is now immediately added to the field layout tab. (#16374)
- Templates rendered for “Template” field layout UI elements can now call control panel template functions like
elementChip()
andelementCard()
. (#16267) - “Template” field layout UI elements now show suggestions for the Template input.
- Removed the “Edit field” action from field instance action menus within field layout designers. (#16451)
- Added the
elements/delete-all-of-type
command. (#16423) - Added the
utils/delete-empty-volume-folders
command. (#16388) - Improved the error output for nested elements when they can’t be resaved via
resave
commands. resave
commands’--drafts
,--provisional-drafts
, and--revisions
options can now be set tonull
, causing elements to be resaved regardless of whether they’re drafts/provisional drafts/revisions.- Added the
systemTemplateCss
config setting. (#16344) - The
loginPath
,logoutPath
,setPasswordPath
, andverifyEmailPath
config settings are now respected in headless mode. (#16344)
Development
- Added support for fallback element partial templates, e.g.
_partials/entry.twig
as opposed to_partials/entry/typeHandle.twig
. (#16125) - Added the
primarySite
global Twig variable. (#16370) - Added the
PHP_INT_MAX
global Twig variable. - The
duration
Twig filter now has alanguage
argument. (#16332) - The
indexOf
Twig filter now has adefault
argument, which can be any integer ornull
. (-1
by default for backwards compatibility.) {% cache %}
tags now cache any JavaScript import map entries registered viacraft\web\View::registerJsImport()
within them.- The
{% requireAdmin %}
tag now supports passing a boolean value, which determines whether administrative changes must be allowed (defaults totrue
). - Added the
withProvisionalDrafts
element query param, which causes the resulting elements to be replaced with any provisional drafts for the current user. - It’s now possible to pass nested custom field value keys into element queries’
orderBy
andselect
params (e.g.myDateField.tz
). (#16157) - It’s now possible to reference custom field handles in element queries’
where
params. (#16318) - Number fields’ scalar values now return an integer if Decimals is set to
0
, and a number formatted with the correct decimal points when using MySQL. (16369) - Added the
affiliatedSite
andaffiliatedSiteId
user query and GraphQL params. (#16174) - Added the
affiliatedSiteHandle
andaffiliatedSiteId
user GraphQL field. (#16174) - Added support for specifying the current site via an
X-Craft-Site
header set to a site ID or handle. (#16367) - It’s now possible to set Link field values to arrays with
value
keys set to element instances or IDs. (#16255) - Added the
disable2fa
config setting. (#16426) - Added support for defining redirects from
config/redirects.php
. (#16355) - Deprecated the
ucfirst
Twig filter.capitalize
should be used instead.
Extensibility
- Added `craft...
4.14.0.1
4.14.0
Content Management
- The global sidebar no longer shows “Failed” for queue jobs, for users that don’t have access to the Queue Manager. (#16184)
Administration
- Added the
elements/delete-all-of-type
command. (#16423) - Added the
utils/delete-empty-volume-folders
command. (#16388) - The Queue Manager utility now shows jobs’ class names. (#16228)
Development
- Added the
primarySite
global Twig variable. (#16370) - The
duration
Twig filter now has alanguage
argument. (#16332) - Added support for specifying the current site via an
X-Craft-Site
header set to a site ID or handle. (#16367) - Deprecated the
ucfirst
Twig filter.capitalize
should be used instead.
Extensibility
- Added
craft\helpers\Image::EXIF_IFD0_ROTATE_0_MIRRORED
. - Added
craft\helpers\Image::EXIF_IFD0_ROTATE_0
. - Added
craft\helpers\Image::EXIF_IFD0_ROTATE_180_MIRRORED
. - Added
craft\helpers\Image::EXIF_IFD0_ROTATE_270_MIRRORED
. - Added
craft\helpers\Image::EXIF_IFD0_ROTATE_90_MIRRORED
. - Added
craft\models\AssetIndexingSession::$forceStop
. (#16435) GuzzleHttp\Client
is now instantiated viaCraft::createObject()
. (#16366)craft\helpers\DateTimeHelper::humanDuration()
now has a$language
argument. (#16332)
System
- Database rows with foreign keys referencing nonexistent rows are now deleted via garbage collection.
- Pages which contain image transform generation URLs now set no-cache headers. (#16195)
- Action requests (such as
actions/app/health-check
) now send no-cache headers by default. (#16364) - Image cleansing now preserves the original image quality, if known.
- Fixed a bug where
craft\config\GeneralConfig::safeMode()
set Safe Mode tofalse
by default. - Fixed a bug where Craft wasn’t auto-rotating or flipping images uploaded with a mirrored EXIF orientation.
- Fixed a bug where asset indexing could get stuck in an infinite loop if the index data was deleted. (#16435)
- Updated Twig to 3.15. (#16207)
- Fixed an error that could occur when setting
relatedTo*
GraphQL arguments tonull
. (#16433) - Fixed a bug where old structure data wasn’t getting soft-deleted when a section was assigned a new structure UUID when applying project config changes. (#16450)
- Fixed a bug where
craft\events\DefineAssetUrlEvent::$transform
wasn’t always defined for assets’EVENT_BEFORE_DEFINE_URL
andEVENT_DEFINE_URL
events. (#16464)
5.5.10
- Fixed a bug where the control panel could display a notice about the Craft CMS license belonging to a different domain, even when accessing the control panel from the correct domain. (#16396)
- Fixed a bug where Unicode special characters weren’t getting stripped out of search keywords. (#16430)
- Fixed an error that could occur when setting
relatedTo*
GraphQL arguments tonull
. (#16431) - Fixed a bug where field layout elements’ action menus could have an empty action group.
- Fixed a bug where Single section entries could be duplicated after running the
entry-types/merge
command. (#16394) - Fixed a styling bug with the system message modal. (#16410)
- Fixed a bug where relational fields could eager-load elements from a different instance of the same field, if one of the instances had no relations. (#16191)
- Fixed a bug where the
utils/prune-revisions
command was deleting nested entry revisions.
4.13.10
- Fixed a bug where the control panel could display a notice about the Craft CMS license belonging to a different domain, even when accessing the control panel from the correct domain. (#16396)
- Fixed a bug where Unicode special characters weren’t getting stripped out of search keywords. (#16430)
- Fixed an error that could occur when setting
relatedTo*
GraphQL arguments tonull
. (#16431)