Cognite Toolkit versions
This article lists the main changes between the Cognite Toolkit versions.
To see when support for the different resources was added, visit the resource library. To upgrade the Cognite Toolkit, follow the steps in the upgrade guide.
Version 0.5 to 0.6
This release was an accidental republishing of version 0.5. No changes were made except for bug fixes. Therefore,
it continues the 0.5.x release series.
Changes
None
New features
None
Version 0.4 to 0.5
Changes
-
The
environment.typekey in theconfig.[env].yamlfile is renamed toenvironment.validation-type. -
Function schedules and workflow triggers will no longer default to Toolkit credentials, unless the
environment.validation-typeis set todev. -
All function schedules, transformations with credentials, and workflow triggers will be redeployed the first time you run
cdf deployafter upgrading to version0.5. -
The
cdf dump datamodelno longer lists the data models that are in the system space. Use--include-globalflag to fetch the original behavior.
New features
-
The
cdf deploycommand now detects changes in credentials for function schedules, transformations with credentials, and workflow triggers. If the credentials change, resources will be redeployed. -
The
cdf dumpcommand now supports workflows, transformations, groups, and nodes.
Version 0.3 to 0.4
Changes
-
All configuration files now require suffixes to specify which resources they configure. For example, transformation configuration files must have a
.Transformation.yamlsuffix, for example,my_transformation.Transformation.yaml. This is already the case for all resources that have been added since the0.2release. -
All functions will be redeployed. In version
0.3, the Cognite Toolkit uses a hash of the function code to redeploy changed functions.In version
0.4, the Cognite Toolkit will hash individual files instead of only the function code directory. The change will cause all functions to be redeployed the first time you runcdf deployafter upgrading to version0.4. -
The
cdf pullplugin command is removed and replaced withcdf modules pull. While thecdf pullcommand only works with transformations and nodes, the newcdf modules pullcommand will work with almost all resources.
New features
-
Adds a new
cdf run workflowcommand to run a workflow from the command line. The feature requires therunplugin to be enabled. -
The
cdf deploycommand has a--force-updateflag to force an update of all resources. This is useful if you've rotated credentials and need to update all resources. -
The
cdf repo initcommand now has an option forAzure DevOpspipelines. -
New command
cdf modules pullto pull resource configurations from CDF to the local file system. This command requires that the resources are already governed by the Cognite Toolkit. -
Support for device code login flow.
Version 0.2 to 0.3
Changes
-
The
config.[env].yamlfile is optional. If you don't need to do variable substitution in yourcdf buildstep, you can skip this file(s). -
The
cdf auth verifyhas been split intocdf auth initandcdf auth verifyfor setting up and verifying the authentication. -
The toolkit no longer requires a naming conventions for resources.
-
The
cdf describecommand is removed. -
The Cognite Toolkit no longer supports Python 3.9. The new minimum supported version is Python 3.10.
-
The
cdf initcommand is replaced bycdf repo initandcdf modules init.
New features
-
The Cognite Toolkit is now released as a docker image. This is the recommended way to run the toolkit in a CI/CD pipeline.
-
New
cdf repocommand withinitsubcommand to initialize a new repository with.gitignoreand CI/CD pipeline files. -
New
cdf modulescommand to manage modules wiht subcommands forinit,add,upgrade, andlist. -
New
cdf dump asset/timeseriescommand to dump data sets/asset hierarchies to csv/parquet file(s). -
The
cdf dump datamodelcommand now has an interactive mode. -
The
cdf buildcommand now has a flag-m/--modulesto specify which module names or path to build. This overrides theenvironment.selectedkey in theconfig.[env].yamlfile.
Version 0.1 to 0.2
Changes
-
The
common_function_codeis no longer supported. -
The
cdf buildcommand cleans the build directory by default. This can be disabled with the--no-cleanflag. -
The
cognite_modulesfolder is no longer required.
New features
- Support for interactive login flow.