Skip to content

Releases: angular/angular

22.0.0-next.0

04 Mar 19:47

Choose a tag to compare

22.0.0-next.0 Pre-release
Pre-release

Commit Description
build - d550bf713a update minimum supported Node.js versions

compiler

Commit Description
fix - 488d962bc7 Don't bind inputs/outputs for data- attributes
fix - 03db2aefaa throw on duplicate input/outputs
fix - 786ef8261f throw on invalid in expressions

compiler-cli

Commit Description
fix - 2c87f21abe always parenthesize object literals in TCB

core

Commit Description
feat - 17d3ea44e2 add IdleRequestOptions support to IdleService
feat - 3bc095d508 Add a schematics to migrate provideHttpClient to keep using the HttpXhrBackend implementation.
feat - cb4cb77053 Add migration to add ChangeDetectionStrategy.Eager where applicable
feat - 2206efa55f add special return statuses for resource params
feat - 246a984a5d add TestBed.getFixture
feat - a5981b83a6 support customization of @defer's on idle behavior
feat - 98eb24cea0 Support optional timeout for idle deferred triggers
fix - f9d8da6924 bind global context to idle callback shims in @defer's idle service
refactor - b9b5c279b4 enhance AnimationCallbackEvent.animationComplete signature

forms

Commit Description
fix - fb166772d2 split the touched model into an input and touch output
fix - 2061fd8253 Untrack setValue in reactive forms

http

Commit Description
feat - 5c432fb8bb Use FetchBackend as default for the HttpBackend implementation

language-service

Commit Description
feat - c6f98c723c Add support for idle timeout in defer blocks

router

Commit Description
feat - 3683902234 adds browserUrl input support to router links
refactor - bdb6ae9dbc remove deprecated provideRoutes function.

upgrade

Commit Description
refactor - 01a179577b 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.
  • in variables will throw in template expressions.

core

  • change AnimationCallbackEvent.animationComplete signature

http

  • Use the HttpXhrBackend with provideHttpClient(withXhr) if you want to keep supporting upload progress reports.

router

  • provideRoutes() has been removed. Use provideRouter() or ROUTES as multi token if necessary.

upgrade

  • Deprecated getAngularLib/setAngularLib have been removed use getAngularJSGlobal/setAngularJSGlobal instead.

Deprecations

http

  • withFetch is now deprecated, it can be safely removed.

21.2.1

04 Mar 19:34

Choose a tag to compare

core

Commit Description
fix - e2e9a9a531 adds transfer cache to httpResource to fix hydration
fix - b4ec3cc4e4 prevent child animation elements from being orphaned
fix - e923d88398 Prevent removal of elements during drag and drop

http

