Skip to content

verso-v1.0.10

Choose a tag to compare

@github-actions github-actions released this 19 Mar 23:45
· 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}/ alongside lib/ DLLs so FCS can discover them
  • An AppDomain.AssemblyResolve handler 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 #i directives with the same styling as #r

New: Per-Notebook Host Process (VS Code)

  • The VS Code extension now spawns a dedicated Verso.Host process 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-.verso source (.dib, .ipynb) now writes to a .verso file instead of overwriting the original
  • The VS Code extension creates the .verso file, updates the host with the new path, opens the new file, and closes the imported editor
  • Save As also adjusts the destination to use the .verso extension

Improved: F# Value Formatting

  • Newly bound values after cell evaluation are now formatted via TryFormatAsync for richer presentation of collections, records, and custom types
  • Existing names and the implicit it binding 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

  • PythonEngineManager now searches Anaconda and Miniconda installation paths on macOS, Linux, and Windows
  • Windows Store Python installations are detected by scanning LocalCache/local-packages directories under the user's package folder