Kedro v0.16.2 Release Notes
Release Date: 2020-06-15 // almost 4 years ago-
Major features and improvements
- โ Added the following new datasets.
Type Description Location pandas.AppendableExcelDataSet
Works with Excel
file opened in append modekedro.extras.datasets.pandas
tensorflow.TensorFlowModelDataset
Works with TensorFlow
models using TensorFlow 2.Xkedro.extras.datasets.tensorflow
holoviews.HoloviewsWriter
Works with Holoviews
objects (saves as image file)kedro.extras.datasets.holoviews
- ๐
kedro install
will now compile project dependencies (by runningkedro build-reqs
behind the scenes) before the installation if thesrc/requirements.in
file doesn't exist. - Added
only_nodes_with_namespace
inPipeline
class to filter only nodes with a specified namespace. - โ Added the
kedro pipeline delete
command to help delete unwanted or unused pipelines (it won't remove references to the pipeline in yourcreate_pipelines()
code). - โ Added the
kedro pipeline package
command to help package up a modular pipeline. It will bundle up the pipeline source code, tests, and parameters configuration into a .whl file.
๐ Bug fixes and other changes
- ๐ Improvement in
DataCatalog
:- Introduced regex filtering to the
DataCatalog.list()
method. - Non-alphanumeric characters (except underscore) in dataset name are replaced with
__
inDataCatalog.datasets
, for ease of access to transcoded datasets.
- Introduced regex filtering to the
- ๐ Improvement in Datasets:
- Improved initialization speed of
spark.SparkHiveDataSet
. - Improved S3 cache in
spark.SparkDataSet
. - Added support of options for building
pyarrow
table inpandas.ParquetDataSet
.
- Improved initialization speed of
- ๐ Improvement in
kedro build-reqs
CLI command:kedro build-reqs
is now called with-q
option and will no longer print out compiled requirements to the console for security reasons.- All unrecognized CLI options in
kedro build-reqs
command are now passed to pip-compile call (e.g.kedro build-reqs --generate-hashes
).
- ๐ Improvement in
kedro jupyter
CLI command:- Improved error message when running
kedro jupyter notebook
,kedro jupyter lab
orkedro ipython
with Jupyter/IPython dependencies not being installed. - Fixed
%run_viz
line magic for showing kedro viz inside a Jupyter notebook. For the fix to be applied on existing Kedro project, please see the migration guide. - Fixed the bug in IPython startup script (issue 298).
- Improved error message when running
- ๐ Documentation improvements:
- Updated community-generated content in FAQ.
- Added find-kedro and kedro-static-viz to the list of community plugins.
- Add missing
pillow.ImageDataSet
entry to the documentation.
๐ฅ Breaking changes to the API
Migration guide from Kedro 0.16.1 to 0.16.2
Guide to apply the fix for
%run_viz
line magic in existing project0๏ธโฃ Even though this release ships a fix for project generated with
kedro==0.16.2
, after upgrading, you will still need to make a change in your existing project if it was generated withkedro>=0.16.0,<=0.16.1
for the fix to take effect. Specifically, please change the content of your project's IPython init script located at.ipython/profile_default/startup/00-kedro-init.py
with the content of this file. You will also needkedro-viz>=3.3.1
.๐ Thanks for supporting contributions
Miguel Rodriguez Gutierrez, Joel Schwarzmann, w0rdsm1th, Deepyaman Datta, Tam-Sanh Nguyen, Marcus Gawronsky