Skip to content

verso-v1.0.3

Choose a tag to compare

@github-actions github-actions released this 22 Feb 11:52
· 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
  • @variable substitution 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 VariableSubstitution utility used by both kernels

Formatter Pipeline

  • C# and F# kernels now route return values through the extension host's IDataFormatter pipeline (ordered by priority) before falling back to ToString() or FSharpValueFormatter
  • Direct CellOutput instances are detected and passed through; duck-typed CellOutput objects 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
  • GetSerializedContentAsync added to INotebookService so the UI can serialize and write to a chosen file handle

Multi-Session Host

  • HostSession refactored into NotebookSession with NotebookId tracking
  • All host handlers updated to accept NotebookSession for multi-notebook support
  • notebook/open returns a NotebookId; notebook/close added for session cleanup

Dashboard Layout Fix

  • Saved grid positions from the .verso file 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.ts reduced from ~420 lines to ~95 lines
  • Removed all notebooks, notebookRenderer, viewsContainers, views, commands, menus, and keybindings contributions from package.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