Kedro-viz

Latest version: v9.1.0

Safety actively analyzes 638646 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 13

3.0.0

Not secure
Major features and improvements

- **BREAKING CHANGE:** Deprecate and remove Snapshots/History feature (42)
- **BREAKING CHANGE:** Make 'parameters' a distinct node type from 'data' (53)
- Add new data/task/parameters icons (62, 53)
- Add icons to node labels (65)
- Enable Kedro-Viz to be run in Jupyter Notebook (59)
- Change task full names to be the underlying function name, and use them in tooltips (53, 61)
- Replace node IDs with shorter hashes (53)
- Redesign the theme colour schemes to make them simpler and more consistent, and refactor active/highlight/hover/click state CSS for nodes & edges (52)
- Sort nodes by their x/y position to improve tabbing order (51)
- Move the theme and label toggle switches into icon buttons (47)
- Add new demo data (44)
- Allow Python users to load/save pipeline data to/from a JSON file via the CLI (43)

Bug fixes and other changes

- Change git address protocol in package-lock (71)
- Update Kedro-UI to v1.1.1 (70)
- Fix sidebar show/hide transitions in Safari (68)
- Improve tabbing order (67)
- Fix webfont text-width chart layout bug (65)
- Desaturate the background colour a touch (64)
- Move drawChart method to its own JS file (63)
- Update Snyk to 1.234.2 and patch issue (60)
- Set the 'show sidebar' button to hidden when open (57)
- Snyk fix for 1 vulnerability (56)
- Various CSS tweaks and bugfixes (54)
- Remove getEdgeDisabledView selector (49)
- Update Kedro-UI to v1.1.0 (48)
- Fix badge URL typos in Readme (45)

Migration guide from Kedro-Viz 2.\*.\* to Kedro-Viz 3.0.0

If you are just using Kedro-Viz with Kedro as a Python package, you won't need to do anything. The breaking changes in this release only affect the few users who are working on the application locally, or importing it from [npm](https://www.npmjs.com/package/quantumblack/kedro-viz) and consuming it as a React component.

- The format for data passed to Kedro-Viz has changed. You can see examples of the new data format in the [`src/utils/data`](./src/utils/data) directory. The main change is that the format no longer supports multiple snapshots in a single dataset. Instead of [this](https://github.com/kedro-org/kedro-viz/blob/243fd1bb513023086e77bca9f8469e00d1182437/src/utils/data.mock.js):

{
snapshots: [
{
schema_id: '310750827599783',
nodes: [...],
edges: [...],
tags: [...],
},
...
]
}

You can now use something like [this](https://github.com/kedro-org/kedro-viz/blob/c75c499507617a01fb327c366b9d639229f1d921/src/utils/data/demo.mock.js):

{
nodes: [...],
edges: [...],
tags: [...],
}

- The `showHistory`, `allowHistoryDeletion`, and `onDeleteSnapshot` props on the main App component have been deprecated. These no longer do anything, and can be removed.
- A new `parameters` value for the node `type` property has been created. This replaces the previous `is_parameters` Boolean property. To migrate previous data, find any nodes where `is_parameters: true`, and change the `type` value from `data` to `parameters`. e.g. from this:

{
tags: ['Nulla', 'pulvinar', 'enim', 'consectetur', 'volutpat'],
id: 'task/consectetur',
is_parameters: false,
type: 'task',
full_name: 'consectetur',
name: 'consectetur'
}

to this:

{
tags: ['Nulla', 'pulvinar', 'enim', 'consectetur', 'volutpat'],
id: 'task/consectetur',
type: 'parameters',
full_name: 'consectetur',
name: 'consectetur'
}

2.1.1

Not secure
Bug fixes and other changes

- Don't ignore gh-pages branch in CircleCI (33)
- Document the React props and data format (34)
- Fix closing of the navbar on smaller screens (35)
- Use What Input? to set obvious keyboard focus state (36)
- Add Konami code easter egg (37)
- Extend snyk patch expiry duration to 1 year (39)
- Fix react dependency issues (40)

2.1.0

Not secure
Major features and improvements

- Toggle linked-node active state on click (20)

Bug fixes and other changes

- Pin pip version to be less than 19.2 (24)
- Unpin pip version (25)
- Fix infosec vulnerability in LoDash (16)
- Remove license checkers (28)
- Make Viz backwards-compatible with Kedro 0.14.0 (30)
- Automatically deploy demo builds to Github Pages (26)

2.0.0

Not secure
Major features and improvements

- **BREAKING CHANGE:** Refactor the JSON data input API. The new format is more verbose, but is very extensible, and will allow us to add more metadata about each node, edge and tag in future (2, 8, 21, 23)
- Calculate transitive links when a chart is rendered, rather than when the initial data is formatted (8)

Bug fixes and other changes

- Run extra checks (e.g. tests, linter, build & lib) before publishing to npm (12)
- Document the --host command line flag in the readme (14)
- Add a CODEOWNERS file (15)
- Update Flask caching so that only static assets are cached forever (17)
- Fix buggy edge change animation for cases where the SVG path length changes, using d3-interpolate-path (22)
- Fix broken Python version badge in Readme (18)
- Add CI status badges in Readme (19)
- Add Appveyor configuration (19)

Migration guide from Kedro-Viz 1.\*.\* to Kedro-Viz 2.0.0

- The data input format has been significantly changed. This will only affect users of the JavaScript package - regular Kedro users will not be affected. To see examples of the old API format compares to the new one, see the changes to `data.mock.js` in [this commit](https://github.com/kedro-org/kedro-viz/pull/8/files#diff-837826676eaada9374ec654c892af095).

Thanks for supporting contributions

[Yusuke Minami](https://github.com/Minyus)

1.0.2

Not secure
Bug fixes and other changes

- Fix a minor bug in how zoom centering was handled when the sidebar is open (10)
- Make the Makefile easier to read (9)
- Fix some minor issues with Readme images and badges (11)

1.0.1

Not secure
Major features and improvements

- Add a Make script to automate version updates and tagging across both JS and Python files (7)
- Add tool to automatically check whether legal headers are present on Python scripts (5)

Bug fixes and other changes

- Fix broken CSS in the Tags drop-down menu (6)
- Remove smart quotes and replace them with regular quotes, to avoid "Non-ASCII character" errors when building the Sphinx docs. (4)

Page 12 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.