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
|duration
and|length
Twig 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
namespaceAttributes
filter 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-orders
action.
- 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
session
component 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-url
commands added in Craft 3.7.31. - Documented
users/list-admins
andusers/set-password
commands 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
parseBooleanEnv
Twig function added in Craft 3.7.24. - Documented element query
cache()
function.
- Updated
plugin/install
,plugin/uninstall
,plugin/enable
, andplugin/disable
console command descriptions for Craft 3.7.23.
- Updated Element Type’s “Saving Custom Field Values” section for Craft 3.7.21.
- Documented new
countable
andobject
Twig tests added in Craft 3.7.17.
- Documented
autoSetCartShippingMethodOption
setting added in Commerce 3.4.4. - Documented
clearLineItems
param added to thecart/update-cart
controller action in Commerce 3.4.4.
- Documented new
array
,callable
,float
,integer
,numeric
,resource
,scalar
, andstring
Twig tests added in Craft 3.7.15. - Documented
graphql/create-token
,graphql/list-schemas
, andusers/impersonate
commands 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
up
command added in Craft 3.7.13.
- Updated
{sourceId}
and{sourceUid}
references to{canonicalId}
and{canonicalUid}
.
- Documented
utils/prune-provisional-drafts
added in Craft 3.7.9. - Documented
--dry-run
flag forutils/prune-revisions
command added in Craft 3.7.9.
- Added the warning about running
project-config/write
to the Project Config page.
- Documented Commerce order and line item totals.
- Fixed vertical code highlight alignment.
- Documented queue driver priority support.
- Documented
sendContentLengthHeader
config setting added in Craft 3.7.3.
- Documented
transformSvgs
config setting added in Craft 3.7.1.
- Documented
|removeClass
Twig 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
, andsetGraphqlDatesToSystemTimeZone
config settings added in Craft 3.7.0. - Documented
useUnbufferedConnections
database config setting added in Craft 3.7.0. - Documented
date()
Twig function added in Craft 3.7.0. - Documented
users/create
andusers/delete
commands added in Craft 3.7.0. - Documented Date field
now
comparison 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
flash
file 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
productCount
andvariantCount
GraphQL 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 destroy
command. - Documented
nitro alias
site argument. - Documented
|merge
filter with itsrecursive
argument.
- Documented Commerce
purchasableShippable
event.
- Updated
allowedFileExtensions
config setting to include defaultdotm
anddotx
file extensions.
- Documented
permissionsPolicyHeader
config setting. - Document new
--force
flag on theplugin/uninstall
command.
- Documented controller action default route format.
- Documented Commerce
purchasableAvailable
event.
- 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
andRelatedTo
element query parameter.
- Documented Nitro
php
command. - Documented Craft
|httpdate
Twig 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 boolean
Twig test. - Documented the ability to use
.user.ini
to 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.
xxl
breakpoint now increasesfont-size
instead 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
, andwithoutKey
Twig 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
cartUpdatedNotice
tosuccessMessage
instead.
- 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
mutex
component config for Windows hosts, as it’s no longer needed in Craft 3.5 and later. (craftcms/cms#7242)
- Documented Commerce
modifyCartInfo
event.
- 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
verb
style for Badge components. - Improved Badge component adding
role
andfocusable
attributes and a default label. - Documented new
project-config/touch
console command. - Documented
project-config/write
console command. - Documented
--invert
option forproject-config/diff
console command.
- Moved templating example pages to the Knowledge Base.
- Added Commerce 3 Console Commands page with new
commerce/reset-data
command. - Documented using
craft\services\ProjectConfig::$writeYamlAutomatically
to disable writing project config YAML files automatically.
- Documented new
nitro create
command and--silent
flag forxon
,xoff
, andphp iniset
commands.
- 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
SidebarLink
to honor itsmaxDepth
setting.
- 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
sidebarDepth
frontmatter support for setting the nesting level of the right sidebar (default0
, flat). - Added
sidebarLevel
frontmatter support for setting the heading level used to generate right sidebar (default2
for usingh2
headings).
- 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
truncate
filter that was added in Craft 3.5.10.
- Expanded page heading indexes to include
h4
andh5
, 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.customerFieldHandle
and 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-usernames
commands;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.bat
file, which is no longer distributed with thecraftcms/craft
starter 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.yaml
references throughout the Craft 3 docs.
- Improved the Project Config page.
- Added URL hash support for
updatedContent
frontmatter 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.absoluteUrl
to avoid Host header injection attacks.
- Added changelog!
- Removed
search
ID 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.