craftcms/cms breaking changes
Updated December 4, 2026
On this page
Latest version 5.12.5, released December 1, 2026. proprietary license. Source repository
Its 5.0.0-alpha.1 release requires PHP 8.2 or later. PHP end of life dates.
craftcms/cms 5.0.0 breaking changes
- Removed
craft\base\ApplicationTrait::getContent
craft\base\ApplicationTrait::getContent was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\ApplicationTrait::getEnvId
craft\base\ApplicationTrait::getEnvId was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\ApplicationTrait::getMatrix
craft\base\ApplicationTrait::getMatrix was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\ApplicationTrait::getSections
craft\base\ApplicationTrait::getSections was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\conditions\BaseCondition::EVENT_REGISTER_CONDITION_RULE_TYPES
craft\base\conditions\BaseCondition::EVENT_REGISTER_CONDITION_RULE_TYPES was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\conditions\BaseMultiSelectConditionRule::$includeEmptyOperators
craft\base\conditions\BaseMultiSelectConditionRule::$includeEmptyOperators was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\conditions\BaseNumberConditionRule::$step
craft\base\conditions\BaseNumberConditionRule::$step was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\conditions\BaseTextConditionRule::isEmpty
craft\base\conditions\BaseTextConditionRule::isEmpty was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\conditions\ConditionInterface::getConditionRuleTypes
craft\base\conditions\ConditionInterface::getConditionRuleTypes was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\conditions\ConditionRuleInterface::showLabelHint
craft\base\conditions\ConditionRuleInterface::showLabelHint was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Element::$contentId
craft\base\Element::$contentId was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Element::$isNewSite
craft\base\Element::$isNewSite was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Element::$validatingRelatedElement
craft\base\Element::$validatingRelatedElement was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Element::ancestors
craft\base\Element::ancestors was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Element::ATTR_STATUS_MODIFIED
craft\base\Element::ATTR_STATUS_MODIFIED was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Element::ATTR_STATUS_OUTDATED
craft\base\Element::ATTR_STATUS_OUTDATED was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Element::descendants
craft\base\Element::descendants was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Element::EVENT_SET_TABLE_ATTRIBUTE_HTML
craft\base\Element::EVENT_SET_TABLE_ATTRIBUTE_HTML was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Element::getRootOwner
craft\base\Element::getRootOwner was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Element::methodAllowedInSandbox
craft\base\Element::methodAllowedInSandbox was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Element::propertyAllowedInSandbox
craft\base\Element::propertyAllowedInSandbox was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Element::tableAttributeHtml
craft\base\Element::tableAttributeHtml was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\ElementInterface::getFieldColumnPrefix
craft\base\ElementInterface::getFieldColumnPrefix was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\ElementInterface::getHasCheckeredThumb
craft\base\ElementInterface::getHasCheckeredThumb was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\ElementInterface::getHasRoundedThumb
craft\base\ElementInterface::getHasRoundedThumb was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\ElementInterface::getRootOwner
craft\base\ElementInterface::getRootOwner was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\ElementInterface::getSerializedFieldValuesForDb
craft\base\ElementInterface::getSerializedFieldValuesForDb was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\ElementInterface::getTableAttributeHtml
craft\base\ElementInterface::getTableAttributeHtml was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\ElementInterface::getThumbAlt
craft\base\ElementInterface::getThumbAlt was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\ElementInterface::getThumbUrl
craft\base\ElementInterface::getThumbUrl was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\ElementInterface::gqlMutationNameByContext
craft\base\ElementInterface::gqlMutationNameByContext was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\ElementInterface::gqlTypeNameByContext
craft\base\ElementInterface::gqlTypeNameByContext was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\ElementInterface::hasContent
craft\base\ElementInterface::hasContent was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\ElementTrait::$contentId
craft\base\ElementTrait::$contentId was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\ElementTrait::$isNewSite
craft\base\ElementTrait::$isNewSite was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\ElementTrait::$validatingRelatedElement
craft\base\ElementTrait::$validatingRelatedElement was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Event::__construct
craft\base\Event::__construct was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Field::$columnPrefix
craft\base\Field::$columnPrefix was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Field::$groupId
craft\base\Field::$groupId was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Field::$layoutId
craft\base\Field::$layoutId was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Field::$sortOrder
craft\base\Field::$sortOrder was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\Field::$tabId
craft\base\Field::$tabId was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\FieldInterface::getContentColumnType
craft\base\FieldInterface::getContentColumnType was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\FieldInterface::getGroup
craft\base\FieldInterface::getGroup was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\FieldInterface::hasContentColumn
craft\base\FieldInterface::hasContentColumn was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\FieldInterface::serializeValueForDb
craft\base\FieldInterface::serializeValueForDb was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\FieldTrait::$columnPrefix
craft\base\FieldTrait::$columnPrefix was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\FieldTrait::$groupId
craft\base\FieldTrait::$groupId was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\FieldTrait::$layoutId
craft\base\FieldTrait::$layoutId was removed in craftcms/cms 5.0.0 packagist.org - Removed
craft\base\FieldTrait::$sortOrder
craft\base\FieldTrait::$sortOrder was removed in craftcms/cms 5.0.0 packagist.org
And 806 more in this version. Sign up to see every change
craftcms/cms 5.0.0-beta.7 breaking changes
- Renamed
Selection Label
The relational fields' Selection Label setting is now labelled 'Add' Button Label. github.com - Behavior changed
craft\elements\db\ElementQuery.render
Entry queries are now ordered by postDate DESC, id DESC by default instead of postDate DESC alone. github.com - Signature changed
craft\base\Element.render
Element::render() now has a $variables argument. github.com - Signature changed
craft\elements\db\ElementQuery.render
ElementQuery::render() now has a $variables argument. github.com - Signature changed
craft\elements\ElementCollection.render
ElementCollection::render() now has a $variables argument. github.com - Signature changed
craft\helpers\ElementHelper.renderElements
ElementHelper::renderElements() now has a $variables argument. github.com
craftcms/cms 5.0.0-beta.2 breaking changes
- Behavior changed
craft\behaviors\SessionBehavior.setSuccess
setSuccess() and getSuccess() now use the success flash key instead of notice. github.com - Behavior changed
errors
Exception response data drops the error key with the message; use message instead. github.com - Signature changed
craft\helpers\Assets::generateUrl
generateUrl() no longer accepts an $fs argument. packagist.org - Signature changed
craft\models\FieldLayout::getField
Both methods now have a $filter argument instead of $attribute, which can be a callable. packagist.org - Signature changed
craft\models\FieldLayout::isFieldIncluded
isFieldIncluded() now has a $filter argument instead of $attribute. packagist.org
craftcms/cms 5.0.0-alpha.13 breaking changes
- Removed
craft\elements\NestedElementManager.$allowDeletion
The $allowDeletion property added in alpha.12 is removed. github.com - Behavior changed
deprecationerrors.traces
Columns become JSON on MySQL and PostgreSQL; users must migrate their stored data. github.com - Configuration changed
craft\services\Sites.$maxSites
Craft now defaults to a limit of 100 sites; the limit can be raised through craft\services\Sites::$maxSites. github.com
craftcms/cms 5.0.0-alpha.12 breaking changes
- Removed
craft\elements\NestedElementManager.$allowDeletion
Adds nested element deletion property that is later removed in craftcms/cms 5.0.0-alpha.12 github.com - Removed
craft\log\Dispatcher::getTargets
Renamed craft\log\Dispatcher::getTargets() to getDefaultTargets(). Update calls to use the new name. packagist.org - Behavior changed
craft\elements\NestedElementManager.valueSetter
The valueSetter closure now receives the owner element as an argument. Closures written for the old signature may need updating. github.com - Signature changed
craft\services\Elements::saveElement
saveElement() now accepts a $saveContent argument. packagist.org
craftcms/cms 5.0.0-alpha.11 breaking changes
- Behavior changed
craft\helpers\App.parseEnv
parseEnv() now returns null when a missing environment variable name is passed to it. github.com
Older versions
9 older versions, each with its first changes. Sign up to see every change
Show 9 older versions
craftcms/cms 5.0.0-alpha.9 breaking changes
- Removed
Craft now requires MySQL 8.0.17+, MariaDB 10.4.6+, or PostgreSQL 13+, so older database versions are no longer supported. github.com - Behavior changed
Matrix fields now require the owner element to be saved before they can be edited, even in inline-editable mode. github.com
craftcms/cms 5.0.0-alpha.7 breaking changes
- Removed
craft\base\UtilityInterface::iconPath
iconPath() was renamed to icon(), which can now return a system icon name. packagist.org - Removed
craft\web\twig\variables\Cp.getEntryTypeOptions
getEntryTypeOptions() was removed from the control panel Twig variable. github.com
And 4 more in this version.
craftcms/cms 5.0.0-alpha.6 breaking changes
- Behavior changed
Log message timestamps are now set to the system time zone. github.com - Signature changed
craft\base\BaseFsInterface::copyFile
copyFile() now has a $config argument, which custom filesystem implementations must accept. packagist.org
And 1 more in this version.
craftcms/cms 5.0.0-alpha.5 breaking changes
- Default changed
mutex
The mutex driver defaults again to MysqlMutex or PgsqlMutex, so setups that relied on the previous default may change. github.com
craftcms/cms 5.0.0-alpha.4 breaking changes
- Removed
craft\services\Entries.getEntryTypesByHandle
getEntryTypesByHandle() was removed. Use getEntryTypeByHandle() instead. github.com - Signature changed
craft\base\ElementInterface::setEagerLoadedElements
setEagerLoadedElements() now takes a $plan argument, which implementations must accept. packagist.org
craftcms/cms 5.0.0-alpha.3 breaking changes
- Removed
The Temp Uploads Location asset setting was removed. Use the tempAssetUploadFs config setting instead. github.com - Behavior changed
craft\events\SearchEvent.$scores
Scores set on SearchEvent::$scores must now be indexed by element ID and site ID, such as '100-1'. github.com
And 1 more in this version.
craftcms/cms 5.0.0-alpha.2 breaking changes
- Renamed
craft\services\Addresses::saveLayout
Addresses::saveLayout() was renamed to saveFieldLayout(). Update calls to use the new name. packagist.org - Behavior changed
Craft.formatInputId
Craft.formatInputId() now keeps colons and periods and ensures the result starts with a letter, so generated IDs may differ from before. github.com
And 2 more in this version.
craftcms/cms 5.0.0-alpha.1 breaking changes
- Removed
Craft now requires PHP 8.2 or later, so older PHP versions can no longer run it. github.com - Removed
craft\base\BlockElementInterface
Implementations and type hints must use NestedElementInterface, which also gains getField(), getSortOrder() and setOwner(). packagist.org
And 27 more in this version.
craftcms/cms 4.0.0 breaking changes
- Removed
Craft now requires PHP 8.0.2 or later, so PHP installs older than that will no longer run it. github.com - Removed
Volumes no longer have types; file operations go through the Asset Filesystem setting on each volume. github.com
And 2,136 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.