Skip to content

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

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

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

Conversation

@cs-raj

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

Copy link
Copy Markdown
Contributor

DX | 12-08-2026 | Release

Promotes the CLI v2 plugin suite from v2-devdevelopment. All packages reach their GA v2.0.0 milestone.


Version Bumps

Package Previous New
@contentstack/cli-asset-management 1.0.0 (new)
@contentstack/apps-cli 1.7.4 2.0.0
@contentstack/cli-audit 1.21.0 2.0.0
@contentstack/cli-cm-bootstrap 1.19.9 2.0.0
@contentstack/cli-cm-branches 1.8.5 2.0.0
@contentstack/cli-bulk-operations 1.2.4 2.0.0
@contentstack/cli-cm-clone 1.21.11 2.0.0
@contentstack/cli-cm-export 1.27.0 2.0.0
@contentstack/cli-cm-export-to-csv 1.12.8 2.0.0
@contentstack/cli-cm-export-query 1.0.7 2.0.0
@contentstack/cli-cm-import 1.35.0 2.0.0
@contentstack/cli-cm-import-setup 1.8.8 2.0.0
@contentstack/cli-cm-migrate-rte 1.7.4 2.0.0
@contentstack/cli-cm-regex-validate 1.0.3 2.0.0
@contentstack/cli-cm-seed 1.15.10 2.0.0
@contentstack/cli-external-migrate 1.0.0-alpha.7 2.0.0
@contentstack/cli-migration 1.12.6 2.0.0
@contentstack/cli-variants 1.6.2 2.0.0
contentstack-cli-content-type 1.5.4 2.0.0
contentstack-cli-tsgen 4.10.3 5.0.0

@contentstack/cli-asset-management (new package)

New Features

  • First release of the Contentstack Assets API adapter for export and import.
  • Export assets across spaces, workspaces, and asset types with chunked JSON output.
  • Import assets with full field mapping and workspace/space-level reconciliation.
  • OAuth support for authenticated asset operations.
  • Asset publishing with environment and locale targeting.
  • Query export support for CS Assets.
  • Retry utility for resilient API calls.

@contentstack/cli-bulk-operations

Breaking Changes

  • Removed the --api-version flag from cm:stacks:bulk-entries. The NRP header is now hardcoded at the SDK call site to 3.2. Any scripts or CI pipelines passing this flag must remove it — it will cause an unrecognized-flag error.

New Features

  • Added cm:stacks:bulk-taxonomies command for bulk taxonomy publish/unpublish operations.
  • Added CS Assets delete and move operations to the bulk-assets command.
  • Integrated progress manager UI for real-time operation feedback.
  • Asset count API integrated for exact pagination totals.

Fixes

  • Chunk CS Assets bulk delete/move requests to the 100-item API cap.
  • Collect all locales and deduplicate asset UIDs in bulk publish payload.
  • Hardened NRP header enforcement on taxonomy publish and fixed include-variants validation.

@contentstack/cli-cm-export

New Features

  • Detect Asset Management 2.0 via plan-check; automatically skip assets under a management token.
  • Global fields now exported in per-file format (one file per global field UID) instead of a single bundled file.

Fixes

  • Validate --module flag value before execution begins.
  • Remove unused @contentstack/cli-dev-dependencies package.

@contentstack/cli-cm-import

New Features

  • Global fields now imported from per-file format, matching the new export structure.

Fixes

  • Preserve env-locale pairing for AM asset publish during import.
  • Fix entry publish locale mapping — added local env mapping for entries as 1:1.
  • Validate --module flag value before execution begins.

@contentstack/cli-audit

New Features

  • Global fields audit updated to per-file format.

Fixes

  • Scope asset publish details audit to the exported stack only; prevent cross-stack bleed.
  • Report skipped publish details accurately when the source stack is unknown.
  • Fix 'detials' typo in ASSET_FIX message.

@contentstack/apps-cli

New Features

  • Added org plan check before asset scanning operations.

Fixes

  • Show login error on console and improve API key validation.
  • Normalize short flag consistency.

@contentstack/cli-variants

Fixes

  • Fix CT linking failure when an experience has empty audiences.
  • Make the variant-skip warning message generic (no longer hardcodes variant type).
  • Remove unused lodash/values and lodash/cloneDeep imports.

@contentstack/cli-cm-bootstrap

