Releases
A release is a version of your API. Each release has its own resource groups and endpoints: you can work on a new version without changing the one your users already call.
When the project is created, Grizzly creates a first release, 1.0.0. Releases are managed in REST API projects: the section isn't shown for IAM and Analytic API projects.
View the releases
On the project's page, the Active Releases section shows one card per release, with its number and date. The selected release has the Active badge.
Click a card to show that release's endpoints.
Create a release
A new release is always a copy of the selected release: its groups and endpoints are copied.
- Select the release to copy.
- Click Create New Release.
- In the Clone the current version window, fill in:
- Release (required): the number of the new release. The field is pre-filled with the copied version: change it, because each number must be unique in the project;
- Description: what changes in this version;
- Type: Product for a version used in production, Develop for a version in development;
- Database configuration: Existing database to keep a data source (chosen from the list), or New database for Grizzly to create a free MongoDB database for this release.
- Click Confirm.
Numbering
Follow Semantic Versioning: 1.0.1 for a fix, 1.1.0 for a compatible addition, 2.0.0 for a change that breaks existing calls.
Example: add a feature without breaking anything
Your Store API is at 1.0.0 and you want to add product search.
- Select release
1.0.0, then click Create New Release. - Release:
1.1.0. Type: Develop. Existing database: the store's database. - Confirm, then add the
GET /products/searchendpoint to release1.1.0.
Release 1.0.0 stays unchanged while you work on 1.1.0.
What's next?
- Add endpoints to your new release: Resource groups and endpoints.
- Find each release's address and test it: Test, export and share.
