Logo
NeoArc Studio

Using API Evolution Tracking

Step-by-step guide to tracking API changes with baselines: set a versioning strategy, create baselines, compare changes, review classifications, create new versions when needed, and publish changelogs for consumer teams.

This guide walks through the complete API evolution workflow: from setting a versioning strategy on your API, through baseline creation and comparison, to publishing changelogs that consumer teams can browse without repository access.

Step 1: Set a Versioning Strategy

Each API can have its own versioning strategy. This determines how version labels are formatted and how the system recommends version bumps.

Step 2: Create Your First Baseline

A baseline captures the architectural state at a governance-approved moment. For API evolution, it serves as the "before" snapshot that changes are compared against.

Step 3: Make Changes to Your APIs

After creating a baseline, continue working on your APIs as normal. Add endpoints, modify schemas, deprecate operations, update descriptions. Auto-save handles everything - there is no need to track individual changes manually.

Step 4: Review Classified Changes

When you are ready to review what has changed since the baseline, open the API Evolution report.

Step 5: Handle Breaking Changes

If the comparison reveals breaking changes and a major version bump is recommended, you have two options: fix the breaking changes, or create a new API version.

Option A: Fix the Breaking Changes
If the breaking changes were unintentional, modify the API to restore backward compatibility. Re-run the comparison to verify the changes are resolved.
Option B: Create a New API Version
If the breaking changes are intentional, use the version-and-migrate workflow. The system creates a new versioned directory with copied API files and generates migration task suggestions for each breaking change.

Step 6: Create a New Baseline and Changelog

After resolving or versioning your changes, create a new baseline to capture the current state. The system generates a changelog recording every change between the two baselines.

Step 7: Publish Changelogs

When you publish your documentation site, changelogs are included automatically. Consumer teams can browse them without needing repository access.

Changelog Viewer
Each changelog shows version badges, category summary pills, and changes grouped by resource type with colour-coded category indicators and expandable property details.
Version History Timeline
A dedicated page lists all version transitions in reverse chronological order. Each entry shows the version range, date, and summary counts. Click any entry to view the full changelog.

Change Classification Reference

The system classifies every change into one of four categories based on its impact on consumers:

CategoryTriggerVersion Impact
BreakingRemoving a resource, changing a structural property, removing securityMajor bump
DeprecationMarking a resource as deprecatedMinor bump
AdditiveAdding a new resourceMinor bump
CosmeticChanging descriptions, tags, or notesPatch bump