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

Changelog History
Page 21

  • v3.3.13 Changes

    October 23, 2019

    โž• Added

    • Itโ€™s now possible to pass arrow functions to the |group filter. (#5156)

    ๐Ÿ”„ Changed

    • Underscores are now stripped from search keywords before being saved to the database.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug where translation message parameters werenโ€™t getting parsed correctly if the installed ICU library was less than version 4.8. (#4995)
    • ๐Ÿ›  Fixed a bug where GraphQL caches were not being invalidated on element save. (#5148)
    • ๐Ÿ›  Fixed a bug where GraphQL type generators provided by plugins were not getting invoked when building introspection schemas. (#5149)
    • ๐Ÿ›  Fixed an error that occurred when using the |json_encode Twig filter on console requests. (#5150)
    • ๐Ÿ›  Fixed a bug where editable table rows could get taller than they should. (#5159)
  • v3.3.12 Changes

    October 22, 2019

    โž• Added

    • GraphQL query results are now cached.
    • The GraphQL โ†’ Explore page now lists a โ€œFull Schemaโ€ option before the Public Schema and any custom-defined schemas.
    • โž• Added the โ€œGraphQL cachesโ€ option for the Clear Caches utility.
    • โž• Added the gql() Twig function, which executes a GraphQL query and returns the result.
    • โž• Added the enableGraphQlCaching config setting.
    • โž• Added the transform GraphQL parameter for asset URLs (alias of handle).
    • โž• Added the url field to the EntryInterface GraphQL type. (#5113)
    • โž• Added the relatedTo and relatedToAll arguments for all GraphQL element queries. (#5071)
    • โž• Added support for multi-site GraphQL element queries. (#5079)
    • โž• Added craft\helpers\Gql::createFullAccessSchema().
    • โž• Added craft\models\GqlSchema::$isTemporary.
    • โž• Added the $invalidateCaches argument to craft\services\Gql::saveSchema().

    ๐Ÿ”„ Changed

    • ๐Ÿ’… Matrix blocks now maintain the same display style when expanded as they had before they were initially collapsed. (#5075)
    • Itโ€™s no longer necessary to register GraphQL type loaders when creating types.
    • ๐Ÿ‘Œ Improved the performance of downloading remote assets. (#5134)
    • The craft\services\Gql::executeQuery() method now expects an active schema object, instead of a GraphQL Schema object.
    • The users/save-user action no longer copies unverifiedEmail validation errors over to the email attribute if the email attribute already has its own errors.
    • users/set-password requests now respond with JSON if the request accepts a JSON response. (#5138)

    ๐Ÿ—„ Deprecated

    • ๐Ÿ—„ Deprecated the $checkToken argument for craft\gql\base\Query::getQueries(). craft\helpers\Gql::getFullAccessSchema() should be used instead to ensure all queries are returned.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug that could occur when using plugin specific config files while running functional tests. (#5137)
    • ๐Ÿ›  Fixed an error that occurred when loading a relational fieldโ€™s selection modal, if no sources were visible.
    • ๐Ÿ›  Fixed a bug where required relational fields would get a validation error if only elements from other sites were selected. (#5116)
    • ๐Ÿ›  Fixed a bug where the โ€œProfile Twig templates when Dev Mode is disabledโ€ admin preference wasnโ€™t saving. (#5118)
    • ๐Ÿ›  Fixed a bug where failed queue jobs were losing their dateReserved, timeUpdated, progress, and progressLabel values.
    • Fixed a PHP error occurred when viewing the PHP Info utility if register_argc_argv was set to On in php.ini. (#4878)
    • ๐Ÿ›  Fixed a bug where the craft\queue\jobs\UpdateSearchIndex was ignorning the siteId property.
    • ๐Ÿ›  Fixed a bug where Craft could attempt to perform transforms on element URLs for elements that were not Assets when using GraphQL.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug where it wasnโ€™t possible to pass * to site arguments via GraphQL. (#5079)
  • v3.3.11 Changes

    October 16, 2019

    โž• Added

    • โž• Added craft\events\ExecuteGqlQueryEvent.
    • Added craft\services\Gql::EVENT_BEFORE_EXECUTE_GQL_QUERY.
    • Added craft\services\Gql::EVENT_AFTER_EXECUTE_GQL_QUERY.
    • โž• Added craft\services\Gql::executeQuery().

    ๐Ÿ”„ Changed

    • โฌ‡๏ธ Dropdown and Multi-select fields can now have duplicate option labels, as long as they are in different optgroups. (#5105)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug where user email changes were going through email verification even if someone with permission to administrate users was making the change. (#5088)
    • ๐Ÿ›  Fixed an error that could occur when duplicating entries with Matrix blocks. (#5097)
  • v3.3.10 Changes

    October 15, 2019

    โž• Added

    • โž• Added the allowOwnerDrafts and allowOwnerRevisions Matrix block query params.
    • โž• Added the ability to skip refreshing the project config before running individual tests. (#5072)
    • โž• Added craft\test\Craft::resetProjectConfig().

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug where Craft wasnโ€™t passing assetsโ€™ MIME types to cloud storage services when saving them. (#5052)
    • ๐Ÿ›  Fixed a bug where Assets fieldsโ€™ image thumbnails werenโ€™t getting refreshed after images were edited. (#4212)
    • ๐Ÿ›  Fixed a bug where the index-assets command would bail as soon as it came across a file with a disallowed file extension. (#5086)
    • ๐Ÿ›  Fixed a bug where it wasnโ€™t possible to eager-load Matrix blocks that belong to a draft or revision. (#5031)
    • ๐Ÿ›  Fixed a bug where the setup command would think that Craft was installed when it wasnโ€™t. (#5093)
    • ๐Ÿ›  Fixed an error that could occur when syncing the project config if a Matrix field had been changed to something else. (#4015)
    • ๐Ÿ›  Fixed a bug where Assets fields werenโ€™t always showing the โ€œEditโ€ button for images when they should. (#4618)
    • ๐Ÿ›  Fixed a bug where craft\services\Elements::duplicateElement() wasnโ€™t ensuring that the duplicate had a valid slug on all sites. (#5097)
    • ๐Ÿ›  Fixed a bug where querying for elements by their Lightswitch field value could only return elements that had been saved since the Lightswitch field was added, when using PostgreSQL. (#5073)
    • ๐Ÿ›  Fixed a SQL error that could occur when querying for Matrix blocks.
    • ๐Ÿ›  Fixed a bug where entries that were disabled globally would still get a green status indicator within the entry context menu on Edit Entry pages.
  • v3.3.9 Changes

    October 10, 2019

    ๐Ÿ”„ Changed

    • ๐Ÿ”€ The project-config/sync command now correctly returns an error code on failure. (#4153)
    • 0๏ธโƒฃ User queries now include the unverifiedEmail value by default. (#5019)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug where updating a draft might delete content on other sites in a multisite setup on certain PHP versions. (#5048)
    • ๐Ÿ›  Fixed an error that occurred when running console commands before Craft was installed. (#5083)
  • v3.3.8 Changes

    October 09, 2019

    โž• Added

    • โž• Added craft\web\Request::getNormalizedContentType().

    ๐Ÿ”„ Changed

    • Eliminated a SHOW TABLES SQL query that was getting executed on every request.
    • Craft no longer routes requests based on action params in the request body, if the requestโ€™s content type is application/json.
    • โž• Added support for the text/vtt MIME type. (#5052)
    • โšก๏ธ Updated Twig to 2.12.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a SQL error that could occur when deleting an entry or category with three or more nested levels of elements. (#3456)
    • ๐Ÿ›  Fixed a bug where querying for elements by their Lightswitch field value wasnโ€™t working properly on PostgreSQL. (#5046)
    • ๐Ÿ›  Fixed a bug where deleting an entry or category with nested elements could leave the structure in a jumbled state.
    • ๐Ÿ›  Fixed a bug where Assets fields would attempt to handle the same uploaded files multiple times if an element was saved multiple times in the same request. (#5061)
    • Fixed a PHP error occurred when viewing the PHP Info utility if register_argc_argv was set to On in php.ini. (#4878)
    • ๐Ÿ›  Fixed a bug where the resave/matrix-blocks command would wittingly resave Matrix blocks even if they hadnโ€™t been loaded with their content, resulting in lost content. (#5030)
    • ๐Ÿ›  Fixed some RTL display issues. (#5051)

    ๐Ÿ”’ Security

    • ๐Ÿ›  Fixed an XSS vulnerability.
  • v3.3.7 Changes

    October 03, 2019

    ๐Ÿ”„ Changed

    • When saving a user, email validation errors are now copied over to the email attribute from the unverifiedEmail attribute. (#5019)
    • ๐ŸŒ craft\web\View::renderString() and renderObjectTemplate() now have $templateMode arguments. (#5020)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug where the Edit User page would list a โ€œCopy activation URLโ€ action for publicly-registered users who already had a password set.
    • ๐Ÿ›  Fixed a bug where the list and structure icons were missing on element index pages for RTL languages. (#5018)
    • ๐Ÿ›  Fixed a bug where the prevSiblingOf and nextSiblingOf element query params werenโ€™t working reliably. (#4997)
    • ๐Ÿ›  Fixed a bug where the descendantOf element query param wasnโ€™t working when previewing a draft or revision. (#5021)
    • ๐Ÿ›  Fixed a PHP error that occurred when saving a Dropdown or Multi-select field with optgroups. (#5014)
    • ๐Ÿ›  Fixed a bug where relational fields that were managing relations on a per-site basis would forget other sitesโ€™ relations when duplicated. (#5038)
  • v3.3.6 Changes

    September 27, 2019

    โž• Added

    • โž• Added craft\base\ElementInterface::getIsHomepage(). (#4993)
    • โž• Added craft\base\Element::HOMEPAGE_URI.

    ๐Ÿ”„ Changed

    • โšก๏ธ Updated Garnish to 0.1.31.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug where some HTML in the Control Panel was getting improperly encoded. (#5002)
    • ๐Ÿ›  Fixed a bug where craft\helper\UrlHelper wasnโ€™t encoding + and & characters in query param values.
    • ๐Ÿ›  Fixed an error where GraphQL would sometimes not return a proper error message. (#4999)
    • ๐Ÿ›  Fixed a bug where HUDs could be positioned incorrectly when first opened. (#5004)
    • ๐Ÿ›  Fixed a bug where HUD tip images could be pointing the wrong way for RTL languages.
  • v3.3.5 Changes

    September 25, 2019

    โž• Added

    • The Control Panel is now translated into Persian. (#4969)
    • โž• Added craft\test\fixtures\elements\ElementFixture::$unload.

    ๐Ÿ”„ Changed

    • All users with permission to register users can now choose to not have an activation email sent immediately, when registering a new user. (#4981)
    • Craft now shows validation errors when attempting to save a Dropdown, Radio Buttons, Checkboxes, or Multi-select field with duplicate option labels or values. (#4983)
    • Live Preview requests now have an x-craft-live-preview query string param, rather than x-craft-preview. (#4950)
    • The _includes/pagination.html template can now be passed itemLabel and itemsLabel variables.
    • โœ… Any migrations applied during testing are now recorded as content migrations.
    • โž• Added the option to automatically apply all content migrations when setting up the test environment. (#4904)
    • ๐Ÿ“œ craft\helpers\Html::parseTagAttributes() now has a $decode argument.
    • โœ… craft\test\fixtures\elements\GlobalSetFixture now has the option to load the active record instance. (#4947)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug where checkbox inputs were positioned incorrectly for RTL languages.
    • ๐Ÿ›  Fixed a bug where the updater and project.yaml sync pages werenโ€™t always handling error responses correctly. (#4988)
    • ๐Ÿ›  Fixed an error that could occur when syncing the project config, if a volume was being deleted that didnโ€™t exist in the database to begin with. (#4990)
    • ๐Ÿ›  Fixed an error that could occur if a project config value changed from scalar to an array. (#4932)
    • ๐Ÿ›  Fixed a bug where Craft would not recognize certain block types when using the GraphQL API. (#4961)
    • ๐Ÿ›  Fixed a bug where craft\helpers\Html::renderTagAttributes() was double-encoding preexisting attributes. (#4984)
  • v3.3.4 Changes

    September 17, 2019

    ๐Ÿ”„ Changed

    • ๐Ÿ”Œ Itโ€™s now possible to run the migrate/create install command for uninstalled plugins.
    • ๐Ÿ‘Œ Improved the button labels in the confirmation dialog that can appear after running the Asset Indexes utility. (#4943)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed a bug where asset queriesโ€™ withTransforms param wasnโ€™t working for eager-loaded assets. (#4931)
    • ๐Ÿ›  Fixed a bug where the โ€œEdit Imageโ€ asset action could be missing even if the user had the required permissions. (#3349)
    • ๐Ÿ›  Fixed a bug where querying for elements by their Lightswitch field value could only return elements that had been saved since the Lightswitch field was added. (#4939)
    • ๐Ÿ›  Fixed a bug where the Updates utility wasnโ€™t showing the โ€œUpdate allโ€ button when multiple updates were available. (#4938)
    • ๐Ÿ›  Fixed a bug where the โ€œUpdating search indexesโ€ job could fail when updating search indexes for a Matrix block that contained a relational field.
    • ๐Ÿ›  Fixed a bug where category groupsโ€™ site settings werenโ€™t being added to the project config when a new site was created.
    • ๐Ÿ›  Fixed a bug where the Translation Method setting wasnโ€™t immediately shown for Matrix sub-fields, if the field type was changed from one that didnโ€™t have multiple translation methods to one that does. (#4949)
    • ๐Ÿ›  Fixed a bug where it wasnโ€™t possible to query for entries by author ID using the GraphQL API.
    • ๐Ÿ›  Fixed a bug where it wasnโ€™t possible to query for Matrix blocks directly using the GraphQL API.