@angular/material-luxon-adapter
Advanced tools
Changelog
13.0.0 "fir-valise" (2021-11-03)
If your application imports styles from ~@angular/cdk
, the @import
/@use
statements need to
be updated to omit the tilde. The tilde syntax is deprecated within the webpack sass-loader
and
does not work with APF v13.
// before
@use '~@angular/cdk' as cdk;
// after
@use '@angular/cdk' as cdk;
The Angular CLI will automatically migrate your application with: ng update @angular/cdk
.
Additional breaking changes:
CKD_COPY_TO_CLIPBOARD_CONFIG
has been removed. Use CDK_COPY_TO_CLIPBOARD_CONFIG
instead.ConnectedPositionStrategy
has been removed. Use FlexibleConnectedPositionStrategy
instead.OverlayPositionBuilder.connectedTo
has been removed. Use OverlayPositionBuilder.flexibleConnectedTo
instead.If your application imports styles from ~@angular/material
, the @import
/@use
statements need to
be updated to omit the tilde. The tilde syntax is deprecated within the webpack sass-loader
and
does not work with APF v13.
// before
@use '~@angular/material' as mat;
// after
@use '@angular/material' as mat;
The Angular CLI will automatically migrate your application with: ng update @angular/material
.
Additionally, the following breaking changes have been made:
1.34.0
. Version 1.38.0
is recommended.CanColorCtor
is no longer necessary and has been removed.CanDisableRippleCtor
is no longer necessary and has been removed.CanDisableCtor
is no longer necessary and has been removed.CanUpdateErrorStateCtor
is no longer necessary and has been removed.HasInitializedCtor
is no longer necessary and has been removed.HasTabIndexCtor
is no longer necessary and has been removed._document
and _dialog
parameters have been removed from the MatDatepicker
and MatDateRangePicker
constructors.MatFormFieldHarness.getHarnessLoaderForPrefix
has been removed. Use MatFormFieldHarness.getPrefixText
instead.MatFormFieldHarness.getHarnessLoaderForSuffix
has been removed. Use MatFormFieldHarness.getSuffixText
instead._labelOptions
parameter of the MatFormField
constructor has been removed.MatFormField.underlineRef
has been removed.matTextareaAutosize
has been removed. Use cdkTextareaAutosize
from the @angular/cdk/text-field
module instead.MatTabHarness.getHarnessLoaderForContent
has been removed. Use MatTabHarness.getRootHarnessLoader
instead.YouTubePlayer.createEventsBoundInZone
has been removed.| Commit | Type | Description | | -- | -- | -- | | e8dd070bbd | feat | add date adapter for date-fns (#23262) | | 2a358120f4 | fix | locale not passed into parse function (#23653) |
| Commit | Type | Description | | -- | -- | -- | | 2789d8eb5f | feat | mdc-card: add DI token for configuring appearance (#23302) | | a4ae3b88c0 | feat | mdc-slide-toggle: switch to non-deprecated styles (#23143) | | e7a77edf1e | fix | mdc-tabs: update theming api (#23855) |
| Commit | Type | Description | | -- | -- | -- | | 7539cf2837 | refactor | remove deprecated APIs for v13 (#23520) |
| Commit | Type | Description | | -- | -- | -- | | 7c16258cfb | feat | switch to non-deprecated typings (#23350) |
| Commit | Type | Description | | -- | -- | -- | | 3dc5af4bfd | feat | dialog: add support for content sections in harness (#23357) | | e4b54aa2b7 | feat | progress-bar: add default options injection token (#23363) | | 6c724c18a7 | fix | chips: show required asterisk when using required validator (#23379) | | 728cf1c8eb | fix | dialog: improve screen reader support when opened (#23085) | | 881edec3e6 | fix | icon: make icon-registry compatible with Trusted Types (#23140) | | 1568b35972 | fix | input: show required asterisk when using required validator (#23362) | | 64ba72f1fd | fix | select: show required asterisk when using required validator (#23500) | | 01734b35af | fix | sidenav: restore focus with correct origin when closing via the backdrop (#23492) | | 7bc9bfb9dc | refactor | core: remove deprecated APIs for v13 (#23529) | | 40f0674e39 | refactor | core: update minimum required sass version and clean up workarounds (#23414) | | f8dc1770d1 | refactor | datepicker: remove deprecated APIs for v13 (#23574) | | 700c0601c0 | refactor | form-field: remove deprecated APIs for version 13 (#23389) | | 760b4564fa | refactor | input: remove deprecated autosize directive (#23408) | | 3ad08940f1 | refactor | tabs: remove deprecated APIs for v13 (#23426) |
| Commit | Type | Description |
| -- | -- | -- |
| 51796e1601 | feat | overlay: Extend cdkConnectedOverlayOrigin
to support more types. (#23253) |
| 04b5a08190 | feat | schematics: add migration for removed symbols (#23530) |
| b25283cda9 | fix | a11y: error on firefox (#23395) |
| 219e1f558a | fix | drag-drop: add conditional to scroll update (#23337) |
| 6e1f522d6a | fix | drag-drop: allow using cdkDragRootElement w/ comment tag (#23596) |
| d70faa0018 | fix | drag-drop: sorted event emitted multiple times for single-item list (#23589) |
| f2ff9e3142 | fix | schematics: drop tilde imports when updating to v13 (#23732) |
| 692ebafe7b | fix | testing: fake touch event does not set proper touch identifier |
| 5833597a7a | refactor | clipboard: clean up deprecated APIs for v13 (#23401) |
| 8d39384770 | refactor | overlay: remove deprecated connected position strategy |
| Commit | Type | Description | | -- | -- | -- | | 769996ed3f | feat | add options to autoFocus field for dialogs (#22780) | | db18b4093f | feat | add support for TypeScript 4.4 (#23646) |
| Commit | Type | Description | | -- | -- | -- | | 5c22a1dbf0 | fix | syntax error due to ES2020 being used for ng-add with NodeJS 12.x (#23744) |
Amy Sorto, Andrew Seguin, Charles, Jeremy Elbourn, Joey Perrott, Kristiyan Kostadinov, Md. Enzam Hossain, Michael Prentice, Miles Malerba, Paul Gschwendtner, Ruslan Lekhman, Suguru Inatomi, Wagner Maciel, Zach Arend, bjarkler and mmalerba
<!-- CHANGELOG SPLIT MARKER --><a name="13.0.0-rc.3"></a>
Changelog
13.0.0-rc.3 "fir-valise" (2021-11-02)
| Commit | Type | Description | | -- | -- | -- | | e7a77edf1e | fix | mdc-tabs: update theming api (#23855) |
Andrew Seguin, Joey Perrott, Kristiyan Kostadinov, Paul Gschwendtner and Suguru Inatomi
<!-- CHANGELOG SPLIT MARKER --><a name="13.0.0-rc.2"></a>
Changelog
13.0.0-rc.2 "tweed-thimble" (2021-10-27)
| Commit | Type | Description | | -- | -- | -- | | c4cb63be2 | fix | portal: write generic type for TemplateRef in the Template Portal code example (#23818) |
| Commit | Type | Description | | -- | -- | -- | | 114041f43 | fix | icon: disable text selection (#23730) |
Kristiyan Kostadinov, Paul Gschwendtner and Sergey Vakhramov
<a name="12.2.12"></a>
Changelog
12.2.12 "silk-shoe" (2021-10-27)
| Commit | Type | Description | | -- | -- | -- | | 6161ec622 | fix | portal: write generic type for TemplateRef in the Template Portal code example (#23818) |
| Commit | Type | Description | | -- | -- | -- | | d8c84d608 | fix | icon: disable text selection (#23730) |
Kristiyan Kostadinov, Paul Gschwendtner and Sergey Vakhramov
<!-- CHANGELOG SPLIT MARKER --><a name="13.0.0-rc.1"></a>
Changelog
13.0.0-rc.1 "acrylic-finger" (2021-10-20)
| Commit | Type | Description | | -- | -- | -- | | 25ba7583ea | fix | overlay: OverlayRef.outsidePointerEvents() should only emit due to pointerdown outside overlay (#23679) | | 11e591b502 | fix | testing: simulate focusin/focusout events (#23768) |
| Commit | Type | Description | | -- | -- | -- | | a4302fd537 | fix | tabs: incorrect ripple color when CSS variables are used for theme (#23686) | | 05006522f4 | fix | input: incorrect color for select using the size attribute (#23734) |
| Commit | Type | Description | | -- | -- | -- | | 38e26e971e | fix | mdc-select: add list class to option (#23738) | | 2e747ac3cf | fix | mdc-card: action alignment not working (#23742) |
| Commit | Type | Description | | -- | -- | -- | | ba75867b2a | fix | use ripple theme color for color mixins (#23739) |
Andrew Seguin, Kristiyan Kostadinov, Lukas Spirig and Paul Gschwendtner
<a name="12.2.11"></a>
Changelog
12.2.11 "wood-doll" (2021-10-20)
| Commit | Type | Description | | -- | -- | -- | | 5402a8b23f | fix | overlay: OverlayRef.outsidePointerEvents() should only emit due to pointerdown outside overlay (#23679) | | 59eee5dad1 | fix | testing: simulate focusin/focusout events (#23768) |
| Commit | Type | Description | | -- | -- | -- | | edad40fcd1 | fix | datepicker: revert breaking change on IE (#23786) | | 7086e448a8 | fix | input: incorrect color for select using the size attribute (#23734) | | 18fcc4519f | fix | tabs: incorrect ripple color when CSS variables are used for theme (#23686) |
| Commit | Type | Description | | -- | -- | -- | | d8b5d9f4f1 | fix | mdc-card: action alignment not working (#23742) | | 1ac871f5a0 | fix | mdc-select: add list class to option (#23738) |
| Commit | Type | Description | | -- | -- | -- | | 51997be26e | fix | use ripple theme color for color mixins (#23739) |
Andrew Seguin, Kristiyan Kostadinov and Lukas Spirig
<!-- CHANGELOG SPLIT MARKER --><a name="12.2.10"></a>
Changelog
12.2.10 "plastic-monkey" (2021-10-15)
| Commit | Type | Description | | -- | -- | -- | | 47c4710739 | fix | sort: correctly specify AriaDesciber token (#23751) | | 7727d9e28c | fix | sort: add description input for sort-header (#23633) |
| Commit | Type | Description | | -- | -- | -- | | 261cb86c43 | fix | mdc-tabs: switch to new theming API (#23726) | | 509cd3919d | fix | mdc-radio: switch to new theming API (#23725) |
Jeremy Elbourn, Joey Perrott, Marco Marche and Zach Arend
<a name="13.0.0-rc.0"></a>
Changelog
13.0.0-rc.0 "aluminum-aardvark" (2021-10-13)
| Commit | Type | Description | | -- | -- | -- | | f2ff9e314 | fix | schematics: drop tilde imports when updating to v13 (#23732) |
| Commit | Type | Description | | -- | -- | -- | | 1568b3597 | fix | input: show required asterisk when using required validator (#23362) | | ce683542f | fix | sort: add description input for sort-header (#23633) |
| Commit | Type | Description | | -- | -- | -- | | 1937c3edd | fix | mdc-radio: switch to new theming API (#23725) | | 08d1acdfa | fix | mdc-tabs: switch to new theming API (#23726) |
| Commit | Type | Description | | -- | -- | -- | | 2a358120f | fix | locale not passed into parse function (#23653) |
| Commit | Type | Description | | -- | -- | -- | | 5c22a1dbf | fix | syntax error due to ES2020 being used for ng-add with NodeJS 12.x (#23744) |
Charles, Jeremy Elbourn, Joey Perrott, Kristiyan Kostadinov, Marco Marche, Paul Gschwendtner and Zach Arend
<!-- CHANGELOG SPLIT MARKER --><a name="13.0.0-next.8"></a>
Changelog
13.0.0-next.8 "gravel-chicken" (2021-10-08)
| Commit | Type | Description | | -- | -- | -- | | 39138836c | fix | drag-drop: error when preview is destroyed before animation completes (#23662) |
| Commit | Type | Description | | -- | -- | -- | | 4f6b9fd50 | fix | core: sanity checks not disabled for node-based test environments (#23636) | | 64ba72f1f | fix | select: show required asterisk when using required validator (#23500) | | 2602d2e8a | fix | stepper: add text for screen readers to indicate when step is complete or editable (#23519) |
| Commit | Type | Description | | -- | -- | -- | | 7c16258cf | feat | switch to non-deprecated typings (#23350) |
| Commit | Type | Description | | -- | -- | -- | | 318178020 | fix | mdc-menu: Use body1 typography for menu content (#23657) |
| Commit | Type | Description | | -- | -- | -- | | db18b4093 | feat | add support for TypeScript 4.4 (#23646) |
Amy Sorto, Kristiyan Kostadinov, Miles Malerba, Paul Gschwendtner and Вася
<!-- CHANGELOG SPLIT MARKER --><a name="13.0.0-next.8"></a>