Releases: cognitedata/toolkit
Releases · cognitedata/toolkit
v0.2.12
v0.2.11
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
- [CDF-21984] 🧑🚒 Lost SQL files by @doctrino in #737
- Support CDF cmd by @doctrino in #739
- [CDF-22026] 🧑🔧Maintain deploy order in build by @doctrino in #740
- Prepare 0.2.11 by @doctrino in #742
Full Changelog: v0.2.10...v0.2.11
v0.2.10
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 havemy_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
- Docs: update URLs by @doctrino in #733
- [CDF-21976] 🐛Build overwrite bug by @doctrino in #734
- Prepare 0.2.10 by @doctrino in #735
Full Changelog: v0.2.9...v0.2.10
v0.2.9
cdf-tk
Changed
- Tracking usage of Toolkit commands.
Templates
No changes to templates.
Details
- [CDF-21964] 🔻Lower bound for packaging dependency by @doctrino in #728
- [CDF-21967, CDF-21966] 🏴☠️Fast bumping by @doctrino in #729
- [CDF-21971]🛒 Collect message by @doctrino in #730
- Prepare 0.2.9 by @doctrino in #731
Full Changelog: v0.2.8...v0.2.9
v0.2.8
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 anToolkitValidationError
. This is now fixed. - When running
cdf-tk deploy --dry-run
, if any resource was referencing aDataSet
,SecurityCategory
,
orExtractionPipeline
, it would incorrectly be classified as changed. This is now fixed. This applied to
ExtractionPipeline
,FileMetadata
,Function
,Group
,Label
,TimeSeries
, andTransformation
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
incognite_modules/examples/cdf_functions_dummy
.
Details
What's Changed
- [CDF-21947] 🧑🚒Fix run function locally by @doctrino in #716
- [CDF-21949] 🫤Nice indent by @doctrino in #719
- [CDF-21917]🕵️♂️ Fix diffs deploy --dry-run by @doctrino in #720
- [CDF-21945] 😫Less Warnings on Functions by @doctrino in #718
- [CDF-21946] 🤷Turn off naming convention by @doctrino in #717
- [CDF-21895, CDF-21895, CDF-21629] 🛤Feature flag, track commands. by @doctrino in #721
- 😁Prepare 0.2.8 by @doctrino in #726
Full Changelog: v0.2.7...v0.2.8
v0.2.7
cdf-tk
Fixed
- Function schedule for functions with a
:
in the external id would raise anValueError
.
This is now fixed. - Transformation notifications for transformations with a
:
in the external id would raise anValueError
.
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 giving500
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 asdataset_id('{{dataset_external_id}}')
, the toolkit would
remove the quotes. This is now fixed.
v0.2.6
cdf-tk
Improved
- The
--verbose
flag is now moved to the end of the command. For example, instead ofcdf-tk --verbose build
,
you should now writecdf-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
andqa
astype
in theconfig.[env].yaml
file.
Fixed
- When running
cdf-tk build
withViews
with custom filters, the Toolkit would likely give aUnusedParameterWarning
.
This is now fixed by not validating the details ofView.filters
. The motivation is thatView.filters
is a complex
structure, and it is likely that you will get a false warning. The users that starts to useView.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
- [CDF-21530] 🫡Round snapshots. by @doctrino in #703
- [CDF-21909] 🐺Warning on has data filter by @doctrino in #704
- [CDF-21912]🦦 Moved Verbose by @doctrino in #705
- [CDF-21903]🦸Diffs by @doctrino in #706
- [CDF-21918] 🖐Allow type test and qa by @doctrino in #707
- Prepare 0.2.6 by @doctrino in #708
Full Changelog: v0.2.5...v0.2.6
v0.2.5
cdf-tk
Fixed
- When running
cdf-tk build
, withRAW
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 version0.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 systemSpace
,View
,Container
orDataModel
. 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 aFileNotFoundError
. This is now fixed.
Templates
No changes to templates.
Details
What's Changed
- [CDF-21908] 🤦Fix manual upgrade 0.1.4 by @doctrino in #697
- [CDF-21905] 😞Bug in import transformation-cli manifest by @doctrino in #698
- [CDF-21904] 😕Warning missig raw table by @doctrino in #699
- [CDF-21902] 🤏Not warn about system spaces. by @doctrino in #700
- Prepare 0.2.5 by @doctrino in #701
Full Changelog: v0.2.4...v0.2.5
v0.2.4
cdf-tk
Added
- [Feature Preview] Support for resource type
Asset
in theassets
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 hadmy_variable: "123"
,
then thecdf-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 thecdf-tk deploy
command.
This is now fixed. - Added missing required dependency
packaging
tocognite-toolkit
.
Templates
No changes to templates.
Details
- [CDF-21868] ⛓️💥Missing dataset by @doctrino in #684
- [CDF-21053] 😋Support key column in raw by @doctrino in #685
- [CDF-21869]🤡 Persist variable data type by @doctrino in #682
- [CDF-21669, CDF-21832] 💦Module Creation Issues by @doctrino in #680
- [CDF-21861] 🏭 Preview feature support for Assets by @doctrino in #688
- [CDF-21894] 🥺Feature preview dump assets by @doctrino in #689
- Fix require packaging by @doctrino in #694
- Prepare 0.2.4 by @doctrino in #695
Full Changelog: v0.2.3...v0.2.4
v0.2.3
cdf-tk
Improved
- When running
cdf-tk build
and missingCDF_PROJECT
environment variable, the user will now get a more informative
error message.
Fixed
- The variable
type
in theenvironment
section of theconfig.[env].yaml
now raises an error if it is not
set todev
,staging
, orprod
.
Added
- The preview feature
IMPORT_CMD
added. This enables you to import atransformation-cli
manifest into
resource configuration files compatible with thecognite-toolkit
. Activate by running
cdf-tk features set IMPORT_CMD --enable
, and deactivate by runningcdf-tk features set IMPORT_CMD --disable
.
Runcdf-tk import transformation-cli --help
for more information about the import command.
Templates
No changes to templates.
Details
What's Changed
- Removed misleading info by @ronpal in #669
- [CDF-21830]🤕 Added flaky decorator on flaky test by @doctrino in #670
- Fine-tuned selection logic by @ronpal in #672
- [CDF-21817] 😈Check Toolkit Group Correctly setup by @doctrino in #666
- 🐟 Fixed outdated help text by @ronpal in #675
- [CDF-21820] 🧹Cleanup tests_migrations by @doctrino in #673
- [CDF-21796] 🤨 Improved cdf-tk build if
.env
is missing by @doctrino in #674 - [CDF-21862] 😏Import transformation-cli by @doctrino in #677
- 🧯 made init . safer by @ronpal in #676
- 🚀Prepare 0.2.3 by @doctrino in #678
Full Changelog: v0.2.2...v0.2.3