Skip to content

chore: defer @swc/cli@0.8.0 upgrade due to ecosystem incompatibility#2622

Closed
DerekRoberts wants to merge 1 commit intomainfrom
chore/swc-cli-defer
Closed

chore: defer @swc/cli@0.8.0 upgrade due to ecosystem incompatibility#2622
DerekRoberts wants to merge 1 commit intomainfrom
chore/swc-cli-defer

Conversation

@DerekRoberts
Copy link
Member

@DerekRoberts DerekRoberts commented Feb 10, 2026

Summary

The Renovate PR to upgrade @swc/cli from ^0.7.0 to ^0.8.0 cannot proceed at this time due to ecosystem incompatibility.

Root Cause

  • @swc/cli@0.8.0 requires chokidar@^5.0.0 as a peer dependency
  • @nestjs/cli v11.0.x (current max: 11.0.16) only declares support for @swc/cli@^0.1-0.7.x
  • No newer @nestjs/cli version exists yet that supports @swc/cli@0.8.0

Why Workarounds Won't Work

  • Cannot use legacy-peer-deps=true - masks real incompatibilities, risks runtime failures
  • Cannot downgrade @swc/cli - defeats the purpose of the upgrade
  • Overrides alone cannot resolve peer dependency mismatches

Solution

Defer this upgrade until @nestjs/cli releases a version (v11.1.0 or later) that explicitly declares compatibility with @swc/cli@0.8.0. At that point, we can upgrade both packages together.

See docs/UPGRADE_NOTES.md for details.


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

…lity

- @swc/cli@0.8.0 requires chokidar@5.x
- @nestjs/cli v11.0.x does not yet support @swc/cli@0.8.0
- Awaiting @nestjs/cli release that declares @swc/cli@0.8.0 compatibility
- Deferring to later review when ecosystem is ready
Copilot AI review requested due to automatic review settings February 10, 2026 06:07
@DerekRoberts DerekRoberts self-assigned this Feb 10, 2026
@DerekRoberts DerekRoberts moved this from New to Active in DevOps (NR) Feb 10, 2026
@DerekRoberts
Copy link
Member Author

Not ready yet.

@github-project-automation github-project-automation bot moved this from Active to Done in DevOps (NR) Feb 10, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds documentation explaining why the Renovate upgrade of @swc/cli to 0.8.0 is being deferred due to peer-dependency incompatibility with the currently supported @nestjs/cli range.

Changes:

  • Added docs/UPGRADE_NOTES.md describing the deferred @swc/cli@0.8.0 upgrade and rationale.
  • Documented why common workarounds (e.g., legacy peer dep behavior / overrides) are not recommended here.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +3 to +7
## @swc/cli Upgrade - Deferred

**Status:** Deferred until ecosystem compatibility improves

**Issue:** Renovate PR attempted to upgrade `@swc/cli` from `^0.7.0` to `^0.8.0`
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

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

This note is written as if the repository has a single Node project, but @nestjs/cli/@swc/cli only appear under backend/. Consider explicitly calling out the impacted workspace/path (e.g., backend/package.json) so future readers don’t assume this applies to the frontend or other packages.

Suggested change
## @swc/cli Upgrade - Deferred
**Status:** Deferred until ecosystem compatibility improves
**Issue:** Renovate PR attempted to upgrade `@swc/cli` from `^0.7.0` to `^0.8.0`
## backend/: @swc/cli Upgrade - Deferred
**Status:** Deferred until ecosystem compatibility improves
**Issue:** Renovate PR against `backend/package.json` attempted to upgrade `@swc/cli` from `^0.7.0` to `^0.8.0`

Copilot uses AI. Check for mistakes.
Comment on lines +12 to +13
2. **@nestjs/cli** latest version (11.0.16) only declares compatibility with `@swc/cli@^0.1-0.7.x`
3. No newer version of `@nestjs/cli` exists yet that supports `@swc/cli@0.8.0`
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

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

The statements about the "latest version (11.0.16)" and "No newer version exists yet" will become stale as soon as upstream releases. Consider making this time-bound (e.g., "as of ") and/or citing the actual peerDependency range that blocks the upgrade (from the @nestjs/cli package manifest) instead of asserting what the latest version is.

Suggested change
2. **@nestjs/cli** latest version (11.0.16) only declares compatibility with `@swc/cli@^0.1-0.7.x`
3. No newer version of `@nestjs/cli` exists yet that supports `@swc/cli@0.8.0`
2. As of 2025-02-10, **@nestjs/cli** version 11.0.16 declares compatibility only with `@swc/cli@^0.1-0.7.x` (per its `peerDependencies`)
3. As of 2025-02-10, no released version of `@nestjs/cli` declares support for `@swc/cli@0.8.0` in its `peerDependencies`

Copilot uses AI. Check for mistakes.
@DerekRoberts DerekRoberts deleted the chore/swc-cli-defer branch February 10, 2026 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants