Releases: angular/angular
Releases Β· angular/angular
22.0.0-next.0
| Commit | Description |
|---|---|
| update minimum supported Node.js versions |
compiler
| Commit | Description |
|---|---|
Don't bind inputs/outputs for data- attributes |
|
| throw on duplicate input/outputs | |
| throw on invalid in expressions |
compiler-cli
| Commit | Description |
|---|---|
| always parenthesize object literals in TCB |
core
| Commit | Description |
|---|---|
add IdleRequestOptions support to IdleService |
|
Add a schematics to migrate provideHttpClient to keep using the HttpXhrBackend implementation. |
|
Add migration to add ChangeDetectionStrategy.Eager where applicable |
|
| add special return statuses for resource params | |
| add TestBed.getFixture | |
| support customization of @defer's on idle behavior | |
| Support optional timeout for idle deferred triggers | |
| bind global context to idle callback shims in @defer's idle service | |
| enhance AnimationCallbackEvent.animationComplete signature |
forms
| Commit | Description |
|---|---|
split the touched model into an input and touch output |
|
Untrack setValue in reactive forms |
http
| Commit | Description |
|---|---|
Use FetchBackend as default for the HttpBackend implementation |
language-service
| Commit | Description |
|---|---|
| Add support for idle timeout in defer blocks |
router
| Commit | Description |
|---|---|
| adds browserUrl input support to router links | |
remove deprecated provideRoutes function. |
upgrade
| Commit | Description |
|---|---|
remove getAngularLib/setAngularLib |
Breaking Changes
- Node.js v20 is no longer supported. The minimum supported Node.js versions are now v22.22.0 and v24.13.1.
compiler
- data prefixed attribute no-longer bind inputs nor outputs.
- The compiler will throw when there a when inputs, outputs or model are binding to the same input/outputs.
invariables will throw in template expressions.
core
- change AnimationCallbackEvent.animationComplete signature
http
- Use the
HttpXhrBackendwithprovideHttpClient(withXhr)if you want to keep supporting upload progress reports.
router
provideRoutes()has been removed. UseprovideRouter()orROUTESas multi token if necessary.
upgrade
- Deprecated
getAngularLib/setAngularLibhave been removed usegetAngularJSGlobal/setAngularJSGlobalinstead.
Deprecations
http
withFetchis now deprecated, it can be safely removed.
21.2.1
VSCode Extension: 21.2.2
- fix(extension): bundle TypeScript 5.9 internally (da57d1af73)
21.2.0
common
| Commit | Description |
|---|---|
| add an 'outlet' injector option for ngTemplateOutlet | |
| Add Location strategies to manage trailing slash on write | |
| support height in ImageLoaderConfig and built-in loaders |
compiler
compiler-cli
| Commit | Description |
|---|---|
| attach source spans to object literal keys in TCB | |
| support nested component declaration | |
| update diagnostic to flag no-op arrow functions in listeners |
core
| Commit | Description |
|---|---|
| add ChangeDetectionStrategy.Eager alias for Default | |
| add host node to DeferBlockData (#66546) | |
| add support for nested animations | |
| add support for TypeScript 6 | |
| resource composition via snapshots | |
| support arrow functions in expressions | |
| correctly handle SkipSelf when resolving from embedded view injector | |
| prevent animated element duplication with dynamic components in zoneless mode | |
| Remove note to skip arrow functions in best practices |
forms
| Commit | Description |
|---|---|
| add field param to submit action and onInvalid | |
| add form directive | |
| add parsing support to native inputs (#66917) | |
| Add passing focus options to form field | |
| allow setting submit options at form-level | |
| introduce parse errors in signal forms | |
| introduce SignalFormControl for Reactive Forms compatibility | |
| support binding null to number input (#66917) | |
| update submit function to accept options object | |
| clear parse errors when model updates (#66917) | |
| preserve custom-control focus context in signal forms | |
| preserve parse errors when parse returns value | |
| simplify design of parse errors | |
| sort error summary by DOM order | |
| support custom controls as host directives | |
| use consistent error format returned from parse | |
| warn when showing hidden field state |
language-server
language-service
| Commit | Description |
|---|---|
| add JSON schema for angularCompilerOptions | |
| add linked editing ranges for HTML tag synchronization | |
| use lightweight project warmup for Angular analysis |
router
| Commit | Description |
|---|---|
Add partial ActivatedRouteSnapshot information to canMatch params |
|
| [ |
21.1.6
common
| Commit | Description |
|---|---|
| fix LCP image detection with duplicate URLs |
compiler-cli
| Commit | Description |
|---|---|
| detect uninvoked functions in defer trigger expressions |
core
| Commit | Description |
|---|---|
| block creation of sensitive URI attributes from ICU messages |
Breaking Changes
core
-
Angular now only applies known attributes from HTML in translated ICU content. Unknown attributes are dropped and not rendered.
(cherry picked from commit 306f367)
20.3.17
19.2.19
VSCode Extension: 21.2.1
- perf(language-service): use lightweight project warmup for Angular analysis (d2137928e8)
21.2.0-rc.0
compiler
| Commit | Description |
|---|---|
| Exhaustive checks for switch blocks |
core
| Commit | Description |
|---|---|
| add support for TypeScript 6 | |
| prevent animated element duplication with dynamic components in zoneless mode |
forms
| Commit | Description |
|---|---|
| add parsing support to native inputs (#66917) | |
| support binding null to number input (#66917) | |
| clear parse errors when model updates (#66917) | |
| preserve custom-control focus context in signal forms | |
| support custom controls as host directives | |
| warn when showing hidden field state |