Releases: angular/angular
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.
19.2.8
20.0.0-next.7
common
Commit | Description |
---|---|
issue a warning instead of an error when NgOptimizedImage exceeds the preload limit (#60879) |
core
Commit | Description |
---|---|
Add provider which reports unhandled errors on window to ErrorHandler (#60704) | |
expose performance data in Chrome DevTools (#60789) | |
mark linkedSignal API as public (#60865) | |
stabilize incremental hydration api (#60888) | |
stabilize withI18nSupport() api (#60889) | |
inject migration: replace param with this. (#60713) |
http
Commit | Description |
---|---|
Include HTTP status code and headers when HTTP requests errored in httpResource (#60802) |
19.2.7
common
Commit | Description |
---|---|
issue a warning instead of an error when NgOptimizedImage exceeds the preload limit (#60883) |
core
Commit | Description |
---|---|
inject migration: replace param with this. (#60713) |
http
Commit | Description |
---|---|
Include HTTP status code and headers when HTTP requests errored in httpResource (#60802) |
20.0.0-next.6
compiler
Commit | Description |
---|---|
add extended diagnostic for uninvoked track function on @for blocks (#60495) |
compiler-cli
Commit | Description |
---|---|
ensure HMR works with different output module type (#60797) |
core
Commit | Description |
---|---|
mark toObservable as stable (#60449) |
|
stabilize linkedSignal API (#60741) | |
Stabilize PendingTasks Injectable (#60716) | |
fix docs for output migration (#60764) | |
fix ng generate @angular/core:output-migration. Fixes #58650 (#60763) | |
Flush animations when no component has been checked (#58089) | |
reduce total memory usage of various migration schematics (#60774) | |
run ApplicationRef.prototype.bootstrap in NgZone (#60720) |
http
Commit | Description |
---|---|
Delay stabilization until next app synchronization (#60656) |
language-service
Commit | Description |
---|---|
Do not provide element completions in end tag (#60616) | |
Ensure dollar signs are escaped in completions (#60597) |
Breaking Changes
core
- Animations are guaranteed to be flushed when Angular
runs automatic change detection or manual calls toApplicationRef.tick
.
Prior to this change, animations would not be flushed in some situations
if change detection did not run on any views attached to the
application. This change can affect tests which may rely on the old
behavior, often by making assertions on DOM elements that should have
been removed but weren't because DOM removal is delayed until animations
are flushed.
19.2.6
compiler
Commit | Description |
---|---|
error if rawText isn't estimated correctly (#60529) (#60753) |
compiler-cli
Commit | Description |
---|---|
ensure HMR works with different output module type (#60797) |
core
Commit | Description |
---|---|
fix docs for output migration (#60764) | |
fix ng generate @angular/core:output-migration. Fixes #58650 (#60763) | |
reduce total memory usage of various migration schematics (#60776) |
language-service
Commit | Description |
---|---|
Do not provide element completions in end tag (#60616) | |
Ensure dollar signs are escaped in completions (#60597) |