Skip to content

Releases: cognitedata/toolkit

v0.4.8

14 Feb 08:21
f5f4b6e
Compare
Choose a tag to compare

cdf

Fixed

  • The Toolkit no longer tries to update a data modeling container that does not have the usedFor field set.
  • The Toolkit no longer hides 409 errors when failing to create a resource behind a low severity warning.

Improved

  • If the cdf deploy command fails to deploy multiple Groups due to Failed to buffer the request body error, the Toolkit
    now retries to create the Groups one by one.

templates

Fixed

  • The annotation containers in the models/cdf_cdm_extension_full and models/cdf_process_industry_extension_full
    modules have now correctly set the usedFor to edge. This caused a 409 error when deploying these modules.

Details

Full Changelog: v0.4.7...v0.4.8

v0.4.7

13 Feb 09:49
c546f75
Compare
Choose a tag to compare

cdf

Added

  • [alpha feature] New alpha command cdf populate view. You can populate a view with data from a local table
    using this command. To enable this feature, you need to set populate = true in the alpha_flags section of
    your cdf.toml file.

Improved

  • Improved flow for the cdf auth init command.

templates

no changes

Details

Full Changelog: v0.4.6...v0.4.7

v0.4.6

10 Feb 08:34
d45e035
Compare
Choose a tag to compare

cdf

Fixed

  • The cdf purge space no longer tries to delete nodes in other spaces.
  • The cdf purge space now sorts node types topologically to delete them in the correct order.
  • The --hierarchy/-h flag was missing from the cdf dump timeseries command. This is now fixed.
  • The cdf purge dataset now accounts for the hierarchy when deleting assets.

templates

No changes

Details

Full Changelog: v0.4.5...v0.4.6

v0.4.5

06 Feb 10:02
ae1b808
Compare
Choose a tag to compare

cdf

Fixed

  • Building a Group with a table scoped RAWAcl no longer complains about missing dependency tables if the
    tables keyword is used to specify the tables.
  • When authentication with Toolkit, multiple IDP_Scopes are assumed to be separated by a comma in the environment
    variable IDP_SCOPES.

templates

no changes

Details

Full Changelog: v0.4.4...v0.4.5

v0.4.4

05 Feb 07:54
ec058e0
Compare
Choose a tag to compare

cdf

Fixed

  • Deploying functions containing files that are not utf-8 encoded no longer raises a UnicodeDecodeError.

templates

No changes

Details

Full Changelog: v0.4.3...v0.4.4

v0.4.3

05 Feb 07:48
238a6b6
Compare
Choose a tag to compare

cdf

Fixed

  • Calling cdf modules upgrade will no longer raise AmbiguousResourceFileError error if you have a file named
    my_file.File.yaml.

templates

No changes

Details

Full Changelog: v0.4.2...v0.4.3

v0.4.2

04 Feb 07:05
c129f9d
Compare
Choose a tag to compare

cdf

Fixed

  • An IndexError was reported when instances.nodes was an empty list. This is now fixed.
  • Calling cdf build on a hosted extractor Source resource no longer produces unrelated
    MissingRequiredParameterWarnings.
  • Reverting change from 0.3.29 that made the Toolkit update Groups by deleting then recreating. This was causing
    issues when sometimes the Group was not recreated. The Toolkit now updates by first creating the new Group and then
    deleting the old Group.
  • Groups with a rawAcl that is table scoped no longer getr redeployed when they are not changed.

templates

No changes

Details

Full Changelog: v0.4.1...v0.4.2

v0.4.1

03 Feb 10:22
51c0808
Compare
Choose a tag to compare

cdf

Added

  • [alpha feature] The alpha flag dump-extended adds support for cdf dump workflow/transformation/group/node to the
    dump plugin command.

Fixed

  • The cdf modules upgrade no longer raises a FileNotExists when renaming files in an upgrade to 0.4.0.
  • The cdf modules pull command no longer raise a NotImplementedError for Groups with members.
  • The cdf modules pull command no longer raise a KeyError if a variable is used as a key in a dictionary.
  • Running cdf deploy for Group with members now only deploys the Group if it is new or has changed.

templates

No changes

Details

Full Changelog: v0.4.0...v0.4.1

v0.4.0

31 Jan 11:14
c1dd5c6
Compare
Choose a tag to compare

cdf

Added

  • The ado-pipeline feature is no longer an alpha feature.
  • The cdf run workflow feature is no longer an alpha feature.
  • The resources streamlit, edges, relationships, sequences rows are no longer alpha features.
  • The cdf deploy --force-update flag is no longer an alpha feature.
  • The cdf build --offline flag is no longer an alpha feature.
  • The cdf modules pull feature is no longer an alpha feature.

Changed

  • All YAML files now requires a kind in the files name to identify the resource type.
  • Toolkit now hashes individual files in functions to check if they have changed. This is to get a better
    granularity when checking if a function has changed.

Removed

  • The plugin cdf pull has been removed and is now replaced by cdf modules pull.

Fixed

  • The cdf purge dataset now correctly falls back to internal IDs if external IDs are not found.
  • Upserting nodes without a source does not raise an IndexError anymore.

templates

Added

  • The ado-pipeline feature is no longer an alpha feature.
  • The cdf run workflow feature is no longer an alpha feature.
  • The resources streamlit, edges, relationships, sequences rows are no longer alpha features.
  • The cdf deploy --force-update flag is no longer an alpha feature.
  • The cdf build --offline flag is no longer an alpha feature.
  • The cdf modules pull feature is no longer an alpha feature.

Changed

  • All YAML files now requires a kind in the files name to identify the resource type.
  • Toolkit now hashes individual files in functions to check if they have changed. This is to get a better
    granularity when checking if a function has changed.

Removed

No changes

Details

Full Changelog: v0.3.30...v0.4.0

v0.3.30

31 Jan 07:50
8faf74a
Compare
Choose a tag to compare

cdf

Improved

  • [alpha feature] The cdf purge space now automatically reduces the batch size when listing the nodes/edges to
    delete when getting a 408 timeout error.
  • [alpha feature] The cdf purge now shows a spinner and updates the progress when deleting resources.

Fixed

  • Reverting the fix from 0.3.24 to read any csv dialect when uploading a csv file
    (RAW table, Datapoints, or Assets). Now, only the comma-separated dialect is supported. This is because the dialect
    inference performed too poorly and failed to read the data correctly in many cases.

templates

no changes

Details

Full Changelog: v0.3.29...v0.3.30