Skip to content

Releases: contentstack/cli

v2.0.0

Choose a tag to compare

@cs-raj cs-raj released this 13 Aug 14:44
cf8b920

What's New

New Features

@contentstack/cli (2.0.0)

  • Introduced a guided warning and install prompt for missing launch:* or cm:entries:migrate-html-rte commands instead of a bare "command not found" error, making plugins opt-in at GA.

@contentstack/cli-asset-management (1.0.0)

  • Introduced a new plugin providing full Asset Management 2.0 (AM 2.0) API support, covering spaces, workspaces, fields, and asset types.
  • Added OAuth authentication support for AM.

@contentstack/cli-bulk-operations (2.0.0)

  • Consolidated 14 separate bulk-publish commands into unified commands (cm:stacks:bulk-entries, cm:stacks:bulk-assets).
  • Added the new cm:stacks:bulk-taxonomies command for bulk publishing or unpublishing taxonomy terms.
  • Integrated the Progress Manager UI.
  • Configured NRP to be used on all publish/unpublish calls.

@contentstack/cli-cm-migrate-rte (2.0.0)

  • Made the RTE migration available as a separate, opt-in plugin via csdx plugins:install @contentstack/cli-cm-migrate-rte.

@contentstack/cli-auth (2.0.0)

  • Added the new auth:tokens:list command for listing saved tokens and introduced the auth:tokens namespace as help.

@contentstack/cli-utilities (2.0.0)

  • Added a new readGlobalFieldSchemas utility function.
  • Introduced a retry mechanism with backoff for transient HTTP errors (network / 429 / 5xx), used across AM and export/import.
  • Implemented a strategy pattern to support Progress Manager and Summary Manager rollout across plugins.
  • Registered bulk-operations as a Progress-Manager-supported module.

Enhancements

@contentstack/cli-cm-export (2.0.0)

  • Added AM 2.0 export support, featuring automatic detection via org plan-check to correctly skip assets under a management token.
  • Updated the export structure to output a flat directory.
  • Main branch is exported by default for branch-enabled stacks when the --branch flag is empty.
  • Changed global fields to export as individual files (one per item) rather than a single combined file.
  • Removed the content type schema JSON export.
  • Added concurrency support for faster AM exports and improved logging.
  • Integrated Progress Manager and Summary Manager across stack, assets, environments, taxonomies, extensions, global fields, locales, personalize, and variant-entries export.
  • Removed deprecated short flags in favor of long-form only (--data-dir, --stack-api-key, --alias, etc.).

@contentstack/cli-cm-import (2.0.0)

  • Added AM 2.0 import and asset publishing support.
  • Updated taxonomies to re-publish automatically after import, and added a new --skip-taxonomy-publish flag to allow review before publishing.
  • Integrated Progress Manager and Summary Manager.
  • Removed deprecated short flags in favor of long-form only.

@contentstack/cli-cm-import-setup (2.0.0)

  • Added AM 2.0 support and Progress Manager integration.

@contentstack/cli-cm-seed (2.0.0)

  • Refined the interactive stack-seed picker to display a curated list of 3 official starter repos instead of searching GitHub live, for a faster and more reliable experience.

@contentstack/cli-bulk-operations (2.0.0)

  • Removed the --api-version flag from cm:stacks:bulk-entries and cm:stacks:bulk-taxonomies as the NRP header is used by default.

@contentstack/cli-config (2.0.0)

  • Added optional --cs-assets and --auth-api flags to config:set:region for setting custom Contentstack Assets and Auth API endpoints.
  • Improved error handling for rate-limit failures and region-endpoint resolution.

@contentstack/cli-utilities (2.0.0)

  • Consolidated session log files into a single folder per run.
  • Renamed the console log config key internally to showConsoleLogs.

@contentstack/cli-variants (2.0.0)

  • Ensured entry variants and variant groups correctly respect the --branch flag on export and import instead of always operating against the default branch.

@contentstack/apps-cli (2.0.0)

  • Added support for -k as a shorthand for --stack-api-key.

