Repository navigation
verso-v1.0.9
·
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: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