From 8a34335125c44d72b1ae3f89ccc7f55e58c9c8fd Mon Sep 17 00:00:00 2001 From: rashidakanchwala <37628668+rashidakanchwala@users.noreply.github.com> Date: Tue, 19 Dec 2023 10:02:44 +0000 Subject: [PATCH] Release v7.0.0 (#1685) Release 7.0.0 Major features and improvements Upgrade to React 18. (Migrate to React 18 #1652) Change CLI command to run Kedro-viz tokedro viz run. (Change 'Kedro Viz' to 'Kedro Viz Run' #1671) Add deploy command to the CLI using kedro viz deploy for sharing Kedro-viz on AWS. (AWS focussed CLI implementation for Shareable Viz #1661) Add support for kedro==0.19and kedro-datasets==2.0. (Fix bug on kedro viz --load-file #1677) Drop support for python=3.7. (Remove support for Python 3.7 #1660) Drop support for kedro==0.17.x. (Drop Kedro 17 #1669) Bug fixes and other changes Fix modular pipelines breaking when collapsed on the flowchart. (Fix modular pipelines breaking when collapsed. #1651) Display hosted URL in CLI while launching Kedro viz. (Display hosted URL in CLI while launching kedro viz #1644) Fix Kedro-viz display on Jupyter notebooks. (Fix Kedro-viz embedded as an IFrame #1658) Fix zoom issues on the flowchart. (Flowchart doesn't automatically reset the zoom when actions are performed. #1672) Fix bug on kedro-viz run --load-file. (Fix bug on kedro viz --load-file #1677) Fix bug on adding timestamps to shareable-viz. (_#1679) --- RELEASE.md | 26 +++++++++---------- demo-project/.version | 2 +- demo-project/lightsail.json | 2 +- package-lock.json | 4 +-- package.json | 2 +- package/features/steps/cli_steps.py | 2 +- package/features/viz.feature | 6 ++--- package/kedro_viz/__init__.py | 2 +- .../update-reminder-content.js | 20 +++++++------- 9 files changed, 34 insertions(+), 32 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 3d4d89442a..7582004afb 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -5,24 +5,24 @@ Please follow the established format: - Use present tense (e.g. 'Add new feature') - Include the ID number for the related PR (or PRs) in parentheses --> -# Upcoming Release +# Release 7.0.0 ## Major features and improvements -- Display hosted URL in CLI while launching kedro viz. (#1644) -- AWS focussed CLI implementation `kedro viz deploy` for shareable viz. (#1661) +- Upgrade to `React 18`. (#1652) +- Change CLI command to run Kedro-viz to`kedro viz run`. (#1671) +- Add deploy command to the CLI using `kedro viz deploy` for sharing Kedro-viz on AWS. (#1661) +- Add support for `kedro==0.19`and `kedro-datasets==2.0`. (#1677) +- Drop support for `python=3.7`. (#1660) +- Drop support for `kedro==0.17.x`. (#1669) ## Bug fixes and other changes - -- Fix for dataset existence check in factory pattern discovery (#1659) -- Remove support for Python 3.7 (#1660) -- Adjust CLI to use 'kedro viz run' instead of 'kedro viz' (#1671) - -# Release 7.0.0 - -## Major features and improvements - -- Bump minimum version of React from 17.0.2 to 18.2.0. (#1652) +- Fix modular pipelines breaking when collapsed on the flowchart. (#1651) +- Display hosted URL in CLI while launching Kedro viz. (#1644) +- Fix Kedro-viz display on Jupyter notebooks. (#1658) +- Fix zoom issues on the flowchart. (#1672) +- Fix bug on `kedro-viz run --load-file`. (#1677) +- Fix bug on adding timestamps to shareable-viz. (#1679) # Release 6.7.0 diff --git a/demo-project/.version b/demo-project/.version index 07a7b03c99..4122521804 100644 --- a/demo-project/.version +++ b/demo-project/.version @@ -1 +1 @@ -6.7.0 \ No newline at end of file +7.0.0 \ No newline at end of file diff --git a/demo-project/lightsail.json b/demo-project/lightsail.json index ad31ef861b..b4a7674ff7 100644 --- a/demo-project/lightsail.json +++ b/demo-project/lightsail.json @@ -2,7 +2,7 @@ "serviceName": "kedro-viz-live-demo", "containers": { "kedro-viz-live-demo": { - "image": "public.ecr.aws/g0x0s3o2/kedro-viz-live-demo:6.7.0", + "image": "public.ecr.aws/g0x0s3o2/kedro-viz-live-demo:7.0.0", "ports": { "4141": "HTTP" } diff --git a/package-lock.json b/package-lock.json index 8afc43d30d..a40185b8c3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@quantumblack/kedro-viz", - "version": "6.7.0", + "version": "7.0.0", "lockfileVersion": 2, "requires": true, "packages": { @@ -63760,4 +63760,4 @@ } } } -} +} \ No newline at end of file diff --git a/package.json b/package.json index aa47e95bad..18e0b9070c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@quantumblack/kedro-viz", - "version": "6.7.0", + "version": "7.0.0", "description": "Kedro-Viz is an interactive development tool for building data science pipelines with Kedro.", "main": "lib/components/app/index.js", "files": [ diff --git a/package/features/steps/cli_steps.py b/package/features/steps/cli_steps.py index eb12af8164..eab975a681 100644 --- a/package/features/steps/cli_steps.py +++ b/package/features/steps/cli_steps.py @@ -123,7 +123,7 @@ def install_kedro(context, version): assert False -@when("I execute the kedro viz command") +@when("I execute the kedro viz run command") def exec_viz_command(context): """Execute Kedro-Viz command.""" context.result = ChildTerminatingPopen( diff --git a/package/features/viz.feature b/package/features/viz.feature index a464c3c2a8..75c7b65fed 100644 --- a/package/features/viz.feature +++ b/package/features/viz.feature @@ -6,7 +6,7 @@ Feature: Viz plugin in new project Given I have installed kedro version "0.18.3" And I have run a non-interactive kedro new with pandas-iris starter And I have installed the project's requirements - When I execute the kedro viz command + When I execute the kedro viz run command Then kedro-viz should start successfully Scenario: Execute viz with latest Kedro with lower-bound viz requirements @@ -14,13 +14,13 @@ Feature: Viz plugin in new project And I have installed the lower-bound Kedro-viz requirements And I have run a non-interactive kedro new with spaceflights-pandas starter And I have installed the project's requirements - When I execute the kedro viz command + When I execute the kedro viz run command Then kedro-viz should start successfully Scenario: Execute viz with latest Kedro Given I have installed kedro version "latest" And I have run a non-interactive kedro new with spaceflights-pandas starter And I have installed the project's requirements - When I execute the kedro viz command + When I execute the kedro viz run command Then kedro-viz should start successfully diff --git a/package/kedro_viz/__init__.py b/package/kedro_viz/__init__.py index 7e951eb392..5b2e0543bc 100644 --- a/package/kedro_viz/__init__.py +++ b/package/kedro_viz/__init__.py @@ -2,7 +2,7 @@ import sys import warnings -__version__ = "6.7.0" +__version__ = "7.0.0" class KedroVizPythonVersionWarning(UserWarning): diff --git a/src/components/update-reminder/update-reminder-content.js b/src/components/update-reminder/update-reminder-content.js index cae9a6f5d9..462c112f6a 100644 --- a/src/components/update-reminder/update-reminder-content.js +++ b/src/components/update-reminder/update-reminder-content.js @@ -1,19 +1,21 @@ export const updateContent = { - date: '16 November 2023', + date: '18 December 2023', features: [ { - title: 'Deprecation warning for Kedro-Viz', + title: 'Update CLI command `kedro viz run` which starts Kedro-viz', image: '', - copy: 'The `kedro viz` command will be deprecated with the release of Kedro-Viz 7.0.0. `kedro viz run` will be the new way to start Kedro Viz', - buttonLink: '', - buttonText: '', + copy: '`kedro viz run` is the new way to start Kedro Viz. The old command `kedro viz` is no longer supported', + buttonLink: + 'https://docs.kedro.org/projects/kedro-viz/en/latest/share_kedro_viz.html', + buttonText: 'View the docs', }, { - title: 'Fixed Kedro-Viz when hosted via URL Subpaths', + title: 'Deploy Kedro-viz to AWS using cli `kedro viz deploy`', image: '', - copy: 'Kedro-Viz now works properly when hosted via a URL subpath.', - buttonLink: '', - buttonText: '', + copy: 'Kedro-Viz can now be deployed directly to AWS by using the command `kedro viz deploy`', + buttonLink: + 'https://docs.kedro.org/projects/kedro-viz/en/latest/kedro-viz_visualisation.html', + buttonText: 'View the docs', }, ], };