Skip to content

Releases: craftcms/cms

5.0.0-beta.10

19 Mar 17:40
5.0.0-beta.10
bd7eaa5
Compare
Choose a tag to compare
5.0.0-beta.10 Pre-release
Pre-release
  • Element conditions can now include condition rules for Time fields. (#14616)
  • Craft no longer shows an alert when an installed Craft/plugin edition is a lower tier than the licensed edition.
  • Console requests no longer filter out info logs. (#14280, #14434)
  • Fixed a bug where scrolling the global sidebar would also scroll the rest of the page. (#14611)
  • Fixed an error that could occur if stale settings were set on a mailer transport type. (#14555)

4.8.4

19 Mar 17:32
4.8.4
9d218d9
Compare
Choose a tag to compare
  • Craft no longer shows an alert when an installed Craft/plugin edition is a lower tier than the licensed edition.

3.9.12

19 Mar 17:06
3.9.12
f3a296b
Compare
Choose a tag to compare
  • Craft no longer shows an alert when an installed Craft/plugin edition is a lower tier than the licensed edition.

5.0.0-beta.9

18 Mar 05:05
5.0.0-beta.9
5ec6db0
Compare
Choose a tag to compare
5.0.0-beta.9 Pre-release
Pre-release
  • Entry queries that didn’t specify a section once again return nested entries, fixing a bug where it wasn’t possible to query or edit nested entries. (#14610)

5.0.0-beta.8

15 Mar 21:44
5.0.0-beta.8
847b93f
Compare
Choose a tag to compare
5.0.0-beta.8 Pre-release
Pre-release
  • Improved accessibility throughout the control panel. (#14571, #14585)
  • The relatedTo.field element query param now must be set to the original field’s handle, rather than the overridden instance handle.
  • Added craft\fieldlayoutelements\CustomField::getOriginalHandle().
  • craft\helpers\DateTime::toDateTime() now attempts to create a DateTime object by passing the passe-in value into its constructor.
  • Improved the performance of scalar element queries like count().
  • Fixed a bug where navigating back after creating an entry or applying a draft would return a 404 error. (#14587)
  • Fixed a bug where action URLs weren’t respecting the subpath specified by the @web alias, if it wasn’t present in the local URL to index.php.
  • Fixed a bug where craft\elements\db\ElementQuery::count() could return the wrong number if the query had a cached result, with offset or limit params.
  • Fixed a bug where Return/Spacebar presses would close disclosure menus without activating the focused item. (#14584, #14598)
  • Fixed a bug where it wasn’t possible to fetch related elements by their source elements via the relatedTo param, if a relational field(s) was specified. (#14552)
  • Fixed a PHP error that occurred if an entry had an invalid typeId.
  • Fixed styling issues with right-to-left languages. (#14589)
  • Fixed a bug where entry queries that didn’t specify a section were returning nested entries.

4.8.3

15 Mar 21:41
4.8.3
51956c4
Compare
Choose a tag to compare
  • craft\helpers\DateTime::toDateTime() now attempts to create a DateTime object by passing the passe-in value into its constructor.
  • Fixed a bug where navigating back after creating an entry or applying a draft would return a 404 error. (#14587)
  • Fixed a bug where action URLs weren’t respecting the subpath specified by the @web alias, if it wasn’t present in the local URL to index.php.

5.0.0-beta.7

12 Mar 23:19
5.0.0-beta.7
073d957
Compare
Choose a tag to compare
5.0.0-beta.7 Pre-release
Pre-release
  • Matrix fields now have a “‘New’ Button Label” setting. (#14573)
  • Relational fields’ “Selection Label” setting has been relabelled as “‘Add’ Button Label”.
  • Added the entryType() and fieldValueSql() Twig functions. (#14557)
  • Entry queries are now ordered by postDate DESC, id DESC by default, rather than just postDate DESC, to ensure their order is consistent when two entries have the same post date.
  • craft\base\Element::render() now has a $variables argument. (#14562)
  • craft\elements\db\ElementQuery::render() now has a $variables argument. (#14562)
  • craft\elements\ElementCollection::render() now has a $variables argument. (#14562)
  • craft\elements\NestedElementManager::saveNestedElements() now restores any soft-deleted elements that are returned by getValue().
  • craft\helpers\ElementHelper::renderElements() now has a $variables argument. (#14562)
  • Fixed a bug where craft\helpers\DateRange::dateIntervalByTimePeriod() wasn’t accounting for DST changes.
  • Fixed a bug where programmatically-updated <textarea>s weren’t triggering autosaves. (craftcms/ckeditor#172)
  • Fixed a JavaScript error that could occur when navigating between asset folders, when a JavaScript-based uploader was registered. (#14542)
  • Fixed a bug where action URLs were getting duplicate URI segments if Craft was installed in a subpath within the webroot. (#14559)
  • Fixed a bug where lazy-registered JavaScript modules weren’t getting loaded properly. (#14526)
  • Fixed a bug where related elements displayed in element indexes weren’t getting styled properly. (#14545)
  • Fixed a bug where keyboard shortcuts stopped working when slideouts were opened on wide screens.
  • Fixed an error that occurred if a nested, soft-deleted entry was restored.
  • Fixed a bug where breadcrumbs weren’t getting moved into an overflow menu. (#14549)
  • Fixed a bug where long chip labels weren’t getting styled properly. (#14563)
  • Fixed a bug where translatable field values weren’t getting populated to other sites on freshly-created entries within Matrix fields, if the field was set to inline-editable blocks mode. (#14540)
  • Fixed a bug where Date field values weren’t getting migrated to Craft 5 properly. (#14551)

4.8.2

12 Mar 23:03
4.8.2
3d38546
Compare
Choose a tag to compare
  • Entry queries are now ordered by postDate DESC, id DESC by default, rather than just postDate DESC, to ensure their order is consistent when two entries have the same post date.
  • Fixed a bug where craft\helpers\DateRange::dateIntervalByTimePeriod() wasn’t accounting for DST changes.
  • Fixed a bug where programmatically-updated <textarea>s weren’t triggering autosaves. (craftcms/ckeditor#172)
  • Fixed a JavaScript error that could occur when navigating between asset folders, when a JavaScript-based uploader was registered. (#14542)
  • Fixed a bug where action URLs were getting duplicate URI segments if Craft was installed in a subpath within the webroot. (#14559)

5.0.0-beta.6

05 Mar 20:15
5.0.0-beta.6
f43e6c8
Compare
Choose a tag to compare
5.0.0-beta.6 Pre-release
Pre-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 a craft\enums\CmsEdition case or null.
  • craft\base\ApplicationTrait::requireEdition() now accepts a craft\enums\CmsEdition case or an integer.
  • craft\base\ApplicationTrait::setEdition() now accepts a craft\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 that SORT_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.

4.8.1

05 Mar 20:12
4.8.1
95a93e9
Compare
Choose a tag to compare
  • Fixed a bug where some characters were getting misinterpreted as elisions when normalizing search keywords.
  • Fixed a bug where craft\helpers\UrlHelper::actionUrl() was using the site URL rather than the requested URL. (#14440)
  • 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 potential SSTI vulnerability.