Skip to content

v0.30.1b1

Pre-release
Pre-release

Choose a tag to compare

@chrisjsewell chrisjsewell released this 17 Jun 14:37
35a9cf2

See https://ubcode.useblocks.com/development/changelog.html#release-0-30-1b1

✨ New Features

  • Native Rust language server

    The VS Code extension now launches a native Rust binary
    instead of the previously bundled Python language server.
    Dropping the bundled Python runtime makes the extension smaller to install
    and quicker to respond.

    IDE behaviour should match the previous implementation,
    but please report any regressions you notice.

  • links_from_content() dynamic function

    A new built-in dynamic function, links_from_content(), returns the needs
    referenced via :need: roles in a need's own content, for use in a link field:

    .. spec:: My specification
       :id: SPEC_001
       :links: [[links_from_content()]]
    
       This specification realises :need:`REQ_001`.
  • Project flavors for ubc quickstart

    ubc quickstart gained a --flavor option
    to choose which example project is scaffolded:

    • minimal (default) — a minimal reStructuredText project,
    • full — a feature tour with RST and Markdown, variants, links, and reports,
    • markdown — a minimal Markdown (MyST) project,
    • variants — a build-variant ("150% model") project.

👌 Improvements

  • In the VS Code Reports view,
    the report Open in Browser action is now a primary inline button
    (shown alongside Edit and Generate & Preview),
    rather than being hidden in the right-click menu.
    This is the action that renders a report with its <script> blocks
    and external CSS/JS frameworks as a standalone, shareable file.

🐛 Fixes

These fix the Markdown (MyST) authoring support introduced in 0.30.0b1.

  • Need directives without a title
    (and other directives with optional arguments, such as code-block and needuml)
    in Markdown (MyST) files no longer emit a spurious directive.missing_argument warning,
    matching reStructuredText behaviour.

  • The myst parser flavour now enables no optional Markdown extensions by default,
    matching MyST-Parser.
    Previously deflist, dollarmath, colon_fence, and fieldlist were on by default;
    enable the ones you need explicitly via the parser extensions setting.