All Versions
336
Latest Version
Avg Release Cycle
7 days
Latest Release
512 days ago

Changelog History
Page 27

  • v3.1.13 Changes

    February 20, 2019

    โž• Added

    • โž• Added craft\helpers\StringHelper::replaceMb4().
    • โž• Added craft\services\ProjectConfig::defer().

    ๐Ÿ”„ Changed

    • The users/login and users/logout actions now include a csrfTokenValue key in JSON responses. (#3858)
    • Craft no longer deletes search indexes when soft-deleting an element, until the element gets hard-deleted. (#3863)
    • โšก๏ธ Updated Yii to 2.0.16.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug where Craft could auto-place the {{ beginBody() }} and {{ endBody() }} tags in the wrong places.
    • ๐Ÿ›  Fixed a bug where Craft wasnโ€™t storing custom volume sort orders. (#3764)
    • ๐Ÿ›  Fixed a SQL error that would occur when uploading a file with emojis in its name, if using MySQL. (#3852)
    • ๐Ÿ›  Fixed a bug where Assets fields werenโ€™t respecting their View Mode setting when files were drag-uploaded to them. (#3578)
    • ๐Ÿ›  Fixed a bug where asset queriesโ€™ kind param wasnโ€™t working for custom file kinds defined by the extraFileKinds config setting, for file extensions that were already associated with another file kind. (#3869)
    • ๐Ÿ›  Fixed a bug where craft\helpers\FileHelper::sanitizeFilename() could return inconsistent results.
    • ๐Ÿ›  Fixed an error that could occur when syncing project.yaml if it introduced a new Super Table field with a nested Matrix field.
  • v3.1.12 Changes

    February 15, 2019

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug where the relatedTo element query param could include results for elements that were related via soft-deleted Matrix blocks. (#3846)
    • ๐Ÿ›  Fixed a bug where some search queries were not returning results when they should, if using MySQL.
    • ๐Ÿ›  Fixed an error that could occur when syncing project.yaml changes if the allowAdminChanges config setting was disabled. (#3823)
    • ๐Ÿ›  Fixed an InvalidConfigException that was thrown if a userโ€™s photo was soft-deleted. (#3849)
  • v3.1.11 Changes

    February 14, 2019

    โž• Added

    • โž• Added craft\helpers\UrlHelper::rootRelativeUrl().

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug where the Plugin Store wouldnโ€™t load if the baseCpUrl config setting was set to a URL with a different scheme than Craft believed the request had.
    • ๐Ÿ›  Fixed a validation error that would occur on non-required Checkboxes and Multi-select fields if no options were selected. (#3844)
    • ๐Ÿ›  Fixed a validation error that would occur on Dropdown and Radio Buttons fields if the selected optionโ€™s value was 0. (#3842)
    • ๐Ÿ›  Fixed a bug where the Value column for Checkboxes, Dropdown, Multi-select, and Radio Buttons fieldsโ€™ Options settings werenโ€™t auto-populating if the Option Label column was set to a number.
    • ๐Ÿ›  Fixed an error on the Settings โ†’ Users page if users.photoVolumeUid was not defined in the project config. (#3303)
  • v3.1.10 Changes

    February 13, 2019

    ๐Ÿ”„ Changed

    • craft\helpers\FileHelper::writeToFile() now invalidates the OPcache for the file. (#3838)
    • 0๏ธโƒฃ The serve command now uses @webroot as the default docroot option value. (#3770)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug where the users/save-user action wasnโ€™t deleting user photos properly.
    • ๐Ÿ›  Fixed a bug where changes to Matrix block type fieldsโ€™ settings werenโ€™t always saving. (#3832)
    • ๐Ÿ›  Fixed a bug where non-searchable fields were still getting search keywords stored when using the Search Indexes utility. (#3837)
  • v3.1.9 Changes

    February 12, 2019

    โž• Added

    • โž• Added the disabledPlugins config setting. (craftcms/webhooks#4)
    • โž• Added the $language argument to craft\helpers\StringHelper::toAscii().
    • โž• Added craft\validators\SlugValidator::$language.
    • โž• Added craft\web\twig\variables\Cp::getAsciiCharMap().

    ๐Ÿ”„ Changed

    • The operating system name & version are now shown in the System Report utility. (#3784)
    • Craftโ€™s installer no longer applies the current project.yaml file if the installed schema version doesnโ€™t match the one in the file. (#3783)
    • ๐ŸŒ Control Panel settings no longer warn about using the @web alias, if it was defined by the aliases config setting. (#3798)
    • The clear-caches console command now clears CP resource files if the @webroot alias was defined by the aliases config setting. (#3787)
    • craft\models\VolumeFolder::getVolume() now throws an InvalidConfigException if its $volumeId property is set to an invalid volume ID, rather than returning null.
    • Craft now checks if all files in project config mapping are valid and regenerates the map if they are not.
    • Craft now auto-generates slugs using an ASCII char map based on the language of the current entry/category, rather than the logged-in user. (#3820)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a SQL error that could occur when deleting an asset. (#3786)
    • ๐Ÿ›  Fixed an error that occurred when customizing element indexes if the allowAdminChanges config setting was disabled. (#3788)
    • ๐Ÿ›  Fixed a bug where Checkboxes, Dropdown, Multi-select, and Radio Buttons fields wouldnโ€™t pass validation if the selected option value was true or false.
    • ๐Ÿ›  Fixed an error that occurred on the Settings โ†’ Plugins page, if there were any plugins in the database that werenโ€™t Composer-installed.
    • ๐Ÿ›  Fixed an error that could occur if an Assets field was configured to upload to a deleted volume. (#3799)
    • ๐Ÿ›  Fixed a bug where sectionsโ€™ Default Status settings werenโ€™t always being respected. (#3791)
    • ๐Ÿ›  Fixed a bug where only users with the โ€œEdit usersโ€ user permission were allowed to upload a new user photo. (#3735)
    • ๐Ÿ›  Fixed a bug where renaming a Matrix block typeโ€™s handle would result in new content columns being created in the database, and existing Matrix blocks losing their content. (#3809)
    • ๐Ÿ›  Fixed a SQL error that could occur when updating to Craft 3.1 if any system messages contained emoji characters.
    • ๐Ÿ›  Fixed an error that could occur when working with elements, if a site had been created earlier in the same request. (#3824)
  • v3.1.9.1 Changes

    February 12, 2019

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug where Craft::alias() wasnโ€™t beginning the response string with an @ character if no @ was passed into Craft::setAlias() to begin with.
    • ๐Ÿ›  Fixed an error that could occur if there were any HTML entities in the project config.
  • v3.1.8 Changes

    February 05, 2019

    ๐Ÿ”„ Changed

    • ๐Ÿ”Š Craft now automatically logs users in after resetting their password, if the autoLoginAfterAccountActivation config setting is enabled. (#1025)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug where pressing the Return key on editable tables with a static number of rows would add a new row. (#3765)
    • ๐Ÿ›  Fixed a bug where pressing the Return key on editable tables would select the next rowโ€™s cell even if the cell was disabled.
    • ๐Ÿ›  Fixed a bug where pressing the Return key on an editable table wouldnโ€™t move the focus to the next rowโ€™s sell if it had an <input> instead of a <textarea>.
    • ๐Ÿ›  Fixed an error that could occur in the Control Panel if any environment variable values began with an @ character. (#3769)
    • ๐Ÿ›  Fixed a bug where craft\helpers\DateTimeHelper::toDateTime() was mistaking year-only values for Unix timestamps. (#3772)
    • ๐Ÿ›  Fixed an error that occurred when a non-admin user attempted to edit a system message, or when the allowAdminChanges config setting was disabled. (#3775)
    • ๐Ÿ›  Fixed a bug where it was hard to see error notifications on pages with a licensing alert. (#3776)
    • ๐Ÿ›  Fixed a JavaScript error that occurred when adding a new row to a custom editable table that contained a time column, if no rows existed on page load. (#3780)
  • v3.1.7 Changes

    January 31, 2019

    โž• Added

    • โž• Added all the things that came in Craft 3.0.40.
    • โž• Added craft\helpers\FileHelper::canTrustMimeType().
    • โž• Added craft\web\UploadedFile::getMimeType().

    ๐Ÿ”„ Changed

    • The โ€œPortโ€ SMTP mail transport setting can now be set to an environment variable. (#3740)
    • 0๏ธโƒฃ craft\web\Controller::requireAdmin() now has a $requireAdminChanges argument, which dictates whether the allowAdminChanges config setting must also be enabled (true by default).
    • ๐Ÿ”€ The project-config/sync console command now creates a project.yaml file, if itโ€™s missing. (#3736)
    • Querying for active users no longer excludes locked users.
    • craft\helpers\FileHelper::getMimeType() now returns application/x-yaml for .yaml and .yml files.
    • โšก๏ธ Updated Craft UI to 0.2.0.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed an error that occurred when updating to Craft 3.1 if a plugin or module was calling craft\records\User::find().
    • ๐Ÿ›  Fixed a bug where cross-domain Live Preview requests could fail due to CORS restrictions.
    • ๐Ÿ›  Fixed a 403 error that would occur when an admin attempted to log in as another user on an environment where the allowAdminChanges config setting was disabled. (#3749)
    • ๐Ÿ›  Fixed a bug where asset index toolbar items would be misaligned when searching in a volume or folder with subfolders.
    • ๐Ÿ›  Fixed a bug where asset indexes could show multiple view mode toggles if a different volume or subfolder was selected while at least one asset was checked. (#3702)
    • ๐Ÿ›  Fixed a bug where Plugin Store screenshots were not showing properly. (#3709)
    • ๐Ÿ›  Fixed a bug where zoomed Plugin Store screenshots would not close when hitting the browserโ€™s Back button. (#3754)
    • ๐Ÿ›  Fixed a bug where the Plugin Store was not working properly when Dev Mode was enabled.

    ๐Ÿ”’ Security

    • ๐Ÿ‘‰ User accounts are now locked after multiple failed password attempts in current-password modals, per the maxInvalidLogins config setting.
    • ๐Ÿ‘‰ Users are no longer signed out of active sessions when their account becomes locked.
    • โช Database backup/restore exception messages now redact the database password when using PostgreSQL.
  • v3.1.6 Changes

    January 29, 2019

    โž• Added

    • โšก๏ธ Itโ€™s now possible to update disabled plugins.

    ๐Ÿ”„ Changed

    • ๐ŸŒ craft\web\Controller::requireAdmin() now sends a 403 (Forbidden) response if the allowAdminChanges config setting has been set to false. (#3728)
    • ๐Ÿ‘ craft\helpers\DateTimeHelper::toDateTime() now supports passing an array with a date key set to the YYYY-MM-DD format, in addition to the current localeโ€™s short date format.
    • ๐Ÿ‘ craft\helpers\DateTimeHelper::toDateTime() now supports passing an array with a time key set to the HH:MM format, in addition to the current localeโ€™s short time format.
    • ๐Ÿ‘ craft\helpers\DateTimeHelper::toDateTime() now supports passing an array with a datetime key, which will be handled the same way strings passed to the method are handled (except that the datetime key can be paired with a timezone key).

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed an error that occurred when using the json_decode filter. (#3722)
    • ๐Ÿ›  Fixed a bug a bug where plugin screenshots in the Plugin Store were not rendering correctly. (#3709)
    • ๐Ÿ›  Fixed an error where the index-assets/one and index-assets/all console commands were creating . folders in each volume.
    • ๐Ÿ›  Fixed a bug where the Settings โ†’ Plugins page was showing extra โ€œMissingโ€ rows for any unlicensed plugins that were Composer-installed but not Craft-installed. (#3726)
    • ๐Ÿ›  Fixed an error that could occur when viewing trashed elements.
    • ๐Ÿ›  Fixed a bug where many system message translations were missing line breaks. (#3737)
    • ๐Ÿ›  Fixed a bug where unparsed markdown code was present in the Control Panel error message displayed when the system was offline. (#3746)
  • v3.1.6.1 Changes

    January 29, 2019

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed an error that occurred when creating a Table field with a Date column. (#3748)