Repository navigation
Releases: Miragon/bpmn-cli
Releases · Miragon/bpmn-cli
Release list
v0.8.0
v0.7.0
0.7.0 (2026-10-14)
⚠ BREAKING CHANGES
- the CLI option --profile is gone from the mutating commands and from validate (now an unknown option, E_USAGE). The library options
profileandcontentRepo, theprofilefield of the validate result and CheckResult,profilesinbpmn kinds --json, the exports designFindings, designValidator, undeclaredPrefixes, DESIGN_VALIDATOR, resolveProfile, profileValidators, modelsFolderOf, PROFILE_CHOICES, CONTENT_CONFIG_FILE (and their types), the node exports findContentRepo, contentModelIds, contentRepoOf, resolveFileProfile and the E_DESIGN_* / W_DESIGN_* codes are removed. In a design-iq content repository runnpx @miragon/design-iq-validator --root .after edits; a library host passes its own check throughvalidators. See docs/migrating.md ("Changes from 0.6").
Features
- a result says when BPMN_KEEP_FLOW_IDS kept the flow ids (#54) (9458ed9)
- keep flow ids on request with --keep-flow-ids and BPMN_KEEP_FLOW_IDS, and name the stale ones (#32) (#38) (fd3fe07)
- new ids follow the id conventions of the .bpmnlintrc's element-id-naming (#34) (#45) (98fa834)
- outAs names the flow an add creates out of the new node (#57) (6f185fe)
- remove the design profile, bpmn-cli's copy of design-iq's save gate (#35) (#41) (3d777fe)
- run the project's .bpmnlintrc in validate and in every write (#33) (#39) (a7a1d34)
Bug Fixes
- a file's flow form stays put, and flows follow under every prefix it uses (#59) (40840ec)
- a full redraw draws a group around the elements it held (#51) (74c3b50)
- a write's bpmnlint line counts the findings it leaves out (#49) (406d657)
- aliases follow a retype, typed splits check their branches (#48) (c7b2dde)
- bpmnlint picks up later installs and follows linked directories (#50) (b453891)
- bump @miragon/bpmnlint-plugin-rules to 0.12.1 (#55) (4cfda9d)
- decision links keep the file's spelling with platform none (#52) (02260d4)
- drop stale edges of re-ended flows and reroute detached lines (#60) (2b29396)
- every DI id stays within 64 characters and follows set id= (#58) (f492f7c)
- flows follow every end change and the report names the right flow (#46) (b39be73)
- follow-ups of the declared id conventions (#64) (79893e9)
- generated ids use the whole 64 characters and lose whole words when cut (#31) (#37) (20a7990)
- new ids keep a letter word before a collision number, and cuts no longer end on a filler word (#56) (ef14c4d)
- refuse a move anchored on its own nodes, make a move in place a no-op, and name what a bridge took (#47) (a65bad9)
- the E_VALIDATION advice reads the refusal, not bpmn validate (#53) (c8b18bc)
v0.6.0
v0.5.0
0.5.0 (2026-10-11)
⚠ BREAKING CHANGES
- runProfile(doc) and validateDoc(doc, { platform }) throw E_PROFILE_NOT_LOADED on a Camunda 7 / 8 document unless its rules were loaded: call
await loadProfiles()(or loadProfile('c7' | 'c8')) once before them. applyToXml, newXml, layoutXml, validateXml, mutateDoc, checkDoc and the file helpers load the rules themselves. - runProfile(doc) and validateDoc(doc, { platform }) throw E_PROFILE_NOT_LOADED on a Camunda 7 / 8 document unless its rules were loaded: call
await loadProfiles()(or loadProfile('c7' | 'c8')) once before them. applyToXml, newXml, layoutXml, validateXml, mutateDoc, checkDoc and the file helpers load the rules themselves.
Features
v0.4.0
0.4.0 (2026-10-10)
⚠ BREAKING CHANGES
- generated ids are no longer hashes or running numbers (Flow_1cat8ax / Flow_12 become Flow_OrderReceivedToCheckInvoice), and a flow whose id named its old ends is renamed after its new ends.
Features
v0.3.0
0.3.0 (2026-10-09)
⚠ BREAKING CHANGES
- mutateFile/checkFile/loadDoc moved to @miragon/bpmn-cli/node (Doc.load is readDoc there) and mutateDoc no longer writes files; layoutXml now means 'bpmn layout' on a string; generated ids follow the file's style (bpmn-cli's own style hashes new flow ids instead of Flow_); a write keeps the file's element order and no longer repairs XSD element-order errors as a side effect.
Features
v0.2.0
v0.1.1
v0.1.0
First release of @miragon/bpmn-cli: semantic BPMN editing for AI agents (no XML or BPMNDI), layout modes auto / incremental / full, diagram formatting operations (place, align, color, label, route, space, tidy, lane order), show --layout and metrics with element ids. Evaluation infrastructure: layout regression budget, benchmark, fuzzer and npm run gate. See README.md and docs/.