Skip to content

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 22:10
03bb390

Added

  • diagram::Lowered::ascii, svg, png (feature png), and scene render a diagram from
    sirene-core alone, with the diagram's own theme applied, as the CLI does. The CLI calls
    them, and a test checks its output against them for each file in examples/.
  • source::read reads a diagram file as UTF-8 of at most 64 MiB, as the CLI and editor do.
  • sirene-core builds and renders on wasm32-unknown-unknown, checked in CI by rendering the
    examples under Node.
  • diagram::Lowered::kind is the type the source was read as, with Kind::lang,
    Kind::name, and Kind::ALL. -v logs it (read as a sequence diagram).
  • The macOS app declares DOT (.dot, .gv) and PlantUML (.puml, .plantuml, .pu,
    .iuml) files, and opens Markdown files as an alternate editor.
  • sirene ascii --width N exits 1 when a drawing is wider than N columns, still printing it.
    ascii::columns measures a drawing's width.
  • CI checks sirene-core's API against its latest release with cargo semver-checks.
  • The editor edits Mermaid sequence diagrams on the drawing: select, rename, add, and delete
    participants and messages, with undo. sequence::edit holds the source edits, and the scene
    owns participants as nodes and messages as edges.
  • The editor edits Mermaid state diagrams on the drawing: rename, add, connect, and delete states
    and transitions, with undo. state::edit holds the source edits.
  • The editor edits Mermaid class diagrams on the drawing: rename, add, connect, and delete
    classes and relations, with undo. class::edit holds the source edits.
  • The editor edits Mermaid ER diagrams on the drawing: rename, add, connect, and delete entities
    and relationships, and set each end's cardinality and whether a relationship is identifying,
    with undo. er::edit holds the source edits.
  • The editor edits Mermaid requirement diagrams on the drawing: rename, add, connect, and delete
    requirements and relationships, and set a relationship's type, with undo.
    requirement::edit holds the source edits.
  • The right-click menu on a class diagram relation holds Kind (association, inheritance,
    composition, aggregation, dependency, realization, link, dashed link).
  • The right-click menu on a class holds Add Attribute, Add Method, and Remove Member.
  • Dragging a state onto another composite state moves it inside.
  • The right-click menu on sequence messages holds an Arrow submenu; Move Earlier and Move Later
    reorder participants.
  • Mindmaps take drawing edits: adding, renaming, and deleting nodes, through mindmap::edit.
  • Timelines take drawing edits: adding, renaming, and deleting periods and events, through
    timeline::edit.
  • Pie charts take drawing edits: adding, renaming, and deleting slices, through pie::edit and
    items::Items.
  • Quadrant charts take drawing edits: adding, renaming, and deleting points, through
    quadrant::edit.
  • User journeys take drawing edits: adding, renaming, and deleting tasks, through
    journey::edit.
  • Gantt charts take drawing edits: adding, renaming, and deleting tasks, through gantt::edit.
  • Kanban boards take drawing edits: adding, renaming, and deleting columns and cards, through
    kanban::edit.
  • Packet diagrams take drawing edits: adding, renaming, and deleting fields, renumbering the
    fields after them, through packet::edit.
  • DOT graphs take drawing edits: adding, renaming, connecting, and deleting nodes and edges,
    through dot::edit.
  • PlantUML use case, component, and deployment diagrams take drawing edits: adding, renaming,
    connecting, and deleting elements and links, through plantuml::edit.
  • sirene ascii --markdown and sirene check --markdown read stdin, or files of any name, as
    Markdown.
  • sirene check --json prints the diagnostics to stdout as one JSON array.

Changed

  • The editor names UTF-16 files and the first invalid UTF-8 byte when it cannot open a file,
    as the CLI does.
  • The editor's file poll checks the file's metadata and reads it only when that moved.

Fixed

  • sirene-core no longer panics laying out a graph or reading a gantt chart on
    wasm32-unknown-unknown, which has no clock.