Skip to content

verso-v1.0.9

Choose a tag to compare

@github-actions github-actions released this 14 Mar 10:41
· 232 commits to main since this release

Release 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:VariableName tokens 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 IVariableStore at 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 CredentialResolver to PlaceholderResolver to 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 on CellModel and excluded from serialization
  • Status fields clear when cell outputs are cleared

New: Firebird Database Schema Support

  • SchemaCache detects Firebird connections and routes schema loading to Firebird-specific queries against RDB$ 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 LayoutCapabilities flags
  • 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.Perl project demonstrating how to build a language kernel extension
  • Implements ILanguageKernel by invoking the system perl executable with temporary .pl files
  • 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 AssemblyLoadContext via Assembly.LoadFrom, skipping the overhead of creating isolated load contexts
  • A metadata-only PE check (System.Reflection.Metadata) detects references to Verso.Abstractions on disk before loading, avoiding unnecessary assembly loads
  • Third-party extensions still load through dedicated ExtensionLoadContext instances for isolation
  • Added HostAbstractionsVersion and version compatibility checks; incompatible extensions are unloaded and skipped during auto-discovery, or throw ExtensionLoadException when loaded by path
  • ExtensionLoadContext returns the host's Verso.Abstractions assembly directly so interface types match regardless of the extension's compiled version

Misc

  • Removed .devcontainer configuration (the extension requires desktop VS Code and is not compatible with browser-based environments such as GitHub Codespaces)
  • Added THIRD-PARTY-NOTICES.md with 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