CraftCMS v3.3.1 Release Notes
Release Date: 2019-09-06 // over 4 years ago-
➕ Added
- ➕ Added support for setting
offset
andlimit
params to individual paths’ criteria when eager loading elements. - ➕ Added the
enableGql
config setting. (#4836) - ➕ Added the
children
field to theEntryInterface
andCategoryInterface
GraphQL types. (#4843) - ➕ Added the
markdown
GraphQL directive. (#4832)
🔄 Changed
- Preview target URIs can now be set to environment variables (e.g.
$NEWS_INDEX
) or URLs that begin with an alias (e.g.@rootUrl/news
or@rootUrl/news/{slug}
). - 🌐 Templates passed to
craft\web\View::renderString()
andrenderObjectTemplate()
can now include front-end templates. - 0️⃣ Element queries with the
revisions
param set will now return revisions ordered bynum DESC
by default. (#4825) graphql/api
responses now set theAccess-Control-Allow-Headers: Content-Type
header for preflight requests.- Craft no longer forces preview target URLs to use
https
if the current request is over SSL. (#4867)
✂ Removed
- ✂ Removed
craft\elements\MatrixBlock::getField()
. (#4882)
🛠 Fixed
- 🛠 Fixed a bug where Number fields weren’t showing validation errors when non-numeric values were entered. (#4849)
- 🛠 Fixed an error that occurred when accessing the GraphQL section in the Control Panel if the
allowAdminChanges
config setting was disabled. (#4884) - 🛠 Fixed an error that could occur when executing a GraphQL query if a Matrix field had been converted to a different field type. (#4848)
- 🛠 Fixed a deprecation warning when running tests in PhpStorm. (#4772)
- 🛠 Fixed an SQL error that occurred when eager loading children for an element that wasn’t in a structure.
- 🛠 Fixed a bug that could cause queue jobs to fail when they were run automatically by Craft, if the
enableCsrfProtection
config setting was disabled. (#4854) - 🛠 Fixed an error that could occur if the
select
clause had been completely overridden on an element query, but theasArray
param wasn’t enabled. (#4886) - 🛠 Fixed a bug where Craft wasn’t always respecting the site-specific status when saving new entries. (#4892)
- ➕ Added support for setting