Skip to content

Commit 1202def

Browse files
committed
docs: release notes for the v18.2.0 release
1 parent b204aae commit 1202def

File tree

1 file changed

+48
-99
lines changed

1 file changed

+48
-99
lines changed

CHANGELOG.md

Lines changed: 48 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,60 @@
1-
<a name="18.1.5"></a>
2-
# 18.1.5 "ruthenium-roulette" (2024-08-14)
1+
<a name="18.2.0"></a>
2+
# 18.2.0 "technetium-tapas" (2024-08-14)
3+
## Deprecations
4+
### material
5+
- Tree controller deprecated. Use one of levelAccessor or childrenAccessor instead. To be removed in a future version.
6+
* BaseTreeControl, TreeControl, FlatTreeControl, and NestedTreeControl deprecated
7+
* CdkTree#treeControl deprecated. Provide one of CdkTree#levelAccessor or CdkTree#childrenAccessor instead.
8+
* MatTreeFlattener deprecated. Use MatTree#childrenAccessor and MatTreeNode#isExpandable instead.
9+
* MatTreeFlatDataSource deprecated. Use one of levelAccessor or childrenAccessor instead of TreeControl.
10+
11+
Note when upgrading: isExpandable works differently on Trees using treeControl than trees using childrenAccessor or levelAccessor. Nodes on trees that have a treeControl are expandable by default. Nodes on trees using childrenAccessor or levelAccessor are *not* expandable by default. Provide isExpandable to override default behavior.
12+
- Setting tabindex of tree nodes deprecated. By default, Tree ignores tabindex passed to tree nodes.
13+
* MatTreeNode#tabIndex deprecated. MatTreeNode ignores Input tabIndex and manages its own focus behavior.
14+
* MatTreeNode#defaultTabIndex deprecated. MatTreeNode ignores defaultTabIndex and manages its own focus behavior.
15+
* MatNestedTreeNode#tabIndex deprecated. MatTreeNode ignores Input defaultTabIndex and manages its own focus behavior.
16+
* LegacyTreeKeyManager and LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER deprecated. Inject a TreeKeyManagerFactory to customize keyboard behavior.
17+
18+
Note when upgrading: an opt-out is available for keyboard functionality changes. Provide LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER to opt-out of Tree managing its own focus. When provided, Tree does not manage it’s own focus and respects tabindex passed to TreeNode. When provided, have the same focus behavior as before this commit is applied.
19+
20+
Add Legacy Keyboard Interface demo, which shows usage of LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER. Add Custom Key Manager, which shows usage of injecting a TreeKeyManagerStrategy
21+
- disabled renamed to isDisabled.
22+
* CdkTreeNode#disabled deprecated and alias to CdkTreeNode#isDisabled
323
### material
424
| Commit | Type | Description |
525
| -- | -- | -- |
6-
| [b2e728db9](https://github.com/angular/components/commit/b2e728db9789d970990455617338683a68d34a0c) | fix | **form-field:** update state if control changes ([#29573](https://github.com/angular/components/pull/29573)) |
7-
| [1c438b312](https://github.com/angular/components/commit/1c438b312ece5ce29b6f0d60c6696b4afb5396af) | fix | **schematics:** Generate more accurate tonal palettes for M3 schematic ([#29536](https://github.com/angular/components/pull/29536)) |
8-
| [838d1a45a](https://github.com/angular/components/commit/838d1a45a213b41c42a320e16701b25e99fae7ec) | fix | **tabs:** allow for tablist aria-label and aria-labelledby to be set ([#29562](https://github.com/angular/components/pull/29562)) |
26+
| [ddc307e28](https://github.com/angular/components/commit/ddc307e28449045c484510ff26798fc1a6efa7c1) | feat | **button-toggle:** allow disabled buttons to be interactive ([#29550](https://github.com/angular/components/pull/29550)) |
27+
| [841760101](https://github.com/angular/components/commit/8417601015e7c3a96a8a6801213e764058ee8aba) | feat | **checkbox:** add the ability to interact with disabled checkboxes ([#29474](https://github.com/angular/components/pull/29474)) |
28+
| [0af3b6175](https://github.com/angular/components/commit/0af3b617505d5f39f2492ba4b7e3e7fd4b74f990) | feat | **radio:** add the ability to interact with disabled radio buttons ([#29490](https://github.com/angular/components/pull/29490)) |
29+
| [4292e1b3a](https://github.com/angular/components/commit/4292e1b3a05492e62413f3a62e082f2b8b012026) | feat | **slide-toggle:** add the ability to interact with disabled toggle ([#29502](https://github.com/angular/components/pull/29502)) |
30+
| [a018fb0ee](https://github.com/angular/components/commit/a018fb0ee8ac711e7fba7d0d528fa56f348f6361) | feat | **tooltip:** replicate tooltipClass to default MatTooltipDefaultOptions ([#29467](https://github.com/angular/components/pull/29467)) |
31+
| [aaf0d5156](https://github.com/angular/components/commit/aaf0d51569c0a5626055ca61663d6dbe9fbd1776) | fix | **checkbox:** account for disabledInteractive in harness |
32+
| [d22a24d66](https://github.com/angular/components/commit/d22a24d667a16c39d4a4ec5f59b248f990fa029e) | fix | **list:** checkmark not visible in high contrast mode ([#29546](https://github.com/angular/components/pull/29546)) |
33+
| [a259b016b](https://github.com/angular/components/commit/a259b016b0ef37511c7b6b887da93bacef91f243) | fix | **radio:** account for disabledInteractive in harness |
34+
| [fd47a0e60](https://github.com/angular/components/commit/fd47a0e60dd9ab50d9f923713ca60a7fd21ccc16) | fix | **radio:** avoid error if destroyed quickly ([#29507](https://github.com/angular/components/pull/29507)) |
35+
| [08d2e3e69](https://github.com/angular/components/commit/08d2e3e6945a5488171f5211891d0c2a806808b7) | fix | **slide-toggle:** account for disabledInteractive in harness |
36+
| [fd416a30e](https://github.com/angular/components/commit/fd416a30e8de0e741ac45f3fb45e695abecf5ded) | fix | **tooltip:** remove aria-describedby when disabled ([#29520](https://github.com/angular/components/pull/29520)) |
37+
| [ff36c80f9](https://github.com/angular/components/commit/ff36c80f9c7a14f0e9f36eafc3e1423d34e7c916) | fix | **tree:** add levelAccessor, childrenAccessor, TreeKeyManager; a11y and docs improvements ([#29062](https://github.com/angular/components/pull/29062)) |
38+
| [1f992d06c](https://github.com/angular/components/commit/1f992d06c693a6e09332ac83d837c9ff8e1fdf7b) | fix | **tree:** aria-expanded attribute should not appear in the leaf node ([#29273](https://github.com/angular/components/pull/29273)) |
39+
### cdk
40+
| Commit | Type | Description |
41+
| -- | -- | -- |
42+
| [b2c051d2c](https://github.com/angular/components/commit/b2c051d2c1b67f4c149aee1573a4aceddb496157) | feat | **drag-drop:** add input to specify dragged item scale ([#29392](https://github.com/angular/components/pull/29392)) |
43+
### multiple
44+
| Commit | Type | Description |
45+
| -- | -- | -- |
46+
| [db5b8dc29](https://github.com/angular/components/commit/db5b8dc29b900470523bb20eea1ba255c2dc1168) | feat | fallback to system level variables ([#29480](https://github.com/angular/components/pull/29480)) |
947

1048
<!-- CHANGELOG SPLIT MARKER -->
1149

12-
<a name="18.2.0-rc.0"></a>
13-
# 18.2.0-rc.0 "wicker-whirlwind" (2024-08-07)
50+
<a name="18.1.5"></a>
51+
# 18.1.5 "ruthenium-roulette" (2024-08-14)
1452
### material
1553
| Commit | Type | Description |
1654
| -- | -- | -- |
17-
| [ddc307e284](https://github.com/angular/components/commit/ddc307e28449045c484510ff26798fc1a6efa7c1) | feat | **button-toggle:** allow disabled buttons to be interactive ([#29550](https://github.com/angular/components/pull/29550)) |
18-
| [7370eb92fc](https://github.com/angular/components/commit/7370eb92fc0a4364670914add9b12393c0f84dfe) | fix | **chips:** missing tokens in M3 ([#29531](https://github.com/angular/components/pull/29531)) |
19-
| [d22a24d667](https://github.com/angular/components/commit/d22a24d667a16c39d4a4ec5f59b248f990fa029e) | fix | **list:** checkmark not visible in high contrast mode ([#29546](https://github.com/angular/components/pull/29546)) |
20-
| [626164ba5f](https://github.com/angular/components/commit/626164ba5ff1b729d1d3baeef6e9dfd89566f3f4) | fix | **sidenav:** disable focus trap while closed ([#29548](https://github.com/angular/components/pull/29548)) |
21-
| [fd416a30e8](https://github.com/angular/components/commit/fd416a30e8de0e741ac45f3fb45e695abecf5ded) | fix | **tooltip:** remove aria-describedby when disabled ([#29520](https://github.com/angular/components/pull/29520)) |
55+
| [b2e728db9](https://github.com/angular/components/commit/b2e728db9789d970990455617338683a68d34a0c) | fix | **form-field:** update state if control changes ([#29573](https://github.com/angular/components/pull/29573)) |
56+
| [1c438b312](https://github.com/angular/components/commit/1c438b312ece5ce29b6f0d60c6696b4afb5396af) | fix | **schematics:** Generate more accurate tonal palettes for M3 schematic ([#29536](https://github.com/angular/components/pull/29536)) |
57+
| [838d1a45a](https://github.com/angular/components/commit/838d1a45a213b41c42a320e16701b25e99fae7ec) | fix | **tabs:** allow for tablist aria-label and aria-labelledby to be set ([#29562](https://github.com/angular/components/pull/29562)) |
2258

2359
<!-- CHANGELOG SPLIT MARKER -->
2460

@@ -32,30 +68,6 @@
3268

3369
<!-- CHANGELOG SPLIT MARKER -->
3470

35-
<a name="18.2.0-next.3"></a>
36-
# 18.2.0-next.3 "gold-medal" (2024-07-31)
37-
### cdk
38-
| Commit | Type | Description |
39-
| -- | -- | -- |
40-
| [c9078d1d1a](https://github.com/angular/components/commit/c9078d1d1ada5d35a023e64c34d4f953adeec415) | fix | **coercion:** Return undefined when the fallback value is undefined ([#29491](https://github.com/angular/components/pull/29491)) |
41-
### material
42-
| Commit | Type | Description |
43-
| -- | -- | -- |
44-
| [0af3b61750](https://github.com/angular/components/commit/0af3b617505d5f39f2492ba4b7e3e7fd4b74f990) | feat | **radio:** add the ability to interact with disabled radio buttons ([#29490](https://github.com/angular/components/pull/29490)) |
45-
| [4292e1b3a0](https://github.com/angular/components/commit/4292e1b3a05492e62413f3a62e082f2b8b012026) | feat | **slide-toggle:** add the ability to interact with disabled toggle ([#29502](https://github.com/angular/components/pull/29502)) |
46-
| [5403b2b316](https://github.com/angular/components/commit/5403b2b3163fedaf557bbc51a1ca5d34b40f91d2) | fix | **chips:** remove tab-index attribute from mat-chip host ([#29436](https://github.com/angular/components/pull/29436)) |
47-
| [6d701146cc](https://github.com/angular/components/commit/6d701146cc6618dd002e0a76c2fafa54448cfc87) | fix | **core:** custom system-level variable prefix not used in some mixins ([#29513](https://github.com/angular/components/pull/29513)) |
48-
| [95d1354cdd](https://github.com/angular/components/commit/95d1354cdd9fb82bb009eba495b91c660c9a797f) | fix | **dialog:** invalid font-family declaration ([#29516](https://github.com/angular/components/pull/29516)) |
49-
| [fd47a0e60d](https://github.com/angular/components/commit/fd47a0e60dd9ab50d9f923713ca60a7fd21ccc16) | fix | **radio:** avoid error if destroyed quickly ([#29507](https://github.com/angular/components/pull/29507)) |
50-
| [5892acfde3](https://github.com/angular/components/commit/5892acfde36ac1c12e98f7ea95a2a02bb95eeedd) | fix | **slide-toggle:** don't trigger active state for entire container ([#29514](https://github.com/angular/components/pull/29514)) |
51-
| [1aa8512ebe](https://github.com/angular/components/commit/1aa8512ebef7fd9bbc849383a2d642dddb69ce16) | fix | **slide-toggle:** remove divs from button ([#29485](https://github.com/angular/components/pull/29485)) |
52-
### multiple
53-
| Commit | Type | Description |
54-
| -- | -- | -- |
55-
| [db5b8dc29b](https://github.com/angular/components/commit/db5b8dc29b900470523bb20eea1ba255c2dc1168) | feat | fallback to system level variables ([#29480](https://github.com/angular/components/pull/29480)) |
56-
57-
<!-- CHANGELOG SPLIT MARKER -->
58-
5971
<a name="18.1.3"></a>
6072
# 18.1.3 "plastic-beach" (2024-07-31)
6173
### cdk
@@ -73,19 +85,6 @@
7385

7486
<!-- CHANGELOG SPLIT MARKER -->
7587

76-
<a name="18.2.0-next.2"></a>
77-
# 18.2.0-next.2 "velvet-guitar" (2024-07-24)
78-
### material
79-
| Commit | Type | Description |
80-
| -- | -- | -- |
81-
| [8417601015](https://github.com/angular/components/commit/8417601015e7c3a96a8a6801213e764058ee8aba) | feat | **checkbox:** add the ability to interact with disabled checkboxes ([#29474](https://github.com/angular/components/pull/29474)) |
82-
| [a018fb0ee8](https://github.com/angular/components/commit/a018fb0ee8ac711e7fba7d0d528fa56f348f6361) | feat | **tooltip:** replicate tooltipClass to default MatTooltipDefaultOptions ([#29467](https://github.com/angular/components/pull/29467)) |
83-
| [d6aed80446](https://github.com/angular/components/commit/d6aed804460d4b75082d7d04e051f2cae9b4f8f6) | fix | **chips:** remove button is too small ([#29351](https://github.com/angular/components/pull/29351)) |
84-
| [13aef8cf87](https://github.com/angular/components/commit/13aef8cf87409a706f3634caa75d5b04505a8ec9) | fix | **form-field:** hiding a label after it has been ([#29461](https://github.com/angular/components/pull/29461)) |
85-
| [10da6c6375](https://github.com/angular/components/commit/10da6c63757200b5848c00e560eabe8642435fe8) | fix | **input:** Number input not changing on wheel interaction ([#29449](https://github.com/angular/components/pull/29449)) |
86-
87-
<!-- CHANGELOG SPLIT MARKER -->
88-
8988
<a name="18.1.2"></a>
9089
# 18.1.2 "velvet-violin" (2024-07-24)
9190
### material
@@ -113,56 +112,6 @@
113112

114113
<!-- CHANGELOG SPLIT MARKER -->
115114

116-
<a name="18.2.0-next.1"></a>
117-
# 18.2.0-next.1 "osmium-opal" (2024-07-17)
118-
## Deprecations
119-
### material
120-
- Tree controller deprecated. Use one of levelAccessor or childrenAccessor instead. To be removed in a future version.
121-
* BaseTreeControl, TreeControl, FlatTreeControl, and NestedTreeControl deprecated
122-
* CdkTree#treeControl deprecated. Provide one of CdkTree#levelAccessor or CdkTree#childrenAccessor instead.
123-
* MatTreeFlattener deprecated. Use MatTree#childrenAccessor and MatTreeNode#isExpandable instead.
124-
* MatTreeFlatDataSource deprecated. Use one of levelAccessor or childrenAccessor instead of TreeControl.
125-
126-
Note when upgrading: isExpandable works differently on Trees using treeControl than trees using childrenAccessor or levelAccessor. Nodes on trees that have a treeControl are expandable by default. Nodes on trees using childrenAccessor or levelAccessor are *not* expandable by default. Provide isExpandable to override default behavior.
127-
- Setting tabindex of tree nodes deprecated. By default, Tree ignores tabindex passed to tree nodes.
128-
* MatTreeNode#tabIndex deprecated. MatTreeNode ignores Input tabIndex and manages its own focus behavior.
129-
* MatTreeNode#defaultTabIndex deprecated. MatTreeNode ignores defaultTabIndex and manages its own focus behavior.
130-
* MatNestedTreeNode#tabIndex deprecated. MatTreeNode ignores Input defaultTabIndex and manages its own focus behavior.
131-
* LegacyTreeKeyManager and LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER deprecated. Inject a TreeKeyManagerFactory to customize keyboard behavior.
132-
133-
Note when upgrading: an opt-out is available for keyboard functionality changes. Provide LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER to opt-out of Tree managing its own focus. When provided, Tree does not manage it’s own focus and respects tabindex passed to TreeNode. When provided, have the same focus behavior as before this commit is applied.
134-
135-
Add Legacy Keyboard Interface demo, which shows usage of LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER. Add Custom Key Manager, which shows usage of injecting a TreeKeyManagerStrategy
136-
- disabled renamed to isDisabled.
137-
* CdkTreeNode#disabled deprecated and alias to CdkTreeNode#isDisabled
138-
### material
139-
| Commit | Type | Description |
140-
| -- | -- | -- |
141-
| [095947c8c](https://github.com/angular/components/commit/095947c8c3a79fecf4e56fc39ab61b0cc6e03eea) | fix | **button:** support palettes for icon button in M3 ([#29433](https://github.com/angular/components/pull/29433)) |
142-
| [e69b2b09e](https://github.com/angular/components/commit/e69b2b09efaf577cd5fe92b70808479f975913af) | fix | **chips:** fix focus issue ([#29427](https://github.com/angular/components/pull/29427)) |
143-
| [b116643a0](https://github.com/angular/components/commit/b116643a062749fa2c964820ae9f9c0e76c40717) | fix | **core:** require theme for option typography ([#29416](https://github.com/angular/components/pull/29416)) |
144-
| [92ab713a6](https://github.com/angular/components/commit/92ab713a65e2d622f975a6e610f981563a12b592) | fix | **tabs:** prevent tab header from collapsing when empty inside a drop list ([#29418](https://github.com/angular/components/pull/29418)) |
145-
| [ff36c80f9](https://github.com/angular/components/commit/ff36c80f9c7a14f0e9f36eafc3e1423d34e7c916) | fix | **tree:** add levelAccessor, childrenAccessor, TreeKeyManager; a11y and docs improvements ([#29062](https://github.com/angular/components/pull/29062)) |
146-
### cdk
147-
| Commit | Type | Description |
148-
| -- | -- | -- |
149-
| [565566151](https://github.com/angular/components/commit/565566151a7a68ee2956b96a5b8d6b48d4762ef9) | fix | **drag-drop:** remove preview after animate to placeholder animation completes ([#29439](https://github.com/angular/components/pull/29439)) |
150-
151-
<!-- CHANGELOG SPLIT MARKER -->
152-
153-
<a name="18.2.0-next.0"></a>
154-
# 18.2.0-next.0 "pumice-reverie" (2024-07-10)
155-
### cdk
156-
| Commit | Type | Description |
157-
| -- | -- | -- |
158-
| [b2c051d2c1](https://github.com/angular/components/commit/b2c051d2c1b67f4c149aee1573a4aceddb496157) | feat | **drag-drop:** add input to specify dragged item scale ([#29392](https://github.com/angular/components/pull/29392)) |
159-
### material
160-
| Commit | Type | Description |
161-
| -- | -- | -- |
162-
| [1f992d06c6](https://github.com/angular/components/commit/1f992d06c693a6e09332ac83d837c9ff8e1fdf7b) | fix | **tree:** aria-expanded attribute should not appear in the leaf node ([#29273](https://github.com/angular/components/pull/29273)) |
163-
164-
<!-- CHANGELOG SPLIT MARKER -->
165-
166115
<a name="18.1.0"></a>
167116
# 18.1.0 "coral-odyssey" (2024-07-10)
168117
### cdk

0 commit comments

Comments
 (0)