Repository navigation
verso-v1.0.10
·
224 commits
to main
since this release
Release 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