All Versions
336
Latest Version
Avg Release Cycle
7 days
Latest Release
507 days ago
Changelog History
Page 12
Changelog History
Page 12
-
v3.6.3 Changes
February 03, 2021โ Added
- โ Added
craft\base\ElementInterface::setUiLabel()
. - โ Added
craft\fields\BaseRelationField::tableAttributeHtml()
. - โ Added
craft\helpers\Cp::elementPreviewHtml()
.
๐ Changed
- Entry indexes now include draft entries in the main entry listings. (#7401)
- Entry indexes can now show a โDraftsโ column, which lists the entriesโ drafts. (#7473)
- The โPublish draftโ button on Edit Entry pages can now be activated using a Ctrl/Command + Alt/Option + S keyboard shortcut.
- Entry queriesโ
drafts
param can now be set tonull
, indicating that both normal entries and drafts can be included in the results. - Entries can now be eager-loaded with
drafts
. craft\helpers\Cp::elementHtml
now has a$showDraftBadge
argument.
โ Removed
- โ Removed
craft\fields\BaseRelationField::elementPreviewHtml()
.
๐ Fixed
- ๐ Fixed a bug where Edit Entry pages would get a โCreate a new entryโ heading when editing an existing draft entry.
- ๐ Fixed a bug where user impersonation URLs only worked for active users. (#7475)
- ๐ Fixed a bug where
craft\elements\db\ElementQuery::draftOf()
didnโt accept passing in'*'
. (#7470)
- โ Added
-
v3.6.2 Changes
January 29, 2021โ Added
- โ Added
craft\gql\handlers\Site
. - โ Added
craft\service\Gql::handleQueryErrors()
.
๐ Changed
- ๐ The web-based installer now respects the
postCpLoginRedirect
config setting. (#5648) - ๐ Improved GraphQL error reporting.
- โ
craft\test\console\CommandTest::stdOut()
,outputCommand()
, andstderr()
now accept an array of possible expected strings. - โฌ๏ธ Downgraded webonyx/graphql-php to 14.4. (#7452)
๐ Fixed
- ๐ Fixed a bug where any license key inputs on the Settings โ Plugins page that were set to environment variable names would get replaced with the actual license key after a short period of time.
- ๐ Fixed a bug where some GraphQL queries could not be executed when Dev Mode was disabled. (#7452)
- ๐ Fixed a bug where GraphQL queries which set
site: '*'
would result in an error. (#5079) - ๐ Fixed a bug where sectionsโ Template setting values werenโt getting auto-generated based on the Name setting, for new sections.
- ๐ Fixed a PHP error that could occur when running the
update
command if specific versions were requested. - ๐ Fixed an error that could occur if a deprecation warning was logged before Craft was installed.
- โ Added
-
v3.6.1 Changes
January 27, 2021โ Added
- โ Added
craft\console\ControllerTrait::checkTty()
.
๐ Changed
- The
setup/welcome
command that is run automatically after installing Craft viacomposer create-project craftcms/craft
can now initiate the setup process automatically, if using Composer 2. craft\console\Controller::$interactive
is now set tofalse
automatically for non-interactive shells.
๐ Fixed
- โ Added
-
v3.6.0 Changes
January 26, 2021โก๏ธ > {warning} Read through the Upgrading to Craft 3.6 guide before updating.
โ Added
- ๐ Craft now supports PHP 8. (#7050)
- Craft now requires PHP 7.2.5 or later.
- ๐ Commercial plugins now receive license keys automatically when installed as trials.
- ๐ Itโs now possible for admins to purchase Craft and plugin licenses when
allowAdminChanges
is disabled. - ๐ Itโs now possible to browse the Plugin Store when
allowAdminChanges
is disabled. - โ Added tablet and phone viewport emulation to Live Preview (Craft Pro only.) (#1006)
- Entries now begin life as โunpublished draftsโ rather than โunsaved draftsโ. They are no longer ephemeral; they will continue to exist until explicitly published or deleted. (#5661, #7216)
- Itโs now possible to delete entries for a specific site, if their sectionโs propagation method is set to โLet each entry choose which sites it should be saved toโ. (#7190)
- โ Added the โCopy impersonation URLโ user action, which generates a URL that can be pasted into a private window to impersonate the user without losing the current session. (#7281)
- ๐ User indexes can now include a โGroupsโ column. (#7211)
- ๐ Volumes now have โTitle Translation Methodโ and โTitle Translation Key Formatโ settings, like entry types. (#7135)
- Itโs now possible to set sitesโ Name settings to environment variables.
- URL fields now have an โAllowed URL Typesโ setting, which adds the ability to accept telephone and email URLs. (#5497)
- โ Added the โCaptions/Subtitlesโ file kind. (#7304)
- โ Added the
users/list-admins
andusers/set-password
commands. (#7067) - โ Added the
disableGraphqlTransformDirective
config setting. (#6466) - โ Added the
enableGraphqlIntrospection
config setting. (#6466) - โ Added the
handleCasing
config setting, which determines the default casing that should be used when autogenerating component handles. (#4276) - โ Added the
maxGraphqlComplexity
config setting. (#6466) - โ Added the
maxGraphqlDepth
config setting. (#6466) - โ Added the
maxGraphqlResults
config setting. (#6466) - โ Added the
rasterizeSvgThumbs
config setting. (#7146) - โ Added the
sanitizeCpImageUploads
config setting, which determines whether images uploaded via the control panel should be sanitized. (#3060) - โ Added the
{% tag %}
Twig tag. - โ Added the
withGroups
user query param. - โ Added the
relatedToAssets
,relatedToCategories
,relatedToEntries
,relatedToTags
, andrelatedToUsers
arguments to GraphQL queries. (#7110) - โ Added the
isUnpublishedDraft
GraphQL field. - โ Added
craft\base\ApplicationTrait::getFormattingLocale()
, which returns the locale that should be used for date/time formatting. - โ Added
craft\base\ElementExporterInterface::isFormattable()
. - โ Added
craft\base\ElementInterface::getIsUnpublishedDraft()
. - โ Added
craft\base\FieldInterface::includeInGqlSchema()
. (#7244) - โ Added
craft\base\FieldInterface::useFieldset()
, which custom fields can override to returntrue
if a<fieldset>
and<legend>
should be used, rather than a<div>
and<label>
. - โ Added
craft\base\VolumeInterface::createDirectory()
. - โ Added
craft\base\VolumeInterface::deleteDirectory()
. - โ Added
craft\base\VolumeInterface::getDateModified()
. - โ Added
craft\base\VolumeInterface::getFileSize()
. - โ Added
craft\base\VolumeInterface::renameDirectory()
. - โ Added
craft\base\VolumeTrait::$titleTranslationKeyFormat
. - โ Added
craft\base\VolumeTrait::$titleTranslationMethod
. - โ Added
craft\console\Controller::passwordPrompt()
. - โ Added
craft\console\Request::getHadToken()
. - โ Added
craft\console\Request::getSiteToken()
. - โ Added
craft\console\Request::setToken()
. - โ Added
craft\controllers\BaseEntriesController::enforceDeleteEntryPermissions()
. - โ Added
craft\elements\db\ElementQueryInterface::afterPopulate()
. - โ Added
craft\elements\db\ElementQueryInterface::createElement()
. - Added
craft\elements\Entry::EVENT_DEFINE_ENTRY_TYPES
. (#7136) - โ Added
craft\elements\Entry::getAvailableEntryTypes()
. - โ Added
craft\events\CreateFieldLayoutFormEvent
. - โ Added
craft\events\DefineEntryTypesEvent
. - โ Added
craft\events\RegisterGqlArgumentHandlersEvent
. - โ Added
craft\events\SearchEvent::$results
. (#7237) - โ Added
craft\fieldlayoutelements\AssetTitleField
. - โ Added
craft\fieldlayoutelements\BaseField::useFieldset()
. - โ Added
craft\fields\Url::TYPE_EMAIL
. - โ Added
craft\fields\Url::TYPE_TEL
. - โ Added
craft\fields\Url::TYPE_URL
. - โ Added
craft\gql\ArgumentManager
. - โ Added
craft\gql\base\ArgumentHandler
. - โ Added
craft\gql\base\ArgumentHandlerInterface
. - โ Added
craft\gql\base\Generator
. - โ Added
craft\gql\base\RelationArgumentHandler
. - โ Added
craft\gql\ElementQueryConditionBuilder::setArgumentManager()
. - โ Added
craft\gql\handlers\RelatedAssets
. - โ Added
craft\gql\handlers\RelatedCategories
. - โ Added
craft\gql\handlers\RelatedEntries
. - โ Added
craft\gql\handlers\RelatedTags
. - โ Added
craft\gql\handlers\RelatedUsers
. - โ Added
craft\gql\types\input\criteria\Asset
. - โ Added
craft\gql\types\input\criteria\Category
. - โ Added
craft\gql\types\input\criteria\Entry
. - โ Added
craft\gql\types\input\criteria\Tag
. - โ Added
craft\gql\types\input\criteria\User
. - โ Added
craft\helpers\App::createFormattingLocale()
. - โ Added
craft\helpers\App::phpSizeToBytes()
. - โ Added
craft\helpers\Cp::checkboxFieldHtml()
. - โ Added
craft\helpers\Cp::checkboxSelectFieldHtml()
. - โ Added
craft\helpers\Cp::colorFieldHtml()
. - โ Added
craft\helpers\Cp::editableTableFieldHtml()
. - โ Added
craft\helpers\Cp::lightswitchFieldHtml()
. - โ Added
craft\helpers\Cp::renderTemplate()
. - โ Added
craft\helpers\Cp::selectFieldHtml()
. - โ Added
craft\helpers\Cp::selectHtml()
. - โ Added
craft\helpers\Cp::textareaFieldHtml()
. - โ Added
craft\helpers\Cp::textFieldHtml()
. - โ Added
craft\helpers\Diff
. - โ Added
craft\helpers\Gql::eagerLoadComplexity()
. - โ Added
craft\helpers\Gql::nPlus1Complexity()
. - โ Added
craft\helpers\Gql::singleQueryComplexity()
. - โ Added
craft\helpers\Template::paginateQuery()
. - โ Added
craft\i18n\I18N::validateAppLocaleId()
. - โ Added
craft\i18n\Locale::setDateTimeFormats()
. (#7394) - โ Added
craft\log\Dispatcher
. - Added
craft\models\FieldLayout::EVENT_CREATE_FORM
. (#7258) - โ Added
craft\models\Site::getName()
. - โ Added
craft\models\Site::setBaseUrl()
. - โ Added
craft\models\Site::setName()
. - โ Added
craft\mutex\MysqlMutex
. - โ Added
craft\mutex\PgsqlMutex
. - โ Added
craft\services\Assets::$generatePendingTransformsViaQueue
. (#7360) - Added
craft\services\Drafts::EVENT_AFTER_APPLY_DRAFT
. - Added
craft\services\Drafts::EVENT_BEFORE_APPLY_DRAFT
. - โ Added
craft\services\Drafts::publishDraft()
. - โ Added
craft\services\Globals::deleteSet()
. - โ Added
craft\services\Globals::reset()
. - Added
craft\services\Gql::GRAPHQL_COMPLEXITY_CPU_HEAVY
. - Added
craft\services\Gql::GRAPHQL_COMPLEXITY_EAGER_LOAD
. - Added
craft\services\Gql::GRAPHQL_COMPLEXITY_NPLUS1
. - Added
craft\services\Gql::GRAPHQL_COMPLEXITY_QUERY
. - Added
craft\services\Gql::GRAPHQL_COMPLEXITY_SIMPLE_FIELD
. - โ Added
craft\services\Structures::applyBranchLimitToElements()
. - โ Added
craft\services\Structures::fillGapsInElements()
. - โ Added
craft\test\ActiveFixture
. - โ Added
craft\test\DbFixtureTrait
. - โ Added
craft\test\fixtures\elements\BaseContentFixture
. - โ Added
craft\test\fixtures\elements\BaseElementFixture
. - โ Added
craft\test\TestSetup::SITE_URL
. - โ Added
craft\validators\UrlValidator::URL_PATTERN
. - โ Added
craft\web\Request::getHadToken()
. - โ Added
craft\web\Request::getSiteToken()
. - โ Added
craft\web\Request::setToken()
. - โ Added the
Craft.index()
JavaScript method.
๐ Changed
- Relational fields now include all related elementsโ titles as search keywords, including disabled elements. (#7079)
- ๐ Improved the performance of project config change diffs. (#7218)
- ๐ Improved the accessibility of info icons.
- Checkbox and radio button group fields now use
<fieldset>
s and<legend>
s throughout the control panel. - Field containers no longer set the
aria-describedby
attribute, leaving it up to the actual inputs to do so. (#7365) - Number field settings and input values are now fully formatted, unless the Preview Format setting is set to โUnformattedโ.
- ๐ The Settings โ Plugin page now shows which developer created each plugin. (#7254)
- Field layout designers will no longer create a new tab if no tab name is entered in the prompt. (#7333)
- Site URLs that are generated on the front-end of disabled sites now include the
siteToken
param, if one was passed to the current page. (#7264) - ๐ Mutex lock names are now prefixed with the application ID, to avoid lock conflicts if two Craft installs shared the same database. (#7384)
- Action URLs are now always based on the control panel URL when running Craft in headless mode. (#5553)
- โช Renamed the
backup
andrestore
commands todb/backup
anddb/restore
. (#7023) - The
migrate/all
command now lists the migrations that will be applied. (#7381) - The
project-config/apply
command now displays a list of changes it is applying. (#7235) - 0๏ธโฃ The
allowedFileExtensions
config setting now includes several file extensions used by caption and subtitle file formats by default. (#7304) - When applying project config changes, Craft now installs new plugins before uninstalling removed plugins. (#7436)
- The
currency
,filesize
,number
,percentage
, andtimestamp
Twig filters now return the passed-in value verbatim if it wasnโt a valid number. - The
withoutKey
Twig filter can now accept an array, for removing multiple keys at once. (#7230) - ๐ฒ Itโs now possible to add new log targets by overriding
components.log.targets
inconfig/app.php
, rather than the entirelog
component config. - The
_includes/forms/field.html
control panel template andcraft\helpers\Cp::fieldHtml()
now accept afieldset
variable/config key, which can be set totrue
to cause the resulting field to be a<fieldset>
instead of a<div>
, and the label to be a<legend>
instead of a<label>
. - The
_includes/forms/field.html
control panel template andcraft\helpers\Cp::fieldHtml()
now accept aninstructionsPosition
variable/config key, which can be set to'after'
to cause the field instructions to be rerdered after the input instead of before. - The
_includes/forms/field.html
control panel template andcraft\helpers\Cp::fieldHtml()
now accept afieldLabel
variable/config key, which will take precedence overlabel
. - The
checkboxField
macro within the_includes/forms.html
control panel template now returns a<fieldset>
if afieldLabel
config key was passed. - ๐ป
craft\base\ElementExporterInterface::export()
can now return raw response data, a callable, or a resource, ifisFormattable()
returnsfalse
. If a callable or resource is returned, it will be streamed to the browser. (#7148) - ๐
craft\behaviors\EnvAttributeParserBehavior::$attributes
can now be set to an array with key/value pairs, where the key is the attribute name, and the value is the raw (unparsed) value, or a callable that returns the raw value. - ๐
craft\behaviors\EnvAttributeParserBehavior::$attributes
can now be set to an array with key/value pairs, where the key is the attribute name, and the value is the raw (unparsed) value, or a callable that returns the raw value. craft\db\Connection::getPrimaryKeyName()
,getForeignKeyName()
, andgetIndexName()
now generate completely random object names, rather than basing them on a table name, etc. (#7153)craft\base\ApplicationTrait::getLocale()
now returns the same locale that the application language is set to.- ๐
craft\helpers\Cp::fieldHtml()
now accepts a control panel template path, prefixed withtemplate:
. - ๐ฑ
craft\helpers\Gql::isSchemaAwareOf()
,extractAllowedEntitiesFromSchema()
,canSchema()
,extractEntityAllowedActions()
,canMutateEntries()
,canMutateTags()
,canMutateGlobalSets()
,canMutateCategories()
,canMutateAssets()
,canQueryEntries()
,canQueryAssets()
,canQueryCategories()
,canQueryTags()
,canQueryGlobalSets()
, andcanQueryUsers()
now have$schema
arguments. - ๐
craft\models\Site::$baseUrl
is now a magic property, which returns the parsed base URL. (#3964) - ๐
craft\models\Site::$name
is now a magic property, which returns the parsed site name. (#3964) - ๐
craft\models\Site::getBaseUrl()
now has a$parse
argument, which can be set tofalse
to return the raw (unparsed) base URL. craft\services\Composer::install()
no longer has an$allowlist
argument.craft\services\Gql::getValidationRules()
now has an$isIntrospectionQuery
argument.Craft.formatNumber()
and other D3-based number formatting now uses a dynamically-generated locale definition based on info pulled from the applicationโs formatting locale. (#7341)- ๐ Craft no longer reports PHP deprecation errors.
- ๐ป Exception JSON responses now include
exception
,file
,line
, andtrace
keys. (#7406) - ๐ GraphQL queries now support eager-loading for arguments provided as input objects.
- โ Made it easier to extend Craftโs Codeception testing module with custom code. (#7339)
- โก๏ธ Updated Yii to 2.0.40.
- โก๏ธ Updated Guzzle to 7.x, for projects that donโt have any plugins that require Guzzle 6. (#6997)
- โก๏ธ Updated Composer to 2.0.8.
- โก๏ธ Updated LitEmoji to 2.x.
- โก๏ธ Updated the Symfony Yaml component to 5.x.
- โก๏ธ Updated svg-sanitizer to 0.14.
- โก๏ธ Updated webonyx/graphql-php to 14.x.
๐ Deprecated
- โช Deprecated the
backup
andrestore
commands. - ๐ Deprecated the
purgeUnsavedDraftsDuration
config setting. - ๐ Deprecated the
siteName
config setting. Sitesโ Name settings should be set to environment variables instead. - ๐ Deprecated the
siteUrl
config setting. Sitesโ Base URL settings should be set to aliases or environment variables instead. (#3205) - ๐ Deprecated the
relatedToAll
GraphQL query argument.relatedTo: ["and", ...ids]
should be used instead. - ๐ Deprecated the
isUnsavedDraft
GraphQL field. - ๐ Deprecated
craft\base\Element::getIsUnsavedDraft()
.getIsUnpublishedDraft()
should be used instead. - ๐ Deprecated
craft\base\VolumeInterface::createDir()
.createDirectory()
should be used instead. - ๐ Deprecated
craft\base\VolumeInterface::deleteDir()
.deleteDirectory()
should be used instead. - ๐ Deprecated
craft\base\VolumeInterface::getFileMetadata()
.getFileSize()
andgetDateModified()
should be used instead. - ๐ Deprecated
craft\base\VolumeInterface::renameDir()
.renameDirectory()
should be used instead. - ๐ Deprecated
craft\db\Connection::trimObjectName()
. - ๐ Deprecated
craft\gql\base\Resolver::getArrayableArguments()
. - ๐ Deprecated
craft\gql\base\Resolver::prepareArguments()
. - ๐ Deprecated
craft\helpers\App::logConfig()
. - ๐ Deprecated
craft\helpers\Template::paginateCriteria()
.paginateQuery()
should be used instead. - ๐ Deprecated
craft\services\Categories::applyBranchLimitToCategories()
.craft\services\Structures::applyBranchLimitToElements()
should be used instead. - ๐ Deprecated
craft\services\Categories::fillGapsInCategories()
.craft\services\Structures::fillGapsInElements()
should be used instead. - ๐ Deprecated
craft\services\Composer::$disablePackagist
. - ๐ Deprecated
craft\services\Drafts::applyDraft()
.publishDraft()
should be used instead. - Deprecated
craft\services\Drafts::EVENT_AFTER_APPLY_DRAFT
.EVENT_AFTER_PUBLISH_DRAFT
should be used instead. - Deprecated
craft\services\Drafts::EVENT_BEFORE_APPLY_DRAFT
.EVENT_BEFORE_PUBLISH_DRAFT
should be used instead. - ๐ Deprecated
craft\services\Drafts::purgeUnsavedDrafts()
. - โ
Deprecated
craft\test\Fixture
.craft\test\ActiveFixture
should be used instead. - ๐ Deprecated
craft\web\View::$minifyCss
. - ๐ Deprecated
craft\web\View::$minifyJs
. - ๐ Deprecated
craft\web\View::renderTemplateMacro()
.
โ Removed
- โ Removed the โPlaceholderโ setting from URL fields. (#7303)
- โ Removed
craft\controllers\ElementIndexesController::actionCreateExportToken()
. - โ Removed
craft\controllers\ExportController
. - โ Removed
craft\services\Api::getComposerWhitelist()
. - โ Removed
craft\test\fixtures\elements\ElementFixture
.craft\test\fixtures\elements\BaseElementFixture
orBaseContentFixture
should be used instead. - โ Removed
craft\test\fixtures\FieldLayoutFixture::deleteAllByFieldHandle()
. - โ Removed
craft\test\fixtures\FieldLayoutFixture::extractTabsFromFieldLayout()
. - โ Removed
craft\test\fixtures\FieldLayoutFixture::getTabsForFieldLayout()
. - โ Removed
craft\test\fixtures\FieldLayoutFixture::linkFieldToLayout()
. - โ Removed Minify and jsmin-php.
๐ Fixed
- ๐ Fixed an error that occurred when a schema change was made within a transaction, if using MySQL and PHP 8. (#7174)
- ๐ Fixed a bug where asset queriesโ
withTransforms
param wasnโt being respected for eager-loaded assets. (#6140) - ๐ Fixed a bug where
craft\db\Connection::getPrimaryKeyName()
,getForeignKeyName()
, andgetIndexName()
could generate non-unique object names. (#7153) - ๐ Fixed a bug where number strings were not correctly typecast to the right PHP numeric type when using the Number GraphQL type.
- ๐ Fixed a bug where it wasnโt possible to save a Global set with a predefined UID.
- ๐ Fixed a bug where
craft\helpers\Db::prepareValuesForDb()
would omit or JSON-encodeDateTime
objects, depending on the PHP version, rather than converting them to ISO-8601-formatted strings. - ๐ Fixed a bug where info iconsโ content was focusable before the icon was activated. (#7257)
- ๐ Fixed a bug where generated URLs would include the token from the current request, even if it had expired or met its usage limit.
- ๐ Fixed a bug where Number field settings and input values could be stored incorrectly if the userโs formatting locale used a different decimal character that the application language.
- ๐ Fixed a MySQL deadlock error that could occur when running background jobs. (#7179)
๐ Security
- 0๏ธโฃ The default
allowedFileExtensions
config setting value no longer includeshtm
orhtml
.
-
v3.6.0.1 Changes
January 26, 2021๐ Fixed
- ๐ Fixed an error that could occur when validating dates. (#7443)
-
v3.5.19 Changes
January 26, 2021๐ Changed
- ๐ The control panel is now fully translated in all supported languages.
๐ Fixed
- ๐ Fixed a bug where Date fields with existing values were always considered dirty when saving an entry. (#7404)
-
v3.5.19.1 Changes
January 28, 2021๐ Fixed
- ๐ Fixed an error that could occur when validating dates. (#7459)
-
v3.5.18 Changes
January 19, 2021๐ Changed
- ๐ Improved the accessibility of lightswitches in the control panel. (#7313)
- ๐ Improved the accessibility of the Login page. (#7268, #7287, #7288)
- ๐ Improved the accessibility of Number fields. (#7367)
- โ Added
aria-label
oraria-hidden
attributes to control panel icons, where appropriate. (#7302) - ๐ฑ Dynamic subfolder paths in Assets fields can now output
:ignore:
to avoid an invalid subpath error if no segment is intended. (#7353) - ๐ Improved the error message that is output when running the
clear-caches/cp-resources
command, if the@webroot
alias isnโt explicitly set. (#7286) craft\i18n\I18N::getFormatter()
now instantiates the formatter viaCraft::createObject()
. (#7341)
๐ Fixed
- ๐ Fixed a bug where auto-created Matrix blocks were taking over the focus when creating a new entry. (#7363)
- ๐ Fixed an error that could occur due to a race condition when generating
CustomFieldBehavior
classes. (#7379) - ๐ Fixed a bug where field layout tabsโ settings buttons could become inaccessible if the tab name began with a long word without any hyphens. (#7298)
- ๐ Fixed a bug where Dropdown, Multi-select, and Number fieldsโ inputs werenโt getting
id
attributes that matched their labelsโfor
attributes. (#7319) - ๐ Fixed a bug where week day and month names were being translated based on the current formatting locale, rather than the current language. (#7312)
- ๐ Fixed a bug where Matrix blocks werenโt getting validated when autosaving entry drafts.
- ๐ Fixed an error that could occur when saving elements with Matrix fields, if there were any custom fields whose handles conflicted with
craft\elements\db\ElementQuery
getter methods, such ascriteria
. (#7335) - ๐ Fixed a bug where it wasnโt possible to upload some file types via GraphQL mutations. (#7327)
- ๐ Fixed an error that could occur on console requests if Craft didnโt think it was installed yet. (#7309)
- ๐ Fixed a bug where clearing control panel resources would delete the
.gitignore
file as well. (#7361) - ๐ Fixed a bug where user registration forms could get a โUsername cannot be blankโ error even if the
useEmailAsUsername
config setting was enabled. (#7357) - ๐ Fixed a bug where
craft\elements\Asset::getSrcset()
could return the wrong value if the asset had a named transform set on it. (#7352) - ๐ Fixed a bug where the โAllโ checkbox label was getting HTML-encoded when using
Craft.ui.createCheckboxSelect()
. - ๐ Fixed a bug where
Craft.formatNumber()
could format numbers based on the userโs preferred language rather than the preferred formatting locale.
-
v3.5.17 Changes
December 15, 2020โ Added
- Edit Section and Edit Entry Type pages now have a โSave and continue editingโ Save menu option, and the Ctrl/Command + S keyboard shortcut is now assigned to that. (#2872)
- โ Added the
fullSchema
option to thegraphql/dump-schema
andgraphql/print-schema
commands. (#7226)
๐ Changed
- ๐ Improved accessibility throughout the control panel. (#7231)
- The Username, First Name, Last Name, Email, and New Password fields on Edit User pages now prevent LastPass from autofilling them. (#7177)
- Field layout elementsโ settings HUDs now automatically set the focus on the first text input when opened. (#7175)
- Field instructions within the details pane are now replaced with info icons. (#7180)
- ๐ป Panes with
overflow: auto
and no focusable content within them now havetabindex="0"
attributes, so their content can be keyboard-scrollable on Chromium and WebKit-based browsers. (#7236) - The
generateTransformsBeforePageLoad
config setting is now automatically enabled when rendering emails. (#7267) - Itโs now possible to pass arrays to relational fieldsโ element query params which begin with
':empty:'
, to fetch elements where the relational field is either empty or has a certain value. (#7256) users/set-password
requests now include astatus
key in JSON responses, set to the userโs status. (#7239)
๐ Fixed
- ๐ Fixed a bug where
craft\base\Field::isFresh()
could return the wrong result. - ๐ Fixed a bug where required Checkboxes, Dropdown, Multi-select, and Radio Button fields within Matrix blocks could cause validation errors. (#7205)
- ๐ Fixed a bug where assets could be uploaded to a folder named after the primary site rather than the selected site, when uploaded via an Assets field in a global set, if the field had a dynamic upload path that contained
{site.handle}
. (#7213) - ๐ Fixed a PHP error that could occur when running functional tests. (#7207)
- ๐ Fixed a bug where the plugin installer wasnโt always handling pluginsโ post-install redirects correctly. (#7204)
- ๐ Fixed a bug where the
siteName
andsiteUrl
config settings could get hard-coded into the project config when the project config was rebuilt. (#7208) - ๐ Fixed a bug where sitesโ Name setting would show the
siteName
config setting value rather than the stored value, if it was set. - ๐ Fixed a bug where
craft\elements\Asset::getSrcset()
would not respect some of the properties of the transform set on the asset. (#7193) - ๐ Fixed a bug where WebP images were not transformable, even if the server was configured for it. (#7170)
- ๐ Fixed a bug where the image editor could save an image incorrectly, if the
upscaleImages
ย config setting was set tofalse
. - ๐ Fixed a bug where it wasnโt possible to install a plugin if it had a row in the
plugins
table, but it wasnโt in the project config. (#7229) - ๐ Fixed a bug where Craft wasnโt always respecting pluginsโ
minVersionRequired
. (#7191) - ๐ Fixed a bug where
craft\elements\db\ElementQuery::getCriteria()
wasnโt including custom field criteria values. (#7225) - ๐ Fixed a MySQL deadlock error that could occur when running background jobs. (#7179)
- ๐ Fixed a bug where Craft was responding to set-password requests for pending users as if they had been activated, even if something prevented them from being activated. (#7239)
- ๐ Fixed a bug where the
|attr
Twig filter wasnโt removingclass
andstyle
attributes when they were set tofalse
ornull
. (#7234) - ๐ Fixed a bug where eager-loading would load incorrect elements in some cases when using GraphQL API.
- ๐ Fixed a bug where select inputs could bleed out of their container divs. (#7183)
- ๐ Fixed a bug where Edit Entry pages would show โSave and add anotherโ and โSave as a new entryโ action options for users who didnโt have permission to create new entries in the section. (#7232)
- ๐ Fixed a bug where some control panel SVG icons had conflicting IDs. (#7247)
- ๐ Fixed a bug where it wasnโt possible to set multiple options on Checkboxes and Multi-select fields when saving elements via GraphQL mutations. (#7197)
- ๐ Fixed a bug where users were able to delete entries if they had the โDelete other authorsโ entriesโ permission but not the โDelete entriesโ permission. (#7233)
- ๐ Fixed a bug where Checkboxes, Dropdown, Multi-select, and Radio Buttons fieldsโ values werenโt getting translated on element indexes. (#7271)
-
v3.5.17.1 Changes
December 17, 2020๐ Fixed
- ๐ Fixed a bug where search keywords werenโt getting normalized based on the selected site when searching for elements in the control panel. (#3145)
- ๐ Fixed a bug where element indexesโ custom header column headings werenโt translatable. (#7272)
- ๐ Fixed a bug where the
gc
command would delete all soft-deleted items when--interactive=0
was passed. (#7280) - ๐ Fixed an error that occurred when uploading a file directly to an Assets field within a new Matrix block. (#7284)