13.0.0-rc.0 (2021-10-13)
Deprecations
- The
renderModuleFactorysymbol in@angular/platform-serveris no longer necessary as of Angular v13.
The renderModuleFactory calls can be replaced with renderModule.
| Commit | Description |
|---|---|
deprecate ViewEngine-based renderModuleFactory (#43757) |
core
| Commit | Description |
|---|---|
| avoid duplicating comments in TestBed teardown migration (#43776) |
Special Thanks
Alan Agius, Andrew Scott, Daniel Díaz, David Shevitz, Doug Parker, George Kalpakas, Joe Martin (Crowdstaffing), Joey Perrott, Kristiyan Kostadinov, Paul Gschwendtner, Tanguy Nodet, Thomas Turrell-Croft, dario-piotrowicz, hchiam, markostanimirovic and mgechev
Assets
2
12.2.10 (2021-10-13)
Special Thanks
Alan Agius, Daniel Díaz, David Shevitz, Doug Parker, George Kalpakas, Joe Martin (Crowdstaffing), Tanguy Nodet, Thomas Turrell-Croft, dario-piotrowicz, hchiam, markostanimirovic and mgechev
Assets
2
13.0.0-next.15 (2021-10-07)
bazel
| Commit | Description |
|---|---|
allow for custom conditions to be set in ng_package targets (#43764) |
Special Thanks
Dylan Hunn and Paul Gschwendtner
Assets
2
13.0.0-next.14 (2021-10-06)
common
| Commit | Description |
|---|---|
| add injection token for default date pipe timezone (#43611) |
Special Thanks
Alex Rickabaugh, Dylan Hunn, Kristiyan Kostadinov and Pete Bacon Darwin
Assets
2
13.0.0-next.13 (2021-10-06)
Breaking Changes
core
- NodeJS versions older than
v12.20.0are no longer
supported due to the Angular packages using the NodeJS package exports
feature with subpath patterns.
bazel
| Commit | Description |
|---|---|
expose esm2020 and es2020 conditions in APF package exports (#43740) |
core
| Commit | Description |
|---|---|
| update node version support range to support v16 (#43740) |
Special Thanks
Alan Agius, Andrew Kushnir, George Kalpakas, Kristiyan Kostadinov, Paul Gschwendtner, Pete Bacon Darwin and dario-piotrowicz
Assets
2
13.0.0-next.12 (2021-10-05)
Breaking Changes
core
- TypeScript versions older than 4.4.2 are no longer supported.
service-worker
- The return type of
SwUpdate#activateUpdateandSwUpdate#checkForUpdatechanged toPromise<boolean>.
Although unlikely, it is possible that this change will cause TypeScript type-checking to fail in
some cases. If necessary, update your types to account for the new
return type.
Deprecations
service-worker
- The
SwUpdate#activatedobservable is deprecated.
The SwUpdate#activated observable only emits values as a direct response to calling
SwUpdate#activateUpdate() and was only useful for determining whether the call resulted in an
update or not. Now, the return value of SwUpdate#activateUpdate() can be used to determine the
outcome of the operation and therefore using SwUpdate#activated does not offer any benefit.
- The
SwUpdate#availalbeobservable is deprecated.
The new SwUpdate#versionUpdates observable provides the same information and more. Therefore, it
is possible to rebuild the same behavior as SwUpdate#availalbe using the events emitted by
SwUpdate#versionUpdates and filtering for VersionReadyEvent events.
As a result, the SwUpdate#availalbe observable is now redundant.
bazel
| Commit | Description |
|---|---|
| ngc-wrapped should not rely on linker for external workspaces (#43690) |
compiler-cli
| Commit | Description |
|---|---|
| handle nullable expressions correctly in the nullish coalescing extended template diagnostic (#43572) |
core
| Commit | Description |
|---|---|
| drop support for TypeScript 4.2 and 4.3 (#43642) | |
| don't rethrow errors if test teardown has been disabled (#43635) |
language-service
| Commit | Description |
|---|---|
| provide snippets for attribute (#43590) |
router
| Commit | Description |
|---|---|
| unset attachRef when router-outlet is destroyed to avoid mounting a destroyed component (#43697) |
service-worker
| Commit | Description |
|---|---|
SwUpdate#activeUpdate and SwUpdate#checkForUpdate should have a meaningful outcome (#43668) |
|
| expose more version update events (#43668) | |
make ngsw.json generation deterministic and correct (#43679) |
Special Thanks
Alan Agius, Andrew Scott, Doug Parker, George Kalpakas, Kristiyan Kostadinov, Maximilian Köller, Paul Gschwendtner, Wey-Han Liaw and ivanwonder
Assets
2
12.2.9 (2021-10-06)
core
| Commit | Description |
|---|---|
| handle invalid constructor parameters in partial factory declarations (#43619) |
router
| Commit | Description |
|---|---|
| unset attachRef when router-outlet is destroyed to avoid mounting a destroyed component (#43697) |
service-worker
| Commit | Description |
|---|---|
make ngsw.json generation deterministic and correct (#43679) |
Special Thanks
Alan Agius, Daniel Díaz, George Kalpakas, JoostK, Kristiyan Kostadinov, Pete Bacon Darwin, Wey-Han Liaw, dario-piotrowicz, iRealNirmal, little-pinecone, mgechev, ultrasonicsoft and xiaohanxu-nick
Assets
2
13.0.0-next.11 (2021-10-04)
core
| Commit | Description |
|---|---|
add createNgModuleRef function to create NgModuleRef based on NgModule class (#43580) |
|
add getNgModuleById function to retrieve loaded NgModules by id (#43580) |
|
| add migration to opt out existing apps from new test module teardown behavior (#43353) | |
| enable test module teardown by default (#43353) |
Special Thanks
Andrew Kushnir, Andrew Scott, Charles Lyding, George Kalpakas, Joey Perrott, JoostK, Kristiyan Kostadinov, dario-piotrowicz, iRealNirmal, mgechev and ultrasonicsoft
Assets
2
13.0.0-next.10 (2021-10-01)
Breaking Changes
core
- The
WrappedValueclass can no longer be imported from@angular/core,
which may result in compile errors or failures at runtime if outdated
libraries are used that are still usingWrappedValue. The usage of
WrappedValueshould be removed as no replacement is available.
bazel
| Commit | Description |
|---|---|
| create transition for enabling partial compilation (#43431) | |
implement partial compilation APF v13 for ng_package rule (#43431) |
|
| switch prodmode output to ES2020 (#43431) | |
wire up partial compilation build setting in ng_module (#43431) |
core
| Commit | Description |
|---|---|
| handle invalid constructor parameters in partial factory declarations (#43619) | |
remove support for the deprecated WrappedValue (#43507) |
Special Thanks
Daniel Díaz, George Kalpakas, JoostK, Paul Gschwendtner, Pete Bacon Darwin, dario-piotrowicz, little-pinecone and xiaohanxu-nick
Assets
2
13.0.0-next.9 (2021-09-30)
Breaking Changes
router
-
It is no longer possible to use
Route.loadChildrenusing a string
value. The following supporting classes were removed from
@angular/core: -
NgModuleFactoryLoader -
SystemJsNgModuleFactoryLoader
The @angular/router package no longer exports these symbols:
SpyNgModuleFactoryLoaderDeprecatedLoadChildren
The signature of the setupTestingRouter function from
@angular/core/testing has been changed to drop its NgModuleFactoryLoader
parameter, as an argument for that parameter can no longer be created.
bazel
| Commit | Description |
|---|---|
add strict_templates and experimental_extended_template_diagnostics to ng_module() rule (#43582) |
|
| construct a manifest file even when warnings are emitted (#43582) |
compiler-cli
| Commit | Description |
|---|---|
correctly interpret token arrays in @Injectable deps (#43226) |
|
| not evaluating new signature for __spreadArray (#43618) |
core
| Commit | Description |
|---|---|
| add support for Types in ViewContainerRef.createComponent (#43022) | |
| incorrect signature for initTestEnvironment (#43615) |
language-service
| Commit | Description |
|---|---|
| provide dom event completions (#43299) |
ngcc
| Commit | Description |
|---|---|
do not fail for packages which correspond with Object members (#43589) |
router
| Commit | Description |
|---|---|
| emit activate/deactivate events when an outlet gets attached/detached (#43333) | |
remove support for loadChildren string syntax (#43591) |
Special Thanks
Adrien Crivelli, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Bobby Galli, Charles Lyding, Chris, Daniel Díaz, Dmitrij Kuba, Doug Parker, JoostK, Kristiyan Kostadinov, Pete Bacon Darwin, Rafael Santana, Raj Sekhar, Ricardo Chavarria, Teri Glover, dario-piotrowicz, enisfr and wszgrcy

