Minor Changes
- eb79ef0: Flow steps can reference channels (
channel: { id, version }), drawn as channel nodes with a link to their docs. A step'stitleis now optional and defaults to the name of what it references (or the actor, external system or custom node's name, or the step's id); a custom node'stitledefaults to the step's title. Mistakes in flows no longer fail silently: unknown step properties fail the build (custom ones must start withx-), steps that use two node types or bothnext_stepandnext_stepsfail with a message naming the step and what to change, and anext_stepto a step that doesn't exist, or a reference to a resource that isn't in the catalog, logs a warning naming the flow and step. The steptypefield is still accepted but ignored. The linter checks the same rules, addsrefs/flow-step-existsfor next steps that aren't in the flow, and checks channel references in flow steps. The SDK addsFlowBuilder.addChannelStep,channelonFlowStep, an optionaltitle, and accepts system and channel references when parsing an index.
Patch Changes
-
eb79ef0: Explain a missing or invalid ADR
statusordateclearly. A missingdatewas reported asExpected type `"date"`, received `"object"`(with the field name garbled) by the build, and asInvalid dateby the linter. The build now reportsRequired: a date, e.g. 2026-06-01orInvalid date: use a date, e.g. 2026-06-01, and a missing status lists the allowed values. The linter reports a missing date as missing. -
eb79ef0: Fix several
npm auditfindings in new catalogs: upgradeastro-seoto 1.x (it no longer installs@astrojs/check) andhonoto a version with thehono/jsxXSS fix, removeshelljsfrom core, and replacefast-globwithglobin the linter. -
eb79ef0:
@eventcatalog/core5.0.0 (including its pre-releases) and later is licensed under the Business Source License 1.1 (BUSL-1.1), replacing the MIT License and the separate EventCatalog Commercial License for the enterprise and federation code. Releases up to and including 4.x remain available under the MIT License, and their notice is kept inNOTICE.The ecosystem packages, including
@eventcatalog/create-eventcatalog, stay MIT and now ship their ownLICENSEfile. New catalogs get a License section in their README that links to the Business Source License and notes that the catalog's own content belongs to its authors.@eventcatalog/breaking-changesmoves from ISC to MIT. -
eb79ef0: Stop
structure/unrecognised-filereporting usage examples in a message'sexamples/folder (events, commands and queries, including versioned ones). They're loaded by EventCatalog as examples, not resources. -
eb79ef0: fix(linter): treat a resource id such as
__proto__as any other id, rather than crashing -
Updated dependencies [eb79ef0]
-
Updated dependencies [eb79ef0]
-
Updated dependencies [eb79ef0]
-
Updated dependencies [eb79ef0]
-
Updated dependencies [eb79ef0]
- @eventcatalog/sdk@2.30.0