Skip to content

Releases: contensis/cli

contensis-cli: v1.6.0

11 Dec 21:48
c092bef

Choose a tag to compare

1.6.0 (2025-12-11)

Features

  • --dependents option accepts a number to stop fetching entry dependencies at the specified depth in get entries (209fe7d)
  • add --log-level global option to increase logging verbosity in many commands (8538b15)
  • add --no-validations option to import models with all field validations removed (0f9a4c0)
  • add --stop-level option to stop resolving entry dependencies at the specified level in import entries (4e0b9c6)
  • prune unreferenced dependencies from built entries with error status or where a field has not been mapped to a target entry in import entries (6bbe628)
  • taxonomy fields excluded when importing models (06fe2f6)

Bug Fixes

  • added field validation checks for entry, image and list fields when building entries for migration (30f7235)
  • asset uploads incompatible with Node.js native fetch (b98e786)
  • avoid 409 conflict errors when deleting nested components (06fe2f6)
  • avoid duplicate error logging in import commands (0ec27a5)
  • entries incorrectly being fetched from Delivery API causing tag fields to fail with import entries (df38de5)
  • export dependency tags and tag groups along with dependency nodes when using --save-entries option with import entries (0c8029d)
  • handle mix of entity types when importing data from JSON file so we can import entries containing nodes or import models containing default entries and tag groups (621da46)
  • implement rate limiting when deleting entries (06fe2f6)
  • import tag groups mixed with content models when using --from-file in import models (bcd6c11)
  • improve console output when importing entries with dependent tags (84af771)
  • improve console output when there are no changes to make in import tags and import entries (7a4ad75)
  • include tag groups in list models output (759f8a2)
  • null check console output with import tags and import entries (58bf59f)
  • null check for versionNo when building entries fetched from the Delivery API in entries commands (afa524b)
  • resolve tags correctly when building entries with copy field and update field (4ad5446)
  • supplying absolute file path when using --output option (78e4e87)
  • unresolved tags no longer trigger an error when building entries in migration or copy commands (f1dd397)
  • use Contensis Image API when downloading assets from a source CMS (06fe2f6)
  • use correct grammar in console output when migrating different content entites (5726941)

contensis-cli: v1.5.0

09 Sep 14:20
6979444

Choose a tag to compare

1.5.0 (2025-09-09)

Features

  • bump canvas package versions for latest features (a444377)
  • support for tags and tag groups (935aeec)

Bug Fixes

  • always look to resolve "latest" entries in a target environment when importing entries (eb74bce)
  • console errors and logging tweaks when importing entries (b5aecf8)
  • duplicated projects in shell autocomplete after recent change to projects structure held in environments.json cache (84d895f)
  • resolve shared options in list tags in sub-command (835ca09)

contensis-cli: v1.4.1

04 Mar 15:57
de515e1

Choose a tag to compare

1.4.1 (2025-03-04)

Bug Fixes

  • issue downloading assets from some environments in import commands and progress/error logging fixes when loading assets (4c8852a)
  • missing environments.json error for new users (1716094)

contensis-cli: v1.4.0

17 Dec 12:03
eac4c26

Choose a tag to compare

1.4.0 (2024-12-05)

Features

  • add --format html option to output results to a HTML table (b607f39)
  • add --no-publish option to commands that import entries so any committed entries are left in draft workflow state (a2db317)
  • add push asset command to push a supplied asset to a location in the cms (af9e41a)
  • add remove env command to remove a cached environment connection (bd774df)
  • add update field command to find a specific phrase in an entry field and replace it with another in all returned entries (9e56024)
  • read environments and current environment projects from session cache and add these to autocomplete connect and set project commands (9c2ff36)

Bug Fixes

  • add missing command to autocomplete available commands (e3c5a99)
  • less false positives when diffing built entries in import, copy and update commands (cf34914)
  • null check console output for model defaults in import models command (0e1d9c9)
  • refine console messaging in update field command (7fd9eab)
  • sort environments alphabetically in list envs output (80166ce)
  • tidy up console messaging for some import operations (8f18611)

contensis-cli: v1.3.0

26 Sep 09:48
d886e2c

Choose a tag to compare

1.3.0 (2024-09-24)

Features

  • add --no-defaults option so we can specify that we don't want to migrate defaults when migrating models (974d6cd)
  • add --root-uri option to copy field allows prefixing relative uris when converting to canvas (34b0d62)
  • add --save-entries option in import entries to save the entries built in preview when used with --output option (a7b035f)
  • add --version-status option to commands that get entries and a --latest option to override version status (7a3f341)
  • handle dependent nodes in form confirmation rules when migrating models (d92120f)
  • include defaultParentNodeId from content types in models migration (d92120f)
  • migrate dependent nodes and default assets and entries in models migration (d92120f)
  • resolve asset links in canvas fields as entry dependency in entries migrations (d92120f)
  • support new Resource Picker field in content models (3a0f94c)
  • treat resource picker allowed values as model dependencies (d92120f)
  • validate formContentType canvas blocks (d92120f)
  • validate resource picker values when building entries for migration (d92120f)

