Theme and significant content changes will be documented in this file.
- Improved clarity around upgrade processes, environment variable overrides/naming
- Recommendations for configuring Redis have been updated to avoid confusion regarding overrides, precedence, and key collision.
- The Craft 3 upgrade guide no longer mentions that support for treating element queries as arrays has been deprecated.
- The Craft 4 upgrade guide no longer mentions that support for treating element queries as arrays has been removed.
- Updated the
|durationand|lengthTwig filter docs for Craft 4.2 changes.
- Documented change in default Craft 4 user query behavior.
- Documented user statuses.
- Added canonical tags to most pages to promote latest product versions.
- Improved mobile Safari’s dark mode browser chrome.
- Documented the
namespaceAttributesfilter for Craft 3 and 4.
- Added a note about Craft 4.x element type garbage collection.
- Covered Commerce 4.x’s email suppression feature.
- Mentioned empty user folder garbage collection in Craft 4.
- Updated Commerce 4.x’s controller action reference and upgrade guide to reflect removed
customer-orders/get-ordersaction.
- Fixed the Money field development example.
- Updated Craft 4.x database connection settings intro to use
craft\helpers\App::env()and newCRAFT_config setting override support.
- Switched default documentation versions to Craft 4.x and Commerce 4.x. 🎉
- Added a page on Craft 4’s Address element.
- The
sessioncomponent example is now defined inapp.web.php. (craftcms/cms#10820)
- Added Commerce 4 beta docs.
- Added Craft 4 beta docs.
- Added an overview of Nitro’s site paths.
- Added plugin naming tips.
- Documented
clear-deprecations,plugin/list,users/activation-url, andusers/password-reset-urlcommands added in Craft 3.7.31. - Documented
users/list-adminsandusers/set-passwordcommands added in Craft 3.6.0.
- Moved stale + partial Craft 3.x translations to https://github.com/craftcms/docs-translations.
- Noted default mutex behavior with configuration example for Craft 3.7.30.
- Updated wording to reflect Craft CMS 3.7.29’s PHP fatal error logging to
stderr. - Updated Craft CMS
resave/*console command reference for 3.7.29.
- Added Event Code Generator to the Craft Commerce docs “Events” page.
- Documented new
getHsl(),getHue(),getL(),getLightness(),getS(), andgetSaturation()methods for Color field values added in Craft 3.7.26.
- Added “Events” page to the Craft CMS docs Extending Craft section.
- Documented
parseBooleanEnvTwig function added in Craft 3.7.24. - Documented element query
cache()function.
- Updated
plugin/install,plugin/uninstall,plugin/enable, andplugin/disableconsole command descriptions for Craft 3.7.23.
- Updated Element Type’s “Saving Custom Field Values” section for Craft 3.7.21.
- Documented new
countableandobjectTwig tests added in Craft 3.7.17.
- Documented
autoSetCartShippingMethodOptionsetting added in Commerce 3.4.4. - Documented
clearLineItemsparam added to thecart/update-cartcontroller action in Commerce 3.4.4.
- Documented new
array,callable,float,integer,numeric,resource,scalar, andstringTwig tests added in Craft 3.7.15. - Documented
graphql/create-token,graphql/list-schemas, andusers/impersonatecommands added in Craft 3.7.15.
- Documented Matrix field’s newly-supported values in Craft 3.7.14.
- Fixed example errors and added missing element type example class in Extending GraphQL.
- Added tip about referencing custom field columns by their full column name.
- Documented
upcommand added in Craft 3.7.13.
- Updated
{sourceId}and{sourceUid}references to{canonicalId}and{canonicalUid}.
- Documented
utils/prune-provisional-draftsadded in Craft 3.7.9. - Documented
--dry-runflag forutils/prune-revisionscommand added in Craft 3.7.9.
- Added the warning about running
project-config/writeto the Project Config page.
- Documented Commerce order and line item totals.
- Fixed vertical code highlight alignment.
- Documented queue driver priority support.
- Documented
sendContentLengthHeaderconfig setting added in Craft 3.7.3.
- Documented
transformSvgsconfig setting added in Craft 3.7.1.
- Documented
|removeClassTwig filter added in Craft 3.7.0. - Documented
cp.commerce.discounts.*andcp.commerce.sales.*template hooks added in Commerce 3.4. - Documented
httpProxy,previewTokenDuration,revAssetUrls, andsetGraphqlDatesToSystemTimeZoneconfig settings added in Craft 3.7.0. - Documented
useUnbufferedConnectionsdatabase config setting added in Craft 3.7.0. - Documented
date()Twig function added in Craft 3.7.0. - Documented
users/createandusers/deletecommands added in Craft 3.7.0. - Documented Date field
nowcomparison support added in Craft 3.7.0. - Added Extending GraphQL section detailing Craft’s GraphQL components for custom plugin/module developers.
- Documented custom field empty-string translation key behavior new to Craft 3.7.0.
- Revised Date field settings to include new “Show Time Zone” setting added in Craft 3.7.0.
- Updated requirements for Commerce 3.4.0.
- Revised
{% cache %}tag documentation to reflect that Craft 3.7.0 captures{% js %},{% script %}and{% css %}code and styles. - Revised Image Transforms page to demonstrate Craft 3.7.0’s support for overrides in via
asset.setTransform()in addition toasset.getUrl(). - Updated Discounts page to reflect Users condition options added in Commerce 3.4.0.
- Removed
flashfile kind that was retired in Craft 3.7.0.
- Added the “Control Panel Edit Pages” page to the Extending Craft docs.
- Added the “Form Inputs” section to the “Control Panel Templates” page.
- Documented the
failMessageInput()andsuccessMessageInput()Twig functions added in Craft 3.6.6.
- Fixed treeview styling.
- Documented Commerce
productCountandvariantCountGraphQL queries. - Added a note about MySQL/MariaDB timezone support with link to Knowledge Base article.
- Updated VuePress along with a bunch of project dependencies.
- Documented
nitro db destroycommand. - Documented
nitro aliassite argument. - Documented
|mergefilter with itsrecursiveargument.
- Documented Commerce
purchasableShippableevent.
- Updated
allowedFileExtensionsconfig setting to include defaultdotmanddotxfile extensions.
- Documented
permissionsPolicyHeaderconfig setting. - Document new
--forceflag on theplugin/uninstallcommand.
- Documented controller action default route format.
- Documented Commerce
purchasableAvailableevent.
- Improved GraphQL introduction and examples.
- Updated the tutorial to use Nitro 2.
- Updated Nitro 2.x documentation for version 2.0.7.
- Documented error templates. (Not a prank.)
- Added Nitro design goals and architectural overview.
- Documented the new
{% script %}Twig tag. - Documented the new
andRelatedToelement query parameter.
- Documented Nitro
phpcommand. - Documented Craft
|httpdateTwig filter.
- Improved notes for working with Nitro and WSL2.
- Documented recommended Docker settings for Nitro.
- Fixed a bug that prevented search keyboard shortcut from working on some cases.
- Documented the
is booleanTwig test. - Documented the ability to use
.user.inito customize Nitro PHP settings.
- Updated default Nitro doc set with the release of Nitro 2.
- Added a Queue Jobs page to the Extending Craft section.
- Added animation to indicate sidebar items are being loaded.
xxlbreakpoint now increasesfont-sizeinstead ofzoom.
- Prevented a useless link to “newer” docs when the default doc set version is not also the latest.
- Listed a few handy MigrationHelper methods in the Migrations docs.
- Added content to Craft’s URL Fields page.
- Updated areas of the Craft 3 docs for the new PHP 7.2.5+ requirement.
- Documented the new
{% tag %}Twig tag.
- Updated
currency,filesize,number,percentage,timestamp, andwithoutKeyTwig filter descriptions to reflect updated behavior in Craft 3.6.
- Added a warning about outputting empty segments in Assets fields’ dynamic subfolder templates.
- Upgraded Storybook to latest version.
- Got Storybook fonts working again.
- Fixed heading anchor shift that could occur with headings not in sidebar navigation. (#134)
- Fixed potential main navigation double scrollbars. (#132)
- Improved description of the customer-user relationship on the Customers page.
- Updated Commerce 3 examples using
cartUpdatedNoticetosuccessMessageinstead.
- Heavily refactored Commerce 3.x docs to improve organization, flow, and coverage gaps. 🎉
- Added PHP examples to Field Types pages.
- Removed a tip about overriding the
mutexcomponent config for Windows hosts, as it’s no longer needed in Craft 3.5 and later. (craftcms/cms#7242)
- Documented Commerce
modifyCartInfoevent.
- Improved Searching page with more detailed overview and examples.
- Changed typographic widow handling approach to improve HMR and scroll issues.
- Updated VuePress to 1.5.3.
- Added element form examples to the Categories, Tags, and Users field pages in the Craft 3 docs.
- Documented some missing parameters on the Craft 3 Controller Actions page.
- Improved the Control Panel Template page in the Craft 3 docs.
- Documented controller actions.
- Documented new
ul()andol()Twig functions. - Added the
verbstyle for Badge components. - Improved Badge component adding
roleandfocusableattributes and a default label. - Documented new
project-config/touchconsole command. - Documented
project-config/writeconsole command. - Documented
--invertoption forproject-config/diffconsole command.
- Moved templating example pages to the Knowledge Base.
- Added Commerce 3 Console Commands page with new
commerce/reset-datacommand. - Documented using
craft\services\ProjectConfig::$writeYamlAutomaticallyto disable writing project config YAML files automatically.
- Documented new
nitro createcommand and--silentflag forxon,xoff, andphp inisetcommands.
- Fixed an issue that may have led to incorrect search result headings when a heading match was preceded by the search keyword in body content.
- Updated
SidebarLinkto honor itsmaxDepthsetting.
- Documented the new Time field type added in Craft 3.5.12.
- Added an “edition” style to the Badge component for visually identifying edition-specific headings.
- Added placeholder support for non-tokenized text in SQL code blocks.
- Fixed a bug that prevented second-level docset navigation from resolving properly.
- Added
sidebarDepthfrontmatter support for setting the nesting level of the right sidebar (default0, flat). - Added
sidebarLevelfrontmatter support for setting the heading level used to generate right sidebar (default2for usingh2headings).
- Noted Craft 3.5.0+ typecasting in “Updating Plugins for Craft 3”.
- Fixed appearance of documentation version selector in Edge.
- Removed example
mutex/lock folder now that Craft 3.5+ use the database for mutex locking by default—meaning you’d only see that runtime folder overriding the default mutex component.
- Fixed the invisible hamburger navigation that could have secretly been clicked or tapped from wider viewports.
- Clarified that the
{% ifchildren %}and{% endifchildren %}tags don’t support special template logic. (craftcms/cms#6841)
- Documented the
truncatefilter that was added in Craft 3.5.10.
- Expanded page heading indexes to include
h4andh5, which previously led to weird-looking results on heading matches at those depths. - Changed nested search result display to use arrows instead of greater than signs (
>to→).
- Added simple components for flex columns.
- Updated Craft 3’s system requirements to list minimum and recommended specs.
- Added Japanese translations kindly provided by @dreamseeker (#69).
- Merged updates from Crowdin.
- Documented Craft and Commerce template hooks.
- Updated references to deprecated
currentUser.customerFieldHandleand documented the change in the Commerce 3 upgrade notes.
- Updated the “Propagating Changes” section of the Project Config page, per chanegs in Craft 3.5.6.
- Documented Craft 3.5.8 features: “Retry Duration” general setting;
off,on, andutils/update-usernamescommands;configure()Twig function.
- Overhauled the Console Commands page to detail each command and its options.
- Adjusted search configuration again to stop applying a relevance threshold to in-body results.
- Adjusted search configuration to generally return more results and further promote custom keywords.
- Removed references to the
craft.batfile, which is no longer distributed with thecraftcms/craftstarter project.
- Updated the
{% css %}and{% js %}tag documentation with their new ability to include CSS/JS files in Craft 3.5.6.
- Retitled + renamed testing setup page to improve search experience and indexing.
- Fixed sidebar active link color in dark mode.
- Updated remaining
project.yamlreferences throughout the Craft 3 docs.
- Improved the Project Config page.
- Added URL hash support for
updatedContentfrontmatter links.
- Updated Project Config page for Craft 3.5.
- Updated the feed template examples in both Craft 2 and 3 docs, to stop calling
craft.request.url/craft.app.request.absoluteUrlto avoid Host header injection attacks.
- Added changelog!
- Removed
searchID from the search box so it doesn’t interfere with content link anchors. - Limited bright flash loading the docs in dark mode.
- Fixed various dark mode styles.
- Added support for
prefers-reduced-motion: reduce.
- Changed dark mode to application and override behavior to be more intuitive.
- Updated Intro to Craft tutorial with Nitro setup.
- Fixed a bunch of broken links in Japanese content.
- Fixed scrollbar layout bugs.
- Added Nitro docs!
- Initial release.