Skip to content

Releases: ruohao1/better-diagrams

Release list

v0.1.0

Choose a tag to compare

@ruohao1 ruohao1 released this 28 Oct 19:07

Added

  • A better-diagrams CLI with check, build, and dev commands.
  • --version, update --check, and explicit updates of the current npm global installation. Updates pin the checked version and prefix and enforce Node engine requirements.
  • Architecture diagrams with fixed-size cards, summaries, local SVG logos, colors, typed connections, and nested boundaries.
  • Flowcharts with action, decision, start, and end shapes, labeled outcomes, and authored main paths.
  • Diagram-only viewing with an optional legend, pan and zoom controls, and modal details and internal views.
  • Self-contained HTML and full active-view SVG export with embedded styles, logos, and fonts.
  • Browser editing with file watching, conflict detection, draft downloads, and a recovery copy before each save.
  • Version 2 source documents and continued support for reading, editing, and saving version 1 documents.
  • A bundled agent skill, source-format reference, starter, and architecture and flowchart examples.
  • Scoped npm packaging as @isqrd/better-diagrams, with versioned release notes and a GitHub release workflow.

Fixed

  • The bundled flowchart uses concise terminal labels that fit wider fallback fonts.
  • Dragging diagram text pans the canvas without selecting text or opening node details.
  • Safe architecture shortcuts remove unnecessary connection bends while retaining blocked routes as fallbacks.
  • Source updates arriving during a save preview are applied before write controls resume.
  • Custom SVG text size checks include nested spans and transforms after uniform fitting.
  • Source validation rejects array values where enum strings are required.
  • Dev-server shutdown closes connections with incomplete HTTP headers.
  • Updates enforce Node engine requirements even when npm's force setting is enabled.
  • Release and update commands resolve standard Windows npm launchers without shell parsing.