Uh oh!
There was an error while loading. Please reload this page.
feat!: Contentstack CLI v2 GA — production release - #2701
Conversation
Fix/back merge v2
DX | 06-04-2026 | Release v2
…use test command only
…prove error handling in auth-handler tests
Back Merge main to v2-beta
…use test command only
…prove error handling in auth-handler tests
Back merge main to v2-beta
update: replace .cursor commands/rules/skills with AGENTS + skills
chore: version bump
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ 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:
✅ BUILD PASSED - All security checks passed |
Final version bump to 2.0.0 will be done as the last step before merging development into main. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace 2.0.0-beta.X ranges with matching v1 versions from v1-legacy for all shared packages. cli-bulk-operations left at ^2.0.0-beta.5 as it has no v1 equivalent. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tstack-version revert: restore @contentstack/cli version to 1.67.0
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ 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:
✅ BUILD PASSED - All security checks passed |
v1 dep versions broke the build — source code imports v2-only APIs (e.g. loadChalk from cli-utilities). Keep version at 1.67.0 but dep ranges must stay at ~2.0.0-beta.X to match the v2 source. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Rolls back the premature 2.0.0 bump. Final version bump will be done as the last step before merging development into main. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
lock file update
🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ 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:
✅ BUILD PASSED - All security checks passed |
update sca scan yaml file
bfec0d9🔒 Security Scan Results
⏱️ SLA Breach Summary
ℹ️ 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:
✅ BUILD PASSED - All security checks passed |
Uh oh!
There was an error while loading. Please reload this page.
Summary
This PR merges the
developmentbranch intomain, promoting Contentstack CLI v2 from beta to General Availability. The v2 production release pipeline goes live and all beta-only infrastructure is removed.What's in this PR
Release Infrastructure
release-production-pipeline.yml→ triggers on push tomain; callsrelease-production-platform-plugins.ymlthenrelease-production-core.ymlwithsecrets: inheritrelease.yml,release-v2-beta-core.yml,release-v2-beta-platform-plugins.ymldeleted from developmentlatestlatest; v1 releases will usev1dist-tag on thev1-legacybranchBreaking Changes
Refer to MIGRATION.md for the full guide. Key breaking changes:
@contentstack/cli-launchis no longer bundled. It is now an opt-in plugin. Users must install it manually:csdx plugins:install @contentstack/cli-launch. The CLI will suggest the install command when a Launch command is invoked without the plugin present.authandconfigcommands that conflicted with oclif internals.--branchflag removed fromauth:tokens:add.auth:tokensnamespace now has its own help text;auth:tokens:listcommand added.New Features
auth:tokensnamespace +auth:tokens:listcsdx auth:tokensnow shows namespace-level help listing all token subcommands.csdx auth:tokens:listlists all stored management and delivery tokens.Opt-in launch plugin UX
launch:*command is run without the plugin installed, the CLI prints a clear warning and suggests the install command (csdx plugins:install @contentstack/cli-launch).readGlobalFieldSchemasutility@contentstack/cli-utilitiesfor reading per-file global field schemas, withglobalfields.jsonadded to the ignore list.bulk-operationsregistered as a progress-supported module.Org plan check + endpoint auto-update
Bug Fixes
csdx config:get:regionnow correctly shows the AM endpoint for custom regions@contentstack/cli-utilitiesloadingbrace-expansionCVE^4.0.5-u,-t, etc.) from auth/config commands that shadowed oclif built-insDocumentation
README.mdMIGRATION.md2.x.x-beta→2.xeverywherePackages Released
All packages below publish to the
latestdist-tag on npm when this merges and the pipeline runs.@contentstack/cli-auth2.0.0-beta.17→2.0.0@contentstack/cli-config2.0.0-beta.15→2.0.0@contentstack/cli-command2.0.0-beta.11→2.0.0@contentstack/cli-utilities2.0.0-beta.12→2.0.0@contentstack/cli-cm-import2.0.0-beta.25→2.0.0@contentstack/cli-cm-export2.0.0-beta.25→2.0.0@contentstack/cli-cm-seed2.0.0-beta.25→2.0.0@contentstack/cli-cm-bootstrap2.0.0-beta.25→2.0.0@contentstack/cli-cm-branches2.0.0-beta.11→2.0.0@contentstack/cli-cm-clone2.0.0-beta.26→2.0.0@contentstack/cli-cm-export-to-csv2.0.0-beta.12→2.0.0@contentstack/cli-cm-import-setup2.0.0-beta.19→2.0.0@contentstack/cli-migration2.0.0-beta.17→2.0.0@contentstack/cli-audit2.0.0-beta.16→2.0.0@contentstack/cli-bulk-operations2.0.0-beta.5→2.0.0Pre-merge Checklist
developmentare mergedfix/DX-10156-remove-beta-workflows(chore: remove beta release workflows from development #2700) merged intodevelopmentpackages/contentstack/package.json— update dep ranges from~2.0.0-beta.X→2.0.0and commit todevelopmentdevelopmentmainbranch protection rules reviewed (pipeline will auto-trigger on merge)NPM_TOKENsecret available in repo Actions secretsv1-legacytrigger +tag: v1) is in place before merging this PR to avoid accidentallatestoverwrite from v1 hotfixesnpm install -g @contentstack/cliinstalls v2 (checkcsdx --version)npm install -g @contentstack/cli@v1still works for v1 users