20.0.0-next.2 (2025-03-12)
common
Commit | Description |
---|---|
support equality function in httpResource (#60026) |
compiler
Commit | Description |
---|---|
incorrect spans for template literals (#60323) |
compiler-cli
Commit | Description |
---|---|
avoid fatal diagnostics for missing template files (#58673) | |
handle transformed classes when generating HMR code (#60298) |
core
Commit | Description |
---|---|
remove InjectFlags from public API (#60318) | |
add migration away from InjectFlags (#60318) | |
check whether application is destroyed before initializing event replay (#59789) | |
ensures immediate trigger fires properly with lazy loaded routes (#60203) | |
fix removal of a container reference used in the component file (#60210) | |
fix typing on injector.get to omit 'any' (#60202) | |
Surface errors from ApplicationRef.tick to callsite (#60102)
|
forms
Commit | Description |
---|---|
Make sure statusChanges is emitted (#57098) |
platform-browser
Commit | Description |
---|---|
Deprecate the HammerJS integration (#60257) |
platform-server
Commit | Description |
---|---|
add missing peer dependency for rxjs (#60308)
|
router
Commit | Description |
---|---|
Prevent dangling promise rejections from internal navigations (#60162) | |
update symbols (#60233) |
Breaking Changes
core
-
InjectFlags
has been removed.inject
no longer acceptsInjectFlags
.Injector.get
no longer acceptsInjectFlags
.EnvironmentInjector.get
no longer acceptsInjectFlags
.TestBed.get
no longer acceptsInjectFlags
.TestBed.inject
no longer acceptsInjectFlags
.
- The
any
overload has been removed from
injector.get
. It now only supportsProviderToken<T>
and (deprecated
since v4)string
. ApplicationRef.tick
will no longer catch and report
errors to the appplicationErrorHandler
. Errors will instead be thrown out of
the method and will allow callers to determine how to handle these
errors, such as aborting follow-up work or reporting the error and
continuing.
Deprecations
platform-browser
- HammerJS support is deprecated and will be removed in a future major version.