5.0.0-beta.6
Pre-release
Pre-release
github-actions
released this
05 Mar 20:15
·
8124 commits
to 5.x
since this release
- It’s now possible to manage custom preview targets on sections with Craft Solo.
- The global sidebar background color is now a shade darker than the rest of the page. (#14515)
- Asset chips with large thumbnails now truncate long titles, and make the full title visible via a tooltip on hover/focus. (#14462, #14502)
- Table columns now set a max with to force long lines to be truncated or wrap. (#14514)
- Slideouts are now slightly wider on desktop browsers.
- Pane headers/footers and most meta fields now match the height of the global header.
- It’s now possible to preview revisions. (#14521)
- GraphQL responses now include full exception details, when Dev Mode is enabled or an admin is signed in with the “Show full exception views when Dev Mode is disabled” preference enabled. (#14527)
- Added
craft\base\ApplicationTrait::$edition
. - Added
craft\enums\CmsEdition
. - Added
craft\web\ErrorHandler::exceptionAsArray()
. - Added
craft\web\ErrorHandler::showExceptionDetails()
. craft\base\ApplicationTrait::getLicensedEdition()
now returns acraft\enums\CmsEdition
case ornull
.craft\base\ApplicationTrait::requireEdition()
now accepts acraft\enums\CmsEdition
case or an integer.craft\base\ApplicationTrait::setEdition()
now accepts acraft\enums\CmsEdition
case or an integer.- Deprecated
Craft::Pro
.craft\enums\CmsEdition::Pro
should be used instead. - Deprecated
Craft::Solo
.craft\enums\CmsEdition::Solo
should be used instead. - Deprecated
craft\base\ApplicationTrait::getEdition()
.$edition
should be used instead. - Deprecated
craft\base\ApplicationTrait::getEditionHandle()
.$edition
should be used instead. - Deprecated
craft\base\ApplicationTrait::getEditionName()
.$edition
should be used instead. - Deprecated
craft\base\ApplicationTrait::getLicensedEditionName()
.getLicensedEdition()
should be used instead. - Deprecated
craft\helpers\App::editionHandle()
.craft\enums\CmsEdition::handle()
should be used instead. - Deprecated
craft\helpers\App::editionIdByHandle()
.craft\enums\CmsEdition::fromHandle()
should be used instead. - Deprecated
craft\helpers\App::editionName()
.craft\enums\CmsEdition::name
should be used instead. - Deprecated
craft\helpers\App::editions()
.craft\enums\CmsEdition::cases()
should be used instead. - Deprecated
craft\helpers\App::isValidEdition()
.craft\enums\CmsEdition::tryFrom()
should be used instead. - Craft now calls
setlocale()
based on the target language, so thatSORT_LOCALE_STRING
behaves as expected. (#14509, #14513) - Fixed a bug where element chips weren’t handling long labels properly. (#14517, #14502)
- Fixed a bug where
craft\helpers\Html::parseTagAttribute()
wasn’t handling attribute values with newlines. (#14498) - Fixed a bug where the “Filesystem Type” setting wasn’t toggling type-specific settings when editing a filesystem via a slideout. (#14522)
- Fixed a 403 error that could occur when editing an inline-editable Matrix block. (#14512)
- Fixed a potential SSTI vulnerability.