Skip to content

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 02:57
· 77 commits to main since this release
6486b6f
  • Cell code can see an interrupt: jupyter.signal is an AbortSignal
    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=1 in 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
    lists kernel subshells, the control channel answers
    create_subshell_request, delete_subshell_request and
    list_subshell_request, and shell messages with a subshell_id run
    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_request on the control channel with
    ipykernel's usage_reply fields. On Node, Deno, Bun and workerd,
    kernel_memory and kernel_cpu include the target process, where
    cells run; celld and the browser target leave those two out
    (#409,
    #410).

  • kernel_info_reply's language_info.mimetype is
    application/typescript instead of text/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, and text/x.typescript gave x.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).