Releases: cognitedata/toolkit
Releases · cognitedata/toolkit
v0.4.8
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 multipleGroup
s due toFailed to buffer the request body
error, the Toolkit
now retries to create theGroup
s one by one.
templates
Fixed
- The annotation containers in the
models/cdf_cdm_extension_full
andmodels/cdf_process_industry_extension_full
modules have now correctly set theusedFor
toedge
. This caused a 409 error when deploying these modules.
Details
- [CDF-24115, CDF-23966] 😠 Group fallback one-by-one by @doctrino in #1462
- [CDF-24120] 😢 Fails to deploy idm extension by @doctrino in #1463
- Prepare 0.4.8 by @doctrino in #1464
Full Changelog: v0.4.7...v0.4.8
v0.4.7
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 setpopulate = true
in thealpha_flags
section of
yourcdf.toml
file.
Improved
- Improved flow for the
cdf auth init
command.
templates
no changes
Details
- [prep CDF-23984] 👷 RIP ToolGlobals/CDFToolConfig. by @doctrino in #1452
- [CDF-24097] 🏠 Populate views by @doctrino in #1457
- Hide CDF auth by @doctrino in #1458
- Prepare 0.4.7 by @doctrino in #1459
Full Changelog: v0.4.6...v0.4.7
v0.4.6
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 thecdf dump timeseries
command. This is now fixed. - The
cdf purge dataset
now accounts for the hierarchy when deleting assets.
templates
No changes
Details
- feat(dump): add-hierarchies-parameter-to-ts-dump by @spex66 in #1445
- [CDF-23985]😱Fix not delete node types other spaces by @doctrino in #1450
- [CDF-23917] 🤯 Purge Asset Hierarchy by @doctrino in #1448
- [CDF-24077] 😖 Improve error message by @doctrino in #1451
- Prepare 0.4.6 by @doctrino in #1455
Full Changelog: v0.4.5...v0.4.6
v0.4.5
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
variableIDP_SCOPES
.
templates
no changes
Details
- Fix raw dependency by @doctrino in #1442
- 🔧fix; multiple scopes by @doctrino in #1443
- Prepare 0.4.5 by @doctrino in #1444
Full Changelog: v0.4.4...v0.4.5
v0.4.4
v0.4.3
v0.4.2
cdf
Fixed
- An IndexError was reported when instances.nodes was an empty list. This is now fixed.
- Calling
cdf build
on a hosted extractorSource
resource no longer produces unrelated
MissingRequiredParameterWarning
s. - 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
- [CDF-23851] Hosted extractor parameter specs by @ronpal in #1429
- Retrieval error by @ronpal in #1431
- [CDF-23945] 🐛Groups not recreated by @doctrino in #1430
- [CDF-23946] 😡 Group rawacl diff by @doctrino in #1432
- Prepare 0.4.2 by @doctrino in #1433
Full Changelog: v0.4.1...v0.4.2
v0.4.1
cdf
Added
- [alpha feature] The alpha flag
dump-extended
adds support forcdf dump workflow/transformation/group/node
to the
dump
plugin command.
Fixed
- The
cdf modules upgrade
no longer raises aFileNotExists
when renaming files in an upgrade to0.4.0
. - The
cdf modules pull
command no longer raise aNotImplementedError
for Groups withmembers
. - The
cdf modules pull
command no longer raise aKeyError
if a variable is used as a key in a dictionary. - Running
cdf deploy
forGroup
withmembers
now only deploys theGroup
if it is new or has changed.
templates
No changes
Details
- [CDF-23887] ⤵Group/pull issues by @doctrino in #1415
- Poetry to 2.0 by @doctrino in #1423
- [CDF-23776] 📄 Update pypi links by @doctrino in #1422
- [prep CDF-23388] 👷 Use new view retrieve parameter by @doctrino in #1417
- [CDF-23918] 🥴 cdf modules upgrade FileNotExtists by @doctrino in #1421
- [prep CDF-23388] ⬇ Generalize dump by @doctrino in #1418
- [CDF-23388] 🔨 Dump more stuff by @doctrino in #1419
- [CDF-23407] 😛 Dump nodes by @doctrino in #1420
- Prepare 0.4.1 by @doctrino in #1427
- chore(deps): lock file maintenance by @renovate in #1425
Full Changelog: v0.4.0...v0.4.1
v0.4.0
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 akind
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 bycdf 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 akind
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
- [CDF-23871] 😁 Prepare 0.4.0 by @doctrino in #1410
- [CDF-23872] ⬅ fix; fallback to internal ids by @doctrino in #1411
- [CDF-23870] Update node issue by @doctrino in #1412
- Prepare 0.4.0 by @doctrino in #1413
Full Changelog: v0.3.30...v0.4.0
v0.3.30
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 acsv
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
- Purge command help texts by @ronpal in #1406
- [CDF-23869] ↩ reverted; 0.3.24 read any csv dialect by @doctrino in #1407
- [CDF-23828] 🥴 Instances timeout issue by @doctrino in #1405
- Prepare 0.3.30 by @doctrino in #1408
Full Changelog: v0.3.29...v0.3.30