Below are the major highlights in JupyterLab 4.0.0.
New text editor
CodeMirror, the text editor used for cells and file editors, has been updated to CodeMirror 6. This brings important
accessibility and performance improvements as well as better customization capabilities.
We have also improved the editor settings. Previously, users had to customize settings separately for each type of cell, the file editor, and the console editor. Now, you can change your settings in one place. It is now easier to use the default settings for all editors and to change some settings for specific cases. For example, you can now hide line numbers only for markdown cells.
Developers can now provide editor extensions, like themes and programming language parsers, through new application registries.
New extension manager
Starting with JupyterLab 3, extensions can be installed via Python packages
(or other providers of prebuilt extensions).
In JupyterLab 4, building on this feature, the Extension Manager now includes extensions from pypi.org.
This removes the build step from installation of extension when using Extension Manager.
Developers can provide an alternative package repository to display their own set of extensions.
Improved document search
The Search and Replace functionality has been improved with new features when searching in a notebook:
Highlight matches in rendered markdown cells
Search in selection
Multi-line search
Replace using regex capture-group references
Replace while preserving case
UI improvements
Some new elements have been added or changed in the UI:
Rework the running kernels section
"Add a new cell" button at the bottom of a notebook
Dialog to display keyboard shortcuts as in the Classic Notebook (use Ctrl + Shift + H)
Display the first line of cell input and outputs when they are collapsed
Accessibility improvements
JupyterLab is not yet fully accessible. Currently, we are focused on making Notebook 7 accessible.
A big part of the code is shared, though, and the following accessibility improvements are in JupyterLab 4:
Improved focus and keyboard navigation in the file browser
More ARIA roles and labels were added to UI elements
Main menu collapses to a hamburger menu if there is not enough space to display all items.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/tensorflow/tpu/network/alerts).
Bumps jupyterlab from 4.0.0 to 4.0.11.
Release notes
Sourced from jupyterlab's releases.
... (truncated)
Changelog
Sourced from jupyterlab's changelog.
... (truncated)
Commits
882dd81
[ci skip] Publish 4.0.111ef7a4f
Merge pull request from GHSA-44cc-43rp-59470a75101
Fix CI: lintdda0033
Merge pull request from GHSA-4m77-cmpx-vjc40708330
Backport PR #15612: Fixes focus indicator on input checkbox for Firefox (#15653)edb23eb
Backport PR #15640: Fix link to yarn docs in extension migration guide (#15644)40e8e47
[ci skip] Publish 4.0.10b9bc300
Backport PR #15386: Improve scrolling to heading (#15565)3ce0331
Backport PR #15499: Adopt ruff format (#15564)dd68b9c
Backport PR #15443: Fix search coming back in notebook and editor (#15562)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show