Skip to content

Bioscratch 0.5.0

Latest

Choose a tag to compare

@Broccolito Broccolito released this 21 Jul 01:17
9056dd5

Bioscratch 0.5.0

Bioscratch 0.5.0 is a reliability and workflow release for both the native
Tauri app and the VS Code extension. It makes Markdown files open in the right
editor from more places, strengthens multi-window document handling, and adds a
large set of typing, paste, list, and table fixes.

Highlights

Open Markdown consistently in VS Code

  • Markdown files now route into Bioscratch when opened from Explorer, chat
    links, other extensions, restored tabs, and other VS Code entry points.
  • The bioscratch.setAsDefaultEditor setting remains the user-controlled
    switch for this behavior.
  • A temporary plain-text tab created by another command is closed only after
    the Bioscratch editor has opened successfully, avoiding duplicate tabs.

Safer closing for unsaved documents

  • Closing a dirty tab or window now offers three explicit choices: Delete,
    Cancel, and Save.
  • Delete discards the unsaved document and removes its autosave recovery
    copy; Cancel leaves the tab or window untouched; Save completes the
    save before closing.
  • The same flow is used for the active tab, background tabs, keyboard close,
    toolbar close, native-window close, and app quit paths.
  • Save cancellation or failure no longer closes the document accidentally.

Open Recent across every window

  • Open Recent now has a searchable picker with keyboard navigation.
  • Recent-file updates are serialized and written atomically in the Tauri
    backend, preventing concurrent windows from losing entries.
  • A recent file opened or saved in any Bioscratch window is broadcast to every
    other window and appears the next time Open Recent is shown.
  • Finder/Open With requests are routed to one appropriate window instead of
    opening the same file in every window.

Better Markdown editing

  • Added and hardened inline Markdown completion for emphasis, links, inline
    math, horizontal rules, Mermaid fences, and + list markers.
  • Markdown punctuation remains literal inside code spans and code blocks.
  • Plain-text paste can create useful Markdown structure, while rich HTML keeps
    its structure and surrounding inline marks.
  • Pasting inside inline code behaves like typing and cannot create nested
    Markdown formatting.
  • Nested lists now indent, outdent, and serialize correctly in both editors.

Stronger table behavior

  • Tab and Shift+Tab navigate cells predictably; Tab from the last cell creates
    a new row.
  • Table cells support hard line breaks, inline math, links, and formatting
    without corrupting the surrounding GFM table.
  • Literal pipes are escaped on export.
  • Unsupported block content pasted into a table cell is preserved as literal
    cell text instead of creating invalid nested tables or lists.
  • Deleting a selected table now removes the complete table reliably.

Native app polish

  • Secondary Tauri windows open wide enough to keep the complete toolbar on one
    row.
  • The macOS Quick Look extension build keeps its sandbox entitlement during
    ad-hoc and Developer ID signing.

Validation

  • 92 frontend regression tests across Markdown, tables, lists, close flow, and
    multi-window recent-file behavior.
  • 6 Rust backend tests.
  • Production TypeScript/Vite build for the Tauri frontend.
  • Typecheck and production bundle for the VS Code extension.
  • Live two-window Tauri verification for recent-file broadcasting.
  • Packaged macOS app verification of the native dirty-close flow.

Downloads

  • Bioscratch_0.5.0_aarch64.dmg — Apple Silicon macOS
  • Bioscratch_0.5.0_x64.dmg — Intel macOS
  • bioscratch-0.5.0.vsix — VS Code extension package
  • VS Code Marketplace

Contributors

  • Wanjun Gu
  • Tianlu Zhu