Skip to content

chore: bump @angular/common from 8.0.3 to 21.2.10#355

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/angular/common-21.2.10
Open

chore: bump @angular/common from 8.0.3 to 21.2.10#355
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/angular/common-21.2.10

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 27, 2026

Copy link
Copy Markdown
Contributor

Bumps @angular/common from 8.0.3 to 21.2.10.

Release notes

Sourced from @​angular/common's releases.

21.2.10

docs

Commit Description
fix - 0d5ee9ae1b link formatting in "Animating your Application with CSS"

migrations

Commit Description
fix - 5533ab4f56 fix NgClass leaving trailing comma after removal

router

Commit Description
fix - 580212c995 restore internal URL on popstate when browserUrl is used

21.2.9

core

Commit Description
fix - f603d4714f escape forward slashes in transfer state to prevent crawler indexing

http

Commit Description
fix - 540536c386 add CSP nonce support to JsonpClientBackend
fix - 63a857b874 Don't on Passthru outside of reactive context

platform-server

Commit Description
fix - e0b5078cf2 prevent SSRF bypasses via protocol-relative and backslash URLs

router

Commit Description
fix - 684e9fd53d normalize multiple leading slashes in URL parser

21.2.8

compiler

Commit Description
fix - e40d378f3e handle nested brackets in host object bindings

compiler-cli

Commit Description
fix - 2c6781071f error for type parameter declarations

core

Commit Description
fix - 82192deda9 handle missing serialized container hydration data
fix - 057cc6d09d remove obsolete iOS cursor pointer hack in event delegation

language-service

Commit Description

... (truncated)

Changelog

Sourced from @​angular/common's changelog.

21.2.10 (2026-04-22)

docs

Commit Type Description
0d5ee9ae1b fix link formatting in "Animating your Application with CSS"

migrations

Commit Type Description
5533ab4f56 fix fix NgClass leaving trailing comma after removal

router

Commit Type Description
580212c995 fix restore internal URL on popstate when browserUrl is used

19.2.21 (2026-04-15)

platform-server

Commit Type Description
f3a5bfb949 fix prevent SSRF bypasses via protocol-relative and backslash URLs

20.3.19 (2026-04-15)

platform-server

Commit Type Description
303d4cd580 fix prevent SSRF bypasses via protocol-relative and backslash URLs

22.0.0-next.8 (2026-04-15)

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.

compiler

Commit Type Description
47fcbc4704 feat allow safe navigation to correctly narrow down nullables
2c5aabb9da fix don't escape dollar sign in literal expression

compiler-cli

Commit Type Description
e5f96c2d88 fix animation events not type checked properly when bound through HostListener decorator

core

... (truncated)

