Skip to content

Releases: cognitedata/toolkit

v0.2.12

08 Jul 08:55
9d349c3
Compare
Choose a tag to compare

cdf-tk

Added

  • [Feature Preview] Robotic support.

Templates

No changes to templates.

Details

Full Changelog: v0.2.11...v0.2.12

v0.2.11

05 Jul 15:02
47c60e2
Compare
Choose a tag to compare

cdf-tk

Fixed

  • When running cdf-tk build, if you had two files non-YAML files named the same in different modules, or subdirectories
    in the same module, the Toolkit would overwrite the first file with the second file. This is now fixed.

Templates

No changes to templates.

Details

What's Changed

Full Changelog: v0.2.10...v0.2.11

v0.2.10

03 Jul 09:17
234b708
Compare
Choose a tag to compare

cdf-tk

Fixed

  • When running cdf-tk build, if you use subdirectories in a resource directories, and have two resources with the
    same file name, the Toolkit would overwrite the first resource with the second resource. This is now fixed. For
    example, if you have my_module/transformation/subdirectory1/my_transformation.Transformation.yaml and
    my_module/transformation/subdirectory2/my_transformation.Transformation.yaml, the Toolkit would only build the
    second resource.

Templates

No changes to templates.

Details

Full Changelog: v0.2.9...v0.2.10

v0.2.9

02 Jul 13:16
fb1c55a
Compare
Choose a tag to compare

cdf-tk

Changed

  • Tracking usage of Toolkit commands.

Templates

No changes to templates.

Details

Full Changelog: v0.2.8...v0.2.9

v0.2.8

01 Jul 13:50
23706bd
Compare
Choose a tag to compare

cdf-tk

Added

  • [Feature Preview] Option to turn off semantic naming checks for resources. Turn on the feature by running
    cdf-tk features set no-naming --enable.

Fixed

  • When running cdf-tk run function --local, the toolkit would raise an ToolkitValidationError. This is now fixed.
  • When running cdf-tk deploy --dry-run, if any resource was referencing a DataSet, SecurityCategory,
    or ExtractionPipeline, it would incorrectly be classified as changed. This is now fixed. This applied to
    ExtractionPipeline, FileMetadata, Function, Group, Label, TimeSeries, and Transformation resources.

Changed

  • Function configurations for multiple functions can now be in multiple files in the function directory. Before
    all configurations had to be listed in the same YAML file.

Templates

Fixed

  • Added missing dependency to requirements.txt in cognite_modules/examples/cdf_functions_dummy.

Details

What's Changed

Full Changelog: v0.2.7...v0.2.8

v0.2.7

28 Jun 12:42
0d0e05e
Compare
Choose a tag to compare

cdf-tk

Fixed

  • Function schedule for functions with a : in the external id would raise an ValueError.
    This is now fixed.
  • Transformation notifications for transformations with a : in the external id would raise an ValueError.
    This is now fixed.
  • When running cdf-tk deploy, you would get warnings about unrelated resources that were not part of the deployment.
    This is now fixed.
  • The transformations/notifications endpoint was giving 500 errors for requests to non-exising transformations.
    This is now handled by the toolkit and will not raise an error.
  • When doing variable replacement in a sql such as dataset_id('{{dataset_external_id}}'), the toolkit would
    remove the quotes. This is now fixed.

v0.2.6

26 Jun 09:25
a431e94
Compare
Choose a tag to compare

cdf-tk

Improved

  • The --verbose flag is now moved to the end of the command. For example, instead of cdf-tk --verbose build,
    you should now write cdf-tk build --verbose. The old syntax is still supported but will raise a deprecation warning.
  • When running cdf-tk deploy --verbose you will now get a detailed output for each resource that has changed
    (or will change if you use --dry-run).
  • Allow values test and qa as type in the config.[env].yaml file.

Fixed

  • When running cdf-tk build with Views with custom filters, the Toolkit would likely give a UnusedParameterWarning.
    This is now fixed by not validating the details of View.filters. The motivation is that View.filters is a complex
    structure, and it is likely that you will get a false warning. The users that starts to use View.filters are
    expected to know what they are doing.
  • If you run cdf-tk deploy and you had a child view that overrides a property from a parent view, the Toolkit would
    log it as changed even though it was not. This is now fixed.

Templates

No changes to templates.

Details

What's Changed

Full Changelog: v0.2.5...v0.2.6

v0.2.5

25 Jun 07:29
5c7bbbc
Compare
Choose a tag to compare

cdf-tk

Fixed

  • When running cdf-tk build, with RAW tables in the selected modules, the Toolkit would always warn that the
    tables were missing, even though they were present. This is now fixed.
  • When running cdf-tk init --upgrade <YOUR PROJECT> form version 0.1.4 the user would get a
    ERROR (ToolkitMigrationError): Failed to find migration from version 0.1.4.. This is now fixed.
  • When running cdf-tk build, the Toolkit would give you warning when referencing a system Space, View, Container
    or DataModel. This is now fixed.
  • [Feature Preview] When running cdf-tk import transformation-cli on a manifest with a query file that
    is separated from the manifest, the toolkit would raise a FileNotFoundError. This is now fixed.

Templates

No changes to templates.

Details

What's Changed

Full Changelog: v0.2.4...v0.2.5

v0.2.4

24 Jun 12:30
9a76468
Compare
Choose a tag to compare

cdf-tk

Added

  • [Feature Preview] Support for resource type Asset in the assets folder. Turn on the feature by running
    cdf-tk features set assets --enable.

Improved

  • When running cdf-tk build and the selected modules is missing, the user will now get a hint about
    how to fix the issue.
  • When running cdf-tk build and a module contains non-resource directories, the user will now get a warning
    that the directory is not a resource directory.

Fixed

  • The data type of variables config.[env].yaml file is now preserved. For example, if you had my_variable: "123",
    then the cdf-tk build would build the resource file with the number instead of the string, my_variable: 123.
    This is now fixed.
  • File configurations given as a list/array, lost the dataSetExternalId in the cdf-tk deploy command.
    This is now fixed.
  • Added missing required dependency packaging to cognite-toolkit.

Templates

No changes to templates.

Details

Full Changelog: v0.2.3...v0.2.4

v0.2.3

20 Jun 08:55
2bb0e85
Compare
Choose a tag to compare

cdf-tk

Improved

  • When running cdf-tk build and missing CDF_PROJECT environment variable, the user will now get a more informative
    error message.

Fixed

  • The variable type in the environment section of the config.[env].yaml now raises an error if it is not
    set to dev, staging, or prod.

Added

  • The preview feature IMPORT_CMD added. This enables you to import a transformation-cli manifest into
    resource configuration files compatible with the cognite-toolkit. Activate by running
    cdf-tk features set IMPORT_CMD --enable, and deactivate by running cdf-tk features set IMPORT_CMD --disable.
    Run cdf-tk import transformation-cli --help for more information about the import command.

Templates

No changes to templates.

Details

What's Changed

Full Changelog: v0.2.2...v0.2.3