CraftCMS v3.1.6 Release Notes

Release Date: 2019-01-29 // over 5 years ago
  • ➕ 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)