materialscloud-org / voila-materialscloud-template

The Voila template for Materials Cloud.
Other
2 stars 3 forks source link

Bump voila from 0.3.6 to 0.5.0 #99

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 11 months ago

Bumps voila from 0.3.6 to 0.5.0.

Release notes

Sourced from voila's releases.

v0.5.0

0.5.0

(Full Changelog)

Below are the major highlights in Voila 0.5.0

New JupyterLab-based frontend

In 0.5.0, the frontend of Voila is rebuilt from scratch with JupyterLab 4.0 components. The current requirejs + nbextensions approach is replaced by a JupyterLab plugin-based application. This allows Voila to profit from all the upstream features and improvements.

New extension loading system.

This is a direct benefit of the new frontend, now Voila will use the same prebuilt extension system as in JupyterLab. The extension assets are loaded from the local path instead of the CDN. This greatly improves the extension compatibility of Voila and avoid making requests to external services. And moreover, we can start creating extensions for Voila in the same fashion as JupyterLab extensions.

Make use of JupyterLab mimetype renderers.

In 0.5.0, the logic for rendering cell outputs is switched from relying on nbconvert for handling different mimetypes to relying on JupyterLab mimetype renderers. This adds support for many custom JupyterLab renderers like jupyterlab-fasta, vega, jupyterlab-geojson...

New tree page.

The default tree page of Voila is now a JupyterLab-based application using the file browser widget.

The jinja-based tree page is still supported, but users need to activate it with the --classic-tree CLI option, the VoilaConfiguration.classic_tree config, or ?classic-tree=True in the query string.

JupyterLab custom themes are supported with the new tree page, for the classic tree page, only the light and dark themes are supported.

New token-based authentication system.

By using jupyter-server 2, Voila now supports token authentication, but it is disabled by default.

  • To start Voila with auto-generated token:
voila --token notebook.ipynb
  • To start Voila with a personalized token:
voila --token=my-secret-token notebook.ipynb

Backwards-incompatible changes.

... (truncated)

Changelog

Sourced from voila's changelog.

0.5.0 - Highlights

Below are the major highlights in Voila 0.5.0

New JupyterLab-based frontend

In 0.5.0, the frontend of Voila is rebuilt from scratch with JupyterLab 4.0 components. The current requirejs + nbextensions approach is replaced by a JupyterLab plugin-based application. This allows Voila to profit from all the upstream features and improvements.

New extension loading system.

This is a direct benefit of the new frontend, now Voila will use the same prebuilt extension system as in JupyterLab. The extension assets are loaded from the local path instead of the CDN. This greatly improves the extension compatibility of Voila and avoid making requests to external services. And moreover, we can start creating extensions for Voila in the same fashion as JupyterLab extensions.

Make use of JupyterLab mimetype renderers.

In 0.5.0, the logic for rendering cell outputs is switched from relying on nbconvert for handling different mimetypes to relying on JupyterLab mimetype renderers. This adds support for many custom JupyterLab renderers like jupyterlab-fasta, vega, jupyterlab-geojson...

New tree page.

The default tree page of Voila is now a JupyterLab-based application using the file browser widget.

The jinja-based tree page is still supported, but users need to activate it with the --classic-tree CLI option, the VoilaConfiguration.classic_tree config, or ?classic-tree=True in the query string.

JupyterLab custom themes are supported with the new tree page, for the classic tree page, only the light and dark themes are supported.

New token-based authentication system.

By using jupyter-server 2, Voila now supports token authentication, but it is disabled by default.

  • To start Voila with auto-generated token:
voila --token notebook.ipynb
  • To start Voila with a personalized token:
voila --token=my-secret-token notebook.ipynb

Backwards-incompatible changes.

  • The new tree page no longer supports templates, users need to activate the classic tree to use existing tree templates.
  • Theme argument now is the theme name displayed in JupyterLab and not the name of the theme python package.
  • Python 3.7 is no longer supported.
  • jupyter_client < 7.4.4 is no longer supported.

... (truncated)

Commits


Dependabot compatibility score

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)