Skip to content

Bump @angular/common from 21.2.16 to 22.0.0 in /web_embedding/ng-flutter#2850

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/web_embedding/ng-flutter/angular/common-22.0.0
Open

Bump @angular/common from 21.2.16 to 22.0.0 in /web_embedding/ng-flutter#2850
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/web_embedding/ng-flutter/angular/common-22.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 4, 2026

Bumps @angular/common from 21.2.16 to 22.0.0.

Release notes

Sourced from @​angular/common's releases.

VSCode Extension: 22.0.0

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)

22.0.0

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

... (truncated)

Changelog

Sourced from @​angular/common's changelog.

22.0.0 (2026-06-03)

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 ad37f52c1212164c51ffcc533067af05c2c33c89)

  • 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

... (truncated)

Commits
  • 4795b35 fix(common): only strip a literal /index.html suffix from URLs
  • f7b3ed8 fix(http): Introduce a max buffer size for fetch requests on SSR
  • 618c850 fix(http): exclude withCredentials requests from transfer cache
  • 86390f2 fix(http): skip TransferCache for cookie-bearing requests by default
  • e6cfaf5 fix(http): prevent httpResource from leaking a subscription
  • a97d5ec build: update minimum supported Node.js versions
  • 7d1fbc1 fix(common): sanitize placeholder
  • ae2cb00 fix(common): add upper bounds for digitsInfo
  • cc0fa6e refactor(http): update HTTP resource options APIs to stable
  • ad717df refactor(core): use the @Service decorator where possible.
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 4, 2026
@auto-submit
Copy link
Copy Markdown

auto-submit Bot commented Jun 4, 2026

autosubmit label was removed for flutter/samples/2850, because Pull request flutter/samples/2850 is not in a mergeable state.

@auto-submit auto-submit Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Jun 4, 2026
Bumps [@angular/common](https://github.com/angular/angular/tree/HEAD/packages/common) from 21.2.16 to 22.0.0.
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/v22.0.0/packages/common)

---
updated-dependencies:
- dependency-name: "@angular/common"
  dependency-version: 22.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/web_embedding/ng-flutter/angular/common-22.0.0 branch from 5f46927 to 11c70d1 Compare June 4, 2026 06:44
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.

1 participant