Repository navigation
verso-v1.0.3
·
288 commits
to main
since this release
Feature release adding built-in HTML and Mermaid cell types, a formatter pipeline for kernel return values, native Save As, multi-session host support, and a streamlined VS Code extension that uses Blazor WebAssembly as the sole editor.
HTML and Mermaid Cell Types
- Built-in HTML and Mermaid cell types with dedicated kernels, renderers, and cell type registrations
@variablesubstitution in both cell types with IntelliSense completions, diagnostics for unresolved references, and hover info@@escape syntax for literal@characters- Mermaid diagrams render natively across Blazor Server, Blazor WASM in VS Code, and dashboard layouts via
mermaid-interop.js - Shared
VariableSubstitutionutility used by both kernels
Formatter Pipeline
- C# and F# kernels now route return values through the extension host's
IDataFormatterpipeline (ordered by priority) before falling back toToString()orFSharpValueFormatter - Direct
CellOutputinstances are detected and passed through; duck-typedCellOutputobjects from other assembly contexts are extracted via reflection
Save As Dialog
- Native OS file picker via the File System Access API with a modal fallback for unsupported browsers
GetSerializedContentAsyncadded toINotebookServiceso the UI can serialize and write to a chosen file handle
Multi-Session Host
HostSessionrefactored intoNotebookSessionwithNotebookIdtracking- All host handlers updated to accept
NotebookSessionfor multi-notebook support notebook/openreturns aNotebookId;notebook/closeadded for session cleanup
Dashboard Layout Fix
- Saved grid positions from the
.versofile are now restored when opening a notebook in VS Code, fixing a bug where dashboard cells ignored their saved positions in the WASM path
Cell Collapse Behavior
- Empty-source cells are no longer shown in preview mode
- Collapse logic now recognizes HTML and Mermaid as rendering cell types alongside Markdown
- Server-side collapse checks directly-registered renderers and falls back to cell-type renderer settings
VS Code Extension
- Removed native notebook controller, serializer, mermaid renderer, language providers, tree view providers, dashboard panel, toolbar actions, and theme mapper (14 files)
- Blazor WebAssembly is now the default and only editor
extension.tsreduced from ~420 lines to ~95 lines- Removed all
notebooks,notebookRenderer,viewsContainers,views,commands,menus, andkeybindingscontributions frompackage.json
Project
- README rewritten with story-driven structure and architecture overview
- NuGet, GitHub Release, and CI status badges added to README
- GitHub bug report issue template with structured fields for reproduction, component, front-end, versions, and severity
- Blank issues disabled in favor of Discussions for questions