Skip to content
This repository was archived by the owner on Jun 22, 2026. It is now read-only.

v2.0.0

Choose a tag to compare

@emaarco emaarco released this 26 Apr 19:28
· 49 commits to main since this release
ff84ff6

πŸ§‘πŸ½β€πŸ’» Release – bpmn-to-code v2.0.0

What's Changed

  • New Features

    • Typed API overhaul: Variables split into Inputs/Outputs by direction (#289, #294, #295)
    • Leaf string constants wrapped in typed value classes (#288)
    • PROCESS_ENGINE string constant replaced by typed BpmnEngine enum (#281)
    • Sealed VariableName with typed direction and toString (#565309c)
    • KDoc emitted on generated ProcessApi nested objects and shared types (#308)
    • displayName extracted from BPMN flow nodes and included in JSON output (#263, #264)
    • New bpmn-to-code-runtime artifact β€” shared runtime types (ProcessId, ElementId, VariableName, …) published to Maven Central (#304)
    • AI-powered BPMN style guide skills (#262)
    • Scaffold-process-project AI skill (#266)
    • v1-to-v2 migration AI skill (#283)
    • Reskinned web generator UI matching the new docs aesthetic (#269, #274)
  • Bug Fixes

    • Normalize whitespace in BPMN element names (#297)
    • Remove duplicate flat variables from generated Variables API (#265)
    • Consistent indentation for Flows/Relations in generated Kotlin output (#281)
    • Resolve discrepancies between BPMN models and generated API output (#4573eb1)
    • Close file descriptors by storing BPMN content as ByteArray (#311)
    • Fix publishToMavenLocal and generateBpmnModelJson failures (#300)
    • CI release pipeline: enable GPG signing and fix Docker configuration cache (#316)
  • Quality

    • Detekt static analysis across all modules (#313)
    • Konsist architecture enforcement (#261)
    • Per-class JaCoCo test coverage (β‰₯ 75%) (#259, #315)
    • Syntax validation of generated Kotlin, Java, and JSON output (#260)
  • Dependency Updates

    • Bump backend-dependencies group (#258)
    • Bump actions/upload-pages-artifact from 4 to 5
    • Bump org.apache.maven:maven-plugin-api to 3.9.15
  • Docs

    • Consolidated single VitePress documentation site with three-pillar framing (#267, #271, #274)
    • KDoc added to all published modules (#308)
    • CIB7 marked as supported via Camunda 7 namespace (#302)

Migration Notes

This is a major release with breaking changes to the generated API shape. Use the bundled migrate-to-bpmn-to-code-apis and v1-to-v2 AI skills to automate most of the migration.

Key breaking changes:

  • TaskTypes renamed to ServiceTasks in the generated API
  • Per-element Variables split into Variables.Inputs and Variables.Outputs
  • String constants wrapped in typed value classes β€” direct string comparisons need updating
  • PROCESS_ENGINE constant replaced by the BpmnEngine enum
  • Add io.github.emaarco:bpmn-to-code-runtime as a runtime dependency to consume generated APIs

Full Changelog: v1.1.0...v2.0.0