contentstack-cli-tsgen (5.0.0)

  • Renamed the --token-alias flag to --alias.
  • Removed -o, -p, and -d short flags in favor of long-form flags only.

contentstack-cli-content-type (2.0.0)

  • Removed deprecated flags and ambiguous short characters across all six content-type:* commands (audit, compare, compare-remote, details, diagram, list).

@contentstack/cli-migration (2.0.0) and @contentstack/cli-external-migrate (2.0.0)

  • Cleaned up additional short-character flags in favor of long-form flags only.

@contentstack/cli-cm-regex-validate (2.0.0)

  • Added new message strings to the plugin.

Cross-Plugin

  • Implemented clearer, conditional success/warning messaging and consolidated end-of-run failure summaries across export, import, and bulk operations.

Bug and Security Fixes

@contentstack/cli (2.0.0)

  • Fixed an issue where Ctrl+C during an interactive prompt threw an uncaught error; it now exits cleanly with code 130.
  • Resolved several Snyk-flagged false-positive hardcoded-secret findings.

@contentstack/cli-auth (2.0.0)

  • Fixed a two-factor authentication (2FA) login issue.

@contentstack/cli-utilities (2.0.0)

  • Fixed a race condition in OAuth token refresh where concurrent refresh attempts could conflict.

@contentstack/cli-cm-clone (2.0.0)

  • Resolved a prompt issue during clone import.
  • Fixed a path-resolution bug that broke when the CLI was installed under a directory path containing /lib/ (e.g., Node's own lib/node_modules).

@contentstack/cli-cm-export (2.0.0) and @contentstack/cli-cm-import (2.0.0)

  • Fixed a null/undefined crash affecting multiple export/import modules (custom roles, environments, extensions, labels, locales, taxonomies, webhooks, and workflows).
  • Resolved a duplicate prompt for the marketplace app encryption key during export.
  • Corrected the taxonomy and extension mapper path used during import, which previously pointed to the wrong directory.

@contentstack/cli-cm-export-to-csv (2.0.0)

  • Fixed pagination when fetching organization users for organization owners with a large number of users.

@contentstack/cli-cm-seed (2.0.0)

  • Fixed a directory-change ordering bug that could break a nested import during seeding.

@contentstack/cli-audit (2.0.0)

  • Fixed the prompt shown when auditing a stack with no global fields.

@contentstack/cli-variants (2.0.0)

  • Fixed a content-type linking failure when a personalize experience had no audience.

@contentstack/cli-external-migrate (2.0.0)

  • Resolved a path traversal vulnerability in the Contentful migration adapter.

Core Production 1.66.0

Choose a tag to compare

@github-actions github-actions released this 29 Jul 11:12

What's Changed

Full Changelog: https://github.com/contentstack/cli/compare/core@v1.65.0...core@v1.66.0

Core Beta 2.0.0-beta.30

Pre-release

Choose a tag to compare

What's Changed

Full Changelog: https://github.com/contentstack/cli/compare/core@v1.65.0...core@v2.0.0-beta.30

Core Production 1.65.0

Choose a tag to compare

@github-actions github-actions released this 13 Jul 11:31

Core Beta 2.0.0-beta.29

Pre-release

Choose a tag to compare

Core Beta 2.0.0-beta.28

Pre-release

Choose a tag to compare

Core Beta 2.0.0-beta.27

Pre-release

Choose a tag to compare

Core Production 1.64.0

Choose a tag to compare

@github-actions github-actions released this 29 Jun 13:36

What's Changed

Full Changelog: https://github.com/contentstack/cli/compare/core@v1.63.1...core@v1.64.0

Core Beta 2.0.0-beta.26

Pre-release

Choose a tag to compare

What's Changed

Full Changelog: https://github.com/contentstack/cli/compare/core@v1.63.1...core@v2.0.0-beta.26

Core Production 1.63.1

Choose a tag to compare

@github-actions github-actions released this 15 Jun 11:24

What's Changed

Full Changelog: https://github.com/contentstack/cli/compare/core@v1.63.0...core@v1.63.1