Releases: cognitedata/toolkit
Releases · cognitedata/toolkit
v0.3.28
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
cdf
Improved
- The
cdf dump asset
andcdf dump timeseries
commands now always dump tables with
the same columns in the same order.
Fixed
- The
cdf build
no longer raises aToolkitFileNotFoundError
when building without aconfig.[env].yaml
file.
templates
Fixed
- The
inrobot
module no longer raises aResourceUpdateError/ResourceCreateError
when running
cdf deploy
.
Details
- [CDF-23755] 🤖 Robotics issue by @doctrino in #1376
- [CDF-23754] 😊 Config.yaml optional by @doctrino in #1377
- [CDF-23168] 😄 Dump schema inconsitency by @doctrino in #1380
- Prepare 0.3.27 by @doctrino in #1382
Full Changelog: v0.3.26...v0.3.27
v0.3.26
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 theCogniteFile
/FileMetadata
resource. - If a
{{ variable }}
replacement causes aYAMLFormatError
, 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 usedataSetExternalId
instead. - The Toolkit fallback to read any file as
utf-8
if it fails to read. - The Toolkit no longer gives
UnusedParamterWarning
forWorkflowVersion
using asubworkflow
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
- Contributing update by @ronpal in #1349
- Contributing format by @ronpal in #1350
- [CDF-23603, CDF-23620]🔘Transformations issue by @doctrino in #1352
- [CDF-22881] 🔳Error message invalid use of file template by @doctrino in #1353
- [CDF-22446, CDF-21929] 🐶Friendly error message by @doctrino in #1354
- [CDF-23408] 🐻❄️ Unused DataSetId by @doctrino in #1355
- [CDF-22714] 🦡 Skip function activation by @doctrino in #1356
- [CDF-22517] 🏰 Large yaml files by @doctrino in #1357
- [CDF-22206] 😷Unicode by @doctrino in #1359
- [CDF-22300] 😵💫 WorkflowVersion spec subworkflow by @doctrino in #1360
- [CDF-22442] 🥵 Mixpanel issue. by @doctrino in #1361
- [CDF-22440] 🚉Ensure all computes have dependencies on all groups by @doctrino in #1369
- [CDF-23325] 🔄 feat: warning repeated module by @doctrino in #1365
- [CDF-21926] 😊 Transformation-cli import clean by @doctrino in #1363
- [CDF-22856] 🤔Improved error message on bad credentials by @doctrino in #1362
- 📖 Changelog entries by @doctrino in #1364
- Prepare 0.3.26 by @doctrino in #1372
Full Changelog: v0.3.25...v0.3.26
v0.3.25
cdf
Added
- [alpha feature] Support for
SequenceRows
resources in theclassic
directory. Alpha flagclassic=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 anPermissionError
, but instead has a gracefully fallback, and gives a warning if the fallback fails.
templates
no changes
Details
- [CDF-22779] 🕵 Invalid escape sequence by @doctrino in #1342
- [CDF-23628] 🚣 Sequence rows by @doctrino in #1340
- [CDF-23663] Fix csv read by @doctrino in #1346
- [CDF-23268] 👮Permission Error by @doctrino in #1343
- Prepare 0.3.25 by @doctrino in #1347
Full Changelog: v0.2.24...v0.3.25
v0.3.24
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
inLocationFilter
resources.
Fixed
- No more warning about missing
.env
file when running inGoogle 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 replacesdataSetExternalId
withdataSetId
. - Cognite Toolkit has improved resources that have server set default values that can lead to redeploy even when
unchanged. This includesSequences
,Containers
,DataSets
,Views
,Nodes
,Edges
,ExtractionPipelines
,
CogniteFiles
,HostedExtractorJobs
,Relationships
,RobotMaps
, andWorkflowVersions
. - When uploading a
csv
file (RAW table, Datapoints, or Assets) any CSV dialect is now supported. LocationFilters
now parses theversion
key ofView
andDataModel
correctly as a string.LocationFilters
now converts an empty string ofdataSetExternalId
to0
instead of ignoring it.- On CDF deployed on Azure and AWS clouds, setting the
CPU
andmemory
of a CogniteFiles to lower than
the required value no longer triggers a redeploy. - Toolkit now looks up the
assetExternalId
in theSequence
resource when deploying.
templates
Fixed
- Renamed non-toolkit Function config files for
bootcamp
module.
Details
What's Changed
- Bootcamp module changes by @petreeb in #1298
- [CDF-21341, CDF-21361, CDF-21362, CDF-21417, CDF-21791, CDF-22483] 🚅 Rework pull by @doctrino in #1285
- [CDF-23572] 🏚 Build offline by @doctrino in #1306
- [CDF-21341, CDF-21361, CDF-21362, CDF-21417, CDF-21791, CDF-22483]🔗 Module Pull by @doctrino in #1307
- [CDF-23592] 😋 Move lookup to Toolkit Client by @doctrino in #1310
- [CDF-23593] 😃 Refactor dump method by @doctrino in #1313
- [CDF-23599] 😮💨 No redeploy unnecessarily by @doctrino in #1315
- [CDF-23600] 😊 Final touch modules pull by @doctrino in #1316
- [CDF-23605, CDF-23607, CDF-23606] 🤨 Location filter issues by @doctrino in #1320
- [CDF-23583] 👮♂️ CPU and Memory outside function limit by @doctrino in #1309
- [CDF-23342] 🧐 Fix update kind by @doctrino in #1322
- [CDF-23263] 🤖 Add verbose to all cmds by @doctrino in #1324
- [CDF-23608] ✍ Lookup asset external by @doctrino in #1325
- [CDF-23319] 🧑🏭Added missing ref to dataset by @doctrino in #1326
- [CDF-21413] 😋 Function per file hashing by @doctrino in #1327
- [CDF-23588] 🧑💼 Env warning by @doctrino in #1328
- [CDF-23604] 👷 Workflow check dependencies by @doctrino in #1329
- [CDF-22196] 🧑🎤 Read any csv dialect by @doctrino in #1330
- [CDF-23582] 💂 fix: better error message by @doctrino in #1331
- [CDF-23587] 🦹 Inform user failed container deploy by @doctrino in #1332
- [CDF-22968] 🧛 Force space wait by @doctrino in #1333
- [CDF-22324] 🧚 Empty csv by @doctrino in #1334
- [CDF-23634] 👮 Limit cdf modules pull by @doctrino in #1337
- Prepare 0.3.24 by @doctrino in #1338
Full Changelog: v0.3.23...v0.2.24
v0.3.23
cdf
Fixed
- Running
cdf auth init
no works forCDF
as theIDP
provider.
Improved
- You can now set the
CDF_CLIENT_TIMEOUT
andCDF_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
cdf
Fixed
- Deploying
GraphQL
is no longer sensitive to the newlines inside of directives. - Functions are no longer always redeployed if
indexUrl
orextraIndexUrls
are set in theFunction
resource.
templates
No changes
Details
- [CDF-23535] 👷 Redeploy issue index url by @doctrino in #1292
- Print graphql model ids by @doctrino in #1294
- [CDF-23536] 🥷 GraphQL Issue by @doctrino in #1293
- Prepare 0.3.22 by @doctrino in #1296
Full Changelog: v0.3.21...v0.3.22
v0.3.21
cdf
Fixed
- [alpha feature] Deploying
GraphQL
now correctly ignores end-of-line comments in the.graphql
file.
templates
No changes
Details
What's Changed
- [CDF-23346] 😬 Template expand name issue by @doctrino in #1281
- 🚆Prepare pull rework by @doctrino in #1284
- [CDF-23515] 🤔GraphQL Comment issue by @doctrino in #1289
- Prepare 0.3.21 by @doctrino in #1290
Full Changelog: v0.3.20...v0.3.21
v0.3.20
v0.3.19
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 anKeyError
if themodule.toml
does
not have apackage
key. - [alpha feature]
cdf purge dataset
no longer deletesLocationFilters
- [alpha feature]
GraphQL
resources with views that specify arawFilter
no longer raise an error when
runningcdf 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
andcdf clean
.
templates
No changes to templates.
Details
- Fix package error by @doctrino in #1272
- [CDF-23474] 💥 Purge round 2 by @doctrino in #1273
- Update README.md by @gaetan-h in #1274
- [CDF-23457] 😛Unexpected behavior of dump by @doctrino in #1275
- [CDF-21797] 🙃Print only once by @doctrino in #1276
- [CDF-23401] 😊 Transformation sql in build folder by @doctrino in #1277
- [CDF-23462] 🥲 Missing quotes by @doctrino in #1278
- Prepare 0.3.19 by @doctrino in #1282
New Contributors
Full Changelog: v0.3.18...v0.3.19