Notebook

Latest version: v7.2.2

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

Scan your dependencies

Page 3 of 19

7.1.2

Not secure
([Full Changelog](https://github.com/jupyter/notebook/compare/jupyter-notebook/application-extension7.1.1...ca41222a9c8d75356c6d67d3bd36e34d71cce2d8))

Maintenance and upkeep improvements

- Update Release Scripts [7295](https://github.com/jupyter/notebook/pull/7295) ([blink1073](https://github.com/blink1073))
- Fix jupyterlab install command in the releaser hook [7294](https://github.com/jupyter/notebook/pull/7294) ([jtpio](https://github.com/jtpio))
- Update to JupyterLab 4.1.5 packages [7291](https://github.com/jupyter/notebook/pull/7291) ([jtpio](https://github.com/jtpio))

Documentation improvements

- Add a section to use local dependencies [7292](https://github.com/jupyter/notebook/pull/7292) ([brichet](https://github.com/brichet))

Contributors to this release

([GitHub contributors page for this release](https://github.com/jupyter/notebook/graphs/contributors?from=2024-02-26&to=2024-03-14&type=c))

[blink1073](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ablink1073+updated%3A2024-02-26..2024-03-14&type=Issues) | [brichet](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Abrichet+updated%3A2024-02-26..2024-03-14&type=Issues) | [github-actions](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2024-02-26..2024-03-14&type=Issues) | [jtpio](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajtpio+updated%3A2024-02-26..2024-03-14&type=Issues)

7.1.1

Not secure
([Full Changelog](https://github.com/jupyter/notebook/compare/jupyter-notebook/application-extension7.1.0...da7b8d400e96ceff0eec834badd891bc5d5f154d))

Bugs fixed

- Grayout "Edit Notebook Metadata" for other file formats. [7265](https://github.com/jupyter/notebook/pull/7265) ([itsmevichu](https://github.com/itsmevichu))

Maintenance and upkeep improvements

- Fix flaky mobile UI tests [7278](https://github.com/jupyter/notebook/pull/7278) ([jtpio](https://github.com/jtpio))
- Update to JupyterLab 4.1.2 packages [7277](https://github.com/jupyter/notebook/pull/7277) ([jtpio](https://github.com/jtpio))
- Ignore stackoverflow link [7274](https://github.com/jupyter/notebook/pull/7274) ([jtpio](https://github.com/jtpio))
- Expose `version_info` [7273](https://github.com/jupyter/notebook/pull/7273) ([jtpio](https://github.com/jtpio))
- Bump ip from 2.0.0 to 2.0.1 in /ui-tests [7268](https://github.com/jupyter/notebook/pull/7268) ([dependabot](https://github.com/dependabot))
- Bump ip from 2.0.0 to 2.0.1 [7267](https://github.com/jupyter/notebook/pull/7267) ([dependabot](https://github.com/dependabot))

Contributors to this release

([GitHub contributors page for this release](https://github.com/jupyter/notebook/graphs/contributors?from=2024-02-13&to=2024-02-26&type=c))

[dependabot](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Adependabot+updated%3A2024-02-13..2024-02-26&type=Issues) | [github-actions](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2024-02-13..2024-02-26&type=Issues) | [itsmevichu](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Aitsmevichu+updated%3A2024-02-13..2024-02-26&type=Issues) | [jtpio](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajtpio+updated%3A2024-02-13..2024-02-26&type=Issues)

7.1

Jupyter Notebook 7.1 is based on JupyterLab 4.1, and includes a number of new features, bug fixes, and enhancements for extension developers. This release is compatible with extensions supporting JupyterLab 4.0. Extension authors are recommended to consult the [Extension Migration Guide](https://jupyterlab.readthedocs.io/en/latest/extension/extension_migration.html#jupyterlab-4-0-to-4-1) which lists deprecations and changes to the public API.

Below are a few highlights for this new release. Most of the new features and improvements come from the update to JupyterLab 4.1, although they are not all supported in Notebook 7.1.

For reference you may have a look at the JupyterLab 4.1 changelog to learn more: https://jupyterlab.readthedocs.io/en/latest/getting_started/changelog.html#v4-1

Diagrams in Markdown

Matching GitHub-Flavoured Markdown, JupyterLab 4.1 now supports [Mermaid](https://github.com/mermaid-js/mermaid) diagrams.
To create a mermaid diagram use the `mermaid` language specifier for a code block in a markdown cell or document, for example:

~~~
mermaid
flowchart LR

A[Hard] -->|Text| B(Round)
B --> C{Decision}
C -->|One| D[Result 1]
C -->|Two| E[Result 2]

~~~

which renders as:

<img alt="Rendered Mermaid diagram going from left to right with modern look; the diagram contains blueish square node with text Hard pointing to round square node with text Round; over the arrow connecting the two nodes there is a word Text; the second node further connects to a rhombus-shaped node with text Decision which then connects to two further nodes, Result 1 and Result 2." src="https://raw.githubusercontent.com/jupyterlab/jupyterlab/main/docs/source/getting_started/changelog_assets/4.1-merimad-diagram.png" class="jp-screenshot">

Inline completer

JupyterLab now supports completion presented as ghost text in the cell and file editors,
allowing generative AI models to provide multi-line completions. This can now also be leveraged in Jupyter Notebook.

The suggestions are provided by plugins implementing the ``IInlineCompletionProvider`` API;
by default a single provider which uses kernel history is available.

<img alt="In a code cell with `def fac` content a ghost text containing a suggestion representing further code of factorial function is shown; over the code cell there is a floating widget allowing to accept the suggestion and iterate between alternative suggestions" src="https://raw.githubusercontent.com/jupyterlab/jupyterlab/main/docs/source/getting_started/changelog_assets/4.1-inline-completer.png" class="jp-screenshot">

The suggestions can be invoked as-you-type or manually using a configurable shortcut (by default <kbd>Alt</kbd> + <kbd>\\</kbd>).
The default keyboard shortcuts are displayed in the small widget shown when hovering over the ghost suggestion:
- <kbd>Alt</kbd> + <kbd>End</kbd> - accept suggestion
- <kbd>Alt</kbd> + <kbd>[</kbd> - previous suggestion
- <kbd>Alt</kbd> + <kbd>]</kbd> - next suggestion

To enable the inline suggestions based on the kernel history, go to Settings → Inline Completer → History provider → check the "enabled" checkbox.

In addition to the built-in history suggestions,
the [`jupyter-ai`](https://github.com/jupyterlab/jupyter-ai) extension will provide
suggestions from supported models.

Note that the Jupyter AI extension is not yet compatible with Jupyter Notebook 7.

Keyboard navigation improvements

Numerous improvements to keyboard navigation with focus on accessibility and usability are included in this release:
- the notebook cells now retain focus
- the focus can now be moved beyond the active notebook
- the toolbars can now be navigated using arrow keys

For more details, see [this post on Jupyter Blog](https://blog.jupyter.org/recent-keyboard-navigation-improvements-in-jupyter-4df32f97628d).

Execution history in notebook

The code from previously executed cells can be used to populate empty cells,
allowing to iterate on code from previous cells or even sessions
(depending on how a specific kernel stores history).

To cycle between history items press <kbd>Alt</kbd> + <kbd>Arrow Up</kbd> and <kbd>Alt</kbd> + <kbd>Arrow Down</kbd>.

To enable execution history, go to Settings → Notebook → check the "Kernel history access" checkbox.

This feature was already available in the console in previous releases; it only works with kernels supporting execution history requests.
To clear the execution history consult the documentation of the kernel you are using (e.g., IPython/ipykernel).

Error indicator in the table of contents

When a cell fails during execution, an error indicator will be displayed by the corresponding heading,
increasing awareness of the notebook state and enabling users to quickly navigate to the cell which requires attention.

<img alt="Error indicator in the shape of a triangle with exclamation sign (using ⚠ UTF character) shown next to one of the headings in the table of contents panel" src="https://raw.githubusercontent.com/jupyterlab/jupyterlab/main/docs/source/getting_started/changelog_assets/4.1-toc-error-indicator.png" class="jp-screenshot">

Search improvements

- The search box will now grow automatically to accommodate longer text
- Search in selection can now be toggled using <kbd>Alt</kbd> + <kbd>L</kbd> and automatic search in selection can be configured in settings
- Tooltips with shortcuts were added to the buttons in the search box to improve discoverability of the shortcuts

Miscellaneous

- The current theme (dark/light) can now be synced with the browser/system preference (Settings menu → Theme → Synchronise with System Settings)
- A blue "read-only" status indicator is now displayed in the toolbar of documents which cannot be saved because their model is read-only.
- Native support for viewing jsonl/ndjson files was added
- Collapsing of breadcrumbs in the File Browser can be disabled in File Browser settings

7.1.0

Not secure
([Full Changelog](https://github.com/jupyter/notebook/compare/jupyter-notebook/application-extension7.0.6...b8ec7e4a8eda70a8d7dca19799acd3e96e019160))

Enhancements made

- Create a new notebook with a specific kernel from the new dropdown [7255](https://github.com/jupyter/notebook/pull/7255) ([jtpio](https://github.com/jtpio))
- Add the plugin manager [7198](https://github.com/jupyter/notebook/pull/7198) ([jtpio](https://github.com/jtpio))
- Fix toggle functionality for widgets. [7178](https://github.com/jupyter/notebook/pull/7178) ([haok1402](https://github.com/haok1402))
- Bump to JupyterLab 4.1.0a4 bis [7172](https://github.com/jupyter/notebook/pull/7172) ([brichet](https://github.com/brichet))
- Update to JupyterLab `4.1.0a3` [7161](https://github.com/jupyter/notebook/pull/7161) ([jtpio](https://github.com/jtpio))
- Added Lumino Plugin Description (7008) [7127](https://github.com/jupyter/notebook/pull/7127) ([Dilip-Jain](https://github.com/Dilip-Jain))
- Added Edit Notebook Metadata Option (6402) [7099](https://github.com/jupyter/notebook/pull/7099) ([Dilip-Jain](https://github.com/Dilip-Jain))
- Update to JupyterLab 4.1 [7096](https://github.com/jupyter/notebook/pull/7096) ([jtpio](https://github.com/jtpio))
- Add the JupyterLab resources plugin [6968](https://github.com/jupyter/notebook/pull/6968) ([jtpio](https://github.com/jtpio))

Bugs fixed

- Fix spurious kernel selection dialog on notebook creation [7258](https://github.com/jupyter/notebook/pull/7258) ([jtpio](https://github.com/jtpio))
- Workaround for the file browser tracker focus issue [7224](https://github.com/jupyter/notebook/pull/7224) ([jtpio](https://github.com/jtpio))

Maintenance and upkeep improvements

- Update to JupyterLab 4.1.1 [7256](https://github.com/jupyter/notebook/pull/7256) ([jtpio](https://github.com/jtpio))
- Follow JupyterLab minor versions [7250](https://github.com/jupyter/notebook/pull/7250) ([jtpio](https://github.com/jtpio))
- chore: update pre-commit hooks [7237](https://github.com/jupyter/notebook/pull/7237) ([pre-commit-ci](https://github.com/pre-commit-ci))
- Update to JupyterLab 4.1.0 final [7234](https://github.com/jupyter/notebook/pull/7234) ([jtpio](https://github.com/jtpio))
- Update to JupyterLab 4.1.0rc1 [7230](https://github.com/jupyter/notebook/pull/7230) ([jtpio](https://github.com/jtpio))
- Update to JupyterLab 4.1.0rc0 [7227](https://github.com/jupyter/notebook/pull/7227) ([jtpio](https://github.com/jtpio))
- Update to JupyterLab 4.1.0b2 [7222](https://github.com/jupyter/notebook/pull/7222) ([jtpio](https://github.com/jtpio))
- Fix `check_links` on CI [7219](https://github.com/jupyter/notebook/pull/7219) ([jtpio](https://github.com/jtpio))
- Bump the actions group with 1 update [7218](https://github.com/jupyter/notebook/pull/7218) ([dependabot](https://github.com/dependabot))
- Bump the actions group with 2 updates [7207](https://github.com/jupyter/notebook/pull/7207) ([dependabot](https://github.com/dependabot))
- chore: update pre-commit hooks [7206](https://github.com/jupyter/notebook/pull/7206) ([pre-commit-ci](https://github.com/pre-commit-ci))
- Add nbviewer.jupyter.org to the ignore list [7197](https://github.com/jupyter/notebook/pull/7197) ([jtpio](https://github.com/jtpio))
- Update to JupyterLab 4.1.0b0 [7196](https://github.com/jupyter/notebook/pull/7196) ([jtpio](https://github.com/jtpio))
- Update ruff config [7190](https://github.com/jupyter/notebook/pull/7190) ([blink1073](https://github.com/blink1073))
- Bump babel/traverse from 7.23.0 to 7.23.6 [7187](https://github.com/jupyter/notebook/pull/7187) ([dependabot](https://github.com/dependabot))
- Bump actions/setup-python from 4 to 5 [7180](https://github.com/jupyter/notebook/pull/7180) ([dependabot](https://github.com/dependabot))
- Update publish-release workflow for PyPI trusted publisher [7176](https://github.com/jupyter/notebook/pull/7176) ([jtpio](https://github.com/jtpio))
- chore: update pre-commit hooks [7174](https://github.com/jupyter/notebook/pull/7174) ([pre-commit-ci](https://github.com/pre-commit-ci))
- Update `yarn.lock` [7170](https://github.com/jupyter/notebook/pull/7170) ([jtpio](https://github.com/jtpio))
- Bump axios from 1.5.1 to 1.6.2 [7165](https://github.com/jupyter/notebook/pull/7165) ([dependabot](https://github.com/dependabot))
- Bump dessant/lock-threads from 4 to 5 [7159](https://github.com/jupyter/notebook/pull/7159) ([dependabot](https://github.com/dependabot))
- Update ruff config and typing [7145](https://github.com/jupyter/notebook/pull/7145) ([blink1073](https://github.com/blink1073))
- chore: update pre-commit hooks [7143](https://github.com/jupyter/notebook/pull/7143) ([pre-commit-ci](https://github.com/pre-commit-ci))
- Clean up lint handling [7142](https://github.com/jupyter/notebook/pull/7142) ([blink1073](https://github.com/blink1073))
- Adopt ruff format [7132](https://github.com/jupyter/notebook/pull/7132) ([blink1073](https://github.com/blink1073))
- Fix python bumping to `minor` [7131](https://github.com/jupyter/notebook/pull/7131) ([jtpio](https://github.com/jtpio))
- Add Python 3.12 classifier [7111](https://github.com/jupyter/notebook/pull/7111) ([jtpio](https://github.com/jtpio))
- Remove viewport workaround in the UI tests [6887](https://github.com/jupyter/notebook/pull/6887) ([jtpio](https://github.com/jtpio))

Documentation improvements

- Add documentation for updating `notebook` imports [7244](https://github.com/jupyter/notebook/pull/7244) ([jtpio](https://github.com/jtpio))
- Fix link in `CONTRIBUTING.md` [7235](https://github.com/jupyter/notebook/pull/7235) ([jtpio](https://github.com/jtpio))
- Add user facing changelog for 7.1 [7232](https://github.com/jupyter/notebook/pull/7232) ([jtpio](https://github.com/jtpio))
- Clarify README about supported versions (post v7 release) [7193](https://github.com/jupyter/notebook/pull/7193) ([akx](https://github.com/akx))
- Set `navigation_with_keys` to `False` [7129](https://github.com/jupyter/notebook/pull/7129) ([jtpio](https://github.com/jtpio))
- Updated ui-tests Configuration in Contributing.md [7124](https://github.com/jupyter/notebook/pull/7124) ([jayeshsingh9767](https://github.com/jayeshsingh9767))

Contributors to this release

([GitHub contributors page for this release](https://github.com/jupyter/notebook/graphs/contributors?from=2023-10-17&to=2024-02-13&type=c))

[akx](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Aakx+updated%3A2023-10-17..2024-02-13&type=Issues) | [blink1073](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ablink1073+updated%3A2023-10-17..2024-02-13&type=Issues) | [brichet](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Abrichet+updated%3A2023-10-17..2024-02-13&type=Issues) | [d5423197](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ad5423197+updated%3A2023-10-17..2024-02-13&type=Issues) | [dependabot](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Adependabot+updated%3A2023-10-17..2024-02-13&type=Issues) | [Dilip-Jain](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3ADilip-Jain+updated%3A2023-10-17..2024-02-13&type=Issues) | [github-actions](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2023-10-17..2024-02-13&type=Issues) | [haok1402](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ahaok1402+updated%3A2023-10-17..2024-02-13&type=Issues) | [jayeshsingh9767](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajayeshsingh9767+updated%3A2023-10-17..2024-02-13&type=Issues) | [jtpio](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajtpio+updated%3A2023-10-17..2024-02-13&type=Issues) | [krassowski](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Akrassowski+updated%3A2023-10-17..2024-02-13&type=Issues) | [pre-commit-ci](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Apre-commit-ci+updated%3A2023-10-17..2024-02-13&type=Issues) | [Zsailer](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3AZsailer+updated%3A2023-10-17..2024-02-13&type=Issues)

7.1.0rc1

Not secure
([Full Changelog](https://github.com/jupyter/notebook/compare/v7.1.0rc0...376a2f97c883e6e91f321d0a676e1ee9ff3b8d87))

Maintenance and upkeep improvements

- Follow JupyterLab minor versions [7250](https://github.com/jupyter/notebook/pull/7250) ([jtpio](https://github.com/jtpio))

Documentation improvements

- Add documentation for updating `notebook` imports [7244](https://github.com/jupyter/notebook/pull/7244) ([jtpio](https://github.com/jtpio))

Contributors to this release

([GitHub contributors page for this release](https://github.com/jupyter/notebook/graphs/contributors?from=2024-02-07&to=2024-02-09&type=c))

[github-actions](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2024-02-07..2024-02-09&type=Issues) | [jtpio](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajtpio+updated%3A2024-02-07..2024-02-09&type=Issues)

7.1.0rc0

Not secure
([Full Changelog](https://github.com/jupyter/notebook/compare/v7.1.0b0...2d717f5896a1d4310baa2499c7e6197d1914201d))

Enhancements made

- Added Edit Notebook Metadata Option (6402) [7099](https://github.com/jupyter/notebook/pull/7099) ([Dilip-Jain](https://github.com/Dilip-Jain))

Maintenance and upkeep improvements

- chore: update pre-commit hooks [7237](https://github.com/jupyter/notebook/pull/7237) ([pre-commit-ci](https://github.com/pre-commit-ci))
- Update to JupyterLab 4.1.0 final [7234](https://github.com/jupyter/notebook/pull/7234) ([jtpio](https://github.com/jtpio))
- Update to JupyterLab 4.1.0rc1 [7230](https://github.com/jupyter/notebook/pull/7230) ([jtpio](https://github.com/jtpio))
- Update to JupyterLab 4.1.0rc0 [7227](https://github.com/jupyter/notebook/pull/7227) ([jtpio](https://github.com/jtpio))

Documentation improvements

- Fix link in `CONTRIBUTING.md` [7235](https://github.com/jupyter/notebook/pull/7235) ([jtpio](https://github.com/jtpio))
- Add user facing changelog for 7.1 [7232](https://github.com/jupyter/notebook/pull/7232) ([jtpio](https://github.com/jtpio))

Contributors to this release

([GitHub contributors page for this release](https://github.com/jupyter/notebook/graphs/contributors?from=2024-01-26&to=2024-02-07&type=c))

[Dilip-Jain](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3ADilip-Jain+updated%3A2024-01-26..2024-02-07&type=Issues) | [github-actions](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2024-01-26..2024-02-07&type=Issues) | [jtpio](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajtpio+updated%3A2024-01-26..2024-02-07&type=Issues) | [pre-commit-ci](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Apre-commit-ci+updated%3A2024-01-26..2024-02-07&type=Issues)

Page 3 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.