yarn @angular/compiler-cli 13.0.0-next.12
v13.0.0-next.12

latest releases: 14.1.2, 14.2.0-next.1, 14.2.0-next.0...
10 months ago

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#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

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.

bazel

CommitDescription
fix - dbe656d1e0ngc-wrapped should not rely on linker for external workspaces (#43690)

compiler-cli

CommitDescription
fix - 263feba5c2handle nullable expressions correctly in the nullish coalescing extended template diagnostic (#43572)

core

CommitDescription
feat - c14085e434drop support for TypeScript 4.2 and 4.3 (#43642)
fix - 7fd0428aaedon't rethrow errors if test teardown has been disabled (#43635)

language-service

CommitDescription
feat - 69957f72e2provide snippets for attribute (#43590)

router

CommitDescription
fix - 2ab2a080b6unset attachRef when router-outlet is destroyed to avoid mounting a destroyed component (#43697)

service-worker

CommitDescription
feat - 59225f5586SwUpdate#activeUpdate and SwUpdate#checkForUpdate should have a meaningful outcome (#43668)
feat - 0dc45446feexpose more version update events (#43668)
fix - fddb50b597make 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

Don't miss a new compiler-cli release

NewReleases is sending notifications on new releases.