Bug Fixes

  • list models shares options with get model (c118776)
  • bug with progress bar not completing when loading initial entries for migration (d92120f)
  • canvas content generated in copy field has deterministic ids (6f18515)
  • clean up console output when using commit flag in import models (2e1aaa4)
  • csv output does not contain every possible column for every entry and output boolean fields as "true" or "false" (555ae29)
  • display additional info in output of get contenttype (f6cd445)
  • don't fetch dependent entries from migration target in copy field (d92120f)
  • entries containing taxonomy fields in copy field are mapped to management api format (8057b2a)
  • handle siteview nodes linked to entries via canvas fields when importing entries (09576e9)
  • incorrect mapping of image attributes in copy field (f2438a3)
  • incorrect total used in progress when migrating models (d92120f)
  • issues with fetching asset dependencies in import entries (c061991)
  • parse csv fields to JS types when using --from-file with csv in import entries (d141e20)
  • reduce console output with large models in get models and add --required-by option to log the complete output (bd31412)
  • resolve case insensitive ids when deleting content types and components (d92120f)
  • small console output fixes when outputting models (67331f3)
  • some entries incorrectly marked as no change in import entries (f2af65e)
  • strip escape slashes from quoted strings (59d6600)
  • support escape quotes inside quoted args in Contensis shell (3b3058b)
  • typo in help text in push block command (9760ea2)
  • unable to output content model json, added --export option to get model command (cac99a5)
  • undefined error in import entries (2a52a63)

Performance Improvements

  • don't resolve dependencies for entries in the destination environment, as entry dependencies are resolved in the source first (d87a963)
  • much quicker generating content models and maintain a file cache for generated models (b10bd29)
  • refactored code for building and migrating content models, providing a context object for each repository involved in the migration (d92120f)
  • refactored code for building entries in migrations (d92120f)
  • use file cache for commands that generate content models, add no-cache option to ignore local cache (b2a2caf)

contensis-cli: v1.2.1

09 May 10:44
61b34c1

Choose a tag to compare

1.2.1 (2024-05-09)

Bug Fixes

  • post testing issues with copy field transformations and issues in v1.2.0 (fa26f4d)

contensis-cli: v1.2.0

02 May 14:36
1bb73c4

Choose a tag to compare

1.2.0 (2024-05-02)

Features

  • add save-entries option in copy field to save the built entries to json file specified in output option (283a6cd)
  • add search option in copy field (45bc264)
  • added delivery-api option in get entries (d2028bf)
  • added RequestHandlerFactory to manage request handler release binary install/update before returning a request handler invocation method in dev requests command. Update implementation to supply args instead of writing yaml to launch request handler. (1898a2a)
  • new command copy field (1f27c2d)
  • prompt to override a running block and set a local uri with dev requests, ability to run a specific request handler version with --release option (a39ebbd)
  • templating improvements with copy field command, new arguments to copy just entry ids, or copy from zenql. Initial support for getting entries via delivery api (caa4eab)

Bug Fixes

  • import contenttypes and import components implementation when specifiying a source-cms, fix corrupted console output on both remove commands (e4b6afa)
  • after extensive testing copy field template variables (186ece2)
  • ensure downloaded request handler script has execute permission (cb6b9c7)
  • improve output logging when finding block versions using get block command (6f3f003)
  • language option in create project command incorrectly read as boolean and needs to be a string (2bb5c90)
  • sanitise --fields input ensuring they are valid api ids (fefcb34)
  • update migration package version for latest fixes (964cdb0)

Performance Improvements

  • improve response times when using import entries with very large workloads (28c2535)
  • request block versions concurrently before launching local request handler with dev requests (18135b6)

contensis-cli: v1.1.1

08 Dec 12:03
e3a27a0

Choose a tag to compare

1.1.1 (2023-12-08)

Bug Fixes

  • better handling of file imports and exports for csv and xml formats (f562a08)
  • diff not outputting in import entries (1964de0)
  • return an error when file is not found when using --from-file with import commands (c8198d8)

contensis-cli: v1.1.0

01 Dec 16:30
e037896

Choose a tag to compare

1.1.0 (2023-12-01)

Features

  • add --ignore-errors option to import commands (678117c)
  • add argument to import nodes command supporting import of nodes from a given root path (4eba8d2)
  • added command remove nodes (19e216e)
  • new commands list workflows and get workflow (4636d5a)
  • on dev init success cms link added with security token so when you click it you are automagically logged in (526c7ab)

Bug Fixes

  • dev init fixes for --dry-run option and output line spacing, some refactoring to reduce excess code (b5cefda)
  • dev init resolves incorrect git directory when providing projectHome argument (56cef25)
  • add --preserve-guids option to import nodes command and added comments (ed63912)
  • api error when using create key without supplying a description arg (4129909)
  • console line breaks and typos in dev init and missing message in dry-run (386d7e2)
  • console output fixes (0892147)
  • console output improvements for import nodes utilising a tree style view outputting additional detail with specific command options (4f88b5d)
  • console output in import nodes command (d57f9d9)
  • default to current directory when loading json using --from-file option (a922919)
  • error output enhancements for import commands (4913e40)
  • handle libsecret error when used in CI if credentials are not mapped properly by CI consumers (a7c6b54)
  • handling 0 in calculations for console output for import nodes (d571feb)
  • incorrect import options removed for non-entry imports (926fd94)
  • incorrect stats output to console with import nodes (500f71b)
  • issue assigning api key to role in dev init (1a67613)
  • missing command from tab help suggestion (de51184)
  • null checks when errors returned with import commands (bc67d4a)
  • output nodes as a flattened array when calling get nodes with --output option instead of a node "tree" (4957b8f)
  • return first child nodes by default in get nodes (5ad41cc)
  • truthy syntax error (8fc0e4e)
  • unable to use login command with id and shared secret (91a4301)
  • using --fields option gives consistent results when outputting to various formats (e785eb3)

v1.0.11

19 Sep 07:41

Choose a tag to compare

prep: release files [nobuild]