Repository navigation
v0.8.0
-
Cell code can see an interrupt:
jupyter.signalis anAbortSignal
that an interrupt aborts. A cell awaiting a comm reply, or other work
only it can end, can pass it on and stop on interrupt, on every
runtime. Each cell gets its own signal, as does a comm handler that
starts while no cell runs, so an interrupt stops only the running work
(#418,
#421). -
Opt-in crash reports: with
CDP_KERNEL_CRASH_REPORTS=1in its
environment, the kernel sends faults in its own code (not errors in
cells) to Sentry, scrubbed of paths and content. Off by default; no new
dependency (#422). -
The kernel supports kernel subshells (JEP 91):
kernel_info_reply
listskernel subshells, the control channel answers
create_subshell_request,delete_subshell_requestand
list_subshell_request, and shell messages with asubshell_idrun
on their subshell's queue. JupyterLab sends comm messages on a
subshell, so a comm handler runs while a cell awaits its message, and
a cell can wait for a frontend's reply over a comm. Cells sent on a
subshell still run in turn on the main shell. The protocol version is
5.5 (#417). -
The kernel answers
usage_requeston the control channel with
ipykernel'susage_replyfields. On Node, Deno, Bun and workerd,
kernel_memoryandkernel_cpuinclude the target process, where
cells run; celld and the browser target leave those two out
(#409,
#410). -
kernel_info_reply'slanguage_info.mimetypeis
application/typescriptinstead oftext/x.typescript, so
jupyterlab-lsp attaches TypeScript language servers to cdp-kernel
notebooks. JupyterLab picks the server by a language it derives from
the MIME type, andtext/x.typescriptgavex.typescript, which no
server lists (#400). -
cdp-kernel --help(or-h,help) prints the usage, and an
unknown option or a missing value says which instead of printing a
Node stack trace (#414).