v3.1.2#

Published on July 29, 2026.

Summary#

JupyterLab v4.4 and v4.5 support is fixed#

This patch fixes Jupyter AI support for JupyterLab v4.4 and v4.5. JupyterLab v4.6 and above are still supported as well. Thank you @brichet for help fixing this!

New magic command features#

You can also now call an AI persona from the %%ai magic command, giving notebook and IPython users the same agents available in the chat panel. Pass a persona’s name where you would normally pass a model ID; the persona has to be installed and active. See the updated magic commands documentation for more info. Magic command arguments are also parsed with shlex now, so quoted arguments hold together instead of splitting on every space. Thanks to @joequant and @srdas for building this!

Other fixes#

  • jupyter-server-documents now works in deployments served behind a reverse proxy. Same-origin and authentication checks follow Jupyter Server’s own conventions, which fixes the connection failures these deployments were seeing. Thank you @bsundaram1 for the patch!

  • jupyter-ai-router now works even when jupyter-server-ydoc isn’t installed. It is supposed to work with either jupyter-server-documents or jupyter-server-ydoc, but previous versions were only importing the event URI from the latter. Thank you @brichet for the patch!

Full changelog#

jupyter-chat#

Upgraded from v0.23.0 → v0.23.1. (See full changelog)

Maintenance and upkeep improvements#

jupyter-server-documents#

Upgraded from v0.3.1 → v0.3.2. (See full changelog)

Enhancements made#

  • Follow Jupyter Server conventions on Same-Origin and auth checks, fix reverse proxy deployments #285 (@bsundaram1, @dlqqq)

jupyter-ai-router#

Upgraded from v0.0.5 → v0.0.6. (See full changelog)

Bugs fixed#

  • Fix the collaboration event URI when jupyter-server-ydoc is not installed #38 (@brichet, @dlqqq)

Maintenance and upkeep improvements#

jupyter-ai-magic-commands#

Upgraded from v0.0.3 → v0.0.4. (See full changelog)

Note

This is an optional package, installed only with the corresponding jupyter-ai extra.

Enhancements made#

Unchanged subpackages#

The following subpackages did not advance their version floor in this release:

  • jupyter-ai-acp-client (v0.2.1)

  • jupyter-ai-chat-commands (v0.0.4)

  • jupyter-ai-jupyternaut (v0.1.0b0)

  • jupyter-ai-litellm (v0.0.2)

  • jupyter-ai-persona-manager (v0.1.2)

  • jupyter-ai-tools (v0.6.1)

  • jupyter-server-mcp (v0.2.1)

  • jupyterlab-commands-toolkit (v0.1.6)

  • jupyterlab-notebook-awareness (v0.2.0)