CraftCMS v3.7.18 Release Notes

Release Date: 2021-10-26 // 2 days ago
  • ➕ Added

    • ➕ Added craft\console\ErrorHandler. (#10006)

    🔄 Changed

    • ⚡️ Craft no longer writes out informational log messages when it’s not installed yet or an update is pending, if Dev Mode is disabled.
    • ⬇️ Dropdown fields now prepend a blank option to their menu when the current value is invalid. (#9989)
    • Some control panel POST requests no longer disable database replica connections. (#9996)
    • ⚡️ Updated Axios to 0.21.4.
    • ⚡️ Updated jQuery UI to 1.13.0.

    🛠 Fixed

    • 🛠 Fixed a bug where craft\helpers\Html::parseTagAttributes() was ignoring tag attribute values if there were any whitespace characters surrounding the = character. (#9997)
    • 🛠 Fixed a bug where craft\helpers\Html::parseTagAttributes() was including trailing tabs, newlines, and other non-space whitespace characters in the parsed values of unquoted attributes. (#9997)
    • 🛠 Fixed an error that could occur if the log component was configured with a custom log target and flushInterval set to 1.
    • 🛠 Fixed a bug where plugin/* commands weren’t always handling failures properly. (#9984)
    • 🛠 Fixed a bug where entry title changes could be overlooked when merging upstream changes into a draft. (#9966)
    • 🛠 Fixed a bug where focus rings weren’t ever visible on Safari, unless the “Always show focus rings” accessibility preference was enabled. (#10009)
    • 🛠 Fixed a bug where it wasn’t possible to query for draft or revision creators via GraphQL. (craftcms/gatsby-source-craft#56)
    • 🛠 Fixed a bug where Super Table blocks could go missing when a draft was created, if their block type ID matched another Matrix/Super Table/Neo block’s ID on the same page.

Previous changes from v3.7.17

  • ➕ Added

    • ➕ Added the provisional argument for the remaining draft mutations via GraphQL. (#9946)
    • ➕ Added the notes and name arguments to the create draft mutation via GraphQL.
    • ➕ Added the is countable Twig test.
    • ➕ Added the is object Twig test.
    • ➕ Added craft\helpers\ElementHelper::isCanonical().
    • ➕ Added craft\helpers\ElementHelper::isDerivative().
    • ➕ Added craft\services\Path::getSystemPaths().

    🔄 Changed

    • 👌 Improved the accessibility of overflowing breadcrumbs and the “My account” menu. (#9945)
    • Logs now include the raw request body in place of the $_POST array, if the $_POST array is empty. (#9941)
    • It’s now possible to modify Entries fields to relate entry drafts. (#9963)
    • It’s now possible to set Matrix block queries’ field and owner params via config arrays. (#9968)
    • 👍 The _includes/forms/text.html control panel template now supports an orientation config value, which defines the dir input attribute.
    • 🔊 Craft no longer logs a warning when the request path attempts to break out of the templates/ folder. (#9929)
    • ⚡️ Updated Composer to 2.1.9.
    • ⚡️ Updated Garnish to 0.1.47.

    🛠 Fixed

    • 🛠 Fixed a bug where it wasn’t possible to create or publish a provisional draft via GraphQL. (#9946)
    • 🛠 Fixed a bug where entry drafts weren’t getting propagated to other sites automatically after a section’s Propagation Method setting was changed. (#9944)
    • 🛠 Fixed a bug where element indexes weren’t immediately showing changes after an element was restored.
    • 🛠 Fixed a bug where user indexes weren’t immediately showing changes to users’ activation/suspension states. (#9947)
    • 🛠 Fixed an element query performance issue. (#9806)
    • 🛠 Fixed a bug where front-end action requests could resolve to disabled sites.
    • 🛠 Fixed a bug where Assets fields weren’t respecting their dynamic folder path settings for unpublished drafts. (#9619)
    • 🛠 Fixed a bug where deprecation warnings weren’t getting logged if craft\services\Deprecator::$logTarget was set to 'logs'.
    • 🛠 Fixed a bug where escaped quotes (\") in element export data were causing CSV cell values to end prematurely. (#9958)
    • 🛠 Fixed a bug where HTML entities within nested field values weren’t getting encoded for Matrix block previews. (#9964)
    • 🛠 Fixed an error that could occur on element edit pages if there weren’t any alternate form actions. (#9969)
    • 🛠 Fixed a bug where it wasn’t possible to upload an asset via a data URL if its MIME type contained a period. (#9632)
    • 🛠 Fixed a bug where the characters-left indicator was right-aligned for RTL Plain Text fields, for users with an LTR formatting locale. (#9967)
    • Fixed a bug where craft\web\ErrorHandler::EVENT_BEFORE_HANDLE_EXCEPTION wasn’t getting triggered for requests that accepted a JSON response. (#9973)

    🔒 Security

    • 🍱 Assets fields now require temporary files to reside in temporary folders or somewhere within the project root, excluding system directories.
    • 🛠 Fixed a potential RCE vulnerability.