Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update @angular to v13 #150

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 6, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@angular/animations 8.2.14 -> 13.3.8 age adoption passing confidence
@angular/common 8.2.14 -> 13.3.8 age adoption passing confidence
@angular/compiler 8.2.14 -> 13.3.8 age adoption passing confidence
@angular/core 8.2.14 -> 13.3.8 age adoption passing confidence
@angular/forms 8.2.14 -> 13.3.8 age adoption passing confidence
@angular/platform-browser 8.2.14 -> 13.3.8 age adoption passing confidence
@angular/platform-browser-dynamic 8.2.14 -> 13.3.8 age adoption passing confidence
@angular/router 8.2.14 -> 13.3.8 age adoption passing confidence

Release Notes

angular/angular

v13.3.8

Compare Source

language-service
Commit Type Description
b4eb9ed884 fix Prevent TSServer from removing templates from project (#​45965)

Special Thanks

Andrew Scott, George Kalpakas and Joey Perrott

v13.3.7

Compare Source

core
Commit Type Description
73bbee2c0d perf allow checkNoChanges mode to be tree-shaken in production (#​45936)
language-service
Commit Type Description
5ca3bcf4f8 fix Add resource files as roots to their associated projects (#​45601)

Special Thanks

Andrew Kushnir, Andrew Scott, George Kalpakas, JayMartMedia, JoostK, Paul Gschwendtner, Ted.chang, Thomas Mair, Will 保哥, dario-piotrowicz, mgechev and ᚷᛁᛟᚱᚷᛁ ᛒᚨᛚᚨᚲᚻᚨᛞᛉᛖ

v13.3.6

Compare Source

Special Thanks

Andrew Kushnir, Andrew Scott, George Kalpakas, Paul Gschwendtner, Pawel Kozlowski, Ryan Day and dario-piotrowicz

v13.3.5

Compare Source

bazel
Commit Type Description
63398e0eb4 fix add this_is_bazel marker (#​45728)

Special Thanks

Andrew Kushnir, George Kalpakas, Joey Perrott and dario-piotrowicz

v13.3.4

Compare Source

core
Commit Type Description
9317f513d5 fix better error message when directive extends a component (#​45658)
4766817f02 fix improve multiple components match error (#​45645)
language-service
Commit Type Description
d68333e508 fix two-way binding completion should not remove the trailing quote (#​45582)

Special Thanks

Andrew Kushnir, Andrew Scott, George Kalpakas, Ilya Marchik, Jeremy Elbourn, Kristiyan Kostadinov, Louis Gombert, Mangalraj, Marko Kaznovac, Paul Gschwendtner, Saurabh Kamble, dario-piotrowicz and ivanwonder

v13.3.3

Compare Source

compiler
Commit Type Description
e50fd9ee87 fix avoid errors with extremely long instruction chains (#​45574)

Special Thanks

4javier, Andrew Kushnir, Cédric Exbrayat, Dylan Hunn, George Kalpakas, Hossein Mousavi, Jason Hendee, Joe Martin (Crowdstaffing), Kristiyan Kostadinov, Michael-Doner, Michal Materowski and Virginia Dooley

v13.3.2

Compare Source

animations
Commit Type Description
b46b25c562 fix handle structured AnimateTimings (#​31107)

Special Thanks

Alan Agius, Andrew Kushnir, Christoph Guttandin, Cédric Exbrayat, mgechev and piyush132000

v13.3.1

Compare Source

bazel
Commit Type Description
960e42b2ac fix ng module compilation workers are subject to linker race-conditions (#​45393)
compiler
Commit Type Description
3714305f84 fix scope css rules within @layer blocks (#​45396)
compiler-cli
Commit Type Description
7f53c0f4ac fix handle inline type-check blocks in nullish coalescing extended check (#​45478)

Special Thanks

AlirezaEbrahimkhani, Andrew Kushnir, Andrew Scott, Ben Brook, Dylan Hunn, George Kalpakas, JiaLiPassion, Joey Perrott, JoostK, Mike, Paul Gschwendtner, Willian Corrêa, arturovt, dario-piotrowicz, khai and mgechev

v13.3.0

Compare Source

core
Commit Type Description
b5bb614c74 feat support TypeScript 4.6 (#​45190)

Special Thanks

Alistair Kane, Andrew Scott and Kristiyan Kostadinov

v13.2.7

Compare Source

forms
Commit Type Description
eac94f0945 fix improve error message for invalid value accessors (#​45192)

Special Thanks

Alistair Kane, Amer Yousuf, Andrew Scott, Jessica Janiuk, Lee Cooper, alirezaghey and why520crazy

v13.2.6

Compare Source

compiler
Commit Type Description
6efa366e2c fix compute correct offsets when interpolations have HTML entities (#​44811)
language-service
Commit Type Description
9bce9ce89e fix Prioritize Angular-specific completions over DOM completions (#​45293)
service-worker
Commit Type Description
cff1c5622f fix file system hash in batch of 500 elements (#​45262)

Special Thanks

Andrew Scott, Anner Visser, Aristeidis Bampakos, JiaLiPassion, Joey Perrott, Kristiyan Kostadinov, Luca, Mladen Jakovljević, Paul Gschwendtner, Srikanth Kolli and nanda18

v13.2.5

Compare Source

animations
Commit Type Description
6c61d20476 fix allow animations with unsupported CSS properties (#​45185)
common
Commit Type Description
64da1daa78 fix canceled JSONP requests won't throw console error with missing callback function (#​36807)
56ca7d385b perf make NgLocalization token tree-shakable (#​45118) (#​45226)
compiler-cli
Commit Type Description
6c906a5bb9 fix Support resolve animation name from the DTS (#​45169)
core
Commit Type Description
e8fd452bd2 fix remove individual commands for updating gold files (#​45198)
82d772857c perf make Compiler, ApplicationRef and ApplicationInitStatus tree-shakable (#​45102) (#​45222)
71ff12c1cc perf make LOCALE_ID and other tokens from ApplicationModule tree-shakable (#​45102) (#​45222)
localize
Commit Type Description
d388522745 fix avoid imports into compiler-cli package (#​45180)

Special Thanks

Andrew Kushnir, Andrew Scott, Charles Lyding, Guillaume Bonnet, Jessica Janiuk, JoostK, Martin Sikora, Paul Gschwendtner, Theodore Brown, dario-piotrowicz and ivanwonder

v13.2.4

Compare Source

animations
Commit Type Description
1a4b489692 perf improve algorithm to balance animation namespaces (#​45113)
core
Commit Type Description
cbd23ee0de perf make IterableDiffers and KeyValueDiffers tree-shakable (#​45094) (#​45115)

Special Thanks

Alan Cohen, AlirezaEbrahimkhani, Andrew Kushnir, Daniele Maltese, David Wolf, JoostK, Paul Gschwendtner, dario-piotrowicz and manuelkroiss

v13.2.3

Compare Source

animations
Commit Type Description
0050b01b62 perf made errors in the animations package tree shakeable (#​45079)
compiler
Commit Type Description
09f0254bdd perf chain element start/end instructions (#​44994)
core
Commit Type Description
92cf9fbebe fix ViewContainerRef.createComponent should consult module injector when custom one is provided (#​44966)

Special Thanks

AlirezaEbrahimkhani, Amer Yousuf, Andrew Kushnir, Aristeidis Bampakos, Dario Piotrowicz, Esteban Gehring, Jessica Janiuk, JiaLiPassion, Kristiyan Kostadinov, Mina Hosseini Moghadam, Patrick Cameron, Srdjan Milic, Yousaf Nawaz, dario-piotrowicz, markostanimirovic, mgechev and zuckjet

v13.2.2

Compare Source

compiler
Commit Type Description
37af6abb49 fix allow banana-in-a-box bindings to end with non-null assertion (#​37809)
forms
Commit Type Description
b75e90f809 fix incorrectly keeping track of ngModel with ngFor inside a form (#​40459)
http
Commit Type Description
3fae6637e7 perf remove IE special status handling (#​44354)
upgrade
Commit Type Description
b9aab0c87b fix Do not trigger duplicate navigation events from Angular Router (#​43441)

Special Thanks

Alan Agius, Alan Cohen, Andrew Kushnir, Andrew Scott, Daniel Díaz, Dario Piotrowicz, Doug Parker, Jayson Acosta, Joey Perrott, JoostK, Kristiyan Kostadinov, Olivier Capuozzo, Ramzan, Shai Reznik, TANMAY SRIVASTAVA, dario-piotrowicz, iRealNirmal, jhonyeduardo, mgechev and zuckjet

v13.2.1

Compare Source

animations
Commit Type Description
4644886aaf perf remove no longer needed CssKeyframes classes (#​44903) (#​44919)
common
Commit Type Description
b4e4617807 fix include query parameters for open HTTP requests in verify (#​44917)
compiler-cli
Commit Type Description
0778e6f7d7 fix accept nullish coalescing operator for any and unknown types (#​44862)
07185f4ed1 fix enable nullish coalescing check only with strictNullChecks (#​44862)
4a5ad1793f fix ensure casing of logical paths is preserved (#​44798)
core
Commit Type Description
7ec482d9c2 fix Add back support for namespace URIs in createElement of dom renderer (#​44914)
250dc40a46 fix flush delayed scoping queue while setting up TestBed (#​44814)
forms
Commit Type Description
1aebbf8714 fix ensure OnPush ancestors are marked dirty when the promise resolves (#​44886)
6b7fffcbeb fix Update the typed forms migration schematic to find all files. (#​44881)

Special Thanks

Alan, Andrew Kushnir, Andrew Scott, Aristeidis Bampakos, Arjen, Daniel Díaz, David Shevitz, Doug Parker, Dylan Hunn, Esteban Gehring, George Kalpakas, Jessica Janiuk, JoostK, Juri Strumpflohner, Lee Robinson, Maarten Tibau, Paul Gschwendtner, Theodore Brown, arturovt, dario-piotrowicz, fru2, markostanimirovic and mgechev

v13.2.0

Compare Source

Deprecations

  • The CachedResourceLoader and RESOURCE_CACHE_PROVIDER symbols were previously necessary in some cases to test AOT-compiled components with View Engine, but they are no longer needed since Ivy.

  • The ComponentFactory and ComponentFactoryResolver classes are deprecated. Since Ivy, there is no need to resolve Component factories. Please use other APIs where you Component classes can be used directly (without resolving their factories).

  • Since Ivy, the CompilerOptions.useJit and CompilerOptions.missingTranslation config options are unused, passing them has no effect.

Commit Type Description
9c11183e74 docs deprecate CachedResourceLoader and RESOURCE_CACHE_PROVIDER symbols (#​44749)
9f12e7fea4 docs deprecate ComponentFactory and ComponentFactoryResolver symbols (#​44749)
4e95a316ce docs deprecate unused config options from the CompilerOptions interface (#​44749)
compiler
Commit Type Description
a4ab6d6b72 feat add support for safe calls in templates (#​44580)
abd1bc8039 fix correct spans when parsing bindings with comments (#​44785)
ed67a074ce fix properly compile DI factories when coverage reporting is enabled (#​44732)
compiler-cli
Commit Type Description
fa835b5a29 feat enable extended diagnostics by default (#​44712)
73424def13 feat provide the animations for DirectiveMeta (#​44630)
fe3e4d6865 fix Handle ng-template with structural directive in indexer (#​44788)
7316e72ec5 fix properly index elements when on a template (#​44785)
100091ebf0 fix remove leftover _extendedTemplateDiagnostics requirements (#​44777)
d2ae96f742 fix skip ExtendedTemplateCheckerImpl construction if there were configuration errors (#​44778)
core
Commit Type Description
5626b34264 fix consistently use namespace short name rather than URI (#​44766)
94bfcdd9de fix error if NgZone.isInAngularZone is called with a noop zone (#​44800)
forms
Commit Type Description
72092ebd26 feat Allow a FormControl to use initial value as default. (#​44434)
f7aa937cac fix Make some minor fixups for forward-compatibility with typed forms. (#​44540)
router
Commit Type Description
5a4ddfd4f5 feat Allow symbol keys for Route data and resolve properties (#​44519)

Special Thanks

Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Dario Piotrowicz, Derek Cormier, Doug Parker, Douglas Parker, Dylan Hunn, George Kalpakas, Jessica Janiuk, JoostK, Kristiyan Kostadinov, Martin Probst, Oleg Postoev, Stephanie Tuerk, Tim Bowersox, Wiley Marques, Yousaf Nawaz, dario-piotrowicz, iRealNirmal, ivanwonder and shejialuo

v13.1.3

Compare Source

animations
Commit Type Description
af0a152a2c fix apply setStyles to only rootTimelines (#​44515)
compiler-cli
Commit Type Description
626f3f230b perf reduce analysis work during incremental rebuilds (#​44731)
ngcc
Commit Type Description
f9ca4d8499 fix support element accesses for export declarations (#​44669)

Special Thanks

Alan Agius, Andrew Kushnir, AnkitSharma-007, Daniel Díaz, Dmytro Mezhenskyi, Jessica Janiuk, Joey Perrott, JoostK, Ramesh Thiruchelvam, dario-piotrowicz, iRealNirmal and Łukasz Holeczek

v13.1.2

Compare Source

animations
Commit Type Description
abc217b28e fix retain triggers values for moved tracked list items (#​44578)
compiler
Commit Type Description
59eef29a6c fix correct spans when parsing bindings with comments (#​44678)
compiler-cli
Commit Type Description
08049fa23f fix enable narrowing of using type guard methods (#​44447)
a26afce68c fix fix crash during type-checking of library builds (#​44587)
1e918b6f31 fix handle property reads of ThisReceiver in the indexer (#​44678)
63c8e56a3a fix incorrectly interpreting $any calls with a property read (#​44657)
60fb27f12d fix properly index elements (#​44678)
language-service
Commit Type Description
f5addee488 fix revert the test files for Ivy (#​44528)

Special Thanks

Abdurrahman Abu-Hijleh, Adam Plumer, Alex Rickabaugh, AlirezaEbrahimkhani, Andrew Kushnir, Andrew Scott, Borja Paz Rodríguez, Chihab Otmani, Chris Mancini, Dario Piotrowicz, Doug Parker, George Kalpakas, Joey Perrott, JoostK, Kristiyan Kostadinov, Kyoz, Patrick Prakash, Paul Gschwendtner, Serhey Dolgushev, Yousaf Nawaz, Yuchao Wu, alkavats1, dario-piotrowicz, huangqing, ivanwonder, shejialuo, twerske, wszgrcy and zuckjet

v13.1.1

Compare Source

animations
Commit Type Description
bb1d4ff315 fix don't consume instructions for animateChild (#​44357)
d8b6adb7bc fix should not invoke disabled child animations (#​37724)
forms
Commit Type Description
bce108ab49 fix _reduceValue arrow function now has correct types. (#​44483)
998c1e63fe fix I indroduced a minor error in a previous PR: pendingValue is a value not a boolean flag. (#​44450)

Special Thanks

Aristeidis Bampakos, Dylan Hunn, George Kalpakas, JoostK, Kristiyan Kostadinov, Paul Gschwendtner, Spej, Yousaf Nawaz, dario-piotrowicz, faso-dev, jaybell and zuckjet

v13.1.0

Compare Source

Deprecations

  • The downgradeModule function calls with NgModule factories are deprecated. Please use NgModule class based downgradeModule calls instead.
common
  • TestRequest from @angular/common/http/testing no longer
    accepts ErrorEvent when simulating XHR errors. Instead instances of
    ProgressEvent should be passed, matching with the native browser behavior.
Commit Type Description
dbc46d68b9 docs deprecate factory-based signature of the downgradeModule function (#​44090)
common
Commit Type Description
489cf42cd0 fix incorrect error type for XHR errors in TestRequest (#​36082)
13362972bb perf code size reduction of ngFor directive (#​44315)
compiler
Commit Type Description
c85bcb0c63 feat reference ICU message IDs from their placeholders (#​43534)
core
Commit Type Description
5dff077d50 feat add migration to remove entryComponents (#​44308)
e65a245a0b feat add migration to remove entryComponents (#​44322)
d56e3f43a1 feat support TypeScript 4.5 (#​44164)
http
Commit Type Description
d452b388bd feat add has() method to HttpContext class (#​43887)
localize
Commit Type Description
d3cf222a81 feat support "associated message ids" for placeholders (#​43534)
ngcc
Commit Type Description
41265919aa fix correctly resolve UMD dependencies (#​44381)
upgrade
Commit Type Description
34f990986c feat support NgModule class as an argument of the downgradeModule function (#​43973)

Special Thanks

Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Doug Parker, Dustin M. Eastway, Dylan Hunn, George Kalpakas, HyperLife1119, Jelle Bruisten, Jessica Janiuk, Joey Perrott, JoostK, Kristiyan Kostadinov, Markus Doggweiler, Paul Gschwendtner, Pei Wang, Pete Bacon Darwin and dario-piotrowicz

v13.0.3

Compare Source

compiler-cli
Commit Type Description
6cdbfdbe6e fix downlevel transform incorrectly extracting constructor parameters for nested classes (#​44281)
305b76b45f fix interpret string concat calls (#​44167)
core
Commit Type Description
0ca5c5bd09 fix add missing info about a component in the "pipe could not be found" error message (#​44081)
907da3977a fix destroy hooks not set up for useClass provider using forwardRef (#​44281)
bcd3b4959b fix support cyclic metadata in TestBed overrides (#​44215)
forms
Commit Type Description
96fedd249e fix make the FormControlStatus available as a public API (#​44183)
language-service
Commit Type Description
cabc1786de fix Correctly parse inputs and selectors with dollar signs (#​44268)
ngcc
Commit Type Description
b68994d20a fix correctly report error when collecting dependencies of UMD module (#​44245)
6f5c0c1515 fix ensure that ngcc does not write a lock-file into node_modules package directories (#​44228)
bf5f734e9c fix support the UMD wrapper function format emitted by Webpack (#​44245)
router
Commit Type Description
d265d0d241 fix prevent componentless routes from being detached (#​44240)

Special Thanks

Alan Agius, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Artur, Christian-E, David Shevitz, Doug Parker, Douglas Parker, Dylan Hunn, George Kalpakas, Jessica Janiuk, Joey Perrott, JoostK, Kristiyan Kostadinov, Marc Redemske, Paul Gschwendtner, Pei Wang, Pete Bacon Darwin, Ramesh Thiruchelvam, Ravi Chandra, Rohan Pednekar, Ruslan Usmanov, dario-piotrowicz, profanis and unknown

v13.0.2

Compare Source

This release contains various API docs improvements.

Special Thanks

Andrew Kushnir, Armen Vardanyan, Dylan Hunn, Joey Perrott, Martin von Gagern, Paul Gschwendtner, Pete Bacon Darwin, Ramesh Thiruchelvam, dario-piotrowicz and fusho-takahashi

v13.0.1

Compare Source

compiler
Commit Type Description
ee2031d9f4 fix ensure that partially compiled queries can handle forward references (#​44113)
e5a960b159 fix generate correct code for safe method calls (#​44088)
compiler-cli
Commit Type Description
dede29e4f3 fix ensure literal types are retained when strictNullInputTypes is disabled (#​38305)
04df3a0b92 fix handle pre-release versions when checking version (#​44109)
core
Commit Type Description
4c700b6244 fix do not use Function constructors in development mode to avoid CSP violations (#​43587)
platform-browser
Commit Type Description
30a27adf9a fix use correct parent in animation removeChild callback (#​44033)

Special Thanks

A. Singh, Alan Agius, Alex Rickabaugh, Andrew Kushnir, Andrew Scott, Aristeidis Bampakos, George Kalpakas, Joe Martin (Crowdstaffing), Joel Lefkowitz, Joey Perrott, JoostK, Kristiyan Kostadinov, Michael Urban, Paul Gschwendtner, Pavan Kumar Jadda, Pei Wang, Pete Bacon Darwin, Roman Frołow, dario-piotrowicz, iRealNirmal, ileil, kreuzerk, mgechev, profanis and raman

v13.0.0

Compare Source

Blog post "Angular v13 is now available".

Breaking Changes

common
  • The behavior of the SpyLocation used by the RouterTestingModule has changed
    to match the behavior of browsers. It no longer emits a 'popstate' event
    when Location.go is called. In addition, simulateHashChange now
    triggers both a hashchange and a popstate event.
    Tests which use location.go and expect the changes to be picked up by
    the Router should likely change to simulateHashChange instead.
    Each test is different in what it attempts to assert so there is no
    single change that works for all tests. Each test using the SpyLocation to
    simulate browser URL changes should be evaluated on a case-by-case basis.
core
  • TypeScript versions older than 4.4.2 are no longer supported.

  • NodeJS versions older than v12.20.0 are no longer
    supported due to the Angular packages using the NodeJS package exports
    feature with subpath patterns.

  • The WrappedValue class 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 using WrappedValue. The usage of
    WrappedValue should be removed as no replacement is available.

forms
  • A new type called FormControlStatus has been introduced, which is a union of all possible status strings for form controls. AbstractControl.status has been narrowed from string to FormControlStatus, and statusChanges has been narrowed from Observable<any> to Observable<FormControlStatus>. Most applications should consume the new types seamlessly. Any breakage caused by this change is likely due to one of the following two problems: (1) the app is comparing AbstractControl.status against a string which is not a valid status; or, (2) the app is using statusChanges events as if they were something other than strings.
router
  • The default url serializer would previously drop
    everything after and including a question mark in query parameters. That
    is, for a navigation to /path?q=hello?&other=123, the query
    params would be parsed to just {q: 'hello'}. This is
    incorrect because the URI spec allows for question mark characers in
    query data. This change will now correctly parse the params for the
    above example to be {v: 'hello?', other: '123'}.

  • Previously null and undefined inputs for routerLink were
    equivalent to empty string and there was no way to disable the link's
    navigation.
    In addition, the href is changed from a property HostBinding() to an
    attribute binding (HostBinding('attr.href')). The effect of this
    change is that DebugElement.properties['href'] will now return the
    href value returned by the native element which will be the full URL
    rather than the internal value of the RouterLink href property.

  • When storing and retrieving a DetachedRouteHandle, the Router traverses
    the Route children in order to correctly allow storing a parent route when
    there are several possible child Route configs that can be stored. This allows
    a RouteReuseStrategy to store a parent Route and a child, while preserving
    the ability to change the child route while restoring the parent. Some
    implementations of RouteReuseStrategy will need to be updated to correctly
    store and retrieve the DetachedRouteHandle of descendants as well as the stored
    parent ActivatedRouteSnapshot. Previously, the Router would only store
    the parent, making it impossible to change descendant paths when a stored parent
    was retrieved. See #​20114.

  • The router will no longer replace the browser URL when a new navigation
    cancels an ongoing navigation. This often causes URL flicker and was
    only in place to support some AngularJS hybrid applications. Hybrid
    applications which rely on the navigationId being present on initial
    navigations that were handled by the Angular router should instead
    subscribe to NavigationCancel events and perform the
    location.replaceState themselves to add navigationId to the Router
    state.
    In addition, tests which assert urlChanges on the SpyLocation may
    need to be adjusted to account for the replaceState which is no longer
    triggered.

  • It is no longer possible to use Route.loadChildren using a string
    value. The following supporting classes were removed from
    @angular/core:

  • NgModuleFactoryLoader

  • SystemJsNgModuleFactoryLoader

The @angular/router package no longer exports these symbols:

  • SpyNgModuleFactoryLoader
  • DeprecatedLoadChildren

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.

service-worker
  • The return type of SwUpdate#activateUpdate and SwUpdate#checkForUpdate changed to Promise<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

core
  • Angular no longer requires component factories to dynamically create components. The factory-based signature of the ViewContainerRef.createComponent function is deprecated in favor of a different signature that allows passing component classes instead.

  • The getModuleFactory function is deprecated in favor of the getNgModuleById one. With Ivy it's possible to work with NgModule classes directly, without retrieving corresponding factories, so the getNgModuleById should be used instead.

  • Ivy made it possible to avoid the need to resolve Component and NgModule factories. Framework APIs allow to use Component and NgModule Types directly. As a result, the PlatformRef.bootstrapModuleFactory and a factory-based signature of the ApplicationRef.bootstrap method are now obsolete and are now deprecated. The PlatformRef.bootstrapModuleFactory calls can be replaced with PlatformRef.bootstrapModule ones. The ApplicationRef.bootstrap method allows to provide Component Type, so this can be used a replacement for the factory-based calls.

  • In ViewEngine, JIT compilation required special providers (like Compiler, CompilerFactory, etc) to be injected in the app and corresponding methods to be invoked. With Ivy, JIT compilation takes place implicitly if the Component, NgModule, etc have not already been AOT compiled. Those special providers were made available in Ivy for backwards-compatibility with ViewEngine to make the transition to Ivy smoother. Since ViewEngine is deprecated and will soon be removed, those symbols are now deprecated as well:

  • ModuleWithComponentFactories

  • Compiler

  • CompilerFactory

  • JitCompilerFactory

  • NgModuleFactory

Important note: this deprecation doesn't affect JIT mode in Ivy (JIT remains available with Ivy).

  • In Ivy, AOT summary files are unused in TestBed. Passing AOT summary files in TestBed has no effect, so the aotSummaries usage in TestBed is deprecated and will be removed in a future version of Angular.
platform-server
  • The renderModuleFactory symbol in @angular/platform-server is no longer necessary as of Angular v13.

The renderModuleFactory calls can be replaced with renderModule.

service-worker
  • The SwUpdate#activated observable 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#availalbe observable 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.

Commit Type Description
747553dd68 docs deprecate ViewEngine-based renderModuleFactory (#​43757)
bazel
Commit Type Description
62d7005a52 feat add strict_templates and experimental_extended_template_diagnostics to ng_module() rule (#​43582)
d977701a43 feat allow for custom conditions to be set in ng_package targets (#​43764)
4886585875 feat create transition for enabling partial compilation (#​43431)
cd1b52483e feat expose esm2020 and es2020 conditions in APF package exports (#​43740)
49b82ae561 feat implement partial compilation APF v13 for ng_package rule (#​43431)
274cb38e0b feat switch prodmode output to ES2020 (#​43431)
73ac50c447 feat wire up partial compilation build setting in ng_module (#​43431)
e0a72857cc fix construct a manifest file even when warnings are emitted (#​43582)
dbe656d1e0 fix ngc-wrapped should not rely on linker for external workspaces (#​43690)
common
Commit Type Description
adf4481211 feat add injection token for default date pipe timezone (#​43611)
c6a93001eb fix synchronise location mock behavior with the navigators (#​41730)
compiler
Commit Type Description
14b492df26 fix do not error if $any is used inside a listener (#​43866)
compiler-cli
Commit Type Description
bed121c34f feat inline resources when generating class metadata calls (#​43178)
[2

Configuration

📅 Schedule: "after 10pm every weekday,before 4am every weekday,every weekend" in timezone UTC.

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot changed the title chore(deps): update @angular to v9 chore(deps): update @angular to v10 Jul 1, 2020
@renovate renovate bot changed the title chore(deps): update @angular to v10 chore(deps): update @angular to v11 Nov 27, 2020
@renovate renovate bot force-pushed the renovate/@angular branch 2 times, most recently from a1a8179 to 9c0d758 Compare January 10, 2021 15:56
@renovate renovate bot force-pushed the renovate/@angular branch 2 times, most recently from 86704f2 to de9fda4 Compare February 11, 2021 11:05
@renovate renovate bot force-pushed the renovate/@angular branch 2 times, most recently from 8fd4247 to 1b85470 Compare May 15, 2021 20:39
@renovate renovate bot changed the title chore(deps): update @angular to v11 chore(deps): update @angular to v12 May 15, 2021
@renovate renovate bot changed the title chore(deps): update @angular to v12 chore(deps): update @angular to v13 Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant