mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
feat(README): add an API versioning section
Based on a question on the mailing list. Add a section about API versioning.
This commit is contained in:
13
README.md
13
README.md
@@ -1223,8 +1223,10 @@ The values are specified in milliseconds.
|
||||
|
||||
### Versioning
|
||||
|
||||
#### Service Versioning
|
||||
|
||||
etcd uses [semantic versioning][semver].
|
||||
New minor versions may add additional features to the API however.
|
||||
New minor versions may add additional features to the API.
|
||||
|
||||
You can get the version of etcd by issuing a request to /version:
|
||||
|
||||
@@ -1232,10 +1234,15 @@ You can get the version of etcd by issuing a request to /version:
|
||||
curl -L http://127.0.0.1:4001/version
|
||||
```
|
||||
|
||||
During the pre-v1.0.0 series of releases we may break the API as we fix bugs and get feedback.
|
||||
|
||||
[semver]: http://semver.org/
|
||||
|
||||
#### API Versioning
|
||||
|
||||
Clients are encouraged to use the `v2` API. The `v1` API will not change.
|
||||
|
||||
The `v2` API responses should not change after the 0.2.0 release but new features will be added over time.
|
||||
|
||||
During the pre-v1.0.0 series of releases we may break the API as we fix bugs and get feedback.
|
||||
|
||||
### License
|
||||
|
||||
|
||||
Reference in New Issue
Block a user