Angular v22.1.0

v22.1.0

22.1.0

Added 6
  • add an error for --global-foo cases
  • namespace CSS variables to the app
  • support css var namespacing in properties
  • add custom set option to linkedSignal
  • add deep linking from Performance panel to DevTools
  • add options to allow caching of credentialed and non-cacheable HTTP requests
Fixed 14
  • skip transfer cache for uncacheable HTTP traffic
  • permissive whitespace parsing in default never blocks
  • support foreign components defined outside top-level scope
  • support foreign components inside control flow blocks
  • allow passing uninvoked signals as foreign component props
  • support import aliases in foreignImports
Deprecated 1
  • deprecate jsonp support
common
CommitDescription
fix - 1ad6824d0dskip transfer cache for uncacheable HTTP traffic (#69017)
compiler
CommitDescription
feat - af5e4e1131Add an error for --global-foo cases (#68846)
feat - d579ecaf73Disable '--global-' error outside of g3 (#68846)
feat - f98547675cNamespace CSS variables to the app (#68846)
feat - 8c8b2f7783Support css var namespacing in properties (#68846)
fix - 292199aa4dpermissive whitespace parsing in default never blocks
fix - 25c744c4d0support foreign components defined outside top-level scope
fix - 5bd00add07support foreign components inside control flow blocks (#69674)
perf - 2e442f7876do not emit tag name when control flow root is foreign component (#69674)
compiler-cli
CommitDescription
fix - aeb55c8bc1allow passing uninvoked signals as foreign component props
fix - 7c60a98b3csupport import aliases in foreignImports (#68674)
core
CommitDescription
feat - 124ba10eadadd custom set option to linkedSignal
feat - eab4847a8bAdds deep linking from Performance panel to DevTools
fix - 091456a214account for namespaces in host binding sanitization (#69558)
fix - b3748e9fe4correct container anchor collection order to match DOM layout
fix - 11b206b919introduce disposal mechanism for Angular views in foreign @content
fix - 56607967dbintroduce logical-only containers for foreign content
fix - 23cf1a828bsanitize host bindings on concrete hosts (#69558)
fix - 0c07356c5cset current tnode in foreign component instruction on reuse
forms
CommitDescription
fix - bbbd357bd2add utility to assert that value is a field tree
http
CommitDescription
feat - e3630c23c5add options to allow caching of credentialed and non-cacheable HTTP requests
fix - ec16a3d6c6enable xsrf for root-provided HttpClient
fix - 39e362eea5match header values exactly when deleting
fix - be46ca8696preserve immutability of materialized clones
fix - c0cbd46bd7skip transfer cache for fetch credentialed requests (#69017)
refactor - af04e266ccdeprecate jsonp support
language-service
CommitDescription
feat - 7f0265e43acompile non-exported classes if standalone (#68454)
feat - 4f9c824dd9Typecheck templates which would require inline typecheck blocks (#68454)
fix - a99fb915c0account for strictTemplates being enabled by default
migrations
CommitDescription
feat - c75ff0255cadd migration from injectable to service
fix - 5d5b2ea72dcorrectly detect then/else keywords in control flow migration
platform-server
CommitDescription
fix - cf9d7fa0f8harden platform location origin validation during SSR (#69184)
router
CommitDescription
feat - 97a3fd6a55handle null and undefined inputs in RouterLinkActive
Deprecations
http
  • HttpClient.jsonp, HttpClientJsonpModule, and related JSONP classes/functions are deprecated. Use standard HTTP requests instead.
View original

Upgraded? How did it go?

Discussion