mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-25 13:30:27 +08:00
User facing changelog for 7.4 (#7612)
* User facing changelog for 7.4 * add more content
This commit is contained in:
parent
9678c1831a
commit
59b9411869
141
CHANGELOG.md
141
CHANGELOG.md
@ -12,66 +12,60 @@ upgrading `notebook`.
|
||||
Use `pip install pip --upgrade` to upgrade pip. Check pip version with
|
||||
`pip --version`.
|
||||
|
||||
## 7.3
|
||||
## 7.4
|
||||
|
||||
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.
|
||||
Jupyter Notebook 7.4 is based on JupyterLab 4.4, 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-3-to-4-4) 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.
|
||||
Below are a few highlights for this new release. Most of the new features and improvements come from the update to JupyterLab 4.4, although they may not all be supported in Notebook 7.4.
|
||||
|
||||
For reference you may have a look at the [JupyterLab 4.3 changelog](https://jupyterlab.readthedocs.io/en/latest/getting_started/changelog.html#v4-3) to learn more.
|
||||
For reference you may have a look at the [JupyterLab 4.4 changelog](https://jupyterlab.readthedocs.io/en/latest/getting_started/changelog.html#v4-4) to learn more.
|
||||
|
||||
### Minimap
|
||||
### Code console improvements
|
||||
|
||||
The virtual scrollbar now acts as a minimap and exposes information on whether a cell:
|
||||
The code console prompt can now be positioned on the top, left, or right side of the console,
|
||||
in addition to the default bottom placement. The placement is persisted in the Prompt Cell
|
||||
Position setting.
|
||||
|
||||
- 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
|
||||
The console toolbar now includes buttons to:
|
||||
- Execute code
|
||||
- Restart the kernel
|
||||
- Clear the cells
|
||||
- Switch the kernel
|
||||
|
||||

|
||||
<img alt="The option to change console prompt position is available under the three dots button in the console toolbar, which is the last toolbar button" src="https://github.com/user-attachments/assets/11f5a82a-0dd2-439b-a520-d04c73363bfe" class="jp-screenshot">
|
||||
|
||||
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”.
|
||||
Additional settings for console behavior have been added:
|
||||
- Clear Code Content on Execute (enabled by default) – When disabled, the code submitted for execution remains in the code editor, allowing for further edits.
|
||||
- Hide Code Input – When enabled, only the execution output is shown in the console.
|
||||
- Clear Cells on Execute – When enabled, only the last cell is displayed.
|
||||
|
||||
### File browser enhancements
|
||||
Toggling all the three new settings transforms the console into an interactive editor
|
||||
resembling an ephemeral notebook with a single cell.
|
||||
|
||||
The file browser now:
|
||||
<img alt="Toggling all the three new settings transforms the console into a single cell" src="https://github.com/user-attachments/assets/86eb1114-0d60-4379-a370-b538717fc74f" class="jp-screenshot">
|
||||
|
||||
- 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)
|
||||
### Settings import and export
|
||||
|
||||

|
||||
Settings can now be exported to `overrides.json` from the Settings Editor,
|
||||
which can be used to pre-configure defaults in deployments or to restore settings.
|
||||
|
||||
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.
|
||||
<img alt="The Import and Export buttons in the Settings Editor are the first two items in the toolbar panel" src="https://raw.githubusercontent.com/jupyterlab/jupyterlab/main/docs/source/getting_started/changelog_assets/4.4-settings-import-export.png" class="jp-screenshot">
|
||||
|
||||
### Improved kernel and server interactions
|
||||
### Support for collaboration without `RTC:` drive
|
||||
|
||||
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.
|
||||
Real time collaboration in previous versions of JupyterLab and Jupyter Notebook
|
||||
(which can be enabled by installing jupyter-collaboration package)
|
||||
was implemented by swapping the default JupyterLab file system
|
||||
drive to a collaborative drive with the `RTC:` prefix.
|
||||
This approach was incompatible with multiple extensions.
|
||||
JupyterLab 4.4 introduces the Content Providers API, which allows the next version of `jupyter-collaboration` to work without changing the drive prefix.
|
||||
This improves compatibility with extensions that do not support arbitrary drives.
|
||||
|
||||
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.
|
||||
### Context menu opt-out
|
||||
|
||||
A new toolbar button was added in the kernel allowing to shut down unused kernels (kernels with no widget attached).
|
||||
|
||||

|
||||
|
||||
### 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`
|
||||
|
||||

|
||||
|
||||
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`.
|
||||
The context menu, available under right mouse click in browsers, can now be disabled globally
|
||||
by toggling the `Enable Context Menu` option available in the Command Palette,
|
||||
or via the JSON Settings Editor in the Application Context Menu.
|
||||
|
||||
<!-- <START NEW CHANGELOG ENTRY> -->
|
||||
|
||||
@ -187,6 +181,67 @@ You can open JupyterLab by clicking on `View > Open JupyterLab`.
|
||||
|
||||
[@github-actions](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Agithub-actions+updated%3A2024-12-21..2024-12-21&type=Issues) | [@jtpio](https://github.com/search?q=repo%3Ajupyter%2Fnotebook+involves%3Ajtpio+updated%3A2024-12-21..2024-12-21&type=Issues)
|
||||
|
||||
## 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](https://jupyterlab.readthedocs.io/en/latest/getting_started/changelog.html#v4-3) to learn more.
|
||||
|
||||
### 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
|
||||
|
||||

|
||||
|
||||
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)
|
||||
|
||||

|
||||
|
||||
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).
|
||||
|
||||

|
||||
|
||||
### 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`
|
||||
|
||||

|
||||
|
||||
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`.
|
||||
|
||||
## 7.3.2
|
||||
|
||||
([Full Changelog](https://github.com/jupyter/notebook/compare/@jupyter-notebook/application-extension@7.3.1...7959ba0de553e9c541d2716d76108a8bc0bc2d6c))
|
||||
|
Loading…
x
Reference in New Issue
Block a user