Releases: contensis/cli
Releases · contensis/cli
contensis-cli: v1.6.0
1.6.0 (2025-12-11)
Features
--dependentsoption accepts a number to stop fetching entry dependencies at the specified depth inget entries(209fe7d)- add
--log-levelglobal option to increase logging verbosity in many commands (8538b15) - add
--no-validationsoption to import models with all field validations removed (0f9a4c0) - add
--stop-leveloption to stop resolving entry dependencies at the specified level inimport 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-entriesoption withimport 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-fileinimport models(bcd6c11) - improve console output when importing entries with dependent tags (84af771)
- improve console output when there are no changes to make in
import tagsandimport entries(7a4ad75) - include tag groups in
list modelsoutput (759f8a2) - null check console output with
import tagsandimport entries(58bf59f) - null check for
versionNowhen building entries fetched from the Delivery API in entries commands (afa524b) - resolve tags correctly when building entries with
copy fieldandupdate field(4ad5446) - supplying absolute file path when using
--outputoption (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
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.jsoncache (84d895f) - resolve shared options in
list tags insub-command (835ca09)
contensis-cli: v1.4.1
contensis-cli: v1.4.0
1.4.0 (2024-12-05)
Features
- add
--format htmloption to output results to a HTML table (b607f39) - add
--no-publishoption to commands that import entries so any committed entries are left in draft workflow state (a2db317) - add
push assetcommand to push a supplied asset to a location in the cms (af9e41a) - add
remove envcommand to remove a cached environment connection (bd774df) - add
update fieldcommand 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
connectandset projectcommands (9c2ff36)
Bug Fixes
- add missing command to autocomplete available commands (e3c5a99)
- less false positives when diffing built entries in
import,copyandupdatecommands (cf34914) - null check console output for model defaults in
import modelscommand (0e1d9c9) - refine console messaging in
update fieldcommand (7fd9eab) - sort environments alphabetically in
list envsoutput (80166ce) - tidy up console messaging for some import operations (8f18611)
contensis-cli: v1.3.0
1.3.0 (2024-09-24)
Features
- add
--no-defaultsoption so we can specify that we don't want to migrate defaults when migrating models (974d6cd) - add
--root-urioption tocopy fieldallows prefixing relative uris when converting to canvas (34b0d62) - add
--save-entriesoption inimport entriesto save the entries built in preview when used with--outputoption (a7b035f) - add
--version-statusoption to commands that get entries and a--latestoption 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 modelsshares options withget model(c118776)- bug with progress bar not completing when loading initial entries for migration (d92120f)
- canvas content generated in
copy fieldhas 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 fieldare 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-filewith csv inimport entries(d141e20) - reduce console output with large models in
get modelsand add--required-byoption 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 changeinimport 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
--exportoption toget modelcommand (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-cacheoption to ignore local cache (b2a2caf)
contensis-cli: v1.2.1
contensis-cli: v1.2.0
1.2.0 (2024-05-02)
Features
- add
save-entriesoption incopy fieldto save the built entries to json file specified inoutputoption (283a6cd) - add
searchoption incopy field(45bc264) - added
delivery-apioption inget entries(d2028bf) - added
RequestHandlerFactoryto manage request handler release binary install/update before returning a request handler invocation method indev requestscommand. 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--releaseoption (a39ebbd) - templating improvements with
copy fieldcommand, new arguments to copy just entry ids, or copy from zenql. Initial support for getting entries via delivery api (caa4eab)
Bug Fixes
import contenttypesandimport componentsimplementation when specifiying a source-cms, fix corrupted console output on bothremovecommands (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 blockcommand (6f3f003) - language option in
create projectcommand incorrectly read as boolean and needs to be a string (2bb5c90) - sanitise
--fieldsinput ensuring they are valid api ids (fefcb34) - update migration package version for latest fixes (964cdb0)
Performance Improvements
contensis-cli: v1.1.1
contensis-cli: v1.1.0
1.1.0 (2023-12-01)
Features
- add
--ignore-errorsoption to import commands (678117c) - add argument to
import nodescommand supporting import of nodes from a given root path (4eba8d2) - added command
remove nodes(19e216e) - new commands
list workflowsandget 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 initfixes for--dry-runoption and output line spacing, some refactoring to reduce excess code (b5cefda)dev initresolves incorrect git directory when providing projectHome argument (56cef25)- add
--preserve-guidsoption toimport nodescommand and added comments (ed63912) - api error when using
create keywithout supplying a description arg (4129909) - console line breaks and typos in
dev initand missing message in dry-run (386d7e2) - console output fixes (0892147)
- console output improvements for
import nodesutilising a tree style view outputting additional detail with specific command options (4f88b5d) - console output in
import nodescommand (d57f9d9) - default to current directory when loading json using
--from-fileoption (a922919) - error output enhancements for import commands (4913e40)
- handle
libsecreterror 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 nodeswith--outputoption instead of a node "tree" (4957b8f) - return first child nodes by default in
get nodes(5ad41cc) - truthy syntax error (8fc0e4e)
- unable to use
logincommand with id and shared secret (91a4301) - using
--fieldsoption gives consistent results when outputting to various formats (e785eb3)
v1.0.11
prep: release files [nobuild]