ZIm/crates/repl/src
Kyle Kelley 466d3316a0
Fix issue with image output from Jupyter kernels that didn't use base64 padding (#20561)
This upgrades `nbformat` and `runtimelib` to handle jupyter types with
even more validation and flexiblity. This also processes any multiline
string data coming from the kernel, including with image data (like
`image/png`). While I was at it I also fixed a longstanding issue around
images by eliminating all whitespace (something `atob` does) and using
the no pad decoder.

Fixes: #17956

Before:

<img width="741" alt="image"
src="https://github.com/user-attachments/assets/37ec2cae-ce78-4475-aaa3-4d785e4015d0">

After:

<img width="727" alt="image"
src="https://github.com/user-attachments/assets/e2431ba2-048b-4205-9898-54f357795a9c">


Release Notes:

- Fixed issue with image output from REPL kernels that didn't use base64
padding
2024-11-12 16:25:49 -08:00
..
components Discover available python environments with Jupyter kernel support (#20467) 2024-11-11 10:19:05 -08:00
notebook Refactor Spacing into DynamicSpacing using proc macro (#20504) 2024-11-11 11:08:55 -05:00
outputs Fix issue with image output from Jupyter kernels that didn't use base64 padding (#20561) 2024-11-12 16:25:49 -08:00
components.rs Show kernel options in a picker (#20274) 2024-11-07 17:59:53 -08:00
jupyter_settings.rs Revert "settings: Remove auxiliary Content types where possible (#16744)" (#17768) 2024-09-12 14:46:08 -04:00
kernels.rs Discover available python environments with Jupyter kernel support (#20467) 2024-11-11 10:19:05 -08:00
notebook.rs Initial Notebook UI structure (#19756) 2024-10-29 11:30:07 -07:00
outputs.rs Initial Notebook UI structure (#19756) 2024-10-29 11:30:07 -07:00
repl.rs Show kernel options in a picker (#20274) 2024-11-07 17:59:53 -08:00
repl_editor.rs Discover available python environments with Jupyter kernel support (#20467) 2024-11-11 10:19:05 -08:00
repl_sessions_ui.rs Discover available python environments with Jupyter kernel support (#20467) 2024-11-11 10:19:05 -08:00
repl_store.rs Discover available python environments with Jupyter kernel support (#20467) 2024-11-11 10:19:05 -08:00
session.rs Register repl actions with editor after session started (#20396) 2024-11-08 06:58:44 -08:00