Breaking Changes

  • Removed the deprecated seed repo. Any bootstrap flows that referenced the old seed repository will need to be updated.

Fixes

  • Remove dead sampleapp branch reference.

@contentstack/cli-cm-seed

Breaking Changes

  • Removed deprecated stack-starter-app seed stack.

Fixes

  • Restore --locale hidden flag — required internally by bootstrap.

@contentstack/cli-cm-clone

Fixes

  • Resolve package root correctly by directory depth in the clone command.
  • Resolve stack-clone auth failure for non-NA regions.

@contentstack/cli-cm-import-setup

Fixes

  • Show backup folder path on command completion.

@contentstack/cli-cm-regex-validate

Fixes

  • Remove eslint-config-oclif-typescript from flat ESLint config.
  • Normalize short flag consistency across commands.

@contentstack/cli-migration

Breaking Changes

  • Removed deprecated command aliases and hidden flags.

Fixes

  • Normalize short flag consistency.

@contentstack/cli-cm-migrate-rte

Breaking Changes

  • Removed deprecated command aliases and hidden flags.

contentstack-cli-tsgen (5.0.0)

Fixes

  • Normalize short flag consistency.

@contentstack/cli-cm-branches

  • No functional changes. Version bumped to 2.0.0 as part of the GA v2 release baseline.

@contentstack/cli-cm-export-to-csv

Fixes

  • Fixed bulk operation integration and export-to-csv data handling.
  • Cleaned up stale beta version strings and broken links in README.

@contentstack/cli-cm-export-query

Fixes

  • Removed unused @contentstack/cli-dev-dependencies package.

contentstack-cli-content-type

New Features

  • Global fields now reflected in per-file format, consistent with export/import/audit changes.

Fixes

  • Removed stale --token-alias flag exclusions from README.

@contentstack/cli-external-migrate

Fixes

  • Updated short flags of external commands.
  • Add api_version 3.2 header assertions on scheduleEntryAction.

Cross-cutting

  • Security: Resolved Snyk hardcoded secret false positives in message constants across multiple packages.
  • Security: Resolved path traversal issue.
  • Auth: Show login error on console and improved API key validation across import/export flows.
  • CI: Normalized plugin test scripts, added tsgen coverage, and switched to per-package CI execution.
  • Chore: GA version bumps — dropped all -beta suffixes, bumped third-party deps to latest minor.

cs-raj and others added 30 commits June 29, 2026 18:12
Fixed lint and lock file update
DX | 29-06-2026 | Beta Release
add API key validation in import/export configurations
naman-contentstack and others added 14 commits August 6, 2026 13:32
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The ASSET_FIX message shipped with a misspelling in user-facing output.
A regression test in test/unit/messages/index.test.ts guards against it
and was failing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The private method had no callers. Asset scanning detection is already
handled in import-config-handler.ts via config.planStatus['assetsScan'],
which feeds assetScanningEnabled and skipAssetsPublish. Keeping a second
detection path with a different data source risked drift, and its bare
catch reported "not enabled" on any API error.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Feature branch for Asset scanning v2
fix  rename --config-file to --config and --config to --inline-config in cm:stacks:migration
chore: GA version bumps — promote all packages from beta to stable and update third-party deps
@cs-raj
cs-raj requested review from a team as code owners August 12, 2026 07:27
@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 0 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

✅ BUILD PASSED - All security checks passed

harshitha-cstk
harshitha-cstk previously approved these changes Aug 12, 2026
Comment thread .github/workflows/release-v2-beta-plugins.yml
Comment thread .github/workflows/release-v2-beta-plugins.yml
cs-raj and others added 2 commits August 12, 2026 16:15
Port release-production-plugins.yml from development branch for v2 GA,
with v2-specific changes:
- Trigger on main + workflow_dispatch, tag:latest
- Added asset-management and bulk-operations (new in v2)
- Removed bulk-publish (package does not exist in v2)
- Removed duplicate apps-cli publish step (was publishing with both
  tag:latest and tag:beta)
- Removed broken create_release step (referenced non-existent step id
  publish-plugins and had an incomplete shell script)

Closes DX-10156

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

feat: add v2 production release workflow
@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 0 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

✅ BUILD PASSED - All security checks passed

@cs-raj
cs-raj merged commit 57bac9f into development Aug 12, 2026
9 of 12 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