Releases: angular/angular
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-r
8000
eflect 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) |