0.6.0
Important
Breaking changes
The API to create a notebook model client changed to receive directly
the websocket URL for the notebook. In the case of the Jupyter Server,
a helper is provided to generate that websocket URL.
from jupyter_nbmodel_client import (
NbModelClient,
+ get_jupyter_notebook_websocket_url
)
- NbModelClient(server_url="http://localhost:8888", token="MY_TOKEN", path="test.ipynb"):
+ NbModelClient(
+ get_jupyter_notebook_websocket_url(
+ server_url="http://localhost:8888",
+ token="MY_TOKEN",
+ path="test.ipynb"
+ )
+ )
Enhancements made
- Make the client more generic to connect to any Y websocket server #20 (@fcollonval)
- insert cell methods #21 (@eleonorecharles)
Other merged PRs
- Update jupyter-server-ydoc requirement from ~=1.0.0 to >=1.0,<1.2 in the pip group #19 (@dependabot)