Skip to content

Releases: cognitedata/toolkit

v0.3.28

21 Jan 12:27
4aaa985
Compare
Choose a tag to compare

cdf

Fixed

  • Variable replacement was too restrictive for environment variables. Previous behaviour to replace all
    environment variables has been restored with the exception of Extraction Pipeline Configs.
  • Supporting non-ascii characters like æ,ø, å, ç, ã in built files

templates

No changes

v0.3.27

20 Jan 09:03
4b92c0b
Compare
Choose a tag to compare

cdf

Improved

  • The cdf dump asset and cdf dump timeseries commands now always dump tables with
    the same columns in the same order.

Fixed

  • The cdf build no longer raises a ToolkitFileNotFoundError when building without a config.[env].yaml file.

templates

Fixed

  • The inrobot module no longer raises a ResourceUpdateError/ResourceCreateError when running
    cdf deploy.

Details

Full Changelog: v0.3.26...v0.3.27

v0.3.26

16 Jan 10:20
8a66e3e
Compare
Choose a tag to compare

cdf

Added

  • [alpha feature] cdf import transformation-cli now has a new flag --clean to remove the
    source files after importing.

Fixed

  • All groups are now correctly deployed before resources that has authentication to them (Transformation,
    'FunctionSchedule, WorkflowTrigger).

Changed

  • Running cdf auth init/verify no longer automatically activates Cognite Functions on private link environments
    projects.

Improved

  • You now get a warning if you use the $FILENAME template incorrectly in the CogniteFile/FileMetadata resource.
  • If a {{ variable }} replacement causes a YAMLFormatError, the Toolkit now gives you a hint on how to fix it.
  • If you use a dataSetId, the Toolkit now gives you a hint to use dataSetExternalId instead.
  • The Toolkit fallback to read any file as utf-8 if it fails to read.
  • The Toolkit no longer gives UnusedParamterWarning for WorkflowVersion using a subworkflow task.
  • If a Transformation/FunctionSchedule/WorkflowTrigger fails to deploy due to environment variables missing,
    the Toolkit now gives a hint on how to fix it.
  • [alpha feature] If you get a duplicated item due to using the repeated-module feature. The Toolkit now gives
    you a hint on how to fix it.

templates

no changes

Details

What's Changed

Full Changelog: v0.3.25...v0.3.26

v0.3.25

10 Jan 08:58
7e5f53b
Compare
Choose a tag to compare

cdf

Added

  • [alpha feature] Support for SequenceRows resources in the classic directory. Alpha flag classic=True.

Fixed

  • Deploying raw tables or datapoints from csv should no longer raise a pandas.errors.ParserError.

Improved

  • On Windows, commands such as cdf modules list were Toolkit needs to delete a temporary directory no longer
    raise an PermissionError, but instead has a gracefully fallback, and gives a warning if the fallback fails.

templates

no changes

Details

Full Changelog: v0.2.24...v0.3.25

v0.3.24

06 Jan 14:32
5fcc67b
Compare
Choose a tag to compare

cdf

Added

  • [alpha feature] Support for running cdf build without comparing against CDF project for missing dependencies
    with the flag --offline.
  • [alpha feature] New subcommand cdf modules pull which pulls the configuration from the CDF project to the local
    modules directory.
  • Support for property dataModelingType in LocationFilter resources.

Fixed

  • No more warning about missing .env file when running in Google Cloud Build.
  • No more warning about missing .env file if all variables are set in the environment.
  • When deploying a Sequence resource, Cognite Toolkit now replaces dataSetExternalId with dataSetId.
  • Cognite Toolkit has improved resources that have server set default values that can lead to redeploy even when
    unchanged. This includes Sequences, Containers, DataSets, Views, Nodes, Edges, ExtractionPipelines,
    CogniteFiles, HostedExtractorJobs, Relationships, RobotMaps, and WorkflowVersions.
  • When uploading a csv file (RAW table, Datapoints, or Assets) any CSV dialect is now supported.
  • LocationFilters now parses the version key of View and DataModel correctly as a string.
  • LocationFilters now converts an empty string of dataSetExternalId to 0 instead of ignoring it.
  • On CDF deployed on Azure and AWS clouds, setting the CPU and memory of a CogniteFiles to lower than
    the required value no longer triggers a redeploy.
  • Toolkit now looks up the assetExternalId in the Sequence resource when deploying.

templates

Fixed

  • Renamed non-toolkit Function config files for bootcamp module.

Details

What's Changed

Full Changelog: v0.3.23...v0.2.24

v0.3.23

13 Dec 09:39
e8c91e3
Compare
Choose a tag to compare

cdf

Fixed

  • Running cdf auth init no works for CDF as the IDP provider.

Improved

  • You can now set the CDF_CLIENT_TIMEOUT and CDF_CLIENT_MAX_WORKERS to control the timeout and the number of
    workers used by Toolkit when communicating with CDF.

templates

No changes

Details

What's Changed

Full Changelog: v0.3.22...v0.3.23

v0.3.22

12 Dec 07:58
dca90b7
Compare
Choose a tag to compare

cdf

Fixed

  • Deploying GraphQL is no longer sensitive to the newlines inside of directives.
  • Functions are no longer always redeployed if indexUrl or extraIndexUrls are set in the Function resource.

templates

No changes

Details

Full Changelog: v0.3.21...v0.3.22

v0.3.21

11 Dec 12:09
d98d1e1
Compare
Choose a tag to compare

cdf

Fixed

  • [alpha feature] Deploying GraphQL now correctly ignores end-of-line comments in the .graphql file.

templates

No changes

Details

What's Changed

Full Changelog: v0.3.20...v0.3.21

v0.3.20

10 Dec 10:15
d02995c
Compare
Choose a tag to compare

CDF

Fixed

  • cdf deploy no longer raises a OSError when deploying a Transformation with the SQL query in the YAML file.

Templates

No changes

v0.3.19

09 Dec 09:39
eb9fe24
Compare
Choose a tag to compare

cdf

Added

  • [alpha feature] cdf purge dataset now supports purging resources with internal IDs.

Fixed

  • Replacing variables in an inline SQL query no longer removes the quotes around the variable.
  • Running cdf build on an older module will no longer raise an KeyError if the module.toml does
    not have a package key.
  • [alpha feature] cdf purge dataset no longer deletes LocationFilters
  • [alpha feature] GraphQL resources with views that specify a rawFilter no longer raise an error when
    running cdf deploy.
  • In the cdf dump datamodel command, properties that are overridden in a view are now correctly dumped.

Changed

  • [alpha feature] cdf purge now requires a confirmation before deleting resources.
  • Building a Transformation will store the .sql file in the build directory instead of inlined in the
    resource YAML file.

Improved

  • Consistent display names of resources in output table of cdf deploy and cdf clean.

templates

No changes to templates.

Details

New Contributors

Full Changelog: v0.3.18...v0.3.19