Skip to content

v0.6.1

Choose a tag to compare

@github-actions github-actions released this 19 Nov 14:24
586f6e6

Added

  • The docs site draws diagrams in the browser with sirene-core built for WebAssembly: an
    edit button on each sample redraws it as its source changes, and a playground page draws
    Mermaid, PlantUML, or DOT as you type, keeping the source in the page's link.
  • sirene-wasm (wasm/, not on crates.io) exports rendering to JavaScript over the module's
    memory, with no imports; docs/assets/sirene-wasm.js loads it. It replaces wasm-smoke:
    CI renders each file in examples/ with it under Node through that loader.
  • Each release attaches sirene-wasm-X.Y.Z.tar.gz (sirene.wasm and sirene-wasm.js) for
    drawing diagrams in web pages. The loader's renderAll replaces a page's mermaid,
    plantuml, and dot code blocks, and mermaid.js's .mermaid blocks, with their drawings;
    examples/web/index.html is a complete page.
  • The same files are published to npm as @jaemk/sirene, through trusted publishing with
    provenance, so pages can load them from jsDelivr or unpkg. require("@jaemk/sirene") returns
    the loader.
  • Guide pages for the Rust library and for web pages.