Skip to content

verso-v1.0.15

Choose a tag to compare

@github-actions github-actions released this 08 Apr 00:21
· 171 commits to main since this release

Release 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 DefaultVisibility hint (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
  • CellVisibilityResolver provides a three-layer resolution algorithm: user override, cell type default, then layout decision
  • Layouts declare SupportedVisibilityStates to control which visibility options are available (e.g., Presentation supports Visible, Hidden, OutputOnly; Dashboard supports Visible, Hidden, OutputOnly)
  • HTML and Markdown export now respects the active layout's visibility rules, filtering cells through CellVisibilityResolver when 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 SupportsPropertiesPanel flag (enabled for Notebook and Dashboard edit mode)
  • Built-in CellVisibilityPropertyProvider renders per-layout visibility dropdowns for layouts that support more than the default Visible state
  • Extension authors implement ICellPropertyProvider to contribute custom property sections with field types including Text, Number, Toggle, Select, MultiSelect, Color, and Tags
  • Properties are stored in CellModel.Metadata under extension-namespaced keys
  • Full JSON-RPC support via properties/getSections, properties/updateProperty, and properties/getSupported methods
  • 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_getCellProperties and verso_updateCellProperty) registered with the @verso Copilot 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 getCellProperties before 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-Object and DefaultDisplayPropertySet into HTML tables
  • Text-based tables from Out-String are 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.amd flag is removed after Monaco loads so UMD libraries from CDNs attach to window correctly

Improved: VS Code Theme Sync

  • Monaco editor themes now sync with VS Code color theme changes in real-time
  • A theme-kind-changed message 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-assemblies to 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
  • CSharpKernel skips trusted platform assemblies from mismatched Microsoft.NETCore.App directories to prevent Roslyn errors
  • The CLI sets RollForward to LatestMajor for 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_PYDLL environment 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 ICellPropertyProvider to extension interface reference, context reference, and layout authoring guide
  • Added FakeCellPropertyProvider to testing extensions documentation