Commit Description
fix - 277ade97ac correctly cache blob responses in transfer cache (#67002)

VSCode Extension: 21.2.2

04 Mar 20:41
05476ea

Choose a tag to compare

  • fix(extension): bundle TypeScript 5.9 internally (da57d1af73)

21.2.0

25 Feb 19:29

Choose a tag to compare

common

Commit Description
feat - 18003a33bb add an 'outlet' injector option for ngTemplateOutlet
feat - 8bbe6dc46c Add Location strategies to manage trailing slash on write
feat - 51cc914807 support height in ImageLoaderConfig and built-in loaders

compiler

Commit Description
feat - 72534e2a34 Add support for the instanceof binary operator
feat - 95b3f37d4a Exhaustive checks for switch blocks
feat - 04ba09a8d9 support AstVisitor.visitEmptyExpr()
fix - ce80136e7b optimize away unnecessary restore/reset view calls
fix - 3242a61bae variable counter visiting some expressions twice

compiler-cli

Commit Description
fix - 473dd3e1cb attach source spans to object literal keys in TCB
fix - a904d9f77b support nested component declaration
fix - 2ea6dfc6c9 update diagnostic to flag no-op arrow functions in listeners

core

Commit Description
feat - 8d5210c9fe add ChangeDetectionStrategy.Eager alias for Default
feat - 92d2498910 add host node to DeferBlockData (#66546)
feat - ea2016a6dc add support for nested animations
feat - 81cabc1477 add support for TypeScript 6
feat - 1ba9b7ac50 resource composition via snapshots
feat - d9923b72a2 support arrow functions in expressions
fix - a7e8abbb7e correctly handle SkipSelf when resolving from embedded view injector
fix - 0806ee3826 prevent animated element duplication with dynamic components in zoneless mode
fix - ed78fa05c7 Remove note to skip arrow functions in best practices

forms

Commit Description
feat - f56bb07d83 add field param to submit action and onInvalid
feat - ba009b6031 add form directive
feat - 22afbb2f36 add parsing support to native inputs (#66917)
feat - 95c386469c Add passing focus options to form field
feat - 95ecce8334 allow setting submit options at form-level
feat - ebae211add introduce parse errors in signal forms
feat - 3937afc316 introduce SignalFormControl for Reactive Forms compatibility
feat - 30f0914754 support binding null to number input (#66917)
feat - dd208ca259 update submit function to accept options object
fix - 27397b3f4f clear parse errors when model updates (#66917)
fix - 63d8005703 preserve custom-control focus context in signal forms
fix - 631f60d1f9 preserve parse errors when parse returns value
fix - adfb83146b simplify design of parse errors
fix - fb05fc86d0 sort error summary by DOM order
fix - 567f292e8e support custom controls as host directives
fix - bdfb60f3e3 use consistent error format returned from parse
fix - d75046bc09 warn when showing hidden field state

language-server

Commit Description
feat - ebc90c26f5 Add completions and hover info for inline styles
feat - 26fd0839c3 Add folding range support for inline styles
feat - 573aadef7e Add quick info for inline styles
feat - 6fb39d9b62 Support client-side file watching via onDidChangeWatchedFiles

language-service

Commit Description
feat - 496967e7b1 add JSON schema for angularCompilerOptions
feat - 8c21866f49 add linked editing ranges for HTML tag synchronization
perf - d2137928e8 use lightweight project warmup for Angular analysis

router

Commit Description
feat - b51bab583d Add partial ActivatedRouteSnapshot information to canMatch params
[feat - cf9620f7d0](https://github.com/angular/angular/commi...
Read more

21.1.6

25 Feb 19:20

Choose a tag to compare

common

Commit Description
fix - 31d3d56496 fix LCP image detection with duplicate URLs

compiler-cli

Commit Description
fix - 24b578ce90 detect uninvoked functions in defer trigger expressions

core

Commit Description
fix - b858309532 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

25 Feb 20:05

Choose a tag to compare

core

Commit Description
fix - 7f9de3c118 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 03da204)

19.2.19

25 Feb 20:43

Choose a tag to compare

core

Commit Description
fix - 747548721d 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 03da204)

VSCode Extension: 21.2.1

25 Feb 23:35

Choose a tag to compare

  • perf(language-service): use lightweight project warmup for Angular analysis (d2137928e8)

21.2.0-rc.0

18 Feb 22:38

Choose a tag to compare

21.2.0-rc.0 Pre-release
Pre-release

compiler

Commit Description
feat - 95b3f37d4a Exhaustive checks for switch blocks

core

Commit Description
feat - 81cabc1477 add support for TypeScript 6
fix - 0806ee3826 prevent animated element duplication with dynamic components in zoneless mode

forms

Commit Description
feat - 22afbb2f36 add parsing support to native inputs (#66917)
feat - 30f0914754 support binding null to number input (#66917)
fix - 27397b3f4f clear parse errors when model updates (#66917)
fix - 63d8005703 preserve custom-control focus context in signal forms
fix - 567f292e8e support custom controls as host directives
fix - d75046bc09 warn when showing hidden field state

21.1.5

18 Feb 22:22

Choose a tag to compare

No user facing changes in this release