Skip to main content

Event changelogs

EventCatalog supports changelogs for domains, services and messages.

When you version a query in EventCatalog, you can also attach a changelog.md to that query or versioned query.

Adding a changelog

  1. Add a changelog.md to your query (or versioned query)
    • example /queries/{Query}/changelog.md
    • versioned example /queries/{Query}/versioned/1.0.0/changelog.md

Example

/docs/queries/GetOrder/changelog.md
---
createdAt: 2024-08-01
badges:
- content: ⭐️ JSON Schema
backgroundColor: purple
textColor: purple
---

### Added support for JSON Schema

GetOrder uses Avro but now also supports JSON Draft 7.

```json title="Employee JSON Draft"
// labeled-line-markers.jsx
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"title": "Employee",
"properties": {
"Name": {
"type": "string"
},
"Age": {
"type": "integer"
},
"Town": {
"type": "string"
}
},
"required": ["Name", "Age", "Town"]
}

``

Navigate to your change log page for your query (example /docs/queries/GetOrder/1.0.0/changelog) or click on the Changelog button on your query page.

"What do add to your change log?"

Changelogs are just markdown files, this allows you to add anything you want (e.g code blocks, tables)

EventCatalog code blocks supports diffs, code labels which are great features for changelogs. You can read more here.

Why add changelogs?

Changelogs can provide your team with the context behind the reasons and choices for changes within your query and also be used for auditing purposes.

Changelogs are visualized by EventCatalog.