Release notes
Every published Verso release, newest first. The same notes live on GitHub releases, where each release also carries its downloadable assets.
v1.2.3
LatestView on GitHubRelease showing each kernel's errors and warnings in the cell editor as you type, letting Console.ReadLine() and input prompts work in C# and F# cells, translating the five showcase layouts and giving extension authors what they need to ship their own translations, theming cell editors from the active VS Code color theme, letting cell editors grow to fit their content, resolving NuGet floating versions and ranges the way dotnet restore does, running notebook post-processors in every host, asking before a save from .ipynb replaces an existing .verso, writing notebook text as itself so a workspace search can find it, passing the cell and output channels through to formatters, and fixing dropped transitive packages, lost C# completions after a re-run, notebook shortcuts firing inside text fields, and widgets that needed IPython after a mid-session install.
Upgrade Notes
- NuGet versions other than an exact pin may now resolve differently.
1.*stays within major version 1,*-*picks up prereleases, and a range such as[1.0.0,2.0.0)takes the lowest version it allows, asdotnet restoredoes. Before, every one of these quietly became the latest stable release. A version Verso cannot read, such aslatest, is now an error instead of the latest stable release - Post-processors now run in every host.
verso serve,verso run,verso exportand the REPL used to skip them, so a .NET Interactive notebook's#!fsharpand#!sqlcells stayed C# cells there. If you wrote a post-processor, it now runs wherever a notebook is opened or saved, and one that throws stops the notebook from opening verso serve --preserve-formatnow really writes back to the.ipynb. Before, the Save button ignored the option and wrote a.versofile anyway. The.ipynbis written from Verso's model of the notebook, so cell attachments, cell tags and notebook metadata other than the kernel are not carried over- Cached NuGet packages with translated resources are downloaded once more. Verso now keeps each language's resource assemblies in its own folder, so a cached package that has them flattened beside its main assemblies is extracted again on first use. That needs a reachable feed once; offline, the reference fails until the machine is back online
- An HTTP redirect no longer fails the cell. With
@no-redirect, a 3xx response is a result, not an error; 4xx and 5xx still fail the cell. ThehttpStatusvariable is anint, which the docs now say verso run --output-filewithout--outputnow writes JSON. Before, the format stayed text and the file was never written
New: Diagnostics in the Cell Editor
- Errors and warnings from the kernel appear as squiggles in the cell editor shortly after you stop typing, when a cell gains focus, and after the cell runs, with the error code and source on hover. Every kernel computed them before, but nothing showed them, so a type error in a C# or F# cell only appeared when the cell ran. Works in VS Code and
verso serve. Asked for by @Jonathan-Schaefer-git (#123) - Names defined in cells that already ran are known, so using them is not an error, and restarting a kernel clears its markers
- Requests wait while any cell is running, so checking a cell never delays a run
- JavaScript and TypeScript cells now report syntax errors. Monaco's own TypeScript checking is turned off in cells, because it could not see earlier cells and flagged
display,requireand top-levelawaitas errors - HTML, Mermaid and SQL cells, and code cells with no language of their own, now get diagnostics, hover and completions from the same kernel that runs them
- SQL and HTTP cells stay quiet until they have seen the variable store, C# knows notebook parameters once they are injected, and an unfinished
#r "nuget:line no longer shifts the markers below it, so a fresh notebook does not light up with false errors
New: Interactive Input in C# and F
Console.ReadLine()andConsole.Read()in a C# or F# cell open an input box in VS Code andverso serve. Text the cell wrote just before reading, such as theName:ofConsole.Write("Name: "), becomes the prompt, and the answer is echoed into the output the way a terminal shows it. Asked for by @bfcamara (#107)- C# cells also get
await GetInputAsync("User:")andawait GetPasswordAsync("Password:"), the second with a masked input box - Dismissing the prompt gives
null, the same as end of input in a terminal, and interrupting a cell that is waiting at a prompt stops it verso runandverso replhave no input box, soConsole.ReadLine()reads the terminal or a pipe there, as any console program would.Console.ReadKey()is not supported in cells
New: Localized Extensions
- The five showcase layouts, DAG Notebook, Slide Studio, Grid Studio, Form Studio and Image Studio, follow the interface language in German, Spanish, Japanese and Simplified Chinese. Built-in names such as Form Studio's widget labels and Image Studio's layer names follow the language too, while names you type stay as you typed them
- Extension authors get
IVersoContext.UICulturefor the reader's interface language andStringTable.Fromfor handing translated strings to an isolated layout, with each missing string falling back through the parent language to English. A new Localization guide in the extension docs covers both inline and isolated layouts - Isolated layouts receive the language as
uiCultureonverso/init, and their frame document carries a matching<html lang>. The layout bridge protocol moves to 1.1 for this; a layout built for 1.0 keeps working - Translations shipped in an extension's NuGet package now load. Verso used to flatten each language's resource assembly into one folder, where .NET never looks for it
Improved: Cell Editors
- In VS Code, cell editors take their colors from the active color theme, including its syntax colors and your
editor.tokenColorCustomizations, and follow a theme change straight away instead of using stock light and dark palettes. Type and method names stay in the text color, because cells have no semantic highlighting yet. Reported by @redxeagle1 (#108) - In
verso serve, cell editors take their syntax colors from the Verso theme - Cell editors grow to fit their content from 3 lines up to 30, then scroll inside. A longer cell says how many of its lines are showing and how to raise the limit: the
verso.editor.maxLinessetting in VS Code, orverso serve --max-cell-lines, where 0 removes the limit. The compare view keeps its own 40-line limit. Asked for by @mna-intend (#119)
Improved: NuGet Packages
- Floating versions and version ranges in
#r "nuget:"now resolve the waydotnet restoredoes, in C# and F#; see the upgrade note above. The README and the Polyglot migration guide show the syntax. Reported by @mna-intend (#124)
Improved: Notebook Files
.versoand.ipynbfiles store source text as itself rather than as\uescapes, so quotes,<,>,+and non-English text in a cell can be found by a workspace search and read in a diff. Older files with escapes still open the same. Reported by @mna-intend (#118)- When saving a notebook opened from an
.ipynbwould replace an existing.versofile of the same name, VS Code andverso servenow ask first and point at the option that keeps the original format. Before, a Jupyter copy made withverso convertcould overwrite its own original. Saving to a.versofile directly does not ask, and the command line is unchanged. Reported by @xkqg (#114) - Mermaid, HTML and extension cells survive a round trip through
.ipynb. They were written as raw cells carrying their Verso type, but read back as plain raw cells (#114) - Post-processors run after every open and before every save in every host, and
verso convertalso runs them before writing its output. Reported by @xkqg (#113)
Improved: Formatters
- A formatter now receives the cell it is formatting for, as
IFormatterContext.CellId, along with the cell's output channels, so it can open a channel and stream into it. The active layout, collapsed sections, interface language, and the output-update and file-download calls now reach formatters run from C# and F# cells too, instead of their defaults.CellIdis a new member with a default, so existing formatters keep working. Contributed by @Jonathan-Schaefer-git (#122)
Improved: Command Line and Appearance
verso run --verbosereports a cell that produced an error output as Failed rather than as succeeded- Light surfaces such as menus and dialogs are white, with a subtle ring and shadow for depth, and sunken surfaces are a shade darker. A theme that does not set these values gets the new defaults
- A refreshed Verso icon, at a fraction of the old file size
Fixed
- A package first reached through a long dependency chain no longer loses its own dependencies. The resolver walked depth first with a depth limit of six, so a package met deep in a chain was marked visited there and its dependencies were cut off, which surfaced later as CS0234 or a
FileNotFoundException. Both the C# and F# resolvers now walk one level at a time and keep the version declared nearest the notebook. Reported by @mna-intend (#112) - C# completions keep working after a cell is edited and run again. Re-running a cell used to leave
numbers.offering a handful of items and no members. A later cell's declaration now also takes over from an earlier one of the same name. Reported by @redxeagle1 (#110) - Typing
a,b,xorddinto a text field, such as a parameters cell's inputs, no longer inserts or deletes cells. Ctrl+Alt+Enter still runs all cells from a field. Reported by @roncli (#106) !pipand%piplines in Python cells are no longer marked as syntax errors in the editork3dand other widget libraries now work after#!pip installbrings in IPython partway through a session. Verso's stand-in IPython module stayed loaded and the import failed withNo module named 'IPython.core'. Restarting the kernel was the only way around it
v1.2.2
View on GitHubRelease letting Markdown cells typeset TeX math and draw Mermaid diagrams in place, rendering a DataFrame as a typed, scrollable table through a new formatter built into every host, putting Verso's notebook tools in front of Copilot agent mode for the first time and only while a notebook is open, documenting the five showcase layouts, and adding two PowerShell sample notebooks that build Vega-Lite charts over DataFrames, with notice that a coming release will require .NET 10.
Upgrade Notes
- A coming release will drop .NET 8 and require .NET 10 or newer. .NET 8 leaves Microsoft support on November 10, 2026, and .NET 9 ends the same day, so the host, the command line tool and the VS Code extension will move to .NET 10 ahead of that date. Nothing changes in this release: .NET 8, 9 and 10 all still run Verso. Installing the .NET 10 runtime now, or accepting the extension's offer to install one, means the switch will pass unnoticed when it comes. Verso's library packages already ship .NET 10 builds beside .NET 8, so an extension can move ahead of the host, and one built for .NET 8 keeps loading on a .NET 10 host
- A DataFrame now renders as a table before any other formatter sees it. A
Microsoft.Data.Analysis.DataFrameused to fall through to the expandable object graph and run into the wide-type output budget. If you wrote a formatter extension of your own for DataFrames, give it a priority above 50 to keep it in front
New: Math and Diagrams in Markdown Cells
- Markdown cells typeset TeX math with KaTeX. Wrap an inline formula in single dollars,
$E = mc^2$, or a display equation in double dollars on lines of its own; the\(...\)and\[...\]delimiters work too. A dollar amount such as$5stays ordinary text, and a dollar sign inside inline code or a fenced block stays code - A fenced code block tagged
mermaidrenders as a diagram in place, so prose and diagrams can share a cell, and@variablesubstitution applies inside the fence as it does to the rest of the cell. Asked for by @sheng-jie (#101) - Both carry through to HTML export. An exported notebook loads KaTeX and Mermaid only when a cell needs them, and a formula that fails to typeset leaves its source text in place
- The dedicated Mermaid cell type remains the one that offers diagram keyword completions and reports an unresolved variable as a diagnostic, and the guides say which to reach for
New: DataFrame Tables
- A
Microsoft.Data.Analysis.DataFramereturned from a PowerShell or .NET cell renders as a scrollable table with column names and types, sticky headers and visible nulls, through a newVerso.DataFrameformatter that is built into the VS Code extension,verso serveandverso runand is also published as its own NuGet package. An explicitDisplaycall renders the same way, including one made from PowerShell that still carries itsPSObjectwrapper. Contributed by @eosfor (#94) - The table is a bounded preview: the first 100 rows and 50 columns, with the frame's total row and column counts in the footer, and any cell value longer than 200 characters shortened, so a wide or long frame cannot swamp the output
- The formatter reads a frame through reflection and takes no dependency on
Microsoft.Data.Analysis, so the PowerShell module or kernel that created the frame keeps ownership of the assembly and there is no second copy to conflict with - Table text, including the empty-frame message and the footer counts, is translated into German, Spanish, Japanese and Simplified Chinese alongside English
Improved: Copilot Agent Mode
- Copilot agent mode can now see Verso's twenty notebook tools. They had been registered in a way that kept them out of the agent tool picker, so only the
@versoparticipant could reach them and the README's promise of agent mode without typing@versodid not hold. Diagnosed and fixed by @4D-Bird in #102, recreated here with their agreement - The tools are offered only while a notebook is open, so a chat session about something else does not carry twenty notebook tools it cannot use, and each one can be pulled into a prompt by name,
#verso_runAllfor instance - Each tool carries a short description in the tools picker, translated into the five interface languages, in place of the long model-facing text that used to show there
Improved: Documentation and Samples
- A new Showcase Extensions section documents the five sample layouts, DAG Notebook, Slide Studio, Grid Studio, Form Studio and Image Studio, with a page and screenshots for each, how inline and isolated layouts differ, and how to install or build one. The layouts guide lists all five and links to it
- A Palmer Penguins sample notebook loads a public CSV into a typed DataFrame from PowerShell, inspects and groups it with every frame drawn by the new formatter, and builds three interactive Vega-Lite charts from PowerShell hashtables. Contributed by @eosfor (#95)
- A Deneb Showcase sample notebook adapts ten Vega and Vega-Lite visualizations from David Bacci's Deneb Showcase to refreshable public datasets, from a calendar heatmap of daily weather to a bar chart race of World Bank population, with the download and display steps split so a chart can be pointed at a different year or selection without fetching again. Contributed by @eosfor (#103)
- The Interactive Widgets and Python Packages guides now say when a
#!pipline is needed and when it is not. In the editor the default install policy offers to install whatever a cell imports and cannot find, whileverso run --auto-installinstalls only distributions Verso keeps a mapping for, so a package that installs under its import name,ipywidgetsamong them, still needs the line on the command line - The README describes DataFrame tables and math and diagrams in Markdown and links the showcase section, the architecture pages list
Verso.DataFrameand the KaTeX interop, and the known issue about wide framework types no longer cites DataFrame as its example (VERSO-007)
Improved: Contributing
- The DCO check now rejects a commit authored or signed off with a GitHub noreply address, since nobody can be reached through one, and CONTRIBUTING.md says so
Fixed
- A Mermaid cell no longer fails silently when the code editor's module loader was already on the page, which in a real notebook it usually is. Mermaid's bundle registered itself with that loader and threw, and the failed load then left the library dead for the rest of the page. Both the VS Code extension and the browser now load Mermaid in a way the editor's loader cannot see, and several diagrams rendering at once share a single load
v1.2.1
View on GitHubRelease making Python widgets live rather than pictures of themselves, so a slider drawn in a cell keeps talking to the interpreter that made it and can drive a computation written in another language, translating the interface into four more languages, opening the space beside the notebook to panels contributed by extensions, giving language kernels a formatter extension point so a package can teach Verso to render its own types, and preferring the native libraries a NuGet package ships over whatever the system offers first.
Upgrade Notes
- Code written after
#!importin the same cell now runs. Everything below the directive used to be discarded without a word. A cell that carries boilerplate under an import, on the assumption it was inert, will execute that code for the first time on this release - An extension built against Verso.Abstractions 1.2.0 needs a 1.2.0 or newer host. The host accepts an extension whose referenced minor version is at or below its own, so a 1.1 host declines a 1.2.0 extension and asks for a newer host. Patch versions are never compared, which is why extensions kept loading across the whole 1.1 series
- Formatter extensions should check
context.MimeTypeinCanFormat. Both new interface members have default implementations, so nothing fails to compile, but a formatter that claims a value it cannot render in the MIME type actually requested is now stepped over rather than allowed to answer
New: Live Python Widgets
- A rendered ipywidgets or anywidget control now stays connected to the Python interpreter that made it for as long as the session runs. Dragging a slider fires the author's Python callback, and Python changing the value moves the control back, both within a cell and across cells
- ipywidgets
Outputareas capture prints, displays andclear_outputthe way a Jupyter kernel does, sointeractandinteractive_outputbehave as documented instead of showing nothing - A widget with no interpreter behind it, because the file was just opened, was run from the command line, or its kernel restarted, draws visibly inert with a note to run the cell rather than looking like a control that is simply broken
- Saving a notebook asks each live widget for its current on-screen state, so the file records what you were looking at rather than whatever the cell first drew
- A new
verso.widgets.assetSourcesetting chooses where a widget's front end JavaScript loads from. Onlycdnworks today;bundledis reserved for a copy shipped alongside the notebook - A new Interactive Widgets guide covers what separates a live widget from a static one, what a saved file holds, how widgets behave with no network, anywidget support, and the size limits that apply
New: Cross-Language Widget Binding
#!bindprojects a widget's trait into the notebook's shared variables under a name you choose, in both directions, so a slider built in a Python cell can drive a computation written in C# or F#, and writing that variable moves the slider back#!bind --listshows every trait currently projected as a variable, and#!bind --remove <name>stops one from following its widget without deleting the variable- A new DAG Notebook showcase layout makes the notebook dependency-aware: running a cell re-runs the cells that read the variables it defines, in dependency order, so a bound control at the top of the graph cascades a run with nothing else clicked
New: Interface Language
- Verso's interface ships in German, Spanish, Japanese and Simplified Chinese alongside English, covering the notebook UI, the toolbar and panels, kernel messages that land in cell output, and the command line tool
- Choose a language with
--languageor theverso.languagesetting. With neither, Verso followsVERSO_LANGUAGE, then the operating system's own language, then falls back to English verso servenegotiates a language per browser from itsAccept-Languageheader, or pins one for every visitor withverso serve --language- Regional tags resolve sensibly, so
de-ATreaches German andzh-CNreaches Simplified Chinese, and a tag Verso does not recognize falls through to the next source instead of failing - Numbers, dates and currency keep the machine's own formatting whichever interface language is chosen, so a language never changes what a cell computes or what gets written into a notebook
- Database connection diagnostics, including provider not found and multiple providers registered, are translated along with everything else
- Translations are checked on every build for missing keys, orphaned keys, mismatched placeholders and empty strings, and a pseudo-locale flags any string still hardcoded in English
New: Notebook Panels
- An extension can contribute a panel that sits beside the notebook body and toggles from the toolbar, alongside Verso's own Metadata, Extensions, Variables, Settings and Cell Properties panels, by implementing
INotebookPanel - A panel describes its content as one or more representations ordered richest first, rather than drawing it directly, so the same panel works on every host including one that never touches a browser. Offering a
text/plainalternative besidetext/htmlis what keeps a panel useful everywhere - A panel can implement
IPanelInteractionHandlerto respond to clicks and other actions raised inside it, and callRequestRefreshto have the host ask for its content again after something changes
New: Compare Panel
- A Compare panel picks a baseline and steps through a notebook's changes one at a time while the notebook itself stays visible. Changed cells carry a colored stripe and a badge reading Added, Removed, Modified or Moved, and selecting an entry scrolls to the cell it describes
New: Formatter Extensions
- Language kernels can hand a runtime value to registered formatter extensions before applying their own rendering, through a new
IExecutionContext.TryFormatAsync. PowerShell is the first kernel wired to it, contributed by @eosfor (#93) - A formatter extension can declare itself a fallback, so it runs only for an explicit
Displaycall and steps aside when a specialized formatter is present. PowerShell output that no extension claims renders exactly as it did before, through the same table and list formatting, contributed by @eosfor (#93)
Improved: Native Library Resolution
- A package's own native libraries are now preferred over a same-named library found elsewhere on the system, fixing a class of failure where a plotting library such as ScottPlot died on a native version mismatch it had nothing to do with. Reported and diagnosed by @oxygen-dioxide (#91)
- Natives resolve against the running process's own architecture and C library rather than the machine's, so a session under architecture emulation, or on a musl based distribution such as Alpine, no longer reaches for a binary it cannot run
- A native that ships in a separately versioned companion package, as the SQL Server client's networking library does, is now found reliably, and switching a package to another version mid-session no longer risks handing it the wrong version's native
- An extension that depends on a native library keeps working after a restart, instead of only in the session that installed it
Improved: Python Package Handling
- A
#!pipline naming only packages already present neither runs the installer nor prints anything, so leaving one at the top of a cell you rerun costs nothing after the first time - An import that fails on a typo or a missing submodule of a package you already have, such as
pandas.frame, is no longer offered as something Verso can install. Only a genuinely absent distribution is
Improved: Extensions Panel
- Rebuilt as a single list with each package's install state on its own row, in place of three stacked lists, and now showing a package's own icon, publisher, description, download count and capability chips
- Search results say which package source they came from, rather than the panel assuming everything is from nuget.org
- Verso's own packages now carry an icon on nuget.org
Improved: Appearance
- Themes gain an elevation scale for shadows and a shape scale for corner radii, plus
AccentForeground,BgSunkenandFgSubtle, each exposed as a--verso-elevation-*,--verso-shape-*or--verso-*custom property a theme or layout extension can read. A theme written before this release keeps working and picks up sensible defaults - Cells and buttons carry slightly rounder corners, the toolbar is a little taller, and cards, panels and dialogs cast a subtle shadow that lifts them off the page
- Tooltips across the toolbar and panels replace the browser's own with a faster styled one, and every icon-only button now has an accessible name
Improved: Documentation and Samples
- A new Sharing a Notebook guide covers turning a GitHub, GitLab or gist URL into a read-only page by swapping the host, pinning a link to a commit so it never moves, and pasting a ready-made Open in Verso badge into a README. It also spells out how a shared page renders: a Markdown file splits into the cells the editor would show, relative images and links are fetched from the repository, a relative link to another notebook opens as a page here rather than on the forge, and every page carries a View source button back to the original file
- Two PowerShell sample notebooks: micrograd builds an automatic differentiation engine from scratch, renders its computation graph, and trains a small multi-layer perceptron, and mnist reuses that engine on real handwritten digits. Contributed by @eosfor (#92)
- The README gains screenshots of the dashboard, presentation and compare views, expanded prose on kernels, layouts, panels, parameters and the Python interpreter, and links to the gallery, docs and API reference
- The embedding guide's execution-event example is corrected:
OnCellExecuted,OnCellExecutingandOnCellOutputUpdatedeach take anAction<Guid>, so the example now readsExecutionCount,LastElapsedandLastStatusoff the cell
Fixed
- A
#!importwritten inside a file that is itself imported now runs, instead of being dropped as inert text, and its own directives run in priority order - A relative path in a nested
#!importresolves against the directory of the file that wrote it, falling back to the notebook's directory, so a folder of helper files that import one another works wherever the notebook lives - Two files that import each other stop cleanly instead of recursing until the process gives out
Displaywith an explicit MIME type is honored by the built-in DataTable, SQL result set and F# formatters, so asking forapplication/jsonor plain text no longer returns an HTML table regardless, contributed by @eosfor (#93)- A live widget no longer loses its connection and rebuilds from a stale snapshot when autosave writes the notebook out from under it
- Comparing a notebook against a baseline no longer marks a cell changed because an output rendered on open, such as a Markdown preview, differs from what the file stored
- Opening a notebook that uses a custom layout or an extension panel through
verso serveno longer throws during the server's prerender pass - Scrolling to a selected cell waits until its editor has both a position and a size, so a cell whose editor grows after layout no longer settles below the fold
v1.1.3
View on GitHubRelease replacing the in-process Python integration with a supervised host process that runs the CPython installation already on your machine, adding plain Markdown (.md) as a first-class notebook format, drawing ipywidgets-based visualizations inside Python cells, introducing an output model that distinguishes standard error and progress from ordinary output, and bounding object-graph rendering so framework internals can no longer exhaust the output budget.
Upgrade Notes
- Python cells now need CPython 3.8 or newer installed on the machine. Verso no longer carries a Python runtime. Where no interpreter is found, a Python cell reports what was searched instead of failing silently
PythonKernelOptions.PythonDllis ignored. The property remains, so nothing fails to compile, and a session that sets it says once that it has no effect now that Python runs as a separate process. There is no other public API change: the types removed fromVerso.Pythonwere all internal
New: Python Runs on Your Own Interpreter
- Python cells execute in a separate host process that Verso supervises over a loopback connection, replacing the previous in-process integration. The embedded Python runtime is gone; cells run a CPython installation on your machine, 3.8 or newer
- Each spawn is authenticated with its own token handshake and framed with NDJSON. The accept loop keeps listening until a valid handshake arrives, applies a per-connection greeting timeout, and reports refusals and authentication failures instead of hanging
- A crashed or wedged interpreter no longer takes the notebook with it: the connection recovers, and a peer reset is treated as end of stream rather than a transport error
- Interrupting a running cell escalates per platform, SIGINT on Unix and CTRL_BREAK on Windows, respecting console ownership. Windows children are assigned to a job object, so terminating the host takes the whole process tree with it
- On POSIX the host watches the process that launched it and exits on its own if that process goes away, so an orphaned interpreter cannot linger
New: Interpreter Discovery and Selection
- Interpreters resolve in a defined precedence order: explicit configuration,
VERSO_PYTHON, the interpreter selected for the session,VIRTUAL_ENV,CONDA_PREFIX, workspace virtual environments,PATH, then well-known install locations - Candidates are probed with an introspection script and cached by modification time. A probe distinguishes runnable, abandoned, and not-runnable outcomes, and only a probe that finished successfully is cached
- Validation enforces CPython and the minimum version, and detects PEP 668 externally managed installations so package operations can explain themselves rather than failing obscurely
- Where the chosen interpreter is not writable, a derived virtual environment is created or reused, using
uvwhen it is available and stdlibvenvotherwise #!pythoninspects, lists, and selects interpreters for the session, reporting the path, version, how it was discovered, and whether the environment is externally managed--python <path>pins the interpreter forverso repl,verso run, andverso serve- Discovery is hardened on Windows: the
pylauncher is resolved by full path, WindowsApps stubs are skipped, launcher and output-drain steps are bounded by timeouts, an overrunning probe is killed instead of left to hang, and installs under%LOCALAPPDATA%\Pythonare found
New: Python IntelliSense
- Completions, hover, and diagnostics are computed in the host process against the live session, on a dedicated thread with timeouts, replacing the in-process completion provider
- The analysis package is provisioned in the background into a per-version tools directory, installed to a staging directory and published atomically so a reader never observes a partial tree
New: Python Package Handling
- A cell's imports are scanned before it runs; a package the environment lacks is offered for installation, installed, and the cell retried, with a
ModuleNotFoundErrorbackstop for imports that scanning cannot see --auto-installonverso run, and a matching environment variable, enables this without prompting- Consent prompts distinguish package installs from extension installs and name the environment being modified
- Notebook-declared requirements refuse installer options and external sources
- Installer output is summarized by default and can be switched to full detail per kernel, for pip/uv and npm alike. A failed install always prints in full
New: Cross-Process Variable Sharing
- Values cross to and from Python as data, with wire tagging for shapes JSON cannot carry natively: dates and times, exact decimals, big integers, GUIDs, byte arrays, NaN and infinity, and a
DataTableas rows - A value with no meaning outside the process that made it (a delegate, a task in flight, an open resource, an F# union case) is still bound to its name, and printing or using it explains which variable it was and why it could not cross
- Canonical fingerprinting makes identical numbers hash the same under Python's JSON writer and
System.Text.Json, which stops unchanged values from being re-injected on every execution - Per-variable size budgets, oversize notices, and status tracking. A name beginning with a double underscore is never injected, since Python reserves that prefix for the interpreter's own
New: Python Widget Rendering
- Libraries that render only as ipywidgets models, among them k3d, ipyleaflet, pythreejs, bqplot, and ipyvolume, now draw in Python cells. Widget state is packaged into a self-contained document (
text/x-verso-widget) and given its own auto-resized frame - Framed widgets follow the host theme: theme tokens are resolved to concrete colors and injected into the widget document, then re-injected when the theme changes
- A widget that exports a file, such as a chart snapshot, hands the bytes to the host, which offers a save dialog and writes them. Both a direct
click()and a synthetic click dispatched throughdispatchEventare intercepted - Widget outputs are never serialized into layout copies, because they are full documents whose scripts would not run when inlined. Layouts render them as live elements instead
- The HTML exporter unwraps them, and the terminal shows a placeholder
New: Markdown Notebooks
- Plain Markdown (
.md) is a first-class notebook format. Opening one turns prose into markdown cells and recognized fenced code blocks into executable cells. Everything else stays part of the prose: untagged fences, unrecognized tags, indented code, and fences nested inside quotes, lists, or other containers - Saving writes plain Markdown back to the same file, with no forced conversion to
.verso. Fence style, tag spelling, and CRLF line endings are preserved per cell - Cell outputs are not persisted, and neither is anything else the format has nowhere to put: parameters, layout, theme, extension requirements, and saved layout state
- An Export Verso toolbar action produces a native
.versofile carrying the cells and their current outputs, leaving the original file untouched .mdis accepted byverso serve,verso run,verso convert,verso repl, andverso export, and--to mdconverts a native notebook into a readable document- In VS Code the Markdown editor stays the default for
.mdand Verso is offered alongside it. The newverso.showOpenInVersoMenusetting hides the Explorer context-menu entry without removing the Reopen Editor With route - Serializers can declare
PreservesFormatByDefault, wired through the server, the host handlers, CLI serializer resolution, and REPL save logic - A new guide covers the format, and the README, CLI reference, cell types, language kernels, and Jupyter migration pages were updated for it
New: Output Channels, Progress, and Failure Signals
- An output carries the channel it came from, so text a cell wrote to standard error is labeled and rendered distinctly instead of blending into ordinary output
- A progress MIME type (
text/x-verso-progress) renders as a progress bar, with helpers for producing one --fail-on-stderronverso runtreats anything on standard error as a failure, with the decision centralized so exit codes and summaries agree- Background faults are tracked per notebook with attribution heuristics and a bounded queue, replacing the previous global monitor
- SQL provider notices accumulate through a provider message listener wired into the SQL kernel
Improved: Object Tree Rendering
System.*andMicrosoft.*types render throughToString()at depth 2 and deeper instead of expanding their property graphs, cutting off the Type to Assembly to DefinedTypes fan-out that could spend the entire 512 KB output budget on reflection internals, contributed by @JoeJoeflyn (#88)- Namespace matching is exact, so a user namespace such as
Systematicis unaffected. Collections are checked first, so nested lists and arrays still expand. Framework types still expand at depth 0 and 1, and user types at every depth - Opacity is applied before cycle detection, so a shared instance such as
typeof(int)renders its value rather than[circular reference] - Collections reached through framework internals are summarized instead of expanded, which bounds reflection output
- F# anonymous records format as field tables again
Improved: Cell Preview Interaction
- Dragging to select text inside a rendered cell preview no longer flips the cell into its editor when the mouse is released. Clicks on interactive controls inside a preview still reach the control, including through shadow DOM
Improved: Packaging and API Documentation
Verso.HttpandVerso.Pythonare packed and published alongside the other packages in both the CI and release workflows- XML documentation is generated for
VersoandVerso.Abstractions, so API docs appear in the editor for consumers of those packages - README revisions: the HTTP package notes TRACE and CONNECT support, that it loads automatically in notebooks, and its dependencies; the Python package documents interpreter resolution order including conda and venv locations and states that no Python runtime or native dependencies are bundled; the main README clarifies that kernels and cell types ship with the VS Code extension, the Blazor hosts, and the CLI while also being published separately
- CI and release workflows pin an interpreter with
actions/setup-pythonand exportVERSO_PYTHONinto the test steps, and preinstall the analysis package so completion tests do not reach a package index. A test prerequisite helper treats a missing runtime dependency as inconclusive on a developer machine but failing on CI
Fixed
- Widget outputs no longer flash or remount when an execution count arrives after the outputs themselves. Output error boundaries are keyed by cell identity and recovered only when a new execution is genuinely observed
- A lone carriage return in a Markdown file no longer corrupts cell slices or indexes past the end of the document
- The editor overlay in the Slide Studio layout no longer mis-stacks when a cell is selected
v1.1.2
View on GitHubRelease adding a cell-level notebook comparison view, a Slide Studio slide-deck showcase layout, markdown that renders as soon as a notebook opens, per-output error isolation with coalesced rendering for output-heavy notebooks, a runtime-partitioned extension store, TypeScript 7 detection with a pinned 6.x toolchain, and fixes across layout resolution, mermaid rendering, imports, and Blazor Server prerendering.
New: Notebook Comparison
- Compare the open notebook, including unsaved edits, against the last saved file, git HEAD, any branch, tag, or commit, or another notebook file (
.verso,.ipynb, or.dib) - The view shows added, removed, edited, and moved cells with side-by-side source comparison, and when a cell's outputs changed, the old and new rendered outputs appear next to each other
- Cells are matched by Verso's stable cell identity, so an edited cell is distinguished from a deleted-plus-added pair; formats without cell identity (
.ipynb,.dib) match by content and are labeled as approximate matches - Notebook-level changes (title, default kernel, layout, theme, extension requirements, parameters, and saved layout state) are listed at the top, with save-time noise such as the modified timestamp excluded
- The comparison is read-only and never marks the notebook dirty; on very large change sets, source comparisons load as you expand them
- In VS Code: a Compare toolbar button, a diff icon in the editor title bar, and the Verso: Compare Notebook with... command
New: Slide Studio Showcase Layout
- A fourth showcase layout extension,
Verso.Showcase.SlideStudio, turns a notebook into a slide deck with a filmstrip of cell previews, an editor and output split view, and a full-screen presenter mode - Per-cell presenter flags (include, show source, show output) persist in cell metadata and are editable from the filmstrip, the pane headers, or the properties panel
- Presenter slides show live outputs, so interactive charts and widgets keep working while presenting
- The CI and release workflows pack the sample so it ships as a NuGet package alongside the other showcase extensions
New: Markdown Renders on Open
- A built-in Markdown cell type pre-renders its markup when a notebook opens, so prose arrives already rendered instead of showing raw source until run
- Rendered markdown is transient: it is stripped on save, does not increment execution counts, and does not mark the notebook dirty
- The initially selected cell is chosen so a rendered markdown cell does not immediately flip into its editor
Improved: Output Rendering and Resiliency
- Each cell output renders inside its own error boundary, so a faulty output degrades to an inline error with a Retry action instead of blanking the rest of the notebook
- Output update notifications are coalesced, reducing whole-page re-renders during output bursts
- Cell toolbar enabled-state queries are cached and coalesced, and re-query when variables, extensions, or kernel state change, cutting host traffic during re-renders
- The Monaco editor only receives a language change when the language actually changed, reducing webview main-thread traffic
- Non-editable cells auto-execute once instead of repeatedly before their first output arrives
- The F# Interactive session initializes on a thread-pool thread, avoiding deadlocks on context-bound threads during startup and kernel restart
Improved: Extension Store Runtime Partitioning
- Managed extension installs are stored under a per-target-framework subfolder (for example
net8.0), so hosts running different .NET runtimes keep compatible copies side by side instead of overwriting each other's assemblies - Loading selects the newest compatible runtime folder, and an assembly's required runtime is inferred from its metadata without loading it
Improved: TypeScript 7 Detection
- Auto-installed TypeScript is pinned to the 6.x line; TypeScript 7 removed the JS compiler API the kernel depends on
- An existing unsupported 7+ install is detected and replaced with the pinned version automatically, with clearer error messages when installation fails
Improved: Copilot Participant Guidance
- The
@versoparticipant's system prompt now covers package installation,Display()and rich outputs, and clarifies that Verso is not built on .NET Interactive
Fixed: Layout and Required-Extension Resolution
- The missing-layout notification is deferred while required extensions are still resolving and only appears if the layout remains missing after they load
- A default layout that was missing at startup is retried and activated once its extension becomes available
- The pre-session extension pass stays offline but now loads an unpinned reference when an approved copy already exists on disk
- The notebook open response carries the resolved active layout and the client seeds its first render with it, removing the visible layout flash when opening a notebook
Fixed: Mermaid Rendering in Hidden Contexts
- Mermaid diagrams no longer collapse to a tiny square when rendered inside a hidden container (a parked presenter slide, a collapsed pane): rendering defers until the element is visible
- Layouts can emit host-side mermaid containers for output copies, so filmstrip tiles and slide fallbacks show real rendered diagrams
Fixed: Import and Execution Reliability
verso importalways captures cell outputs so errors are visible, tracks failures, marks the summary as an error when any cell failed, and prints non-error outputs with--show-output- Value-equal duplicate outputs render correctly through indexed render keys
- Code routed by language now reaches kernels contributed by extensions and cell types, not just built-ins
- Structural cell changes made through the RPC API (add, insert, remove, move, type change) notify connected clients, so cells added by chat tools appear without reopening the notebook
- Blazor Server no longer hits JS interop during prerender, preventing crashes when a theme change or extension status check runs before the first interactive render
v1.1.1
View on GitHubRelease introducing custom layout extensibility with inline and isolated renderers, an in-app extension marketplace with per-notebook required extensions and persisted trust, three showcase layout extensions published as NuGet packages, a redesigned notebook toolbar with icon-only actions and export, smarter .NET runtime detection in the VS Code extension, hardened Python variable publishing, GitHub Codespaces support, and a major documentation expansion alongside a reworked extension project template with a new layout scaffold.
Thanks to @fluentfoundation and @fiVISION for sponsoring and supporting this project.
New: Custom Layout Extensibility
- Extensions can now ship complete notebook layouts through
ILayoutEngine, withILayoutInteractionHandlerfor routing UI interactions andILayoutLifecycleHandlerfor cell lifecycle notifications - Inline layouts render in the host page: the layout emits a slot per cell and the host mounts live, fully interactive cell components into the layout's own HTML
- Isolated layouts render in a sandboxed iframe with their own renderer package, a bridge API for host communication, and a strict content security policy
- Layouts declare capabilities (insert, delete, reorder, edit, execute) and hosts adapt: display-only layouts skip mounting the editor, ignore command-mode keys, and keep outputs visible when clicked
- Layout styling follows the active theme through
--verso-*CSS variables that cascade across the web and VS Code hosts, and themes gain coarse background and foreground tokens for layouts to consume - Layouts persist their state in notebook metadata and can provide scoped static assets such as stylesheets
- The built-in layouts run on the same public API, and everything works across Blazor Server, WebAssembly, and the VS Code extension
New: Extension Marketplace
- A marketplace pane searches NuGet and installs or uninstalls extension packages without leaving the notebook
- Notebooks can declare required extensions, which are resolved and loaded before the notebook initializes
- Trust prompts pin to the resolved package version and re-prompt if it drifts; trust decisions persist per notebook
- Installed extensions that fail to load are flagged in the extension panel with a warning and the reason
- Package extraction guards against path traversal, and extension load failures degrade to a banner instead of blocking the notebook
New: Showcase Layout Extensions
- Three sample extensions demonstrate the layout API end to end and are published as
Verso.Showcase.*NuGet packages: Image Studio (an isolated-layout image compositor), Form Studio (form-driven notebooks with charts), and Grid Studio (data grid editing) - Form Studio charts and Grid Studio grids bind
System.Data.DataTablevariables in addition toDataBlock, so SQL cell results display directly; DataTable sources are shown read-only
Improved: Notebook Toolbar
- The toolbar was redesigned with icon-only actions, and extension toolbar actions can declare
IconOnly,IsPrimary, andConfirmationPrompt - Notebook export is available from the toolbar, backed by a per-host file download mechanism that also works from isolated layouts
- Extension health is tracked and surfaced in the UI
Improved: Notebook Reliability
- Transient outputs, such as the parameters form, no longer mark the notebook edited when they auto-render; cell types declare whether their outputs persist, and interaction handlers can signal persisted-state changes
- Cell type and language menus render in the browser top layer using the Popover API, so they no longer paint beneath neighbouring cells
- Publishing Python variables with self-referential or deeply nested structures no longer crashes the host; conversion guards against cycles and depth
New: .NET Runtime Detection and Install Guidance in VS Code
- The extension resolves which
dotnetto use (an explicitverso.dotnetPathsetting, a previously acquired runtime, or PATH) and checks it against the host's required runtime - Missing or incompatible runtimes produce actionable errors, including an offer to install the runtime on demand through the .NET Install Tool
- Host start failures are classified (dotnet not found, incompatible runtime, timeout, crash) so the guidance matches the actual problem
Improved: GitHub Codespaces Support
- The notebook editor now works in GitHub Codespaces from Chromium-based browsers such as Chrome and Edge; a remaining Safari limitation is documented in the known issues
Improved: Extension Project Template
- Template packaging is fixed so
dotnet new install Verso.Templatesyields a working, buildable template (package folder structure and the companion test project are preserved) - A new
--includeLayoutparameter scaffolds an inline layout with cell slots, interaction routing, metadata persistence, and themed CSS, along with tests - The sample theme and toolbar action scaffolds were refreshed for the new extension points
Improved: Documentation
- New guides cover cell types, the command line (all six commands and
--extensionsusage), and embedding the engine - Extension documentation expands to layout authoring, inline versus isolated renderers, packaging and marketplace install paths, and security guidance
- Architecture docs clarify engine and execution behavior, including kernel restart handling and notebook format migration
v1.0.22
View on GitHubRelease overhauling notebook keybindings with Jupyter-style command and edit modes, render-only cells (such as Markdown) that render when you leave edit mode, clearing outputs that preserves rendered cells, correct editor language for newly created cells, SQL Server batching that respects GO-delimited batches, per-cell and per-connection SQL command timeouts, smarter detection of mistyped SQL directives, normalized database table types, more robust Node.js discovery, a theme-aware error panel, and expanded documentation alongside new contributor guides.
Thanks to @fluentfoundation and @fiVISION for sponsoring and supporting this project.
Improved: Notebook Keybindings and Edit/Command Modes
- Keybindings are now gated per editor, so
Shift+EnterandCtrl+Enterrun the focused cell's editor instead of whichever cell was created last - Jupyter-style command-mode keys are supported:
ainserts a cell above,binserts a cell below,xdeletes the selected cell, anddddeletes it as well - Command-mode keys stand down while a cell editor has focus, so typing
a,b,x, ordedits code instead of mutating the notebook - Escape leaves edit mode and returns focus to the notebook, so command-mode keys work immediately afterward
- Pressing Enter to start editing no longer leaks a newline into the editor
New: Render-Only Cells Render When You Leave Edit Mode
- Render-only cells such as Markdown now render when you leave edit mode through Escape, editor blur, or keyboard navigation, matching Jupyter and Polyglot behavior
- Code cells remain unexecuted when they lose focus, so only render-only cells update on blur
- The cell preview is hidden while you are editing a render-only cell
Improved: Clearing Outputs Preserves Rendered Cells
- Clear All Outputs no longer collapses rendered Markdown back to raw source; rendered cells stay rendered while code outputs are cleared, matching Jupyter and Polyglot semantics
Improved: Correct Language for New Cells
- Newly created cells resolve their editor language from the registered cell type's kernel, for example SQL, and fall back to the notebook default for unknown types
- This gives new cells the right syntax highlighting and editing behavior from the moment they are created
Improved: SQL Server Batching and Statement Splitting
- SQL Server statements are split on
GO-delimited batches rather than semicolons, so T-SQL variable scope is preserved - All result sets from a single command are displayed, so multiple
SELECTstatements each show their results - Records-affected is summarized only when a statement produces no result set, reducing noise
New: Per-Cell and Per-Connection SQL Command Timeouts
- The
#!sql-connectmagic accepts a--command-timeoutoption to set a connection-wide default - A per-cell
--timeoutdirective overrides the connection default, where0means no limit and an omitted value uses the provider default - The database connectivity guide documents the precedence and semantics
Improved: SQL Directive Diagnostics and Magic Handling
- Directives mistyped with a space after the dashes, for example
-- connection, are detected and a hint explains they were treated as a comment - Multiple suppressing magic commands in a single cell now all run, while trailing code is still prevented from executing
Improved: Database Table Type Normalization
- INFORMATION_SCHEMA table types are normalized, for example
BASE TABLEbecomesTABLE, for consistent handling across database providers
Improved: Node.js Discovery
- A
VERSO_NODE_PATHenvironment override is honored when locating Node.js - Discovery enumerates candidates from the environment, PATH, and well-known locations instead of taking the first match, and avoids following shims whose target has a different name, improving reliability across version managers and environments
Improved: Theme-Aware Error Panel
- The error panel uses VS Code theme variables for its colors so it matches light and dark themes, contributed by @marlonwq (#72)
Improved: Documentation and Contributor Guides
- The README gains a Quick Start, a consolidated Features section, and a Command Line reference
- A new CONTRIBUTING.md documents the contribution workflow and the Developer Certificate of Origin (DCO) sign-off, with example commands
- A DCO check runs on pull requests to verify each commit is signed off
v1.0.21
View on GitHubRelease adding a "New Notebook" command so you can start a Verso scratchpad from the command palette without first creating a file on disk, much smarter SQL parameter handling that stops flagging false positives and now understands Oracle's :name bind syntax, better Jupyter and Polyglot import that brings per-cell SQL kernels and connection setup across cleanly, automatic Oracle provider resolution where the package and assembly names differ, import that now runs every code-bearing cell type rather than only plain code, and a new Mermaid diagrams guide.
Thanks to @fluentfoundation for sponsoring and supporting this project.
New: "New Notebook" Command and Scratch Notebooks
- A
Verso: New Notebookcommand palette entry opens a blank notebook instantly, without first creating and saving a.versofile in a folder - New notebooks are backed by a temporary scratch file so they behave like an untitled document; the first save prompts for a real location and the editor rebinds to the kept file
- If a scratch notebook is closed without keeping it, its temporary file is cleaned up; choosing "Don't Save" on an edited scratch also removes it
- Save and Save As always write to the location you choose rather than silently leaving the notebook in the temp directory
Improved: SQL Parameter Detection
- Parameter detection was rewritten as a single-pass scanner that ignores anything inside comments and string literals, so those no longer produce spurious binding warnings
- A local-scope analyzer recognizes parameters that are declared locally (for example via
DECLARE) and excludes them from "unresolved parameter" warnings - Locally declared variables no longer spill across statement boundaries when a semicolon is omitted, so kernel and
@@globalreferences in a following statement are not mistaken for locals - Comprehensive unit tests cover the dialect resolver, scanner, local-scope analyzer, and the kernel's diagnostics and execution paths
New: Oracle and Dialect-Specific Parameter Syntax
- SQL parameter handling is now dialect-aware: Oracle uses the
:namebind prefix while other providers continue to use@name - Non-bind uses of a colon are correctly ignored, including
:=assignment, positional binds like:1, the::cast operator, and trigger pseudo-records such as:newand:old - Oracle named binds are enabled automatically so
:nameparameters resolve correctly at execution time - Diagnostics, parameter names, and warnings all use the active dialect's prefix; documentation and tests were expanded to cover Oracle and other dialect edge cases
Improved: Jupyter and Polyglot SQL Import
- Importing a Jupyter or Polyglot notebook now reads each cell's kernel, so per-cell languages are resolved correctly instead of assuming a single notebook-wide language
- Polyglot SQL cells are converted to native Verso SQL cells, and
#!connectlines are translated into#!sql-connect(including--create-dbcontexthandling) - Polyglot
#r "nuget:"provider references are rewritten to the matching ADO provider packages and de-duplicated so a connection's provider is added only once - CLI conversions now run the same import transforms as the editor, so
verso convertproduces the same result
Improved: Automatic Oracle Provider Resolution
- Provider invariant names are now mapped to their NuGet package id and assembly name for cases where the two differ, most notably Oracle
- Provider DLLs are located by assembly name while the NuGet resolver is invoked with the package id, so connecting to Oracle works without manual package wrangling
- The database connectivity guide explains the package and assembly differences and the automatic resolution
Improved: Import Executes All Code-Bearing Cells
- Importing a notebook now runs every cell that carries source (anything other than markdown or raw), so SQL, Python, and other non-
codecells execute on import with their language preserved - The import summary reports the number of executed cells
New: Mermaid Diagrams Guide
- A new guide documents native Mermaid cell support: creating Mermaid cells, the supported diagram types,
@variablesubstitution, and theming options, including following the active Verso theme - The README links to the guide from the Rich Content Cells section
v1.0.20
View on GitHubRelease adding opt-in .ipynb round-trip save so Jupyter notebooks can be edited and saved in Verso without forcing a conversion to .verso, live host streaming and interactive Read-Host support in the PowerShell kernel, per-cell view-state honored across the verso run CLI and HTML/Markdown exporters, smarter SQL handling for BEGIN/END/CASE blocks and @@global session variables, sibling-cell run buttons disabled while a cell is executing, plus fixes for Write-Warning being emitted twice and host protocol output bleeding into cell output when a kernel captures stdout.
Thanks to @eosfor for contributing PR #48 in this release.
New: Opt-In .ipynb Round-Trip Save
JupyterSerializer.SerializeAsyncnow writes Jupyter nbformat v4 (kernelspec, list-of-strings source, execution counts, stream/error/display_data outputs) instead of throwingNotSupportedException; cell outputs round-trip when the toggle is on- Host
notebook/saveaccepts an optionalformatparameter and resolves the matching serializer viaExtensionHost.GetSerializers(), falling back toversofor clients that do not send the field - VS Code adds a
verso.preserveOriginalFormatsetting (default off); when on and the document ends in.ipynb, the editor saves back as.ipynbinstead of writing a sibling.verso - CLI gains a
--preserve-formatflag onverso replandverso serve(default off);.savewith no path honors the original.ipynbextension, while explicit.save foo.ipynbis always respected ServerNotebookServiceselectsJupyterSerializerwhenPreserveFormatis set and the loaded path is.ipynb- Verso-specific cell types collapse to Jupyter
rawcells with the original type stashed incell.metadata.verso_type; layouts, parameter definitions, and theme preferences have no Jupyter representation and do not round-trip - README,
vscode/README.md,src/Verso.Cli/README.md,docs/architecture/engine.md,docs/architecture/front-ends.md, anddocs/migration/from-jupyter.mdupdated to describe the opt-in and its round-trip semantics
New: PowerShell Host UI Streaming and Interactive Input
- PowerShell kernel now hosts a custom
PSHostUserInterface;Write-Host,Write-Verbose,Write-Debug, andWrite-Warningstream live through the host callback as the pipeline runs rather than appearing only after the cell completes Read-Hostis supported throughIExecutionContext.RequestInputAsync; the Blazor ServerNotebookPagedisplays a modal dialog and switches to a password input when the kernel requests a secure read- Cell run and run-all handlers start execution on a background task so the Blazor Server circuit can process modal submit, cancel, and close events while a
Read-Hostcell is waiting for input - Information stream filters records tagged
PSHOSTthat already reached the host callback, and finalInformationLinesare deduplicated against plain-text outputs streamed during the same execution soWrite-Information -InformationAction Continueno longer renders twice Verso.PowerShellHostadapter has been folded intoVerso.PowerShellas an internalVerso.PowerShell.Kernel.Hostnamespace; architecture docs updated accordinglySupportsVirtualTerminalis disabled while ANSI escape sequences are stripped, avoiding advertising VT support the host cannot honor yetServerNotebookServicesubscribes toScaffold.OnCellOutputUpdatedand forwards updates throughOnOutputUpdatedsoverso serverepaints running cells as host output arrives; cancellation and password-mode flags propagate through the input flow- Regression coverage added for live output forwarding,
Read-Hosthappy path,Read-Hostcancellation, password flag propagation, modal submit/cancel/password rendering, andWrite-Informationoutput
New: Per-Cell View-State in CLI and Exporters
- New
ExportOptions.RespectCellViewStateflag (default on) and aCellViewStateReaderutility expose user-actionable per-cell view-state metadata (verso:ui.*) to non-interactive consumers - HTML and Markdown exporters respect layout visibility from
CellVisibilityResolver, skip or hide cells based on combined layout and view-state, render truncated text previews with a footer when requested, and separate code-source rendering from outputs verso runaccepts a new--ignore-view-stateflag to opt out of honoring per-cell view state for headless runsOutputRendererhonorsoutputVisibilityandinputCollapsedmetadata with preview-line truncation;TerminalRendererskips or partially surfaces outputs accordingly while still showing errors, and treats preview as expanded in the interactive REPLCellViewStateReaderis now public; exported HTML and Markdown no longer duplicate rendered markdown outputs because markdown-cell outputs are skipped in exporters- Tests cover hidden and preview outputs, input-collapsed markdown, custom preview line counts, and the disable-view-state path
Improved: SQL Statement Splitting
SqlStatementSplittertracksBEGIN/ENDandCASE/ENDcontrol-flow blocks so semicolons inside those blocks are no longer treated as statement separators- Whole-word keyword matching via helper methods (
IsWordChar,IsWordBoundaryStart,MatchKeyword,IsTransactionalBegin) - Transactional
BEGINvariants (BEGIN TRAN,TRANSACTION,DISTRIBUTED,DIALOG,CONVERSATION) are recognized and excluded from block tracking - Unit tests cover nested blocks,
TRY/CATCH, transactionalBEGINs,CASEexpressions, string and identifier edge cases, lowercase keywords, and strayENDhandling
Improved: SQL Parameter Detection Skips @@globals
- Parameter regex switches to a negative lookbehind (
(?<!@)@(\w+)) so T-SQL and MySQL session variables like@@SPIDand@@VERSIONare no longer flagged as unresolved parameters - Tests verify that globals produce no warnings, mixed queries warn only for real parameters, and globals at the start of a query are ignored
Improved: Sibling Cell Run Buttons During Execution
Cell,DashboardCell, andDashboardGridaccept a newIsRunDisabledparameter; both WASM and Blazor ServerNotebookPagepropagate it so run buttons on non-executing cells are disabled while a cell is running- Run button title shows a contextual tooltip when disabled; disabled state accounts for either the cell itself executing or a global run-disabled flag
- Unit test verifies sibling run buttons disable during execution and re-enable on completion
Improved: WebView Resource Isolation
blazorEditorProvider.tsdropscontext.extensionUrifrom the webview'slocalResourceRoots, leaving only the WASM root so the webview can no longer load arbitrary files from the extension installation
Fixed: Duplicate Write-Warning Output in PowerShell
Write-Warningwas being emitted twice: once live via the host UI'sWriteWarningLine(formatted asWARNING:) and again after pipeline completion viaps.Streams.Warningaggregation (formatted as[WARNING])- Removed
WarningLinesfromInvokeResultand stopped consumingps.Streams.Warning; the host UI's live emission is now the single source of truth, matching howWrite-VerboseandWrite-Debugalready worked - Regression tests added asserting
Write-Warning,Write-Error,Write-Verbose, andWrite-Debugeach produce exactly one output
Fixed: Host Protocol Output Captured by Kernel Console.SetOut
- Kernels that call
Console.SetOutto capture per-evaluation stdout could cause host protocol notifications to be re-emitted as cell output - Protocol writer now binds to
Console.OpenStandardOutput()(UTF-8 without BOM) instead ofConsole.Out;SendLineaccepts aTextWriterand usesWriteLine/Flush - All call sites including the
HostReadynotification updated to use the new writer so captured stdout cannot leak into cell output
v1.0.19
View on GitHubRelease adding cell execution cancellation (Stop), persisted per-cell view state with a built-in Clear Output toolbar action, image rendering in presentation and dashboard layouts, smarter NuGet resolution with transitive dependency tracking and provider auto-resolve, plus a fix that stops auto-running cells when switching to the presentation layout.
Thanks to @eosfor for contributing PRs #49, #50, and #52 in this release.
New: Cell Execution Cancellation
- New
CancelCellAsynconINotebookService;RemoteNotebookServiceroutes via RPC andServerNotebookServicecancels through aCancellationTokenSource - Stop button replaces Run on cells whose language exposes cancellation;
OnCancelCellis wired through Dashboard, Grid, Cell, and the WASM and Blazor Server notebook pages ExecutionPipelinesurfaces cancellation as a cancelledExecutionResult;ExecutionHandlertreats cancellation as a normal cancelled outcome rather than an error- Language DTOs carry a
SupportsCancellationflag so the UI only renders Stop where it works; certain runners (the Jint JS runner) are marked non-cancellable - Jint JS runner timeout reduced to 15 seconds with adjusted error messages
- CSS for the stop button;
CellTestsupdated to assert Stop is enabled during execution, falling back to checking a disabled Run for kernels without cancellation support
New: Persisted Cell View State and Clear Output Action
- New
CellViewStateMetadatakeys persist per-cell input-collapse state and output-visibility state in cell metadata - Host protocol round-trips metadata changes through notebook DTOs, so view state survives reload; both
ServerNotebookServiceandRemoteNotebookServiceupdate metadata through their respective local and remote paths - New built-in
ClearCellOutputActiontoolbar action removes the selected cell's output through a host-level code path - Host tests cover metadata round-tripping and clear-output behavior; the Blazor.Shared test fake gains the new cell view state methods
New: Cell Visibility Metadata Renamed and Migrated
- Metadata key renamed from
verso:visibilitytoverso:ui.layoutVisibility; the constant lives in a newCellLayoutVisibilityMetadatatype used by the property provider, resolver, remote service, and docs LegacyMetadataMigratorruns at notebook open inNotebookHandlerand rewrites the legacy key so older.versofiles keep loading; legacy key is scheduled for removal in 1.0.22- Tests for the migrator added; existing tests updated to the new key
New: Image Outputs in Presentation and Dashboard Layouts
PresentationView.razor,DashboardCell.razor, and the HTML-producingPresentationLayoutnow renderimage/*MIME types as<img>data URIs, matching the regular cell renderer- Existing HTML, Markdown, plain text, and fallback MIME handling is preserved
- Ordinal MIME matching is used for the image prefix check
Improved: NuGet Resolution and Provider Auto-Resolve
#!sql-connectautomatically resolves a NuGet-based provider when an explicit provider is given but not already loaded; inner exception chains are walked for clearer error reportingCSharpKernelalways re-publishes the cumulative set of NuGet assembly paths so later magic commands can locate assemblies even after intervening non-#rcells- "Installed Packages" feedback now surfaces transitive dependencies alongside direct references
- Runtime assembly loading prefers exact package-version candidates; a private isolation
AssemblyLoadContextis used as a fallback when TPA or version conflicts occur;unixis added as an RID fallback on macOS NuGetPackageResolverrecords the full transitive (id, version) result set, extracts platform-specific managed assets fromruntimes/{rid}/lib/{tfm}/(overwriting thelib/stubs), registers package directories after extraction, and limits framework-package skipping to the core runtime meta-packages- Cache schema suffix bumped; tests updated to accept the new cache root layout
Improved: Extensions Directory Loading
- New
NotebookServiceOptionshost-level singleton carries the optionalExtensionsDirectorypath ServerNotebookServicecentralizes loading inLoadExtensionsAsync(built-ins first, then the optional directory) and replaces repeated directLoadBuiltIncallsBlazorHostBuilderregisters the options using the CLI--extensionspath so the in-processExtensionHostmirrors the other extension-loading entry points
Improved: Cell Display Properties and UI
CellPropertiesPanelsubscribes toOnNotebookChanged(with corrected subscription scoping) and refreshes viaLoadSectionsAsyncwhen the notebook changesCellDisplayPropertyProviderbuilds the field list incrementally, only exposes input-collapse fields for code cells (SupportsInputCollapse), and simplifies preview-style normalization and persistencePropertyFieldComponentcheckbox handling usesIsToggleCheckedto supportbool,JsonElement, and string boolean valuesCell.razoraction button titles drop the hardcoded "Export" prefix- Unit test added to ensure input fields are omitted for non-code cells
Improved: Shared Panel Title Mapping
- New
Verso.Blazor.Shared.Models.PanelDisplayNames.Forreplaces duplicated private methods in the WASM and ComponentsNotebookPage.razor - Preserves the special-case mapping ("properties" produces "CELL PROPERTIES") and falls back to
ToUpperInvariantfor unknown ids - Unit tests cover known panels, the properties special case, and the fallback path
Improved: Preview Styles for Cell Source and Outputs
- New
.verso-cell-source-previewprovides a bordered, rounded container for collapsed input previews - New
.verso-cell-output-summarystyles the dashed "N output(s) hidden" summary box .verso-cell-outputs--previewand.verso-cell-rendered-input--previewuse-webkit-line-clampfor text and error previews and cap rendered HTML output at 160 pixels- Uses existing CSS variables so previews honor theming
Improved: Host stderr Log Severities
- Lines from the host prefixed with
[Verso]are treated as informational (logged at info, prefix stripped); untagged stderr is logged at warning rather than error - Reduces noisy error logs on routine notebook open while still surfacing likely unhandled exceptions appropriately
Fixed: Auto-Run on Presentation Layout Switch
- Both WASM and Blazor Server
NotebookPageno longer callHandleRunAll()when the active layout becomespresentation - Existing outputs remain visible; cells execute only on explicit Run or Run All actions
- Presentation layout rendering is otherwise unchanged
Fixed: Trailing Newline in PlainTextRenderer
PlainTextRendererstrips trailing CR and LF from cell output viaTrimEnd('\r', '\n')before clipping, so bordered output panels no longer end with an empty row- Internal blank lines authored by the cell are preserved
v1.0.18
View on GitHubRelease introducing an interactive verso repl command, supervised kernel restart in the VS Code extension, expanded Polyglot Notebook compatibility on Jupyter import, third-party extension loading from a configured directory, a structured VS Code logging channel, and quality-of-life fixes around variable substitution and NuGet reference tracking.
New: verso repl Command
- New
replsubcommand launches an interactive REPL session backed by the same kernel infrastructure used by notebooks - Two prompt drivers:
PrettyPromptDriverfor capable terminals (history, multi-line editing, syntax highlighting, completion via Roslyn callbacks) andPlainPromptDriveras a fallback for restricted terminals MinimalHighlighterprovides offline syntax highlighting for C#/F#/PowerShell tokens;KernelPromptCallbacksbridges Roslyn completions and signature help into the promptMimeDispatcherand renderer set (PlainTextRenderer,MarkdownRenderer,JsonRenderer,CsvTableRenderer,HtmlStripRenderer,ImagePlaceholderRenderer) translate kernel outputs to terminal-friendly forms withTruncationPolicy- Meta-command set (prefixed with
.):.clear,.convert,.exit,.export,.help,.history,.kernel,.layout,.list,.load,.md,.recall,.rerun,.reset,.save,.set,.theme,.vars,.view ReplSession,ReplLoop, andReplOptionsorchestrate the session;ReplSettingsandReplSettingsLoaderresolve user preferences from a settings fileSignalHandlertrapsCtrl+Cto interrupt running cells without exiting the session;HistoryStorepersists prompt history across sessionsTerminalCapabilitiesprobes for color/Unicode support so the REPL degrades gracefully on minimal terminals- New
ToolbarActionResolverfactored out ofExportCommandresolvesExportMenutoolbar actions and themes byDisplayName(case-insensitive) withActionId/ThemeIdfallback, shared by bothverso exportand the REPL.exportmeta-command - Spectre.Console and PrettyPrompt added to
THIRD-PARTY-NOTICES.md
New: Supervised Kernel Restart
Scaffoldexposes aHostRestartHandlerso an external supervisor (e.g. the VS Code extension) can fully tear down and respawn the host process when the user clicks Restart Kernel — addresses the Windows DLL-locking issue where in-process disposal could not release pinned assembly handles- New
kernel/restartRequested,kernel/restarting, andkernel/restartedJSON-RPC notifications coordinate the restart lifecycle between host, bridge, and webview - VS Code
BlazorEditorProviderimplements the full sequence: capture an in-memory notebook snapshot vianotebook/save, gate webview requests, dispose the host, spawn a new one, reopen the notebook, and drain queued requests against the new host BlazorBridgequeues incomingjsonrpc-requestmessages while a restart is in flight and routeskernel/restartRequestednotifications (including those raised by#!restartcells) through the same provider sequenceRemoteNotebookServicehandleskernel/restarting,kernel/restarted, andlayout/missingnotifications and exposesOnKernelRestarting,OnKernelRestarted, andOnLayoutMissingeventsNotebookPageshows a persistent status banner during the restart, clears execution badges and the variable inspector when the new kernel is ready, and keeps cell sources and outputs visible throughout
New: Missing-Layout Banner
LayoutManagerrecordsMissingLayoutIdand exposes aTryActivatemethod instead of throwing when a notebook references an unregistered layout — common when the layout ships in an extension that has not yet loadedNotebookHandleremits alayout/missingnotification with the unresolved id; the WASMNotebookPagesurfaces it as a non-fatal banner directing the user to run the#!extensionor#!nugetcell that registers the layout- Default layout activates so the notebook stays interactive while the user resolves the missing extension
New: Polyglot Notebook Language Switching on Jupyter Import
- New
JupyterPolyglotPostProcessortranslates Polyglot language-switching directives in imported.ipynbfiles into the right cell types, so notebooks authored in Polyglot Notebooks open without "Unknown magic command" failures at run time - Recognized switchers:
#!csharp/#!cs/#!c#,#!fsharp/#!fs/#!f#,#!pwsh/#!powershell,#!python/#!py,#!javascript/#!js,#!typescript/#!ts,#!sql,#!html,#!markdown,#!mermaid,#!value - A directive appearing mid-cell splits into a new cell of that type below; the original cell keeps its outputs and Id, split-off cells start with empty outputs
- Multiple consecutive directives produce multiple cells in source order; back-to-back directives without a body collapse to the last one
- Unknown bare directives (e.g.
#!ruby,#!kql) soft-degrade to a code cell with the raw token as its language so kernel resolution surfaces a clearer "no kernel" error - Operation directives (
#!set,#!share,#!connect,#!time,#!who,#!whos,#!about,#!lsmagic,#!extension,#!import,#!nuget,#!restart,#!meta,#!r,#!i) and any directive with arguments are left in source for the runtime magic dispatcher DibSerializer.DirectiveMapgains the samecs/fs/python/py/typescript/tsaliases for symmetry between.diband.ipynbimports- Built-in extension count bumped from 37 to 38 to account for the new post-processor
New: Third-Party Extension Directory
notebook/openaccepts anExtensionsDirectoryparameter; when present, the host loads extension assemblies from that directory after built-in discovery- VS Code adds a
verso.extensionsPathconfiguration setting and forwards it to the host when opening a notebook; changes apply on the next open or kernel restart - A missing or empty directory is logged to the Verso output channel but is non-fatal
Improved: Markdown Variable Substitution
MarkdownRenderernow runsVariableSubstitution.Apply(...)on cell source before invoking Markdig, so markdown can include@variabletokens that resolve to current variable values- Substitution runs before Markdown parsing so substituted values are rendered as markdown rather than as escaped text
- Unresolved tokens are preserved verbatim;
@@is an escape sequence that produces a literal@ - New
MarkdownRendererTestscover substitution, ordering relative to parsing, unresolved-token preservation, and the@@escape
Improved: VS Code Logging
- New
vscode/src/log.tswraps aLogOutputChanneland exposestrace/debug/info/warn/error/appendLinehelpers - Activation logs the extension version and the resolved
Verso.Host.dllpath BlazorBridgeandHostProcessroute host spawn, spawn errors, exit warnings, stderr output, and JSON parse failures through the structured logger so all diagnostics land in one "Verso" output channel- Stderr is split into individual lines before logging so each entry is independently filterable; minor
trim()calls switched totrimEnd()to preserve leading whitespace in formatted output
Fixed: Duplicate Assembly References in C# Kernel
CSharpKerneltracks added assembly paths in a new_addedAssemblyPathsset so a path arriving twice (e.g. once from a#!nugetmagic command and again from a later#r "nuget:"directive in the same cell) is added to the Roslyn references at most once- Magic-command assembly paths are consumed from the variable store on the same execution that processes them, so a subsequent cell does not re-process the same paths and misattribute "Installed Packages" feedback to the wrong cell
- The dedup set is cleared on kernel initialization so a restart starts from a clean slate
- Re-publishes the full set of added paths to
NuGetMagicCommand.AssemblyStoreKeyso downstream consumers (e.g.#!sql-connectprovider discovery) can still load them
Removed: ResolvedPackagesStoreKey
- Removed the
ResolvedPackagesStoreKeyconstant (and its duplicate inNuGetReferenceProcessor) along with the code that stored or readList<NuGetResolveResult>from the variable store - Was previously used to render an "Installed Packages" summary but produced misattribution across cells; the new dedup path in
CSharpKernelcovers the underlying need without persisting result objects - Assembly references and extension loading behavior are unchanged
v1.0.17
View on GitHubRelease adding a new CLI command for headless exports via toolbar actions, safer kernel initialization under concurrent warm-up/execute, an FSharp.Compiler.Service dependency bump, and fixes around F# variable preservation and script directive resolution.
New: verso export Command
- New
exportsubcommand dispatches a notebook to anIToolbarActionregistered withToolbarPlacement.ExportMenuand writes the produced bytes to disk - Options:
<input>,--format/-f,--output/-o,--execute/-x,--layout,--theme,--extensions,--list,--list-themes --listand--list-themesenumerate installed export actions and themes for discoverability- Action and theme resolution matches
DisplayNamecase-insensitively withActionId/ThemeIdfallback to disambiguate display-name collisions - Headless
CliToolbarActionContextimplementsIToolbarActionContextwith file-download support, filtered theme resolution, and minimal UI stubs so toolbar actions can run without an editor UI - Command name matches the
Exporttoolbar placement surfaced by the editor UI and VS Code extension
Improved: Kernel Initialization Safety
Scaffoldnow usesLazy<Task>withLazyThreadSafetyMode.ExecutionAndPublicationto guarantee a kernel's initialization factory runs at most once, even whenWarmUpKernelAsyncandExecuteCellAsyncrace on startupGetOrCreateInitTaskcentralizes init-task resolution so warm-up and execute share the same awaitableFakeLanguageKernelgainedInitializeDelayand an atomicInitializeCallCountto support deterministic race tests
Improved: Sample Notebooks
- Stored cell outputs stripped from sample
.versonotebooks (sample-csharp,sql/*.verso) to keep samples source-only and reduce repository noise INotebookService,NotebookService,ServerNotebookService,RemoteNotebookService,ExecutionHandler,Scaffold, and the Blazor/WasmNotebookPageupdated to align with source-only sample behavior
Improved: FSharp.Compiler.Service Upgrade
- Upgraded
FSharp.Compiler.Serviceto 43.12.202 FSharpCheckerManagernow passes the newtransparentCompilerCacheSizesargumentFSharpKernelcompletion/declaration call updated to match the library's changed method signature
Fixed: Variables.Set Overwritten by Stale FSI Bindings
FSharpKernelsnapshots the variable store before each execution soVariableBridgecan detect values set viaVariables.Setduring user code and avoid overwriting them with stale FSI bindingsVariableBridgegainedSnapshotStore,WasSetDuringExecution, and a_preExecutionSnapshotfield;Resetclears the snapshot
Fixed: F# #r Directive Resolution
- When a
#rpath resolves to an existing file,ScriptDirectiveProcessoremits a resolved absolute path and records it for later reuse - Bare filenames that cannot be resolved locally and have no directory components are left unchanged so FSI can resolve them via its include paths
- Missing paths that include directories keep the resolved absolute path so FSI produces clearer error context
v1.0.16
View on GitHubRelease adding a Display API for inline rich outputs, source file imports, F# variable injection and formatter improvements, and several cross-kernel stability fixes.
New: Display API
- User code can now call
.Display(value)or.Display(value, mimeType)during cell execution to emit inline, MIME-typed outputs - Integrated across all language kernels: C#, F#, Python, JavaScript (Jint and Node), and PowerShell
DisplayHandlerandDisplayFormatterContextresolve formatters and write outputs through the execution pipeline- Convenience
CellOutputfactory methods added:Plain,Html,Svg,Png,Jpeg,Gif,WebP,Bmp,Json,Csv,Mermaid,Error
New: Source File Imports
#!importnow supports importing source files (.cs,.py,.ts, etc.) by mapping file extensions to registered kernels- Magic command lines are extracted and sorted by priority (package directives first, then imports, then other directives) before execution
- Kernel lookup by file extension via
FindKernelByFileExtensionandGetSupportedExtensions
New: Extension Template Scaffolds
- Optional scaffolds for magic commands, cell types, and themes in the extension template
- Template parameters (
includeMagicCommand,includeCellType,includeTheme) control which scaffolds are generated - Sample implementations and corresponding unit tests included
Improved: F# Variable Injection
- Primitive types (string, int, long, double, float, bool, decimal) are now injected as F#-typed
letbindings viaEvalSilent, so type-dependent features likeprintfformat specifiers work correctly - Names that already exist as native FSI bindings are skipped to avoid shadowing
- Non-primitive types fall back to
AddBoundValue
Improved: F# Data Formatter
- Collection display limit is now configurable via
MaxCollectionLimit(default 100) and wired to kernel settings for runtime changes TryFormatAsyncis now an instance method so kernel settings are applied during formattingVariableBridge.UpdateOptionspushes option changes (e.g.,publishPrivateBindings) to the bridge without requiring a kernel restart
Improved: C# Variable Preamble
BuildVariableStorePreamblenow only injects variables that are not already present in the Roslyn script state, preventing type conflicts (e.g., CS0266) when users re-declare a variable with a specific type
Improved: Display Handler MIME Hints
- When a MIME hint is supplied and the value is already a string, the raw string is written directly with the provided MIME type, bypassing the formatter pipeline
Fixed: F# Script Directive Paths on Windows
- Removed forward-slash normalization that broke
#Iinclude-path resolution on Windows - Emit
#r,#load, and#Idirectives using F# verbatim strings (@"...") so backslashes in Windows paths are treated as literal path separators instead of escape sequences
Improved: VS Code Editor Provider
- Host lookup in save/rename/backup flows now uses
hostRegistry.getByUriinstead of the previousgetHostForDocumentscanning logic BlazorBridge.getDocumentUri()exposes the editor's document URI
v1.0.15
View on GitHubRelease adding per-cell visibility and properties panel, Copilot property tools, PowerShell HTML tables, Monaco and runtime improvements, and several stability and documentation updates.
New: Cell Visibility System
- Cells now have a
DefaultVisibilityhint (Content,Infrastructure,OutputOnly) declared by their renderer, telling layouts whether the cell is presentable content, authoring infrastructure, or output-only - Users can override visibility per-layout through the properties panel, stored in cell metadata under
verso:visibility CellVisibilityResolverprovides a three-layer resolution algorithm: user override, cell type default, then layout decision- Layouts declare
SupportedVisibilityStatesto control which visibility options are available (e.g., Presentation supportsVisible,Hidden,OutputOnly; Dashboard supportsVisible,Hidden,OutputOnly) - HTML and Markdown export now respects the active layout's visibility rules, filtering cells through
CellVisibilityResolverwhen a layout is active
New: Cell Properties Panel
- A new sidebar panel displays extension-contributed configuration sections for the currently selected cell
- The panel is conditional on the active layout's
SupportsPropertiesPanelflag (enabled for Notebook and Dashboard edit mode) - Built-in
CellVisibilityPropertyProviderrenders per-layout visibility dropdowns for layouts that support more than the defaultVisiblestate - Extension authors implement
ICellPropertyProviderto contribute custom property sections with field types including Text, Number, Toggle, Select, MultiSelect, Color, and Tags - Properties are stored in
CellModel.Metadataunder extension-namespaced keys - Full JSON-RPC support via
properties/getSections,properties/updateProperty, andproperties/getSupportedmethods - Tag input fields use a dedicated JS interop (
tag-input-interop.js) for comma/Enter handling with DotNetObjectReference callbacks
New: Copilot Cell Property Tools
- Two new language model tools (
verso_getCellPropertiesandverso_updateCellProperty) registered with the@versoCopilot chat participant - A
/props <cell number>slash command displays property sections in a formatted table without invoking the LLM - The system prompt now includes guidance on cell properties so the LLM knows to call
getCellPropertiesbefore attempting updates
New: PowerShell HTML Table Rendering
- PowerShell cells now render formatted objects and tables as styled HTML instead of plain text
- Complex PSObjects are rendered using
Select-ObjectandDefaultDisplayPropertySetinto HTML tables - Text-based tables from
Out-Stringare parsed into structured HTML with column extraction - Falls back to styled
<pre>blocks when table parsing fails
Improved: Monaco Editor Loading
- Monaco is now eager-loaded at page load instead of on first editor focus, reducing perceived latency
- A
waitForReady()API ensures Monaco is fully initialized before interacting with editors - The AMD
define.amdflag is removed after Monaco loads so UMD libraries from CDNs attach towindowcorrectly
Improved: VS Code Theme Sync
- Monaco editor themes now sync with VS Code color theme changes in real-time
- A
theme-kind-changedmessage type broadcasts VS Code theme updates to all Blazor webviews - High Contrast themes are mapped to the dark Monaco theme
Improved: Extension Security
- Assemblies generated during a notebook session (e.g., from Roslyn compilation) now require explicit user consent before loading as extensions
- The CLI adds
--trust-local-assembliesto opt in to loading session-generated assemblies in headless mode
Improved: NuGet and Runtime Compatibility
- NuGet extension cache paths now include the host runtime TFM (e.g.,
net8.0) to isolate packages by .NET version CSharpKernelskips trusted platform assemblies from mismatchedMicrosoft.NETCore.Appdirectories to prevent Roslyn errors- The CLI sets
RollForwardtoLatestMajorfor broader runtime compatibility
Improved: Python DLL Detection
- Refactored Python DLL detection with OS-specific helpers covering Homebrew, system frameworks, uv, pyenv, Anaconda, Miniconda, Windows Store, and common installer locations
- Added
PYTHONNET_PYDLLenvironment variable override for explicit DLL path configuration
Improved: UI Polish
- Non-editable cells (markdown, HTML, Mermaid) can now be collapsed via a gutter button, showing a compact placeholder
- Parameters cell displays a count badge next to its title
- Presentation layout container now spans full available width
- Escape key in Monaco no longer dismisses the suggest widget or parameter hints
Documentation
- Added comprehensive architecture documentation (engine, execution pipeline, extension host, front-ends, overview)
- Added database connectivity guide
- Added migration guides for Jupyter, Papermill, and Polyglot Notebooks
- Added
ICellPropertyProviderto extension interface reference, context reference, and layout authoring guide - Added
FakeCellPropertyProviderto testing extensions documentation
v1.0.12
View on GitHubRelease adding JavaScript/TypeScript kernel, notebook parameters, Verso CLI with serve/convert/run commands, Copilot parameter tools, export menu, and several stability fixes.
New: JavaScript and TypeScript Kernel
- Full JavaScript and TypeScript execution in notebook cells via a new Verso.JavaScript extension
- When Node.js is available, cells run in a persistent subprocess with
require(), dynamicimport(), top-levelawait, and npm packages installed via#!npm - Falls back to Jint, a pure .NET ES2024 interpreter, when Node.js is not installed
- TypeScript cells are automatically transpiled using the TypeScript compiler API (auto-installed on first use) and share the same execution environment as JavaScript cells
- Variable sharing between JavaScript and other kernels through a dedicated variable bridge
- Top-level
const,let,var,class, andfunctiondeclarations are promoted toglobalThisso they persist across cells and avoid "already declared" errors on re-execution - Sample notebooks for both JavaScript and TypeScript included
New: Notebook Parameters
- Notebooks can declare typed parameters (
string,int,float,bool,date,datetime) inmetadata.parameters - Parameters are injected into the variable store as typed CLR objects before execution, making them available as top-level variables in C# and F# cells
- A dedicated parameters cell provides a visual editor for defining, updating, and removing parameters directly in the notebook UI
- Required parameters without values block execution and display a validation error when "Run All" is clicked
- SQL cells resolve
@paramNamefrom the variable store for parameterized queries - Five sample notebooks demonstrate parameter usage patterns
New: Verso CLI
verso servelaunches the Verso editor as a local Blazor Server web server, with options for port, HTTPS, auto-browser launch, and extension loadingverso runexecutes notebooks headlessly with--param name=valueoverrides, JSON output for CI integration, selective cell execution (--cell),--fail-fast,--timeout,--interactiveprompt mode, and--show-parametersverso convertconverts between.verso,.ipynb, and.dibformats with optional--strip-outputsverso infodisplays CLI version, .NET runtime, engine version, and all discovered extensions/serializers/formatters- Defined exit codes (0-5) for programmatic CI/CD integration
- Static web assets are bundled into the tool package so
verso serveworks correctly when installed as a global tool
New: Copilot Parameter Tools
- Four new language model tools (
listParameters,addParameter,updateParameter,removeParameter) registered with the@versoCopilot chat participant - Backed by dedicated
parameter/*RPC methods on the host with typed DTOs - The LLM can now create, inspect, modify, and remove notebook parameters through natural language in Copilot Chat
New: Export Menu in VS Code
- The Export dropdown (HTML, Markdown) is now available in the VS Code extension toolbar, matching the existing Blazor Server experience
- A new
ToolbarPlacement.ExportMenuenum value supports this placement - HTML export rewritten to render into a temporary buffer, enabling Mermaid diagram injection, pretty-printed JSON outputs, CSV-to-table conversion, and improved image handling
Improved: Import Magic Command
#!importnow supports parameter overrides with--param name=valuesyntax, allowing imported notebooks to be parameterized at the call site
Improved: Blazor Server Stability
- Added
@keydirective to MarkupString output wrappers in Cell.razor, preventingremoveChildcrashes when Blazor diffs interactive HTML content (such as parameter form inputs) - Parameter value updates now persist on Enter key via an explicit
keydownhandler, ensuring the server-side model is updated even when the browser does not fire achangeevent for inputs outside a<form> - Run-all results are now correctly mapped back to individual cells with proper status tracking
v1.0.11
View on GitHubRelease adding GitHub Copilot Chat integration, MIME type output renderers, cell drag-and-drop reordering, collapsible notebook sections, webview cache-busting, C# stderr capture, and NuGet source registry resolution.
New: GitHub Copilot Chat Integration
- Verso now integrates with GitHub Copilot Chat through a
@versochat participant with slash commands and language model tools - Tools include
list,add,update,remove,run,runAll,listVariables,inspect, andgetLanguagesfor full notebook manipulation from Copilot - A host registry maps open notebooks to their host process and bridge so Copilot tools can locate and communicate with the correct notebook
- Registration is guarded at runtime so the extension still loads on VS Code forks (e.g. VSCodium) that strip Copilot APIs
New: MIME Type Output Renderers
- Cell outputs now render
image/*types as base64<img>elements,application/jsonas a collapsible syntax-highlighted JSON tree (first two levels expanded), andtext/csvas a styled scrollable HTML table with header detection - A sample notebook (
samples/Notebooks/mime-types.verso) demonstrates all supported output types including text/html, SVG, images, JSON, CSV, Mermaid, and error outputs
New: Cell Drag-and-Drop Reordering
- Cells can be reordered by clicking and dragging on the left gutter, matching the interaction pattern in Jupyter and Polyglot notebooks
- A ghost element follows the cursor during the drag and a blue drop indicator line shows the target position
- Auto-scrolling activates when the cursor approaches the top or bottom edge of the viewport
- Gutter buttons (run, collapse) are excluded from the drag handle so they continue to work normally
New: Collapsible Notebook Sections
- Markdown cells starting with headings (
#syntax or<h1>-<h6>tags) now show a collapse chevron in the gutter - Collapsing a heading cell hides all subordinate cells until the next heading of equal or higher level, following the same section folding pattern as Polyglot notebooks
- Run button and cell index were moved from the toolbar to the left gutter for a cleaner layout
Improved: Webview Cache-Busting
- The VS Code extension now appends
?v=<version>to all Blazor WASM resource URIs using the version frompackage.json - The
loadBootResourcecallback also appends the version to framework asset requests (blazor.boot.json,blazor.webassembly.js) - This ensures extension updates are never served stale cached assets from the webview's Service Worker cache
Improved: C# Stderr Capture
Console.Erroroutput during C# cell execution is now captured and surfaced as an error output alongside stdout- The original
Console.Errorstream is saved and restored after each execution
Improved: NuGet Source Resolution
- Package resolution now includes sources registered via
#i "nuget: <url>"directives when resolving#r "nuget: ..."references - Sources from the
NuGetSourceRegistryare retrieved from the execution context and added to the resolver before package lookup
v1.0.10
View on GitHubRelease adding F# type provider support, NuGet source directives, per-notebook host process isolation in VS Code, imported notebook save safety, F# value formatting, editor font syncing, and broader Python runtime detection.
New: F# Type Provider Support
- NuGet package resolution now extracts type provider assemblies from
typeproviders/fsharp41/{tfm}/alongsidelib/DLLs so FCS can discover them - An
AppDomain.AssemblyResolvehandler probes registered NuGet assembly directories for compile-time dependencies that type providers require - Both the
#r "nuget: ..."magic command and the NuGet reference processor register resolved package directories with the F# session - Target framework selection is now derived from the running runtime (
Environment.Version.Major) instead of a hardcoded list, applied to both the F# and C# NuGet resolvers
New: NuGet Source Directives (#i)
#i "nuget: <url>"directives are now supported in C# code cells, adding session-scoped package sources for#r "nuget: ..."resolution- Package resolution tries configured sources in priority order: session-scoped sources first, then sources from
NuGet.Config, then nuget.org as a fallback - The Monaco tokenizer highlights
#idirectives with the same styling as#r
New: Per-Notebook Host Process (VS Code)
- The VS Code extension now spawns a dedicated
Verso.Hostprocess for each open notebook instead of sharing a single global process - Each host receives the notebook's directory as a working directory at open time, so
__SOURCE_DIRECTORY__and relative file paths in F# resolve correctly against the notebook location - Host processes are started when a notebook opens and disposed when its editor closes
- This also eliminates cross-notebook notification routing conflicts when multiple notebooks are open
New: Imported Notebook Save Safety
- Saving a notebook that was imported from a non-
.versosource (.dib,.ipynb) now writes to a.versofile instead of overwriting the original - The VS Code extension creates the
.versofile, updates the host with the new path, opens the new file, and closes the imported editor Save Asalso adjusts the destination to use the.versoextension
Improved: F# Value Formatting
- Newly bound values after cell evaluation are now formatted via
TryFormatAsyncfor richer presentation of collections, records, and custom types - Existing names and the implicit
itbinding are excluded from formatting - Falls back to raw FSI output when no formatted bindings are produced
Improved: VS Code Editor Font Syncing
- Monaco editors in the webview now inherit font family, font size, and font ligature settings from VS Code
- Initial settings are injected at webview creation, and configuration changes are pushed to all open webviews in real time
- Ligature-capable fonts are prepended to the font stack by default
Improved: Python Runtime Detection
PythonEngineManagernow searches Anaconda and Miniconda installation paths on macOS, Linux, and Windows- Windows Store Python installations are detected by scanning
LocalCache/local-packagesdirectories under the user's package folder
v1.0.9
View on GitHubRelease adding placeholder variable support in connections, Firebird database schema support, cell execution status UI, extension loading improvements, layout capability controls, and a sample Perl kernel.
New: Variable Placeholders in Connection Strings
$var:VariableNametokens are now supported in connection strings and provider parameters (thanks to @alansbraga for contributing provider placeholder support in #12)- Variables are resolved from the notebook's
IVariableStoreat connect time $var:tokens expand before$env:tokens, and both can be mixed in the same string- Clear error messages when the variable store is missing, or a variable is undefined or empty
- Renamed
CredentialResolvertoPlaceholderResolverto reflect the broader scope
New: Cell Execution Status UI
- Cells now display execution status below the editor, showing a status icon, elapsed time, and execution count
- Execution metadata (
ExecutionCount,LastElapsed,LastStatus) is tracked transiently onCellModeland excluded from serialization - Status fields clear when cell outputs are cleared
New: Firebird Database Schema Support
SchemaCachedetects Firebird connections and routes schema loading to Firebird-specific queries againstRDB$system tables- Discovers tables (
RDB$RELATIONS), columns (RDB$RELATION_FIELDS,RDB$FIELDS,RDB$TYPES), and foreign keys (RDB$RELATION_CONSTRAINTS,RDB$REF_CONSTRAINTS,RDB$INDEX_SEGMENTS,RDB$INDICES) - Identifies primary keys, nullability, defaults, and data type names
- Schema detection priority: SQLite, then Firebird, then
INFORMATION_SCHEMA
New: Layout Capability Flags
- Layouts can now advertise supported actions via
LayoutCapabilitiesflags - Capabilities are threaded through
INotebookService,LayoutInfo, and the layout DTO/handler - The UI disables or hides cell-insert controls (toolbar and add-cell buttons) when the active layout lacks
CellInsert
New: Sample Perl Kernel
- Added
Verso.Sample.Perlproject demonstrating how to build a language kernel extension - Implements
ILanguageKernelby invoking the systemperlexecutable with temporary.plfiles - Supports execution with stdout/stderr capture, cancellation, diagnostics via
perl -c, basic completions, and hover info (including detected Perl version)
Improvements: Extension Loading
- Built-in (co-deployed) extensions now load into the default
AssemblyLoadContextviaAssembly.LoadFrom, skipping the overhead of creating isolated load contexts - A metadata-only PE check (
System.Reflection.Metadata) detects references toVerso.Abstractionson disk before loading, avoiding unnecessary assembly loads - Third-party extensions still load through dedicated
ExtensionLoadContextinstances for isolation - Added
HostAbstractionsVersionand version compatibility checks; incompatible extensions are unloaded and skipped during auto-discovery, or throwExtensionLoadExceptionwhen loaded by path ExtensionLoadContextreturns the host'sVerso.Abstractionsassembly directly so interface types match regardless of the extension's compiled version
Misc
- Removed
.devcontainerconfiguration (the extension requires desktop VS Code and is not compatible with browser-based environments such as GitHub Codespaces) - Added
THIRD-PARTY-NOTICES.mdwith component inventory and full license texts (MIT, Apache-2.0, BSD-2-Clause) for Roslyn, NuGet.Protocol, ASP.NET Core Components, PowerShell SDK, FSharp.Compiler.Service, pythonnet, and Markdig
v1.0.8
View on GitHubFeature release adding an HTTP cell type for sending REST API requests in notebooks, an object tree renderer for rich data display, user preferences persistence, and fixes for extension toggling, layout cycling, and editor scroll behavior.
New: HTTP Extension (Verso.Http)
A new HTTP cell type lets you send REST API requests directly in notebook cells using .http file syntax, the same format supported by VS Code's REST Client and JetBrains HTTP Client.
- All HTTP methods (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS)
- Variable interpolation with
@name = valuedeclarations and{{name}}references - Dynamic variables (
{{$guid}},{{$timestamp}},{{$randomInt}},{{$datetime}},{{$processEnv}}) - Named request chaining via
# @nameand response references ({{name.response.body.$.path}}) - Multiple requests per cell separated by
### - Request directives (
# @no-redirect,# @no-cookie-jar) - Query continuation (lines starting with
?or&append to the URL) - Magic commands:
#!http-set-base,#!http-set-header,#!http-set-timeout - IntelliSense with HTTP method and header completions, diagnostics for unresolved variables, and hover info
- Cross-kernel integration where response data (
httpResponse,httpStatus) is shared to C#, F#, and other cells - Formatted response output with status badges, timing, collapsible headers, and pretty-printed JSON
- Sample notebook included at
samples/Notebooks/sample-http.verso
New: Object Formatter and Tree Renderer
- Added
ObjectFormatterfor rendering arbitrary non-primitive objects as HTML property tables (public properties and fields) - Added
ObjectTreeRenderer, a shared expandable tree renderer used by bothObjectFormatterandCollectionFormatter - Tree rendering enforces depth and collection limits with a 512KB max output cap to prevent oversized output for complex types
CollectionFormatternow includes public instance fields alongside properties in table columns
New: User Preferences Persistence
- Disabled extension state and theme CSS snapshot are now saved and restored across sessions
- Blazor Server persists preferences via
localStorage; VS Code extension usesglobalState - Theme CSS is injected early on page load for faster initial theme application, eliminating flash of unstyled content
Bug Fixes
- Extension disable/enable no longer leaves stale layouts in the toggle cycle.
Scaffold.RefreshSubsystems()is now triggered byOnExtensionStatusChanged(previously only fired onOnExtensionLoaded), so theLayoutManager,ThemeEngine, andSettingsManagerreflect the current enabled set at runtime. - LayoutManager falls back gracefully. When the active layout is disabled, the manager automatically selects the first non-custom-renderer layout (e.g. Notebook) instead of leaving the active layout as null.
- VS Code host notifies on extension status changes.
HostSessionnow firesextension/changednotifications onOnExtensionStatusChanged, so the WASM client refreshes its cached extension, layout, and theme lists. - LayoutHandler returns enabled-only layouts.
HandleGetLayoutsnow queriesExtensionHost.GetLayouts()instead of the staleLayoutManager.AvailableLayoutssnapshot. - EnsureDefaults uses enabled layouts. Both
NotebookServiceandServerNotebookServicenow queryExtensionHost.GetLayouts()when selecting a default layout at startup. - Monaco editors no longer eat scroll events. Added
alwaysConsumeMouseWheel: falseto the Monaco scrollbar options in both Blazor Shared and Blazor Server interop files, so wheel events propagate to the notebook scroll container when the editor has nothing to scroll. - Improved error messages for disabled magic commands. The execution pipeline now reports a clear error when a magic command belongs to a disabled extension rather than showing a generic "unknown command" message.
Layout and UI
- Removed the fixed
max-width: 960pxand auto horizontal margin from.verso-cell-list, allowing the cell list to use full available width for improved responsiveness
v1.0.7
View on GitHubFeature release adding a PowerShell kernel, a Presentation layout for distraction-free output viewing, .NET 10 multi-targeting, and several editor and execution improvements.
PowerShell Kernel
- Full PowerShell kernel with code execution, tab completions, diagnostics, and hover info
- Runspace management with automatic cleanup and configurable execution policies
- Variable sharing between PowerShell and other kernels via
VariableBridge - Completion type mapping from PowerShell
CommandCompletionto Verso completion kinds - Sample notebook (
sample-powershell.verso) included - Packaged as a separate NuGet (
Verso.PowerShell) with CI build and release workflow support
Presentation Layout
- New built-in layout for viewing notebook output without editing UI
- Shows only cell outputs in a clean linear flow with no toolbar, editor, gutter, or cell selection mechanics
- Interactive outputs (paginated tables, buttons, links) work naturally because no click handler intercepts for cell selection
- Cells with no outputs are hidden automatically
- Switching to Presentation layout triggers "Run All" so outputs are up to date
- Follows the same
ILayoutEnginepattern as Notebook and Dashboard, withRequiresCustomRenderer = truerouting to a dedicatedPresentationView.razorcomponent
.NET 10 Support
- All projects multi-target
net9.0andnet10.0 - CI and release workflows updated to install .NET 10 preview SDK alongside .NET 9
- VS Code extension README updated to reflect supported frameworks
Editor Improvements
- Using directives now persist across C# cell executions, so adding
using System.Linq;in one cell makes it available in subsequent cells without repeating the directive - Insert-cell buttons between cells now have a 500ms hover delay to prevent accidental reveals when moving the mouse through the notebook
- Cell toolbar z-index simplified to a single CSS rule, fixing IntelliSense popups rendering behind the toolbar
VS Code Extension
- Blazor editor provider registers
.versofile association on activation - PowerShell language ID wired into the custom editor for syntax detection
v1.0.6
View on GitHubFeature release adding a Python kernel, per-cell language selection, eager kernel warm-up for instant IntelliSense, a cell interaction API, and several execution and tooling improvements.
Python Kernel
- Full Python kernel powered by pythonnet, with code execution, completions, diagnostics, and hover info via Jedi
- Virtual environment support with automatic
venvoverlay,#!pipmagic command, and package installation that skips already-installed packages - Matplotlib plot capture renders inline as HTML images
- Cross-platform Python discovery with enhanced Windows detection (registry,
pylauncher, common install paths) - Sample notebook (
sample-python.verso) included
Per-Cell Language Selector
- Code cells now show a language dropdown in the toolbar, allowing you to switch a cell's kernel language without deleting and re-creating the cell
- Hover-reveal design: at rest the label looks the same as before; on hover it reveals a background highlight and chevron; clicking opens a popup with all registered kernels
- Works in both Blazor Server and the VS Code extension
- Language changes in VS Code correctly mark the document as dirty
- Changing the default kernel in the Metadata panel now propagates to the host, so new cells use the updated default in both Blazor Server and VS Code
Eager Kernel Warm-Up
- Kernels are now initialized in the background as soon as a notebook is opened, based on the languages present in its cells and the default kernel
- Switching a cell to a new language also triggers background initialization of that kernel
- IntelliSense handlers ensure the kernel is initialized before returning results, so completions, hover, and diagnostics work immediately rather than requiring a cell execution first
- Initialization is thread-safe and deduplicated using a concurrent task cache
Cell Interaction API
- New
ICellInteractionHandlerinterface lets extensions respond to user interactions originating from rendered cell output (button clicks, link navigation, etc.) CellInteractionContextcarries the cell ID, region, interaction type, and payloadIVersoContext.UpdateOutputAsyncenables extensions to patch cell output in place without re-executing the cell- Full wiring across Blazor Server, WASM, and the VS Code host
Execution and Toolbar Improvements
- "Run All" now executes all cell types, not just code cells
- Toolbar gains an
OnInterceptActionhook so page-level logic can intercept and customize toolbar actions before they execute - F# kernel adds
--multiemit+to default options for better incremental compilation
v1.0.5
View on GitHubFeature release adding a cell interaction API for bidirectional communication between rendered output and extensions, .dib (Polyglot Notebook) import support, session recovery with autosave, smarter extension assembly scanning, and variable/event handling improvements.
Cell Interaction API
- New
ICellInteractionHandlerinterface lets extensions respond to user interactions originating from rendered cell output (e.g. button clicks, link navigation) CellInteractionContextmodel carries the cell ID,CellRegion, interaction type, and payload so handlers have full contextIVersoContext.UpdateOutputAsyncenables extensions to patch cell output in place without re-executing the cell- Host-to-client wiring via
InteractionHandler, protocol method names, and DTOs; Blazor services (Server and WASM) raiseOnOutputUpdatedevents and apply output patches ExtensionHostregisters and resolves interaction handlers by extension- Full test coverage including
FakeCellInteractionHandler, handler tests, and interface contract tests
.dib (Polyglot Notebook) Import
- Import-only support for Polyglot Notebook (
.dib) files via the newDibSerializer - Parses
#!metablocks and magic directives, maps languages and directives to Verso cell types, and produces aNotebookModel .dibregistered as a recognized notebook file type in the VS Code extension- Jupyter import post-processors updated to accept
formatId/filePathfor.dibcompatibility
Session Recovery and Autosave
- Notebooks are auto-saved to
sessionStorageevery 30 seconds so unsaved work survives disconnects and browser reloads - On reconnect or page load, the
recoverquery parameter triggers automatic restoration from the saved file path or stored content - Blazor reconnection UX improved: tuned retry timing, reconnect overlay, and visibility-change reload when disconnected
- Recovery state is cleared on normal new/open/save operations to prevent stale restores
Extension Assembly Scanning
- Auto-discovery now filters co-located assemblies by checking for a
Verso.Abstractionsreference instead of globbingVerso.*.dll - Skips already-scanned, test, and resource assemblies to avoid redundant loading
- Invalid extension types are silently skipped during discovery instead of throwing, improving resilience when third-party DLLs are present
Variable Explorer and Event Handling
- New
INotebookService.RefreshVariablesAsyncAPI lets the UI request an explicit variable refresh from the host - Variable Explorer Refresh button wired to trigger a host round-trip; errors are surfaced in the panel
- Variables and extension status changes now use event subscriptions (
OnVariablesChanged,OnExtensionStatusChanged) with properIDisposablecleanup - Safe refresh wrapper (
RefreshVariablesSafeAsync) called automatically after executions, cell actions, initialization, and notification handling
v1.0.4
View on GitHubFeature release adding the #!extension magic command for dynamic extension loading, a user-consent flow for remote extension packages, support for multiple magic commands per cell, and several VS Code stability fixes.
#!extension Magic Command
- New
#!extensionmagic command for loading Verso extensions at runtime - NuGet packages:
#!extension PackageId [Version]resolves the package, prompts for user consent, loads all[VersoExtension]types, and stores assembly paths for kernel references - Local DLLs:
#!extension ./path/to/MyExtension.dllloads extensions directly from a local assembly file without a consent dialog, with paths resolved relative to the notebook directory - Cross-platform path normalization: backslash paths authored on Windows resolve correctly on macOS/Linux
- Idempotent: re-running a cell that already loaded an extension skips with a message instead of failing
- Developer-friendly error messages for file not found, invalid assemblies, and zero-extension DLLs
Extension Consent Flow
- User-consent dialog shown before loading remote NuGet extension packages
ExtensionConsentDialogBlazor component with styled modal (shared across Server and WASM)- Pre-scan on notebook open:
#!extensiondirectives are detected and consent is requested proactively so packages are pre-approved before cell execution - Pre-scan on Jupyter import: imported notebooks containing
#!extensiondirectives trigger consent during the import flow - Approved packages are tracked per session so subsequent cells referencing the same package skip the consent prompt
ExtensionHost.ConsentHandlerdelegate enables host-agnostic consent routing (Blazor Server shows inline, VS Code WASM routes through JSON-RPC)
Multiple Magic Commands per Cell
- Cells can now contain multiple consecutive magic commands (e.g. two
#!extensionlines, or#!nugetfollowed by#!time) - Execution pipeline loops through magic commands until the first non-magic line, then hands remaining code to the kernel
- Each command executes in order with its own context;
SuppressExecutionfrom any command stops the cell immediately
Dynamic Extension Registration
- Subsystems (
LayoutManager,ThemeEngine,SettingsManager) now refresh when extensions are loaded at runtime viaExtensionHost.OnExtensionLoaded - Dynamically loaded layouts, themes, and settings appear in the UI immediately without a restart or reload
Scaffold.RefreshSubsystems()preserves the active layout and theme selection during refresh
VS Code Extension Fixes
- Deadlock fix: Concurrent stdin reading via
Channel<T>prevents the host process from locking up when extension consent requests block the main loop - Extension change notifications: Host sends
extension/changednotification to the webview when extensions load dynamically; WASM client refreshes cached extension, layout, and theme lists - Modal styling: Extension consent dialog CSS included in the shared Blazor project so it renders correctly in both Server and WASM
- Content Security Policy: Relaxed CSP to allow
https:sources in script, style, font, image, and connect directives, enabling HTML cells to load external libraries (e.g. charting, visualization) - UTF-8 console encoding: Force
Console.InputEncodingandConsole.OutputEncodingto UTF-8 to prevent corruption of non-ASCII JSON-RPC messages on Windows
v1.0.3
View on GitHubFeature 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
v1.0.2
View on GitHubBug-fix release addressing new-file workflows and Blazor WebAssembly editor parity.
New File Handling
- Empty or new .verso files now initialize default metadata (defaultKernel, activeLayout) on the host so the engine, metadata panel, and new cells work correctly from the start
- Default code cell created for blank files is registered with the host and receives a versoId, enabling immediate execution
- Scaffold.AddCell and InsertCell resolve the notebook's default kernel when no language is specified, so cells added via the UI always receive a language
VS Code Extension
- Cells added via the native "+" button are automatically registered with the host and assigned a versoId
- Supported languages on the notebook controller are populated dynamically from the host via notebook/getLanguages instead of being undefined
- Blazor WebAssembly custom editor upgraded from read-only to editable provider, the tab now shows a dirty indicator on unsaved changes and Ctrl/Cmd+S saves correctly
Blazor WebAssembly Editor
- Cell source is now flushed to the host before execution, fixing a debounce timing issue where newly typed code could be missed
- Host now emits variable/changed notifications after cell execution and kernel restart, so the Variables panel updates in real time
- Mutation tracking wired through the bridge, edits made in the WASM editor mark the document as modified in VS Code
v1.0.1
View on GitHubPatch fix for a critical bug affecting new notebooks.
Bug Fixes
- Cells in newly created .verso files were not registered with the host engine, causing execution, IntelliSense, and diagnostics to silently fail
- Cells added via the VS Code "+" button had the same issue — they could not execute until the notebook was closed and reopened
v1.0.0
View on GitHubThe first public release of Verso — an open-source, extensible interactive notebook platform for .NET.
Core Engine
- Headless notebook engine with no UI dependencies
- C# kernel powered by Roslyn with IntelliSense, diagnostics, hover info, and NuGet references
- Execution pipeline with persistent state across cells and a thread-safe variable store
- Magic commands: #!time, #!nuget, #!restart, #!about, #!import
- .verso native file format (JSON, diff-friendly) and .ipynb import (nbformat v4+)
- Ten extension interfaces — every built-in feature is an extension on the same public API
Verso.FSharp
- F# Interactive kernel powered by FSharp.Compiler.Service
- IntelliSense, diagnostics, hover info, and NuGet/script directive support
- Rich data formatting for discriminated unions, records, options, results, maps, sets, tuples, and collections
- Bidirectional variable sharing between F# and other kernels
- Polyglot Notebooks F# import
Verso.Ado
- Provider-agnostic SQL database connectivity via ADO.NET
- SQL kernel with IntelliSense,
@parameterbinding, GO batch separators, and paginated result tables - Connection management, schema inspection, CSV/JSON export, and EF Core scaffolding
- Polyglot Notebooks SQL import
Front-Ends
- VS Code extension with native notebook API and embedded Blazor WebAssembly editor
- Standalone Blazor Server web application
- Shared Razor component library powering both hosts
Theming and Layouts
- Three built-in themes: Light, Dark, and High Contrast (WCAG 2.1 AA)
- Two layout engines: Notebook (linear) and Dashboard (12-column CSS grid)
Extension Authoring
- Verso.Abstractions — pure interfaces package for extension authors
- Verso.Testing — test stubs and fakes for unit testing extensions
- Verso.Templates — dotnet new verso-extension project template
- Documentation guides for extensions, themes, layouts, and testing
CI/CD
- Cross-platform CI (Ubuntu, Windows, macOS) with code coverage reporting
- Automated NuGet publishing and GitHub Release creation on tag push