Skip to content

DX | 12-08-2026 | Release - #2697

Merged
cs-raj merged 816 commits into
developmentfrom
v2-dev
Aug 12, 2026
Merged

DX | 12-08-2026 | Release#2697
cs-raj merged 816 commits into
developmentfrom
v2-dev

Conversation

@cs-raj

@cs-raj cs-raj commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Release PR merging v2-dev into development for the 12-08-2026 release cycle. Accumulates changes from the last release (25-05-2026) through the current date, including bug fixes, new utilities, documentation, and CI/CD pipeline updates.


Bug Fixes

  • Refactored OAuth token refresh logic in AuthHandler to prevent concurrent session expiry — eliminates race condition where parallel requests each triggered a refresh
  • Fixed failing unit test cases in contentstack-utilities
  • Fixed incorrect text displayed for content assets export
  • Fixed chalk load error by adding a global cache in chalk.ts and unifying @contentstack/cli-utilities loading across the monorepo to prevent multiple instances
  • Fixed csdx config:get:region not displaying the AM endpoint for custom regions

New Features / Enhancements

  • Progress Summary System (contentstack-utilities): Added cli-progress-manager, summary-manager, and progress-strategy — a structured progress/summary reporting layer for long-running CLI operations
  • Content-Type Utils (contentstack-utilities): New content-type-utils.ts module with shared content-type helpers
  • Opt-in Plugin Guide (contentstack): New opt-in-plugin-guide.ts init hook to surface plugin adoption guidance on startup
  • auth tokens list split into its own command file for cleaner separation
  • AM2.0 support: Version bumps across CLI packages to align with AM2.0

Removals

  • Removed command-deprecation-check.ts prerun hook from @contentstack/cli

Documentation & AI Config

  • MIGRATION.md: Comprehensive V1 → V2 migration guide (664 lines) covering all breaking changes, command renames, flag changes, and updated workflows
  • BULK-OPERATIONS-MIGRATION.md: Dedicated guide (510 lines) for migrating bulk-publish/bulk-unpublish workflows to V2
  • AGENTS.md: AI agent instructions replacing the removed .cursor/ rules
  • skills/: Moved and significantly expanded CLI skills (code-review, contentstack-cli, dev-workflow, framework, testing) from .cursor/skills/ to root skills/ directory
  • Updated README.md with V2 references

CI/CD & Infrastructure

  • Removed release-production-pipeline.yml (superseded)
  • Added unified release.yml workflow
  • Renamed beta release workflows: release-v2-beta-core.yml, release-v2-beta-platform-plugins.yml
  • Security: overrode brace-expansion to 5.0.5 across all packages
  • Updated sca-scan.yml and unit-test.yml workflows

Test Coverage

  • Added mocha-root-hooks.js to contentstack-auth, contentstack-config, and contentstack-utilities for consistent test setup
  • New test files: cliProgressManager.test.ts, summaryManager.test.ts, content-type-utils.test.ts, auth-handler.test.ts
  • Improved existing test coverage in tokens-add, tokens-remove, region, log, auth-handler

Packages Changed

  • @contentstack/cli (main)
  • @contentstack/cli-auth
  • @contentstack/cli-command
  • @contentstack/cli-config
  • @contentstack/cli-utilities

Test Plan

  • csdx auth:tokens --list — verify token listing works
  • csdx auth:tokens:remove — verify token removal flow
  • csdx config:get:region — verify AM endpoint shows for custom regions
  • csdx config:set:rate-limit — verify rate limit config
  • OAuth login with concurrent requests — confirm no session expiry race condition
  • Export with content assets — verify correct status messages
  • Startup — verify opt-in plugin guide hook fires correctly
  • pnpm test across contentstack-auth, contentstack-config, contentstack-utilities — all green

🤖 Generated with Claude Code

naman-contentstack and others added 30 commits March 24, 2026 19:04
…expire

Refactor OAuth token refresh logic in AuthHandler to prevent concurre…
chore: update package versions and dependencies across contentstack p…
DX | 30-03-2026 | Release | v2-beta
DX | 06-04-2026 | Release v2
cs-raj and others added 13 commits August 5, 2026 19:07
GitHub Actions workflow pins pnpm@10.28.0 via action-setup; bumping
packageManager to 10.34.4 caused ERR_PNPM_BAD_PM_VERSION in CI.
Keep packageManager aligned with the workflow config.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fix opt-in plugin warning hook to also cover migrate-rte
chore: GA version bumps — promote all packages from beta to 2.0.0 and update third-party deps
@cs-raj
cs-raj requested review from a team as code owners August 12, 2026 07:30
@snyk-io

snyk-io Bot commented Aug 12, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

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

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 2 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

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

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 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: 2
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

harshitha-cstk
harshitha-cstk previously approved these changes Aug 12, 2026
Comment thread .github/workflows/release-v2-beta-core.yml
Comment thread .github/workflows/release-v2-beta-core.yml
cs-raj and others added 2 commits August 12, 2026 16:15
Port production release workflows from development branch for v2 GA:
- release-production-pipeline.yml: triggers on main + workflow_dispatch
- release-production-core.yml: tag:latest, non-prerelease GitHub release
- release-production-platform-plugins.yml: utilities/command/config/auth
  with tag:latest

Also adds .talismanrc exception for secrets:inherit false positive in
the pipeline workflow.

Closes DX-10156

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…-release-workflows

feat: add v2 production release workflows
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

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

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 2 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

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

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 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: 2
  • Low without fixes: 0

✅ BUILD PASSED - All security checks passed

@cs-raj
cs-raj requested a review from netrajpatel August 12, 2026 11:31
@cs-raj
cs-raj merged commit fd00ff6 into development Aug 12, 2026
11 checks passed
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.

8 participants