Skip to content

Releases: angular/angular

VSCode Extension: 22.0.1

11 Jun 18:26
Immutable release. Only release title and notes can be modified.
3013982

Choose a tag to compare

  • fix(vscode-extension): resolve relative workspace tsdk paths to absolute (f6695b0eb2)
  • fix(language-service): prevent external template inlay hints from appearing in TS files (43a0e28729)
  • fix(vscode-extension): inspect tsdk configurations correctly (102ffb65d1)

22.1.0-next.0

10 Jun 20:41
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

22.1.0-next.0 Pre-release
Pre-release

common

Commit Description
fix - 1ad6824d0d skip transfer cache for uncacheable HTTP traffic (#69017)

compiler

Commit Description
fix - 25c744c4d0 support foreign components defined outside top-level scope

compiler-cli

Commit Description
fix - aeb55c8bc1 allow passing uninvoked signals as foreign component props
fix - 7c60a98b3c support import aliases in foreignImports (#68674)

core

Commit Description
feat - 124ba10ead add custom set option to linkedSignal
fix - b3748e9fe4 correct container anchor collection order to match DOM layout
fix - 11b206b919 introduce disposal mechanism for Angular views in foreign @content
fix - 56607967db introduce logical-only containers for foreign content
fix - 0c07356c5c set current tnode in foreign component instruction on reuse

http

Commit Description
fix - c0cbd46bd7 skip transfer cache for fetch credentialed requests (#69017)
refactor - af04e266cc deprecate jsonp support

language-service

Commit Description
feat - 7f0265e43a compile non-exported classes if standalone (#68454)
feat - 4f9c824dd9 Typecheck templates which would require inline typecheck blocks (#68454)

platform-server

Commit Description
fix - cf9d7fa0f8 harden platform location origin validation during SSR (#69184)

Deprecations

http

  • HttpClient.jsonp, HttpClientJsonpModule, and related JSONP classes/functions are deprecated. Use standard HTTP requests instead.

22.0.1

10 Jun 20:16
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

common

Commit Description
fix - c4b5fa3c92 escape CSS string-terminating characters in escapeCssUrl
fix - dfff57ede9 Limits date format string length
fix - 3c2892c8df prevent prototype pollution in formatDateTime
fix - 1d87c49f6e use cryptographically secure SHA-256 for transfer cache key generation

compiler

Commit Description
fix - 1ee224ca30 disallow i18n event attributes
fix - a56f1cdf8f more robust logic to check if regex can be optimized
fix - 5946c18275 sanitize href/xlink:href attributes of any element of the MathML namespace
fix - 393b84caf8 sanitize two-way properties

compiler-cli

Commit Description
fix - 3d9ca2f173 bind switch exhaustive check expressions

core

Commit Description
fix - 669146b0e7 disable WebMCP during SSR
fix - 562a566ead Handle synchronous errors in PendingTasks.run function
fix - fa546f382d harden TransferState restoration against DOM clobbering
fix - 29fdb98684 prevent dangling prevConsumer reference from leaking destroyed views (#68681)
fix - cdcea80327 require WebMCP tool descriptions
fix - 4289c4c840 update comment for Default change detection
fix - 3dd433b39a use Object.hasOwn to handle null-prototype objects in toStylingKeyValueArray
fix - 045bb736b3 validate lowercase SVG animation attribute names

forms

Commit Description
fix - 11836a670a delay mcp reading the form model by a tick
fix - 85d2d100e3 harden FormGroup control lookups against prototype shadowing
fix - e51ad374ea remove animationstart listener on component destroy to prevent memory leak
fix - 55b7b5a6b6 set additionalProperties: false on generated WebMCP form

http

Commit Description
fix - ffb06c0514 ensure query parameters are inserted before URL fragments
fix - 2dd65d21e6 pass down the reportUploadProgress and reportDownloadProgress on post/patch requests
fix - 4254eb416c preserve empty referrer option in HttpRequest
fix - 167bd4c162 Rejects non-HTTP(S) URLs in JSONP requests

language-service

Commit Description
fix - 43a0e28729 prevent external template inlay hints from appearing in TS files

platform-server

Commit Description
fix - ed48ca7f51 harden platform location origin validation during SSR
refactor - 1881ede3a7 deprecate ServerXhr

router

Commit Description
fix - 43edc8410f use native URL object for navigation boundary and comparison

service-worker

Commit Description
fix - cf97b1f828 Strips sensitive headers on cross-origin redirects

Deprecations

platform-server

  • XHR support in @angular/platform-server is deprecated. Use standard fetch APIs instead.
    (cherry picked from commit 8446e46)

21.2.17

10 Jun 19:54
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

common

Commit Description
fix - 86a56dc279 Limits date format string length
fix - d846326b07 skip transfer cache for uncacheable HTTP traffic
fix - bc55749698 use cryptographically secure SHA-256 for transfer cache key generation

compiler

Commit Description
fix - dc9c99636d sanitize two-way properties

core

Commit Description
fix - 1523061137 harden TransferState restoration against DOM clobbering
fix - 88832c84f8 validate lowercase SVG animation attribute names (#69269)

http

Commit Description
fix - bcb1b7ea25 preserve empty referrer option in HttpRequest
fix - a810a319d1 Rejects non-HTTP(S) URLs in JSONP requests
fix - e245d40c4d skip transfer cache for fetch credentialed requests

platform-server

Commit Description
fix - 35510746b7 harden platform location origin validation during SSR
refactor - 13fb0afe93 deprecate ServerXhr (#69255)

service-worker

Commit Description
fix - b9d29381bb Strips sensitive headers on cross-origin redirects

Deprecations

platform-server

  • XHR support in @angular/platform-server is deprecated. Use standard fetch APIs instead.

20.3.25

10 Jun 19:22
Immutable release. Only release title and notes can be modified.
a075161

Choose a tag to compare

common

Commit Description
fix - 9f443bc24c Limits date format string length
fix - 566ad05f20 skip transfer cache for uncacheable HTTP traffic
fix - 1a62130a6b use cryptographically secure SHA-256 for transfer cache key generation

compiler

Commit Description
fix - a68ec702a0 sanitize two-way properties

core

Commit Description
fix - 768a349e6e harden TransferState restoration against DOM clobbering
fix - ca48b4728d validate lowercase SVG animation attribute names (#69270)

http

Commit Description
fix - 06be298267 preserve empty referrer option in HttpRequest
fix - fa940e1f4d Rejects non-HTTP(S) URLs in JSONP requests
fix - e2ef1ce72a skip transfer cache for fetch credentialed requests

platform-server

Commit Description
fix - 49368c1859 harden platform location origin validation during SSR
refactor - d55c94ad81 deprecate ServerXhr (#69256)

service-worker

Commit Description
fix - d65a5f457b Strips sensitive headers on cross-origin redirects

Deprecations

platform-server

  • XHR support in @angular/platform-server is deprecated. Use standard fetch APIs instead.

22.0.0

03 Jun 13:03
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

compiler

Commit Description
feat - 47fcbc4704 allow safe navigation to correctly narrow down nullables
feat - 2896c93cc1 Angular expressions with optional chaining returns undefined
feat - e850643b1b Support comments in html element.
fix - 96be4f429b abstract emitter producing incorrect code for dynamic imports
fix - 488d962bc7 Don't bind inputs/outputs for data- attributes
fix - 2c5aabb9da don't escape dollar sign in literal expression
fix - c7aef8ec5d enforce parentheses containing arguments for :host-context
fix - b225a5d902 invalid type checking code if field name needs to be quoted
fix - ab9154ab75 normalize tag names with custom namespaces in DomElementSchemaRegistry (#68868)
fix - 8a1533c9ad preserve leading commas in animation definitions
fix - 194f723f66 remove dedicated support for legacy shadow DOM selectors
fix - 4c25a42e98 remove deprecated shadow CSS encapsulation polyfills
fix - 6ff620a033 sanitize dynamic href and xlink:href bindings on SVG a elements (#68868)
fix - 7dc1017e51 simplify handling of colon host with a selector list
fix - d99ab0e040 stop generating unused field
fix - 03db2aefaa throw on duplicate input/outputs
fix - 786ef8261f throw on invalid in expressions
fix - ccb7d427e4 type check invalid for loops

compiler-cli

Commit Description
feat - b8d3f36ed9 add support for Node.js 26.0.0
feat - 7f9450219f Adds warning for prefetch without main defer trigger
feat - 2eae497a04 support external TCBs with copied content in specific mode
fix - e5f96c2d88 animation events not type checked properly when bound through HostListener decorator
fix - 9218140348 resolve TCB mapping failure for safe property reads with as any
fix - 7a0d6b8df2 transform dropping exclamationToken from properties
refactor - ca67828ee2 introduce NG8023 compile-time diagnostic for duplicate selectors

core

Commit Description
feat - 17d3ea44e2 add IdleRequestOptions support to IdleService
feat - 3b0ae5fef0 add provideWebMcpTools
feat - 444b024d49 Add a injectAsync helper function
feat - 3bc095d508 Add a schematics to migrate provideHttpClient to keep using the HttpXhrBackend implementation.
feat - 5a7c1e62dc add ability to cache resources for SSR
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 - b918beda32 allow debouncing signals
feat - 8bc31a515f Allow other expression for exhaustive typechecking
feat - 4e331062e8 allow synchronous values for stream Resources
feat - a0aa8304cd bootstrap via ApplicationRef with config
feat - 9c55fcb3e6 de-duplicate host directives
feat - 8fe025f514 drop support for TypeScript 5.9
feat - 2f5ab541ea enhance profiling with documentation URLs
feat - ef1810197b export experimental declareWebMcpTool support
feat - 75f2cb8f56 implement Angular DI graph in-page AI tool
feat - 8f3d0b9d97 introduce @Service decorator
feat - df659b8d0c re-introduce nested leave animations scoped to component boundaries
feat - 8ce9cc4f6b register AI runtime debugging tools
feat - eae8f7e30b Set default Component changeDetection strategy ...
Read more

21.2.16

03 Jun 12:30
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

common

Commit Description
fix - f6d8e642b0 only strip a literal /index.html suffix from URLs

compiler

Commit Description
fix - ae1c8a1f7a move projection attributes into constants

core

Commit Description
fix - 3fd6897a67 harden inherit definition feature against polluted prototypes
fix - 7e38336dc7 use Object.create(null) for LOCALE_DATA as a hardening measure

platform-server

Commit Description
fix - 66821c4ed5 throw on suspicious URLs and restrict protocol-relative URLs
fix - d3170031b6 update domino to latest version

VSCode Extension: 22.0.0

03 Jun 16:15
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

Breaking Changes

The extension now bundles TypeScript version 6.0, which itself includes breaking
changes, including new defaults such as strict being true. You will need to explicitly set
"strict": false in your tsconfig.json. Alternatively, the extension supports configuring the tsdk in the same way as the built in TS/JS extension.

Fixes and features

  • fix(language-service): Add support for @Input with transforms (dc9c72da9b)
  • feat(language-service): add Document Symbols support for Angular templates (cfd0f9950c)
  • feat(language-service): add angular template inlay hints support (5a6d88626b)
  • feat(language-service): Add support for idle timeout in defer blocks (c6f98c723c)

20.3.24

02 Jun 11:10
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

platform-server

Commit Description
fix - 6ca433e56b throw on suspicious URLs and restrict protocol-relative URLs
fix - 8680b5152f update domino to latest version

19.2.25

02 Jun 11:20
Immutable release. Only release title and notes can be modified.

Choose a tag to compare

platform-server

Commit Description
fix - e2fb854d55 throw on suspicious URLs and restrict protocol-relative URLs
fix - 0a8befb493 update domino to latest version