Commits
  • 540536c fix(http): add CSP nonce support to JsonpClientBackend
  • 8102331 test(http): disable XSRF and mock location in HttpClient tests to avoid Domin...
  • 13f050d test: construct local Date objects to fix timezone flakiness
  • d0cf299 test: remove unsupported timezone from formatDate tests
  • b4ab6ba fix(common): avoid redundant image fetch on destroy with auto sizes
  • adda6c5 build: update aspect_rules_js to 3.0.2
  • 93c6dc6 Revert "refactor(http): Improves base64 encoding/decoding with feature detect...
  • 76431ed Revert "fix(http): correctly cache blob responses in transfer cache (#67002)"
  • 277ade9 fix(http): correctly cache blob responses in transfer cache (#67002)
  • aeb9b81 refactor(http): Improves base64 encoding/decoding with feature detection (#67...
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by google-wombot, a new releaser for @​angular/common since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by cubic

Bumped @angular/common from 8.0.3 to 21.2.10 in the Angular example. This is a major upgrade and requires aligning other Angular packages, rxjs, and Node to avoid peer dependency errors.

  • Migration
    • Upgrade all @angular/* deps to 21.2.x (e.g., @angular/core, @angular/forms, @angular/platform-browser, @angular/router).
    • Update rxjs to ^6.5.3 or ^7.4.0 (current is 6.4.0).
    • Use Node >=20.19.0 (or >=22.12.0).
    • Run Angular updates (e.g., ng update @angular/core@21 @angular/cli@21) and follow migration prompts.
    • Reinstall and rebuild (pnpm install && pnpm build).

Written for commit 6e70283. Summary will update on new commits. Review in cubic

Bumps [@angular/common](https://github.com/angular/angular/tree/HEAD/packages/common) from 8.0.3 to 21.2.10.
- [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/v21.2.10/packages/common)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Deploy preview for file ready!

Project:file
Status: ✅  Deploy successful!
Preview URL:https://team-scope-test-4sndnjyw8-dietfriends.vercel.app
Latest Commit:6e70283
Inspect:View deployment

Deployed with vercel-action

@github-actions

Copy link
Copy Markdown
Contributor

Deploy preview for express-basic-auth ready!

Project:express-basic-auth
Status: ✅  Deploy successful!
Preview URL:https://express-basic-auth-445w7qxdz-minsu-lees-projects-b1e388b7.vercel.app
Latest Commit:6e70283
Inspect:View deployment

Deployed with vercel-action

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

Deploy preview for static ready!

Project:static
Status: ✅  Deploy successful!
Preview URL:https://zeit-now-deployment-action-example-angular-8u28i6rvd.vercel.app
Latest Commit:6e70283
Alias:https://staging.static.vercel-action.amond.dev
Alias:https://pr-355.static.vercel-action.amond.dev
Inspect:View deployment

Deployed with vercel-action

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 2 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="example/angular/package.json">

<violation number="1" location="example/angular/package.json:15">
P1: This single-package major bump makes the Angular dependency set inconsistent (`@angular/common` 21.x with `@angular/core`/CLI 8.x), which is likely to fail dependency resolution or builds. Keep Angular framework packages on the same major/version line.</violation>
</file>
Architecture diagram
sequenceDiagram
    participant Browser as Client Browser
    participant Router as Angular Router
    participant Common as @angular/common (Directives/Pipes)
    participant Http as HttpClient (@angular/common/http)
    participant SSR as Platform Server (SSR)
    participant API as External API

    Note over Browser, SSR: Runtime Request & Lifecycle Changes (Angular 8 -> 21)

    Browser->>SSR: HTTP GET /request-url
    activate SSR
    SSR->>SSR: NEW: Normalize URL (Leading slashes/backslashes)
    SSR->>SSR: NEW: Prevent SSRF (Protocol-relative URL check)
    SSR-->>Browser: Rendered HTML + Hydration State
    deactivate SSR

    Browser->>Browser: CHANGED: Hydration (Handle missing serialized data)

    Note over Browser, Router: Navigation Flow
    Browser->>Router: Navigation (popstate)
    Router->>Router: CHANGED: Restore internal URL when browserUrl is used

    Note over Browser, Http: Data & Assets Flow
    Browser->>Http: request()
    Http->>Http: NEW: Support CSP Nonce in JsonpClientBackend
    Http->>Http: CHANGED: Support Blob caching in Transfer Cache
    Http->>API: Fetch resources
    API-->>Http: Response
    Http-->>Browser: Return data/blob

    Note over Browser, Common: DOM & Template Interactions
    Common->>Browser: NEW: NgClass cleanup (remove trailing commas)
    Common->>Browser: CHANGED: Image directive (skip redundant fetch on destroy)
    Browser->>Browser: CHANGED: Event delegation (iOS cursor hack removed)
Loading

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

"dependencies": {
"@angular/animations": "~8.0.1",
"@angular/common": "~8.0.1",
"@angular/common": "~21.2.10",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1: This single-package major bump makes the Angular dependency set inconsistent (@angular/common 21.x with @angular/core/CLI 8.x), which is likely to fail dependency resolution or builds. Keep Angular framework packages on the same major/version line.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At example/angular/package.json, line 15:

<comment>This single-package major bump makes the Angular dependency set inconsistent (`@angular/common` 21.x with `@angular/core`/CLI 8.x), which is likely to fail dependency resolution or builds. Keep Angular framework packages on the same major/version line.</comment>

<file context>
@@ -12,7 +12,7 @@
   "dependencies": {
     "@angular/animations": "~8.0.1",
-    "@angular/common": "~8.0.1",
+    "@angular/common": "~21.2.10",
     "@angular/compiler": "~8.0.1",
     "@angular/core": "~8.0.1",
</file context>
Suggested change
"@angular/common": "~21.2.10",
"@angular/common": "~8.0.1",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants