All Versions
263
Latest Version
Avg Release Cycle
8 days
Latest Release
19 days ago

Changelog History
Page 9

  • v3.4.22 Changes

    May 29, 2020

    ➕ Added

    • ➕ Added craft\controllers\FieldsController::actionRenderSettings().
    • ➕ Added craft\web\assets\fieldsettings\FieldSettingsAsset.

    🔄 Changed

    • Field settings are now lazy-loaded when the Field Type selection changes, improving the up-front load time of Edit Field pages. (#5792)
    • 🍱 The URL of the conflicting asset is now returned when uploading a file via the assets/upload action. (#6158)
    • 0️⃣ Craft no longer minifies JavaScript and CSS by default. (#5792)

    🗄 Deprecated

    • 🍱 Deprecated craft\web\assets\positionselect\PositionSelectAsset.

    🛠 Fixed

    • 🛠 Fixed a PHP error that could occur when editing a non-image asset. (#6162)
    • 🛠 Fixed a bug where asset thumbnails could never load from Live Preview.
  • v3.4.22.1 Changes

    May 30, 2020

    ➕ Added

    • ➕ Added craft\image\SvgAllowedAttributes.

    🔄 Changed

    • SVG sanitization now allows the filterUnits attribute.

    🛠 Fixed

    • 🛠 Fixed an error that could occur when rendering field type settings, if the field’s getSettingsHtml() method was expecting to be called from a Twig template.
  • v3.4.21 Changes

    May 28, 2020

    ➕ Added

    • 👍 Table fields and other editable tables now support pasting in tabular data. (#1207)
    • ➕ Added the “Allow self relations” advanced setting to relational fields. (#6113)
    • ➕ Added craft\helpers\Assets::scaledDimensions().
    • ➕ Added craft\services\Structures::MODE_AUTO.
    • ➕ Added craft\services\Structures::MODE_INSERT.
    • ➕ Added craft\services\Structures::MODE_UPDATE.

    🔄 Changed

    • Thumbnails now use the same aspect ratio as the source image. (#5518, #5515)
    • Thumbnails now get a checkered background to reveal image transparency. (#6151)
    • Thumbnails in the control panel now only load once they are in view, or close to it. (#6104)
    • Modal backdrops no longer blur the page content. (#5651)
    • Date + time inputs now have a close button when they have a value. (#6124)
    • 🍱 The suggested filename is now returned when uploading a file via the assets/upload action. (#6099)
    • 👍 Table fields now support setting cell values by column handle, rather than just by column ID. (#6119)
    • craft\services\Structures::append() now allows an integer to be passed to its $parentElement argument.
    • 🚚 craft\services\Structures::moveAfter() now allows an integer to be passed to its $prevElement argument.
    • 🚚 craft\services\Structures::moveBefore() now allows an integer to be passed to its $nextElement argument.
    • craft\services\Structures::prepend() now allows an integer to be passed to its $parentElement argument.
    • 🗄 craft\config\DbConfig::$url, $driver, $server, $port, $unixSocket, and $database are no longer deprecated. (#6159)

    🗄 Deprecated

    • 🗄 Deprecated craft\db\Connection::getVersion(). yii\base\Schema::getServerVersion() should be used instead.
    • 🗄 Deprecated craft\events\GlobalSetContentEvent.

    🛠 Fixed

    • 🛠 Fixed a bug where non-sortable fields could be listed as element index sort options, and sortable fields could be listed twice, for element types that didn’t override the defineSortOptions() method.
    • 🛠 Fixed a bug where asset custom field values could go unsaved. (#6086)
    • 🛠 Fixed a bug where the upscaleImages config setting wasn’t applying properly. (#6084)
    • 🛠 Fixed a bug where image thumbnails in the control panel could stop loading if three thumbnails failed to load properly.
    • 🛠 Fixed a bug where clicking on the color preview within Color fields wasn’t opening the browser’s color picker in Safari. (#6107)
    • 🛠 Fixed a bug where the “Publish changes” button label was not getting translated after clicking “Save as a draft” on an Edit Entry page. (#6112)
    • 🛠 Fixed a couple errors that could occur when running console commands via Cron. (#6102)
    • 🛠 Fixed a bug in test fixtures where primary keys were not being detected for relational fields. (#6103)
    • 🛠 Fixed a bug where duplicated Structure entries wouldn’t retain the original entries’ structure when a new propagation method was being applied to the section. (#6115)
    • 🛠 Fixed a bug where assets would cause n+1 queries even when eager-loaded. (#6140)
    • 🛠 Fixed a validation error that could occur when saving an element with a Dropdown field, if the value of the Dropdown field’s first option had changed. (#6148)
    • 🛠 Fixed a bug where Craft was serving 503 errors instead of 403 when the system was online and an action was requested that didn’t allow anonymous access. (#6149)
    • 🛠 Fixed a bug where Craft was not correctly encoding rounded float values for storage in project config. (#6121)
    • 🛠 Fixed a bug where progress bars in a pending state appeared to be fully complete. (#6156)
  • v3.4.20 Changes

    May 18, 2020

    🔄 Changed

    • The users/login action no longer adds a random delay to the request for successful login attempts. (#6090)
    • 👯 craft\web\View::renderObjectTemplate() now supports wrapping function calls in single curly brace delimiters (e.g. {clone(variable)}).
    • 👍 Element fixtures now support the field:handle syntax when generating element queries. (#5929)
    • “First draft” is now translatable. (#6096)

    🛠 Fixed

    • 🛠 Fixed a bug where custom field names weren’t getting translated in element index sort menus. (#6073)
    • 🛠 Fixed a bug where the Plugin Store could incorrectly report license key statuses. (#6079)
    • 🛠 Fixed an error that could occur when creating a new entry, if the section’s Entry URI Format contained {sourceId}. (#6080)
    • 🛠 Fixed a bug where some UI elements were sized incorrectly while being dragged.
    • 🛠 Fixed a bug where custom aliases were not automatically registered for tests. (#5932)
  • v3.4.19 Changes

    May 12, 2020

    ➕ Added

    • ➕ Added craft\fields\BaseRelationField::inputSiteId().
    • ➕ Added craft\helpers\App::isNitro().

    🔄 Changed

    • 0️⃣ The web-based installer now defaults the database server to 127.0.0.1 instead of localhost.
    • 🌐 The web-based installer and setup command now skip asking for the database server name/IP, username, and password, if they are able to detect that Craft is running within Nitro.
    • 📜 craft\web\View::renderObjectTemplate() now injects {% verbatim %} tags around inline code and code blocks, preventing their contents from being parsed by Twig.
    • ⚡️ Updated jQuery to 3.5.1. (#6039)

    🛠 Fixed

    • 🛠 Fixed a 403 error that occurred when a user double-clicked on an asset immediately after selecting it in an Assets field, if they didn’t have access to the primary site. (#5949)
    • 🛠 Fixed a bug where resave/* commands’ output didn’t take the limit into account. (#6036)
    • 🛠 Fixed an error that could occur when processing project config changes that included deleted user groups. (#6011)
    • 🛠 Fixed a bug where Date/Time fields weren’t taking their “Show date”/“Show time” settings into account when displaying their values in element indexes. (#6038)
    • 🛠 Fixed a PHP error that occurred when requesting the GraphQL API with a token that didn’t have a schema assigned to it. (#6043)
    • 🛠 Fixed a bug where Single sections’ entry type handles weren’t getting updated if both the section name and handle changed at the same time. (#6044)
    • 🛠 Fixed a bug where updating a transform would not bust the generated transform caches on volumes with the expires setting set.
    • 🛠 Fixed a bug where it wasn’t possible to create new Dashboard widgets that had settings.
    • 🛠 Fixed a bug where relational fields weren’t always showing related elements in the selected site on element indexes. (#6052)
    • 🛠 Fixed various UI bugs related to breaking changes in jQuery 3.5. (#6049, #6053)
    • 🛠 Fixed a bug where disabled multi-site entries would become enabled if they became single-site entries per a change to their section’s Propagation Method setting. (#6054)
    • 🛠 Fixed a bug where it wasn’t possible to double-click on Single entries to edit them. (#6058)
    • 🛠 Fixed a bug where querying for disabled elements wouldn’t include elements that were disabled for the current site.

    🔒 Security

    • 🛠 Fixed a bug where database connection details were getting cached. (#6047)
  • v3.4.19.1 Changes

    May 13, 2020

    🔄 Changed

    • Entries no longer apply their dynamic titles if the result of the Title Format is an empty string. (#6051)

    🛠 Fixed

    • 🛠 Fixed a bug where the site selector wasn’t working when adding related elements to a relational field.
    • 🛠 Fixed an error that could occur when adding related elements to a relational field.
  • v3.4.18 Changes

    May 05, 2020

    ➕ Added

    • ➕ Added the “Delete asset” option to the Save menu on Edit Asset pages. (#6020)
    • ➕ Added craft\helpers\App::env(). (#5893)

    🔄 Changed

    • Template autosuggest fields no longer suggest files within node_modules/ folders. (#4122)
    • Matrix fields now ensure that they have at least one block type on validation. (#5996)
    • 0️⃣ Number fields’ Default Value, Min Value, and Max Value settings now support localized number formats. (#6006)
    • Element select inputs’ selectElements events now contain references to the newly created element, rather than the one in the element selector modal.
    • 🍱 Users are now redirected back to the Assets index page after saving an asset from its edit page.
    • ⚡️ Updated Yii to 2.0.35.
    • ⚡️ Updated jQuery to 3.5.0.

    🛠 Fixed

    • 🛠 Fixed a bug where relational fields wouldn’t eager load some relations if the field was set to manage relations on a per-site basis, and the source elements were from a variety of sites.
    • 🛠 Fixed a bug where relational fields wouldn’t eager load cross-site relations even if a target site had been selected in the field settings. (#5995)
    • 🛠 Fixed a bug where relational fields weren’t showing cross-site relations in element indexes.
    • 🛠 Fixed a bug where Assets fields weren’t showing custom asset sources. (#5983)
    • 🛠 Fixed a bug where Craft wasn’t clearing the database schema cache after migrations were run.
    • 🛠 Fixed a bug where Structure entry drafts were including the current entry in the Parent selection options.
    • 🛠 Fixed a bug where users’ emails could be overridden by a previously-entered, unverified email, if an admin overwrote their email after it was set. (#6001)
    • 🛠 Fixed a bug where Number fields weren’t ensuring that their Default Value setting was a number. (#6006)
    • 🛠 Fixed a bug where checkboxes’ state persisted after an admin table row was deleted. (#6018)
    • 🛠 Fixed a bug where the autoLoginAfterAccountActivation and activateAccountSuccessPath config settings weren’t being respected after users verified their email. (#5980)
    • 🛠 Fixed a bug where the “Preview file” asset action wasn’t available if any other elements were being displayed in the table row (e.g. the file’s uploader or any relations). (#6012)
    • 🛠 Fixed a bug where update commands could time out when running migrations or reverting Composer changes. (#6021)
    • 🛠 Fixed a bug where source/owner elements could be selectable in relational fields. (#6016)
    • 🛠 Fixed a bug where relational fields weren’t ignoring disabled and soft-deleted elements when :empty: or :notempty: were passed to their element query params. (#6026)
    • 🛠 Fixed a bug where Matrix fields weren’t ignoring disabled blocks when :empty: or :notempty: were passed to their element query params. (#6026)
  • v3.4.17 Changes

    April 24, 2020

    ➕ Added

    • The control panel is now translated for Swiss German. (#5957)

    🔄 Changed

    • 🔊 Craft now fully logs migration exceptions.

    🛠 Fixed

    • 🛠 Fix a bug where Project Config would not rebuild GraphQL schemas correctly. (#5961)
    • 🛠 Fixed an error that would occur when uploading an asset, if its getUrl() method was called before it was fully saved.
    • 🛠 Fixed a bug where the relatedTo element query param wasn’t filtering out relations that belonged to disabled Matrix blocks, if the relations were being fetched by the target element. (#5951)
    • 🛠 Fixed a bug where craft\base\Element::getDescendants() would return all descendants if they had been eager-loaded, even if the $dist argument was set.
    • 🛠 Fixed a bug where element editor HUDs could forget to submit content changes if a validation error occurred. (#5966)
  • v3.4.17.1 Changes

    April 25, 2020

    🛠 Fixed

    • 🛠 Fixed a JavaScript error that occurred when attempting to save an asset from an element editor HUD. (#5970)
  • v3.4.16 Changes

    April 20, 2020

    ➕ Added

    • ➕ Added craft\events\ElementCriteriaEvent.
    • Added craft\fields\BaseRelationField::EVENT_DEFINE_SELECTION_CRITERIA. (#4299)
    • ➕ Added craft\helpers\FileHelper::unlink(), ensuring that it always returns false rather than throwing unexpected exceptions.

    🔄 Changed

    • 👌 Improved Plugin Store performance.
    • 0️⃣ Asset indexes now show the “Link” column by default. (#5910)
    • Element editors no longer close automatically when the Esc key is pressed or the shade is clicked on.
    • 👍 Element editors now support Ctrl/Command + S save shortcuts.
    • Static element views now show custom fields’ instructions. (#5928)
    • ⬆️ When upgrading to Craft 3, sites now maintain the same UIDs as the Craft 2 locales they replace. (#5914)
    • Craft now sets the access-control-allow-origin header to * rather than the incoming request’s origin, for graphql/api and live-preview/preview requests. (#4830)
    • ⚡️ Updated Garnish to 0.1.36.

    🛠 Fixed

    • 🛠 Fixed a bug where users weren’t getting activated after verifying their email address, if a password was already set on their account. (#5911)
    • 🛠 Fixed an error that could occur when syncing a project.yaml file that restored a soft-deleted global set. (#5915)
    • 🛠 Fixed a bug where the app/get-plugin-license-info action was not parsing license key environment variables.
    • 🛠 Fixed a bug where PHP would get itself into an infinite loop when minifying CSS with an unclosed block. (#5912)
    • 🛠 Fixed a bug where Ctrl/Command + S save shortcuts would apply even if a modal or HUD was currently visible, potentially resulting in lost content changes. (#5916)
    • 🛠 Fixed an error that occurred when a user without permission to publish live entries attempted to create a new entry within an Entries field. (#5917)
    • 🛠 Fixed a bug where craft\services\Assets::getFolderTreeByFolderId() would ignore children folders. (#5939)
    • 🛠 Fixed a bug where it wasn’t clear when a GraphQL token didn’t have a selected schema, if its previous schema had been deleted. (#5942)
    • 🛠 Fixed a bug where the Plugin Store was not showing checkout errors.