Version 21.0.0 (November 2025)
Version 21.0.0 introduces several breaking changes to improve API consistency and remove deprecated code.CDK Breaking Changes
Removed Factory Functions
Removed Factory Functions
Several internal factory functions have been removed:
LIVE_ANNOUNCER_ELEMENT_TOKEN_FACTORYTREE_KEY_MANAGER_FACTORYTREE_KEY_MANAGER_FACTORY_PROVIDER
These were internal APIs that should not have been used directly. No migration needed for most users.
Overlay Z-Index Variables
Overlay Z-Index Variables
SCSS variable names have been updated:
Portal Directive Names
Portal Directive Names
Portal directives have been renamed:Update your templates:
TestElement Interface
TestElement Interface
Custom
TestElement implementations must now provide setContenteditableValue method:Material Breaking Changes
Removed Factory Functions
Removed Factory Functions
Many component factory functions have been removed:Autocomplete:
MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORYMAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORYMAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER
MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORYMAT_FAB_DEFAULT_OPTIONS_FACTORY
MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY
MAT_DATEPICKER_SCROLL_STRATEGY_FACTORYMAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDERMAT_DATE_LOCAL_FACTORY
These were internal implementation details. Most applications won’t need changes.
Animation Symbol Removals
Animation Symbol Removals
Animation constants have been removed:
If you were customizing animations, you’ll need to use CSS/SCSS instead.
MatCommonModule Removed
MatCommonModule Removed
MatCommonModule has been removed along with related types:Core Utility Removals
Core Utility Removals
Several core utilities have been removed:Also removed:
NativeDateAdapter.useUtcForDisplay
Material Date Adapters
Date Adapter Factory Removals
Date Adapter Factory Removals
Factory functions removed from date adapters:
Version 20.0.0
Version 20 focused on Angular 20 compatibility with minimal breaking changes.
Key Changes
- Updated peer dependencies to Angular 20
- Improved standalone component support
- Enhanced TypeScript 5.x support
Version 19.0.0
Material Design 3
Version 19 introduced Material Design 3 (M3) theming:- M3 Themes
- M2 Compatibility
Migration Strategies
Review the changelog
Always read the full CHANGELOG before upgrading.
Common Migration Issues
Import paths changed
Import paths changed
Problem: Import errors after upgradeSolution: Update import paths
Theming API changed
Theming API changed
Problem: Theme mixin errorsSolution: Update to new M3 API or use M2 compatibility mode
Animation imports fail
Animation imports fail
Problem: Cannot import animation constantsSolution: Remove animation imports and use CSS/SCSS for customization
Factory providers missing
Factory providers missing
Problem: DI errors for factory functionsSolution: These were internal - usually no action needed. If you were using them, provide dependencies directly.
Deprecation Policy
- Deprecation Announced - API marked with
@deprecatedJSDoc - Console Warnings - Runtime warnings in development mode
- Two Versions - API remains functional for 2+ versions
- Removal - API removed in a major version
Getting Help
Migration Guides
Detailed migration guides for major versions
GitHub Issues
Report problems or ask questions
Stack Overflow
Community support and answers
Angular Blog
Release announcements and guides
Stay Updated
Follow @angular on Twitter
Subscribe to the Angular blog
Watch the components repository
Join the Angular Discord