Add a Schema Version
Publish a new version of a schema while keeping the earlier ones available.
How it works
A new version records a change to a contract while keeping the earlier versions available. Consumers move to it when they are ready.
Publishing does not migrate consumers
A breaking change needs a plan for each consumer; the registry only keeps both versions readable.
Prerequisites
- A schema. See Create a schema.
Procedure
- In Integration Center, go to Schemas and open the artifact.
- Add a version.
- Give the version, its name, and describe what changed.
- Give the new content, then save.
Parameters
| Field | What it is | Default |
|---|---|---|
| Version | Its number. | — |
| Name | A readable name for this version. | — |
| Description | What changed in this version. | — |
Behavior and limits
- Adding a field that is optional keeps existing consumers working. Removing or renaming a field breaks them: publish it as a new major version.
- Earlier versions stay readable: a consumer moves to the new one when it is ready.