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

Changelog History
Page 31

  • v3.0.25 Changes

    September 18, 2018

    ➕ Added

    • ➕ Added craft\log\FileTarget::$includeUserIp which determines whether users’ IP addresses should be included in the logs (false by default). (#3310)

    🛠 Fixed

    • 🛠 Fixed an error that could occur when installing or updating something within the Control Panel if composer.json required the roave/security-advisories package.
    • 🛠 Fixed a SQL error that could occur when searching elements on PostgreSQL installs.
    • 🛠 Fixed a bug where Craft would ignore the last segment of template paths that ended in /0. (#3304)
    • 🛠 Fixed a Twig Template Loading Error that would occur when testing email settings, if a custom email template was used and an error occurred when rendering it. (#3309)
  • v3.0.24 Changes

    September 11, 2018

    ➕ Added

    • ➕ Added the extraAppLocales config setting.

    🔄 Changed

    • 0️⃣ The defaultCpLanguage config setting no longer needs to be a language that Craft is translated into, as long as it is a valid locale ID.
    • 👷 Resave Elements jobs that are queued up after saving an entry type now include the section name in the job description. (#3290)
    • ⚡️ Updated Garnish to 0.1.28.

    🛠 Fixed

    • 🛠 Fixed a SQL error that could occur when an element query’s orderBy parameter was set to dateCreated or dateUpdated.
    • 🛠 Fixed an error that could occur when updating to v3.0.23+ if multiple Matrix fields existed with the same handle, but they had no content tables, somehow.
    • 🛠 Fixed a bug where links in activation and forgot-password emails weren’t hyperlinked, leaving it up to the mail client to hopefully be smart about it. (#3288)
  • v3.0.23 Changes

    September 04, 2018

    🔄 Changed

    • 💻 Browser-based form validation is now disabled for page forms. (#3247)
    • 👍 craft\base\Model::hasErrors() now supports passing an attribute name with a .* suffix, which will return whether any errors exist for the given attribute or any nested model attributes.
    • ➕ Added json to the default allowedFileExtensions config setting value. (#3254)
    • 0️⃣ Exception call stacks now collapse internal Twig methods by default.
    • 👻 Twig exception call stacks now show all of the steps leading up to the error.
    • Live Preview now reloads the preview pane automatically after an asset is saved from the Image Editor. (#3265)

    🗄 Deprecated

    • 🗄 Deprecated craft\services\Matrix::getContentTableName(). craft\fields\Matrix::$contentTable should be used instead.

    ✂ Removed

    • ✂ Removed craft\services\Matrix::getParentMatrixField().

    🛠 Fixed

    • 🛠 Fixed a bug where element selection modals could be initialized without a default source selected, if some of the sources were hidden for not being available on the currently-selected site. (#3227)
    • 🛠 Fixed a bug where edit pages for categories, entries, global sets, and users weren’t revealing which tab(s) had errors on it, if the errors occurred within a Matrix field. (#3248)
    • 🛠 Fixed a SQL error that occurred when saving a Matrix field with new sub-fields on PostgreSQL. (#3252)
    • 🛠 Fixed a bug where custom user fields weren’t showing up on the My Account page when running Craft Solo edition. (#3228)
    • 🛠 Fixed a bug where multiple Matrix fields could share the same content table. (#3249)
    • 🛠 Fixed a “cache is corrupted” Twig error that could occur when editing or saving an element if it had an Assets field with an unresolvable subfolder path template. (#3257)
    • 🛠 Fixed a bug where the Dev Mode indicator strip wasn’t visible on Chrome/Windows when using a scaled display. (#3259)
    • 🛠 Fixed a SQL error that could occur when validating an attribute using craft\validators\UniqueValidator, if the target record’s find() method joined in another table.
  • v3.0.23.1 Changes

    September 04, 2018

    🛠 Fixed

    • 🛠 Fixed a bug where Matrix fields would get new content tables each time they were saved.
  • v3.0.22 Changes

    August 28, 2018

    🔄 Changed

    • 👷 The “Deleting stale template caches” job now ensures all expired template caches have been deleted before it begins processing the caches.
    • 0️⃣ Text inputs’ autocomplete attributes now get set to off by default, and they will only not be added if explicitly set to null.
    • 👌 Improved the error response when Composer is unable to perform an update due to a dependency conflict.
    • Email fields in the Control Panel now have type="email".
    • 📜 craft\helpers\Db::parseParam() now has a $caseInnensitive argument, which can be set to true to force case-insensitive conditions on PostgreSQL installs.
    • craft\validators\UniqueValidator now has a $caseInsensitive property, which can be set to true to cause the unique validation to be case-insensitive on PostgreSQL installs.
    • ✅ The CLI setup wizard now detects common database connection errors that occur with MAMP, and automatically retests with adjusted settings.
    • The CLI setup wizard now detects common database authentication errors, and lets the user retry the username and password settings, skipping the others.
    • ⚡️ Updated Garnish to 0.1.27.

    🛠 Fixed

    • 🛠 Fixed a bug where Craft wasn’t reverting composer.json to its original state if something went wrong when running a Composer update.
    • 🛠 Fixed a bug where string casing functions in craft\helpers\StringHelper were adding extra hyphens to strings that came in as Upper-Kebab-Case.
    • 🛠 Fixed a bug where unique validation for element URIs, usernames, and user email address was not case-insensitive on PostgreSQL installs.
    • 🛠 Fixed a bug where element queries’ uri params, and user queries’ firstName, lastName, username, and email params, were not case-insensitive on PostgreSQL installs.
    • 🛠 Fixed a bug where the CLI setup wizard was allowing empty database names.
    • 🛠 Fixed a bug where it wasn’t possible to clear template caches if template caching was disabled by the enableTemplateCaching config setting. (#3229)
    • 🛠 Fixed a bug where element index toolbars weren’t staying fixed to the top of the content area when scrolling down the page. (#3233)
    • 🛠 Fixed an error that could occur when updating Craft if the system was reliant on the SSL certificate provided by thecomposer/ca-bundle package.
  • v3.0.21 Changes

    August 21, 2018

    ➕ Added

    • Most element query parameters can now be set to ['not', 'X', 'Y'], as a shortcut for ['and', 'not X', 'not Y'].

    🔄 Changed

    • The “New Password” input on the My Account page now has a “Show” button, like other password inputs in the Control Panel.
    • 🔌 Plugin settings pages now redirect to the Settings index page after save. (#3216)
    • It’s now possible to set autofill detail tokens on the autocomplete variable when including the _includes/forms/text.html template (e.g. 'name').
    • 👉 Username and password inputs now have the correct autocomplete values, increasing the likelihood that tools like 1Password will handle the form correctly. (#3207)

    🛠 Fixed

    • Fixed a SQL error that occurred when saving a user if a craft\elements\User::EVENT_BEFORE_SAVE event listener was setting $event->isValid = false. (#3206)
    • 🛠 Fixed a bug where password inputs’ jQuery data was getting erased when the “Show” button was clicked.
    • 🛠 Fixed an error that could occur when upgrading to Craft 3. (#3208)
    • 🛠 Fixed a bug where non-image assets’ file extension icons could bleed out of the preview area within asset editor HUDs. (#3209)
    • 🛠 Fixed a bug where Craft wasn’t saving a new entry version when reverting an entry to a previous version. (#3210)
    • 🛠 Fixed an error that could occur when a Matrix block was saved by a queue job. (#3217)

    🔒 Security

    • External links in the Control Panel now set rel="noopener". (#3201)
  • v3.0.20 Changes

    August 14, 2018

    ➕ Added

    • ➕ Added craft\services\Fields::refreshFields().

    🛠 Fixed

    • 🛠 Fixed a bug where DateTime model attributes were getting converted to ISO-8601 date strings for craft\web\View::renderObjectTemplate(). (#3185)
    • 🛠 Fixed a bug where timepicker menus had a higher z-index than session expiration modal shades. (#3186)
    • 🛠 Fixed a bug where users could not log in after upgrading to Craft 3, if there was a custom field named owner.
    • 🛠 Fixed a bug where it was not possible to set non-integer values on asset queries’ width, height, or size params. (#3195)
    • 🛠 Fixed a bug where all Asset folders were being initiated at once, resulting in performance issues.
  • v3.0.19 Changes

    August 07, 2018

    ➕ Added

    • ➕ Added the craft.query() template function, for creating new database queries.
    • ➕ Added craft\services\Structures::$mutexTimeout. (#3148)
    • ➕ Added craft\services\Api::getComposerWhitelist().

    ✂ Removed

    • ✂ Removed craft\services\Api::getOptimizedComposerRequirements().

    🛠 Fixed

    • Craft’s console commands now return the correct exit codes. (#3175)
    • 🛠 Fixed the appearance of checkboxes in IE11 on element index pages. (#3177)
    • 🛠 Fixed a bug where composer.json could end up with a bunch of extra dependencies in the require object after a failed update or plugin installation.
    • 🛠 Fixed an error that could occur when viewing an entry revision, if it had a Matrix field and one of the sub-fields within the Matrix field had been deleted. (#3183)
    • 🛠 Fixed a bug where thumbnails weren’t loading in relational fields when viewing an entry version.
  • v3.0.18 Changes

    July 31, 2018

    ➕ Added

    • ➕ Added craft\helpers\App::assetManagerConfig().
    • ➕ Added craft\helpers\App::cacheConfig().
    • ➕ Added craft\helpers\App::dbConfig().
    • ➕ Added craft\helpers\App::mailerConfig().
    • ➕ Added craft\helpers\App::mutexConfig().
    • ➕ Added craft\helpers\App::logConfig().
    • ➕ Added craft\helpers\App::sessionConfig().
    • ➕ Added craft\helpers\App::userConfig().
    • ➕ Added craft\helpers\App::viewConfig().
    • ➕ Added craft\helpers\App::webRequestConfig().
    • ➕ Added craft\validators\StringValidator::$trim, which will cause leading/trailing whitespace to be stripped from model attributes.

    🔄 Changed

    • 👉 User verification and password-reset emails now link them back to the same site they were on when the email was sent, if it was sent from a front-end request. (#3029)
    • Dynamic app component configs are now defined by methods on craft\helpers\App, making it easier to modify them from config/app.php. (#3152)
    • Structure operations now ensure that no other operations are being performed on the same structure, reducing the risk of corrupting the structure. (#3148)
    • The {% js %} tag now supports the following position params: at POS_HEAD, at POS_BEGIN, at POS_END, on POS_READY, and on POS_LOAD (e.g. {% js at POS_END %}).
    • Craft once again checks for X-Forwarded-For headers when determining the user’s IP. (#3036)
    • Leading/trailing whitespace characters are now stripped from element titles on save. (#3020)
    • ⚡️ Updated svg-sanitizer to 0.9.

    🗄 Deprecated

    • 🗄 Deprecated craft\db\Connection::createFromConfig(). craft\helpers\App::dbConfig() should be used instead.
    • 🗄 Deprecated craft\helpers\MailerHelper::createMailer(). craft\helpers\App::mailerConfig() should be used instead.

    🛠 Fixed

    • 🛠 Fixed a bug where collapsing structure elements would only hide up to 50 of their descendants.
    • 🛠 Fixed a bug where Date/Time fields could lose their value if they were used in an entry type’s Title Format, and the entry’s site’s language was different than the user’s preferred language. (#3151)
    • 🛠 Fixed a bug where Dropdown fields could show an incorrect selected value in limited circumstances.
    • 🛠 Fixed a bug where Dropdown fields on an element index view could show an incorrect selected value in limited circumstances.
  • v3.0.17 Changes

    July 24, 2018

    ➕ Added

    • The Control Panel is now translated for Norwegian Nynorsk. (#3135)
    • ➕ Added craft\elements\db\ElementQuery::anyStatus(), which can be called when the default status and enabledForSite filters aren’t desired. (#3117)

    🔄 Changed

    • The addTrailingSlashesToUrls config setting no longer applies to URLs that end with a segment that has a dot (.). (#3123)
    • Craft now redirects install requests back to the Dashboard if it’s already installed. (#3143)

    🛠 Fixed

    • 🛠 Fixed a bug where the Settings → Email → System Messages page would show messages in the current application language rather than the primary site’s language.
    • 🛠 Fixed a bug where system message modals on the Settings → Email → System Messages page would initially show messages in the current application language rather than the primary site’s language, even if the application language wasn’t in use by any sites. (#3115)
    • 🛠 Fixed an error that could occur if craft\web\View::registerAssetFlashes() was called on a console request. (#3124)
    • Fixed a PHP error that could occur if the PHP’s set_time_limit() was added to the php.ini disable_functions list.
    • 🛠 Fixed a bug where expanding a disabled element within a structure index view in the Control Panel wouldn’t reveal any descendants. (#3126)
    • 🛠 Fixed a bug thumbnails weren’t loading for element index rows that were revealed after expanding a parent element.
    • 🛠 Fixed an error that occurred if an element’s getRoute() method returned a string. (#3128)
    • 🛠 Fixed a bug where the |without filter wasn’t working if an object was passed in. (#3137)
    • 🛠 Fixed a bug where users’ Language preference would default to Deutsch if the current application language wasn’t one of the available language options. (#3142)