Skip to content

Emboss v1.2.0

Choose a tag to compare

@vouchagent vouchagent released this 30 Jul 23:01
· 17 commits to main since this release

Added

  • Six new diagram types, all exposed in the fluent API, JSON spec, Pydantic schema, and LLM spec prompt:
    • Swimlanes: doc.diagram(..., lanes=[...]) -- banded columns/rows, one per lane.
    • Status-colored landscape / capability map: ArchNode(status=...) draws a badge and an auto-generated legend.
    • Roadmap / timeline: doc.roadmap(periods, workstreams, milestones=None) -- period-labeled workstream bars with milestone markers, no date arithmetic required.
    • Org chart: doc.org_chart(nodes, edges) -- each parent centered over the full width its children occupy; a node with two parents, or a cycle, raises ValueError.
    • Gantt chart: doc.gantt(tasks, milestones=None) -- the continuous-date counterpart to roadmap (real dates, progress, status, dependency arrows).
    • Force-directed layout: doc.diagram(..., layout="force") -- a deterministic spring-embedder layout (fixed iterations, no random()) for network topologies with no natural hierarchy.
  • Image/logo watermarks: LegalFeatures(watermark_image=..., watermark_image_scale=1.0) alongside the existing text watermark.

Changed

  • spec_prompt() and the Pydantic LegalConfig schema now explicitly instruct an LLM never to add a watermark, Bates numbering, or line numbering unless the user asked for one.

Full suite: 2226 passed, 5 skipped. ruff clean. CI and CodeQL green.