Skip to content

Standardises the minimum supported Node.js version to >=22.0.0 across the root workspace and all packages. - #2612

Merged
cs-raj merged 2 commits into
v2-devfrom
fix/DX-9300
Jun 24, 2026
Merged

Standardises the minimum supported Node.js version to >=22.0.0 across the root workspace and all packages.#2612
cs-raj merged 2 commits into
v2-devfrom
fix/DX-9300

Conversation

@cs-raj

Copy link
Copy Markdown
Contributor

chore: upgrade Node.js engine requirement to >=22.0.0

Summary

Standardises the minimum supported Node.js version to >=22.0.0 across the root workspace and all packages. Shipped as part of the major release alongside the cli-plugins change.

Why Now

Node versionStatus
Node 18EOL — April 2025
Node 20LTS ends April 2026
Node 22LTS until April 2027 ✓
Node 24Released, becomes LTS October 2025

The companion cli-plugins repo already requires Node 22 in practice (due to the uuid@14 ESM-only Snyk fix). Aligning cli keeps the requirement consistent across the full CLI surface.

Changes

FileBeforeAfter
package.json (root)>=18.0.0>=22.0.0
packages/contentstack/package.json>=14.0.0>=22.0.0
packages/contentstack-auth/package.json>=14.0.0>=22.0.0
packages/contentstack-command/package.json>=14.0.0>=22.0.0
packages/contentstack-config/package.json>=14.0.0>=22.0.0

Test Plan

  • All existing unit tests pass on Node 22.x
  • csdx --version reports correctly on Node 22
  • No engines mismatch warnings during pnpm install

@cs-raj
cs-raj requested a review from a team as a code ownerJune 24, 2026 05:51
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check TypeCount (with fixes)Without fixesThresholdResult
🔴 Critical Severity0010✅ Passed
🟠 High Severity0025✅ Passed
🟡 Medium Severity877500✅ Passed
🔵 Low Severity001000✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

SeverityBreaches (with fixes)Breaches (no fixes)SLA Threshold (with/no fixes)Status
🔴 Critical0015 / 30 days✅ Passed
🟠 High0030 / 120 days✅ Passed
🟡 Medium0090 / 365 days✅ Passed
🔵 Low00180 / 365 days✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 0
  • Medium without fixes: 77
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check TypeCount (with fixes)Without fixesThresholdResult
🔴 Critical Severity0010✅ Passed
🟠 High Severity0025✅ Passed
🟡 Medium Severity03500✅ Passed
🔵 Low Severity001000✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

SeverityBreaches (with fixes)Breaches (no fixes)SLA Threshold (with/no fixes)Status
🔴 Critical0015 / 30 days✅ Passed
🟠 High0030 / 120 days✅ Passed
🟡 Medium0090 / 365 days✅ Passed
🔵 Low00180 / 365 days✅ Passed

ℹ️ Vulnerabilities Without Available Fixes (Informational Only)

The following vulnerabilities were detected but do not have fixes available (no upgrade or patch). These are excluded from failure thresholds:

  • Critical without fixes: 0
  • High without fixes: 0
  • Medium without fixes: 3
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

@cs-raj
cs-raj merged commit 1582788 into v2-devJun 24, 2026
10 checks passed
@cs-raj
cs-raj deleted the fix/DX-9300 branch June 24, 2026 06:37
Sign up for freeto 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.

2 participants

@cs-raj@harshitha-cstk