tree: fix issue where isExpanded wouldn't be set if placed before isExpandable (#29565)
18.2.0 "technetium-tapas" (2024-08-14)
Deprecations
material
Tree controller deprecated. Use one of levelAccessor or childrenAccessor instead. To be removed in a future version.
BaseTreeControl, TreeControl, FlatTreeControl, and NestedTreeControl deprecated
CdkTree#treeControl deprecated. Provide one of CdkTree#levelAccessor or CdkTree#childrenAccessor instead.
MatTreeFlattener deprecated. Use MatTree#childrenAccessor and MatTreeNode#isExpandable instead.
MatTreeFlatDataSource deprecated. Use one of levelAccessor or childrenAccessor instead of TreeControl.
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.
Setting tabindex of tree nodes deprecated. By default, Tree ignores tabindex passed to tree nodes.
MatTreeNode#tabIndex deprecated. MatTreeNode ignores Input tabIndex and manages its own focus behavior.
MatTreeNode#defaultTabIndex deprecated. MatTreeNode ignores defaultTabIndex and manages its own focus behavior.
MatNestedTreeNode#tabIndex deprecated. MatTreeNode ignores Input defaultTabIndex and manages its own focus behavior.
LegacyTreeKeyManager and LEGACY_TREE_KEY_MANAGER_FACTORY_PROVIDER deprecated. Inject a TreeKeyManagerFactory to customize keyboard behavior.
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.
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
disabled renamed to isDisabled.
CdkTreeNode#disabled deprecated and alias to CdkTreeNode#isDisabled
preserve type when using inject decorator (#57389)
19.0.0-next.1 (2024-08-22)
Breaking Changes
core
The autoDetect feature of ComponentFixture will now
attach the fixture to the ApplicationRef. As a result, errors during
automatic change detection of the fixture be reported to the ErrorHandler.
This change may cause custom error handlers to observe new failures that were previously unreported.
preserve type when using inject decorator (#57389)
19.0.0-next.0 (2024-08-14)
Breaking Changes
core
Errors that are thrown during ApplicationRef.tick
will now be rethrown when using TestBed. These errors should be
resolved by ensuring the test environment is set up correctly to
... (truncated)
Commits
980c64a docs: remove incorrect documentation around the use of timezone abbreviations...
513a4fe refactor(core): replace usages of removeChild (#57203)
3bdead1 refactor(docs-infra): migrate api-gen from dev-infra into the repo (#57241)
2d8635d refactor(docs-infra): migrate @angular/docs from dev-infra into adev director...
2c4613a fix(common): Don't run preconnect assertion on the server. (#56213)
229dd83 fix(common): typo in warning for NgOptimizedDirective (#56817)
6e1f78f perf(http): execute fetch outside of Angular zone (#56820)
d9fe17a refactor(common): Fire priority check on stable. (#56776)
b5c2e91 refactor(common): remove remaining code for NgSwitch equality patch (#56806)
preserve type when using inject decorator (#57389)
19.0.0-next.1 (2024-08-22)
Breaking Changes
core
The autoDetect feature of ComponentFixture will now
attach the fixture to the ApplicationRef. As a result, errors during
automatic change detection of the fixture be reported to the ErrorHandler.
This change may cause custom error handlers to observe new failures that were previously unreported.
preserve type when using inject decorator (#57389)
19.0.0-next.0 (2024-08-14)
Breaking Changes
core
Errors that are thrown during ApplicationRef.tick
will now be rethrown when using TestBed. These errors should be
resolved by ensuring the test environment is set up correctly to
... (truncated)
Commits
df3e9c1 refactor(migrations): leverage tsurge for signal input migration (#57451)
cb7d817 refactor(migrations): improve generic assignability in tsurge and pass more i...
57db366 refactor(migrations): framework to build batchable migrations (#57396)
4bd9ba7 docs(docs-infra): move link tag for correct view (#57395)
3b63082 fix(migrations): avoid migrating route component in tests (#57317)
9de30a7 fix(core): Allow zoneless scheduler to run inside fakeAsync (#56932)
6b4357f fix(migrations): preserve type when using inject decorator (#57389)
0bb649b fix(migrations): account for members with doc strings and no modifiers (#57389)
286012f fix(core): handle hydration of components that project content conditionally ...
e30c60e refactor(core): Add experimental support to have one event contract when ther...
Bumps the all-updates group with 21 updates in the / directory:
18.1.4
18.2.1
18.1.4
18.2.1
18.1.4
18.2.1
18.1.4
18.2.1
18.1.4
18.2.1
18.1.4
18.2.1
18.1.4
18.2.1
6.0.5-alpha.0
6.0.6
6.1.38
6.1.42
8.2.6
8.2.7
2.6.3
2.7.0
0.14.10
0.15.0
18.1.4
18.2.1
18.1.4
18.2.1
18.1.4
18.2.1
18.1.4
18.2.1
22.2.0
22.5.0
8.0.1
8.2.0
8.0.1
8.2.0
9.9.0
9.9.1
50.0.1
50.2.2
Updates
@angular/cdk
from 18.1.4 to 18.2.1Release notes
Sourced from
@angular/cdk
's releases.... (truncated)
Changelog
Sourced from
@angular/cdk
's changelog.... (truncated)
Commits
32e8b26
release: cut the v18.2.1 releasebad94fd
fix(material/datepicker): calendar font tokens not being picked up (#29610) (...5f0c890
fix(material/tabs): switch pagination to not use native buttons (#29605)3a2d13e
fix(cdk/drag-drop): preview positioned incorrectly when RTL is set on the bod...b2a32e9
fix(material/menu): inconsistent layout of submenu icon (#29603)f719693
build: use the new logo for the dev app favicon (#29598)d12512b
build: remove outdated--non-interactive
yarn option from doc site install ...c4c62b8
fix(material/icon): update error message for missing HttpClient (#29589)2caed5b
release: cut the v18.2.0 releasef7a0305
fix(material/tabs): allow for tablist aria-label and aria-labelledby to be se...Updates
@angular/common
from 18.1.4 to 18.2.1Release notes
Sourced from
@angular/common
's releases.... (truncated)
Changelog
Sourced from
@angular/common
's changelog.... (truncated)
Commits
980c64a
docs: remove incorrect documentation around the use of timezone abbreviations...513a4fe
refactor(core): replace usages of removeChild (#57203)3bdead1
refactor(docs-infra): migrate api-gen from dev-infra into the repo (#57241)2d8635d
refactor(docs-infra): migrate@angular/docs
from dev-infra into adev director...2c4613a
fix(common): Don't run preconnect assertion on the server. (#56213)229dd83
fix(common): typo in warning for NgOptimizedDirective (#56817)6e1f78f
perf(http): executefetch
outside of Angular zone (#56820)d9fe17a
refactor(common): Fire priority check on stable. (#56776)b5c2e91
refactor(common): remove remaining code for NgSwitch equality patch (#56806)Updates
@angular/core
from 18.1.4 to 18.2.1Release notes
Sourced from
@angular/core
's releases.... (truncated)
Changelog
Sourced from
@angular/core
's changelog.... (truncated)
Commits
df3e9c1
refactor(migrations): leverage tsurge for signal input migration (#57451)cb7d817
refactor(migrations): improve generic assignability in tsurge and pass more i...57db366
refactor(migrations): framework to build batchable migrations (#57396)4bd9ba7
docs(docs-infra): move link tag for correct view (#57395)3b63082
fix(migrations): avoid migrating route component in tests (#57317)9de30a7
fix(core): Allow zoneless scheduler to run insidefakeAsync
(#56932)6b4357f
fix(migrations): preserve type when using inject decorator (#57389)0bb649b
fix(migrations): account for members with doc strings and no modifiers (#57389)286012f
fix(core): handle hydration of components that project content conditionally ...e30c60e
refactor(core): Add experimental support to have one event contract when ther...Updates
@angular/forms
from 18.1.4 to 18.2.1Release notes
Sourced from
@angular/forms
's releases.... (truncated)
Changelog
Sourced from
@angular/forms
's changelog.