Skip to main content
New project sponsor 🪝Hookdeck: Serverless infrastructure for event-driven architecture. Learn more.

Versioning

All content in EventCatalog can be versioned. This allows you to keep historic versions of content which can give context to users why things are changing.

How to version a service

  1. Create a /versioned directory inside the /services folder if one is not created already.
  2. Create a new folder with the version number inside the folder.
    • Example: /services/Orders/versioned/0.0.1
  3. Copy contents into the new folder, it at least needs your index.md file.
    • Example: /services/Orders/versioned/0.0.1/index.md
    • Note: the version inside this index.md file would be 0.0.1
  4. Bump the version of the index.md file in the route of the domain.
    • Example /services/Orders/index.md, change the version to 0.0.2

How to navigate to versions

EventCatalog will automatically create links for you within your latest version of your document. Users will also be able to navigate to any version by adding the version in the url (e.g /docs/services/Orders/1.0.2 would load the 1.0.2 version of this service).

Example