Skip to content

Update angular monorepo to v22 - #520

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-angular-monorepo
Open

Update angular monorepo to v22#520
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-angular-monorepo

Conversation

@renovate

@renovate renovate Bot commented Nov 8, 2023

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@angular/compiler (source) 16.0.522.1.0 age confidence
@angular/compiler-cli (source) 16.0.522.1.0 age confidence
@angular/core (source) 16.0.522.1.0 age confidence

Release Notes

angular/angular (@​angular/compiler)

v22.1.0

Compare Source

Deprecations

http
  • HttpClient.jsonp, HttpClientJsonpModule, and related JSONP classes/functions are deprecated. Use standard HTTP requests instead.
common
Commit Type Description
1ad6824d0d fix skip transfer cache for uncacheable HTTP traffic (#​69017)
compiler
Commit Type Description
af5e4e1131 feat Add an error for --global-foo cases (#​68846)
d579ecaf73 feat Disable '--global-' error outside of g3 (#​68846)
f98547675c feat Namespace CSS variables to the app (#​68846)
8c8b2f7783 feat Support css var namespacing in properties (#​68846)
292199aa4d fix permissive whitespace parsing in default never blocks
25c744c4d0 fix support foreign components defined outside top-level scope
5bd00add07 fix support foreign components inside control flow blocks (#​69674)
2e442f7876 perf do not emit tag name when control flow root is foreign component (#​69674)
compiler-cli
Commit Type Description
aeb55c8bc1 fix allow passing uninvoked signals as foreign component props
7c60a98b3c fix support import aliases in foreignImports (#​68674)
core
Commit Type Description
124ba10ead feat add custom set option to linkedSignal
eab4847a8b feat Adds deep linking from Performance panel to DevTools
091456a214 fix account for namespaces in host binding sanitization (#​69558)
b3748e9fe4 fix correct container anchor collection order to match DOM layout
11b206b919 fix introduce disposal mechanism for Angular views in foreign @content
56607967db fix introduce logical-only containers for foreign content
23cf1a828b fix sanitize host bindings on concrete hosts (#​69558)
0c07356c5c fix set current tnode in foreign component instruction on reuse
forms
Commit Type Description
bbbd357bd2 fix add utility to assert that value is a field tree
http
Commit Type Description
e3630c23c5 feat add options to allow caching of credentialed and non-cacheable HTTP requests
ec16a3d6c6 fix enable xsrf for root-provided HttpClient
39e362eea5 fix match header values exactly when deleting
be46ca8696 fix preserve immutability of materialized clones
c0cbd46bd7 fix skip transfer cache for fetch credentialed requests (#​69017)
af04e266cc refactor deprecate jsonp support
language-service
Commit Type Description
7f0265e43a feat compile non-exported classes if standalone (#​68454)
4f9c824dd9 feat Typecheck templates which would require inline typecheck blocks (#​68454)
a99fb915c0 fix account for strictTemplates being enabled by default
migrations
Commit Type Description
c75ff0255c feat add migration from injectable to service
5d5b2ea72d fix correctly detect then/else keywords in control flow migration
platform-server
Commit Type Description
cf9d7fa0f8 fix harden platform location origin validation during SSR (#​69184)
router
Commit Type Description
97a3fd6a55 feat handle null and undefined inputs in RouterLinkActive

v22.0.8

Compare Source

common
Commit Type Description
c0368f2278 fix preserve crossorigin on image preloads
core
Commit Type Description
8616ba9db6 fix ensure SVG animation attributeName is checked case-insensitively
forms
Commit Type Description
d302c7ab83 fix ensure pending status propagates to the root form in signal forms
http
Commit Type Description
9d40f8aefe fix prevent transfer cache key collisions
migrations
Commit Type Description
388daea2fc fix correctly migrate ngClass with mixed space-separated keys
bb39cda648 fix preserve NgClass import on partial migration

v22.0.7

Compare Source

common
Commit Type Description
91e33aa1de fix avoid prototype lookups in date format caches
compiler
Commit Type Description
5b516e3a58 fix parsing of an empty template literal interpolation
compiler-cli
Commit Type Description
c88ddde1c9 fix re-tag SourceFiles after TsCreateProgramDriver.updateFiles()
core
Commit Type Description
94d9591b51 fix allow static attributes for explicit input transforms
c89f71a74c fix ignore processing instruction syntax in templates
70500e4067 fix preserve explicit input transform write type
forms
Commit Type Description
1b9964675f fix allow multiple async validators
64d6d47a0c fix preserve intermediate number values in signal forms
6cf7446afa fix prevent stale CVA writeback during debounce
http
Commit Type Description
20b7dc3023 fix prevent interceptor signal reads from leaking into calling reactive contexts
localize
Commit Type Description
22d5a091d1 fix build runtime translations map with a null prototype
8ce1fcf7fa fix use Object.hasOwn for placeholder lookup in translate
platform-browser
Commit Type Description
b34bf0dce8 fix prevent ReDoS in SOURCEMAP_URL_REGEXP

v22.0.6

Compare Source

compiler
Commit Type Description
fd4ddcafed fix use regular optional chaining expression for safe function calls in TCBs
compiler-cli
Commit Type Description
534fe81a89 fix apply debugName transform to required signal queries
3b08201bfb fix detect uninvoked signals in bound expressions using ternary
forms/signals
Commit Type Description
171669f7b2 fix make extractValue reactive for compat AbstractControl values
migrations
Commit Type Description
0a6af1496b fix preserve transitive NgModule references when pruning
d4a926a762 fix remove stale model import in model-output migration
router
Commit Type Description
c238bd2ad7 fix handle outlet named proto in segment group maps
8e6d7f7190 fix use safe hasOwnProperty when parsing query params

v22.0.5

Compare Source

common
Commit Type Description
eb8fb9fe58 fix use Object.hasOwn in I18nSelectPipe to handle null-prototype and shadowed mappings
compiler-cli
Commit Type Description
baf09a9939 fix include toSignal in debugName transform
core
Commit Type Description
e598dc843f fix improve input writes migration in best effort mode
ced0180b06 fix reject dynamic script host elements
router
Commit Type Description
ca13b42e7c fix fix malformed jsdoc comment for RouterLinkWithHref export

v22.0.4

Compare Source

migrations
Commit Type Description
fd37f09f37 fix resolve migration failure when tsconfig specifies rootDir

v22.0.3

Compare Source

compiler
Commit Type Description
f90c20df40 fix account for NgModule dependencies in JIT-compiled partial declarations
f4f7f3755c fix remove unused import breaking CI in 22.0.x
compiler-cli
Commit Type Description
06d854929c fix report diagnostic instead of crashing on malformed host binding
core
Commit Type Description
2799304259 fix avoid uncaught promise errors in injectAsync prefetching
http
Commit Type Description
8cdc202dfc fix prevent caching of responses with Set-Cookie headers
service-worker
Commit Type Description
b4a5a2fb4e fix preserve referrer in asset requests
a16f9b2263 fix preserve referrer policy in asset requests
upgrade
Commit Type Description
bcc648f4b6 fix support model() signals in downgradeComponent

v22.0.2

Compare Source

common
Commit Type Description
94ea403563 fix escape anchor fragment in shadow DOM name selector
6c1f3e9d49 fix skip transfer cache for uncacheable HTTP traffic (#​69316)
compiler
Commit Type Description
6f1171991a fix restrict possible event handler check to property names longer than 2 characters
core
Commit Type Description
528a34f766 fix avoid caching missing locale data
e17e8d5422 fix escape overlapping comment delimiters in escapeCommentText
59dea13f80 fix guard against DOM clobbering in declareExperimentalWebMcpTool
3a48abc15c fix preserve leave animation for sibling instances sharing a TNode
93d0a5f95c fix prevent unsubscribe during emit from throwing off other listeners
b32ee7ceb3 fix treat iframe credentialless as security-sensitive
f902d1d35e perf detect existing signal dependency without checking all producer links
http
Commit Type Description
6867f77ec7 fix distinguish repeated transfer cache params
7ef1399068 fix skip transfer cache for fetch credentialed requests (#​69316)
migrations
Commit Type Description
15314c1736 fix migration skip any target are not build or test

v22.0.1

Compare Source

Deprecations

platform-server
  • XHR support in @angular/platform-server is deprecated. Use standard fetch APIs instead.
    (cherry picked from commit 8446e46)
common
Commit Type Description
c4b5fa3c92 fix escape CSS string-terminating characters in escapeCssUrl
dfff57ede9 fix Limits date format string length
3c2892c8df fix prevent prototype pollution in formatDateTime
1d87c49f6e fix use cryptographically secure SHA-256 for transfer cache key generation
compiler
Commit Type Description
1ee224ca30 fix disallow i18n event attributes
a56f1cdf8f fix more robust logic to check if regex can be optimized
5946c18275 fix sanitize href/xlink:href attributes of any element of the MathML namespace
393b84caf8 fix sanitize two-way properties
compiler-cli
Commit Type Description
3d9ca2f173 fix bind switch exhaustive check expressions
core
Commit Type Description
669146b0e7 fix disable WebMCP during SSR
562a566ead fix Handle synchronous errors in PendingTasks.run function
fa546f382d fix harden TransferState restoration against DOM clobbering
29fdb98684 fix prevent dangling prevConsumer reference from leaking destroyed views (#​68681)
cdcea80327 fix require WebMCP tool descriptions
4289c4c840 fix update comment for Default change detection
3dd433b39a fix use Object.hasOwn to handle null-prototype objects in toStylingKeyValueArray
045bb736b3 fix validate lowercase SVG animation attribute names
forms
Commit Type Description
11836a670a fix delay mcp reading the form model by a tick
85d2d100e3 fix harden FormGroup control lookups against prototype shadowing
e51ad374ea fix remove animationstart listener on component destroy to prevent memory leak
55b7b5a6b6 fix set additionalProperties: false on generated WebMCP form
http
Commit Type Description
ffb06c0514 fix ensure query parameters are inserted before URL fragments
2dd65d21e6 fix pass down the reportUploadProgress and reportDownloadProgress on post/patch requests
4254eb416c fix preserve empty referrer option in HttpRequest
167bd4c162 fix Rejects non-HTTP(S) URLs in JSONP requests
language-service
Commit Type Description
43a0e28729 fix prevent external template inlay hints from appearing in TS files
platform-server
Commit Type Description
ed48ca7f51 fix harden platform location origin validation during SSR
1881ede3a7 refactor deprecate ServerXhr
router
Commit Type Description
43edc8410f fix use native URL object for navigation boundary and comparison
service-worker
Commit Type Description
cf97b1f828 fix Strips sensitive headers on cross-origin redirects

v22.0.0

Compare Source

Blog post "Announcing Angular v22".

Breaking Changes

compiler
  • This change will trigger the nullishCoalescingNotNullable and optionalChainNotNullable diagnostics on exisiting projects.
    You might want to disable those 2 diagnotiscs in your tsconfig temporarily.
  • 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.
compiler-cli
  • Elements with multiple matching selectors will now throw at compile time.
core
  • The second arguement of appRef.bootstrap does not accept any anymore. Make sure the element you pass is not nullable.
    • TypeScript versions older than 6.0 are no longer supported.
  • Leave animations are no longer limited to the element being removed.
  • Component with undefined changeDetection property are now OnPush by default. Specify changeDetection: ChangeDetectionStrategy.Eager to keep the previous behavior.
  • change AnimationCallbackEvent.animationComplete signature
  • ChangeDetectorRef.checkNoChanges was removed. In tests use fixture.detectChanges() instead.
  • createNgModuleRef was removed, use createNgModule instead
  • ComponentFactoryResolver and ComponentFactory are no longer available. Pass the component class directly to APIs that previously required a factory, such as ViewContainerRef.createComponent or use the standalone createComponentFunction.
  • ComponentFactoryResolver and ComponentFactory are no longer available. Pass the component class directly to APIs that previously required a factory, such as ViewContainerRef.createComponent or use the standalone createComponent function.
forms
  • min and max validation rules no longer support
    string values. Bound values must be numbers or null.
http
  • Use the HttpXhrBackend with provideHttpClient(withXhr) if you want to keep supporting upload progress reports.
platform-browser
  • This removes styles when they appear to no longer be used by an associated host. However other DOM on the page may still be affected by those styles if not leveraging ViewEncapsulation.Emulated or if those styles are used by elements outside of Angular, potentially causing other DOM to appear unstyled.
  • Hammer.js integration has been removed. Use your own implementation.
router
  • The return type for TitleStrategy.getResolvedTitleForRoute
    was previously 'any' while the actual return type could only be either string
    or undefined. The return type now reflects the possible values correctly.
    Code that reads the value may need to be adjusted.

    (cherry picked from commit ad37f52)

  • The currentSnapshot parameter in CanMatchFn and the canMatch method of the CanMatch interface is now required. While this was already the behavior of the Router at runtime, existing class implementations of CanMatch must now include the third argument to satisfy the interface.

  • paramsInheritanceStrategy now defaults to 'always'

    The default value of paramsInheritanceStrategy has been changed from 'emptyOnly' to 'always'. This means that route parameters are inherited from all parent routes by default. To restore the previous behavior, set paramsInheritanceStrategy to 'emptyOnly' in your router configuration.

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

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from c9f0063 to 23017bc Compare November 9, 2023 22:36
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from 53e83a7 to bad7cdc Compare November 20, 2023 20:12
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch from bad7cdc to aeee50d Compare November 29, 2023 20:23
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from c82b175 to b1218cd Compare December 6, 2023 23:06
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch from b1218cd to 815ef97 Compare December 14, 2023 11:23
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch from 815ef97 to a7bc1f2 Compare December 21, 2023 15:37
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from 72a506a to 1c81989 Compare January 18, 2024 01:15
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from 9c4f5a7 to aac56b1 Compare January 24, 2024 19:59
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch from aac56b1 to 1469523 Compare January 31, 2024 23:08
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from db43098 to 992d288 Compare February 15, 2024 01:48
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from 83fed7f to f7b4297 Compare February 28, 2024 02:13
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from 6526848 to 8a046c3 Compare March 6, 2024 20:59
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from 53ae4ac to f83c9fe Compare March 20, 2024 22:10
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from 0d291bc to 0a4558a Compare April 4, 2024 02:12
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch from e866a3f to 1659ea0 Compare June 13, 2024 01:26
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from 08bf3a8 to bfa9af9 Compare June 27, 2024 01:04
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from a799ffe to cc6833c Compare July 3, 2024 21:02
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch from cc6833c to 5147b20 Compare July 10, 2024 14:43
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from 1080a14 to 2b21e17 Compare July 24, 2024 20:32
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch from 2b21e17 to c086e4f Compare July 31, 2024 18:04
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from 4d2999d to b9771c4 Compare August 14, 2024 18:31
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from fa9c6c1 to d96a491 Compare August 29, 2024 01:02
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from ba44f41 to e0a3314 Compare September 9, 2024 19:22
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 3 times, most recently from 1b6a34d to 3aabf0d Compare September 18, 2024 16:25
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from 10a9bb4 to cc07774 Compare October 2, 2024 15:46
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from a0e5d7b to 05bb68c Compare October 10, 2024 11:26
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch 2 times, most recently from 989b237 to 77c6530 Compare October 30, 2024 19:25
@renovate
renovate Bot force-pushed the renovate/major-angular-monorepo branch from 77c6530 to 83200cb Compare November 4, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants