(test only) - TestBed now provides a fake PlatformLocation
implementation that supports the Navigation API. This may break some
tests, though we have not observed any failures internally. You can revert to the
old default for TestBed by providing the MockPlatformLocation from
@angular/common/testing in your providers:
{provide: PlatformLocation, useClass: MockPlatformLocation}
ngComponentOutletContent is now of type Node[][] | undefined instead of any[][] | undefined.
NgModuleFactory has been removed, use NgModule instead.
compiler-cli
Previously hidden type issues in host bindings may show up in your builds. Either resolve the type issues or set "typeCheckHostBindings": false in the angularCompilerOptions section of your tsconfig.
The Angular compiler now produces an error when the
the emitDeclarationOnly TS compiler option is enabled as this mode is
not supported.
core
The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.
A schematic is provided to automatically update main.server.ts files to pass the BootstrapContext to the bootstrapApplication call.
In addition, getPlatform() and destroyPlatform() will now return null and be a no-op respectively when running in a server environment.
Using a combination of provideZoneChangeDetection
while also removing ZoneJS polyfills will no longer result in the
internal scheduler being disabled. All Angular applications now
consistenly use the same scheduler, and those with the Zone change detection
provider include additional automatic scheduling behaviors based on
(test only) - TestBed now provides a fake PlatformLocation
implementation that supports the Navigation API. This may break some
tests, though we have not observed any failures internally. You can revert to the
old default for TestBed by providing the MockPlatformLocation from
@angular/common/testing in your providers:
{provide: PlatformLocation, useClass: MockPlatformLocation}
ngComponentOutletContent is now of type Node[][] | undefined instead of any[][] | undefined.
NgModuleFactory has been removed, use NgModule instead.
compiler-cli
Previously hidden type issues in host bindings may show up in your builds. Either resolve the type issues or set "typeCheckHostBindings": false in the angularCompilerOptions section of your tsconfig.
The Angular compiler now produces an error when the
the emitDeclarationOnly TS compiler option is enabled as this mode is
not supported.
core
The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.
A schematic is provided to automatically update main.server.ts files to pass the BootstrapContext to the bootstrapApplication call.
In addition, getPlatform() and destroyPlatform() will now return null and be a no-op respectively when running in a server environment.
Using a combination of provideZoneChangeDetection
while also removing ZoneJS polyfills will no longer result in the
internal scheduler being disabled. All Angular applications now
consistenly use the same scheduler, and those with the Zone change detection
provider include additional automatic scheduling behaviors based on
... (truncated)
Commits
00ffe91 refactor(common): removes unused NgModuleFactory config in NgComponentOutlet
8765b66 docs: add reference to Built-in Pipes in multiple pipe files
ab98e71 fix(common): remove placeholder image listeners once view is removed
8ab0847 refactor(core): mark VERSION as @__PURE__ for better tree-shaking
650af71 refactor(http): migrate XSRF classes to use inject() function
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps the angular group with 12 updates:
20.3.1021.0.020.2.1221.0.020.3.1021.0.020.3.1021.0.020.3.1021.0.020.3.1021.0.020.2.1221.0.020.3.1021.0.020.3.1021.0.020.3.1021.0.020.3.1021.0.020.3.921.0.0Updates
@angular/animationsfrom 20.3.10 to 21.0.0Release notes
Sourced from
@angular/animations's releases.... (truncated)
Changelog
Sourced from
@angular/animations's changelog.... (truncated)
Commits
3bed9f0build: format md filesa4fe078refactor(common): remove unused import (#64699)70332b0fix(core): pass element removal property through in all locations (#64565)2b257b3fix(animations): account forElement.animateexceptions (#64506)dde5badfix(core): prevent animations renderer from impactinganimate.leave(#63921)c357650refactor(core): Update tests for zoneless by default (#63668)021ead5refactor(animations): remove dependency on@angular/common(#63248)2fcafb6build: rename defaults2.bzl to defaults.bzl (#63383)Updates
@angular/cdkfrom 20.2.12 to 21.0.0Release notes
Sourced from
@angular/cdk's releases.... (truncated)
Changelog
Sourced from
@angular/cdk's changelog.... (truncated)
Commits
5c82f69release: cut the v21.0.0 releasec54e9ebbuild: bump to v21 final (#32378)e7dd78arelease: cut the v21.0.0-rc.3 release6234d82fix(cdk/overlay): update golden file (#32367)a1b6337refactor(cdk/overlay): enhance popover insertion control with new inputs (#32...127d3dbfix(aria/combobox): escape key behavior (#32364)41132d0refactor(cdk/overlay): insert point-connected overlays in container (#32358)b760d60refactor(material/button): adjust icon query (#32355)610baa4docs(aria/toolbar): expose selected values model (#32356)bac171dfix(aria/toolbar): allow developers to wrap widgets (#32341)Updates
@angular/commonfrom 20.3.10 to 21.0.0Release notes
Sourced from
@angular/common's releases.... (truncated)
Changelog
Sourced from
@angular/common's changelog.... (truncated)
Commits
00ffe91refactor(common): removes unused NgModuleFactory config in NgComponentOutlet8765b66docs: add reference to Built-in Pipes in multiple pipe filesab98e71fix(common): remove placeholder image listeners once view is removed8ab0847refactor(core): markVERSIONas@__PURE__for better tree-shaking650af71refactor(http): migrate XSRF classes to use inject() function3bed9f0build: format md filesa3c2fe8Revert "refactor(common): Removes unused imports to clean up dependencies"6d3e0f1refactor(common): Removes unused imports to clean up dependencies47578e0refactor(common): remove redundantprovidedIn: 'root'from injection tokens6de14b1refactor(http): simplifies destruction tracking using destroyed propertyUpdates
@angular/compilerfrom 20.3.10 to 21.0.0Release notes
Sourced from
@angular/compiler's releases.Preserved GitLab !17 history: source attribution, exact timestamps, discussion grouping and review positions. Historical diff snapshots: 1; visible source notes: 0.
gitlab-20-mergerequest-17.md (SHA-256
643a09ae9d9811342210f08f6b939d4d902874e62f86099f52906e73bd351d03)gitlab-20-mergerequest-17.json (SHA-256
d14fc4e5ec2b1e1b0c23b7bf1165efa105e02790c57d2584877ce3a817d7228c)Old CI job execution and reports are omitted. Original source files and rollback backups remain protected.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.