Notebook

Latest version: v7.2.2

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

Scan your dependencies

Page 1 of 19

7.3

Jupyter Notebook 7.3 is based on JupyterLab 4.3, 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-2-to-4-3) 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.3, although they may not all be supported in Notebook 7.3.

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

Minimap

The virtual scrollbar now acts as a minimap and exposes information on whether a cell:

- is running/scheduled (`[*]`), idle (`[ ]`) or was already run (e.g. `[1]`)
- was modified since it was last executed (“dirty”) - orange background
- has an output that contains an error - red background
- is markdown/code (`[ ]`/`[*]`/`[1]` for code, nothing for markdown)
- how much text/code it contains

![a screenshot showing the notebook minimap](https://raw.githubusercontent.com/jupyterlab/jupyterlab/main/docs/source/getting_started/changelog_assets/4.3-minimap.png)

To enable the minimap, click on the hamburger icon (≡) which appears in the notebook’s toolbar. If you do not see the hamburger icon, go to `Settings → Notebook → Windowing mode` and choose “full”.

File browser enhancements

The file browser now:

- supports resizing the columns and remembers the column sizes after reloading JupyterLab
- supports uploading folders by drag-and-drop
- supports navigation with a single click
- adds a file filter collapsed by default (funnel icon)

![a screenshot showing that it's now possible to resize the file browser columns](https://github.com/user-attachments/assets/b0d9cd0a-2828-43f7-a922-e8b271e5f7fc)

In Jupyter Notebook, the single click navigation is enabled by default. If you would like to disable it to get the same experience as in JupyterLab, go to `Settings → File Browser` and make sure "Navigate files and directories with single click" is unchecked.

Improved kernel and server interactions

The previous release enabled connecting to external kernels, such as those spawned by a third-party application like Blender. In this release the kernel selector dialog was improved to also show the external kernels.

The previous release improved the awareness of the kernel/kernel specification distinction by providing both tree and list view in the kernels sidebar panel, but only the tree view featured the kernel identifiers. In this release both the list and tree view show the kernel identifier stub.

A new toolbar button was added in the kernel allowing to shut down unused kernels (kernels with no widget attached).

![a screenshot showing the list view of the kernels in the sidebar](https://github.com/user-attachments/assets/c7f958c5-4054-4b09-8fad-4df6db8c9b58)

Full Width Notebook

It is now possible to configure the notebook to take up the full width of the page via:

- a setting that can be defined by a user via the Settings Editor
- the `View > Enable Full Width Notebook` menu entry
- the command palette, searching for `Enable Full Width Notebook`

![a screenshot showing how to enable full width notebook via the menu](https://github.com/user-attachments/assets/148b227a-874a-4bb3-a4c6-c7350525ccc4)

This is particularly useful on large displays, or for those who prefer working with a wider notebook.

It is also possible to use the JupyterLab interface for a more fully-featured experience, which allows for full-width notebooks too, and offers a "Simple Interface" mode for only showing a single notebook at a time.

You can open JupyterLab by clicking on `View > Open JupyterLab`.

<!-- <START NEW CHANGELOG ENTRY> -->

7.3.0b1

([Full Changelog](https://github.com/jupyter/notebook/compare/jupyter-notebook/application-extension7.3.0-beta.0...f614f7c6387cc7da82e0307b70e10593b2cd6bff))

Enhancements made

- Add a setting to enable the notebook to take up the full width [7487](https://github.com/jupyter/notebook/pull/7487) ([jtpio](https://github.com/jtpio))
- Add the file filter button to the file browser toolbar [7479](https://github.com/jupyter/notebook/pull/7479) ([jtpio](https://github.com/jtpio))

Bugs fixed

- Move handling of the file browser settings to a separate plugin, enable file browser single click navigation [7481](https://github.com/jupyter/notebook/pull/7481) ([jtpio](https://github.com/jtpio))

Maintenance and upkeep improvements

- Update to JupyterLab `4.3.0rc1` [7497](https://github.com/jupyter/notebook/pull/7497) ([jtpio](https://github.com/jtpio))

Documentation improvements

- Add user facing changelog for `7.3.0` [7494](https://github.com/jupyter/notebook/pull/7494) ([jtpio](https://github.com/jtpio))

Contributors to this release

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

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

<!-- <END NEW CHANGELOG ENTRY> -->

7.3.0b0

([Full Changelog](https://github.com/jupyter/notebook/compare/jupyter-notebook/application-extension7.3.0-alpha.1...fec4431305b2fd857ff81b7b60c2894dd125bec2))

Enhancements made

- Redirect paths from the notebooks route to the tree route if they are directories [7446](https://github.com/jupyter/notebook/pull/7446) ([andyscho](https://github.com/andyscho))

Maintenance and upkeep improvements

- Remove the `StateDB` file browser trick [7477](https://github.com/jupyter/notebook/pull/7477) ([jtpio](https://github.com/jtpio))
- Update to JupyterLab `4.3.0rc0` [7423](https://github.com/jupyter/notebook/pull/7423) ([jtpio](https://github.com/jtpio))

Documentation improvements

- Fix typos [7472](https://github.com/jupyter/notebook/pull/7472) ([algonell](https://github.com/algonell))

Contributors to this release

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

[algonell](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Aalgonell+updated%3A2024-07-01..2024-10-15&type=Issues) | [andyscho](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Aandyscho+updated%3A2024-07-01..2024-10-15&type=Issues) | [github-actions](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2024-07-01..2024-10-15&type=Issues) | [jtpio](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajtpio+updated%3A2024-07-01..2024-10-15&type=Issues) | [krassowski](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Akrassowski+updated%3A2024-07-01..2024-10-15&type=Issues) | [RRosio](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3ARRosio+updated%3A2024-07-01..2024-10-15&type=Issues)

7.3.0a1

([Full Changelog](https://github.com/jupyter/notebook/compare/jupyter-notebook/application-extension7.3.0-alpha.0...ff2b822d066dc8d733a259f955177da4bd4d668c))

Enhancements made

- Update to JupyterLab `4.3.0a1` [7416](https://github.com/jupyter/notebook/pull/7416) ([jtpio](https://github.com/jtpio))

Bugs fixed

- Remove pseudoelement obstructing the cell collapser [7392](https://github.com/jupyter/notebook/pull/7392) ([krassowski](https://github.com/krassowski))

Contributors to this release

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

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

7.3.0a0

([Full Changelog](https://github.com/jupyter/notebook/compare/jupyter-notebook/application-extension7.2.0...1a03b9d8e502f8177684e39d7b627bed1c772bb2))

Enhancements made

- Support custom page_data_hook function [7387](https://github.com/jupyter/notebook/pull/7387) ([bluestealth](https://github.com/bluestealth))
- Add missing "Open..." file menu [7385](https://github.com/jupyter/notebook/pull/7385) ([martinRenou](https://github.com/martinRenou))
- Duplicate notebook menu option [7374](https://github.com/jupyter/notebook/pull/7374) ([JasonWeill](https://github.com/JasonWeill))

Bugs fixed

- "Close and Shut Down Notebook" shuts down without the confirmation dialog [7384](https://github.com/jupyter/notebook/pull/7384) ([JasonWeill](https://github.com/JasonWeill))
- Adds message about building code before running 'develop' [7382](https://github.com/jupyter/notebook/pull/7382) ([JasonWeill](https://github.com/JasonWeill))

Maintenance and upkeep improvements

- Update to JupyterLab 4.3.0a0 [7378](https://github.com/jupyter/notebook/pull/7378) ([jtpio](https://github.com/jtpio))

Documentation improvements

- Adds message about building code before running 'develop' [7382](https://github.com/jupyter/notebook/pull/7382) ([JasonWeill](https://github.com/JasonWeill))

Contributors to this release

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

[bluestealth](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Abluestealth+updated%3A2024-05-16..2024-05-31&type=Issues) | [github-actions](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2024-05-16..2024-05-31&type=Issues) | [JasonWeill](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3AJasonWeill+updated%3A2024-05-16..2024-05-31&type=Issues) | [jtpio](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajtpio+updated%3A2024-05-16..2024-05-31&type=Issues) | [martinRenou](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3AmartinRenou+updated%3A2024-05-16..2024-05-31&type=Issues)

7.2

Jupyter Notebook 7.2 is based on JupyterLab 4.2, 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.2, although they are not all supported in Notebook 7.2.

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

Full notebook windowing mode by default

Notebooks in the `full` windowing mode only render the visible cells, significantly improving the performance of the application. One limitation of `full` mode is that the search function in your browser may produce false negatives; using the search function is recommended. To revert to the behaviour from Notebook 7.2, go to Settings → Settings Editor → Notebook, scroll to “Windowing mode”, and choose `defer`.

Improved Shortcuts Editor

Among the numerous improvements and bug fixes for the keyboard shortcuts editor:

- it is now possible to remove the default shortcuts,
- shortcuts are correctly sorted when using a language pack,
- shortcuts with different arguments are now correctly displayed as individual entries.

<img alt="A context menu opened over a keybinding in the Keyboard Shortcuts setting panel within the Settings widget" class="jp-screenshot" src="https://raw.githubusercontent.com/jupyterlab/jupyterlab/main/docs/source/getting_started/changelog_assets/4.2-delete-shortcut.png">

Dark high contrast theme

A new theme, JupyterLab Dark High Contrast, which is intended to benefit users with the need for higher contrast, following the WCAG AAA accessibility standard for color contrast. To select this theme, from the menu bar, choose Settings → Theme → JupyterLab Dark High Contrast. Please provide feedback and suggestions on further improvements to this theme.

<img alt="A dark high contrast theme" class="jp-screenshot" src="https://github.com/jupyter/notebook/assets/591645/9a1678fe-9b4d-41ad-8764-75fdc7c84071">

Page 1 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.