Releases: angular/angular
19.2.13
20.0.0-rc.2
common
Commit | Description |
---|---|
cancel reader when app is destroyed (#61528) | |
prevent reading chunks if app is destroyed (#61354) |
compiler
Commit | Description |
---|---|
avoid conflicts between HMR code and local symbols (#61550) |
compiler-cli
Commit | Description |
---|---|
Always retain prior results for all files (#61487) | |
avoid ECMAScript private field metadata emit (#61227) |
core
Commit | Description |
---|---|
cleanup rxResource abort listener (#58306) |
|
cleanup testability subscriptions (#61261) | |
getting resource value throws an error instead of returning undefined (#61441) | |
handle different DI token types in Chrome DevTools integration (#61333) | |
move reload method from Resource to WritableResource (#61441) | |
narrow error type for resources API (#61441) | |
reading resource value after reload in the error state (#61441) | |
TestBed.tick should ensure test components are synchronized (#61382) | |
Testing should not throw when Zone does not patch test FW APIs (#61376) | |
unregister onDestroy in toSignal . (#61514) |
|
update min Node.js support to 20.19, 22.12, and 24.0 (#61500) |
platform-browser
Commit | Description |
---|---|
Deprecate the platform-browser-dynamic package (#61043) |
platform-server
Commit | Description |
---|---|
speed up resolution of base (#61392) |
Deprecations
platform-browser
- All entries of the
@angular/platform-browser-dynamic
19.2.12
common
Commit | Description |
---|---|
cancel reader when app is destroyed (#61528) | |
prevent reading chunks if app is destroyed (#61354) |
compiler
Commit | Description |
---|---|
avoid conflicts between HMR code and local symbols (#61550) |
compiler-cli
Commit | Description |
---|---|
Always retain prior results for all files (#61487) | |
avoid ECMAScript private field metadata emit (#61227) |
core
Commit | Description |
---|---|
cleanup rxResource abort listener (#58306) |
|
cleanup testability subscriptions (#61261) | |
enable stashing only when withEventReplay() is invoked (#61352) |
|
Testing should not throw when Zone does not patch test FW APIs (#61376) | |
unregister onDestroy in toSignal . (#61514) |
platform-server
Commit | Description |
---|---|
speed up resolution of base (#61392) |
20.0.0-rc.1
compiler
Commit | Description |
---|---|
incorrectly handling let declarations inside i18n (#60512) | |
reduce allocations for let declarations only used in the same view (#60512) |
compiler-cli
Commit | Description |
---|---|
avoid fatal diagnostics for invalid module schemas (#61220) |
core
Commit | Description |
---|---|
enable stashing only when withEventReplay() is invoked (#61077) |
19.2.11
20.0.0-rc.0
19.2.10
common
Commit | Description |
---|---|
cleanup updateLatestValue if view is destroyed before promise resolves (#61064) |
core
Commit | Description |
---|---|
missing useExisting providers throwing for optional calls (#61152) | |
properly handle app stabilization with defer blocks (#61056) |
platform-server
Commit | Description |
---|---|
less aggressive ngServerMode cleanup (#61106) |
20.0.0-next.9
common
Commit | Description |
---|---|
Allow passing ScrollOptions to ViewportScroller (#61002) | |
rename httpResource function in factory (#60022) |
compiler-cli
Commit | Description |
---|---|
detect missing structural directive imports (#59443) |
core
Commit | Description |
---|---|
introduce TestBed.tick() (#60993) | |
move provideExperimentalCheckNoChangesForDebug to provideCheckNoChangesConfig (#60906) |
|
rename afterRender to afterEveryRender and stabilize (#60999) | |
async EventEmitter error should not prevent stability (#61028) | |
prevent stash listener conflicts (#59635) | |
stop producing ng-reflect attributes by default (#60973) |
http
Commit | Description |
---|---|
add keepalive support for fetch requests (#60621) |
Breaking Changes
core
-
the
TestBed.flushEffects()
was removed - use
theTestBed.tick()
instead. -
provideExperimentalCheckNoChangesForDebug
has several
breaking changes:- It is renamed to
provideCheckNoChangesConfig
- The behavior applies to all checkNoChanges runs
- The
useNgZoneOnStable
option is removed. This wasn't found to be generally
more useful thaninterval
- It is renamed to
-
afterRender was renamed to afterEveryRender.
-
This commit deprecates
ng-reflect-*
attributes and updates the runtime to stop producing them by default. Please refactor application and test code to avoid relying onng-reflect-*
attributes.To enable a more seamless upgrade to v20, we've added the
provideNgReflectAttributes()
function (can be imported from the@angular/core
package), which enables the mode in which Angular would be producing those attribites (in dev mode only). You can add theprovideNgReflectAttributes()
function to the list of providers within the bootstrap call.
19.2.9
20.0.0-next.8
compiler
Commit | Description |
---|---|
support the in keyword in Binary expression (#58432) |
core
Commit | Description |
---|---|
Move zoneless change detection to dev preview (#60748) | |
do not run change detection on global error events (#60944) | |
inject migration should treat @Attribute as optional (#60916) |
forms
Commit | Description |
---|---|
make NgForm emit FormSubmittedEvent and FormResetEvent (#60887) |
platform-server
Commit | Description |
---|---|
deprecate the testing entry point (#60915) |
router
Commit | Description |
---|---|
add asynchronous redirects (#60863) | |
relax required types on router commands to readonly array (#60345) |
Breaking Changes
compiler
- 'in' in an expression now refers to the operator
core
provideExperimentalZonelessChangeDetection
is
renamed toprovideZonelessChangeDetection
as it is now "Developer
Preview" rather than "Experimental".
router
- The
RedirectFn
can now returnObservable
or
Promise
. Any code that directly calls functions returning this type
may need to be adjusted to account for this. - Several methods in the public API of the Router which
required writable arrays have now been updated to accept readonly
arrays when no mutations are done.
Deprecations
platform-server
-
@angular/platform-server/testing
Use e2e tests to verify SSR behavior instead.