Versioning
Why we use versioning, how to use versions in your requests, and the difference between versioned & non-versioned changes and breaking & non-breaking changes.
What is the latest TEOS API Version?
Check it in Changelog
Why do we have versions?
We want developers using the TEOS API to benefit from new features and changes when it's convenient for their development cycle and to make sure that running solutions don't break with a new release.
Version availability can be critical for mobile development. The person using your app on their device may not upgrade for a long time, which can result in the app calling an unavailable version.
Each version is supported for at least half a year from the release date, giving you enough time to plan the update to newer versions.
Normal version schedule
Normally, we only support a version for not more than 12 months after its release date.
We notify our customers 1 month in advance about the version running out of the support and we notify when the version is not supported anymore. Normally, after explicit notification about not supporting the version, it is still available on production for some time for those who are running late (from 1 to 6 months).
Once a version is no longer available on production, any calls made to it will not work. Here is a timeline example:
01.01.2030 Version 2.3 is released
01.07.2030 half a year after v2.3 release date: v2.3 is not supported
15.08.2030 Version 2.4 is released
15.02.2031 half a year after v2.4 release date: v2.4 is not supported, v2.3 is not available
15.02.2031 Version 2.5 is released
For SDKs or code base templates using the TEOS API which can be mentioned in the documentation, a version will always remain available as it is a downloadable package. However, the SDK or code base template may rely upon API versions that no longer work, so you should assume an end-of-life SDK is no longer functional.
You can find specific information about our version timelines, changes, and release dates on our changelog page.
Will everything remain completely unchanged in a version?
CoreLedger does reserve the right to make changes to the TEOS API and its components on short notice for issues related to security, privacy, or performance. These changes don't happen often, but they do happen. Normally such changes are applied as non-versioned changes.
Do I have to specify a version for an API?
Yes, the version is a mandatory part of API calls. For example, let's say the current version is v3.2. The call is as follows:
Can my app make calls to versions older than the current version?
You can specify older versions in your API calls as long as they are available and your app has already made calls to that version. For example, if your app was created after v2.0 was released and makes calls using v2.0, it will be able to make calls to v2.0 until the version expires even after newer versions have been released. Check the availability of the versions in Changelog
Types of changes
Versioned & Non-Versioned Changes
Versioned changes
Versioned changes are changes introduced with the release of a new API version. Versioned changes typically apply to the newest version immediately and often will apply to other versions at a future date.
Non-versioned changes
Non-versioned changes are changes applied to all API versions. They can be introduced together with the release of new version or outside of our normal release schedule. Such changes happen rarely. The changelog accompanying each release indicates explicitly if there are any changes applied to all API versions.
Breaking & Non-Breaking Changes
Non-breaking changes
A non-breaking or backward-compatible change is an API change that allows your integration to continue using the API without any additional changes on your side. When we introduce new functionalities and changes to our APIs, we do our best to implement them in a backward-compatible way. We implement non-breaking changes in all versions of an API so that you benefit from it without having to upgrade your API version.
Examples of non-breaking changes:
Adding an optional field to a request body
Adding an optional header to a request
Adding new endpoint
Changing the text of an error message in a response
Adding new fields or headers to a response
Deprecating existing endpoint
Breaking changes
A breaking change is an API change that makes your current integration incompatible with the API. To avoid disrupting existing integrations, we do try hard to introduce breaking changes in new API versions only. You can continue to use existing API versions until you are ready to upgrade to the new version.
Examples of breaking changes:
Adding a required field to a request body
Removing existing endpoint
Changing the case in the request or response because TEOS API is case-sensitive
Removing fields from the response body, request body, or headers
Renaming a field in a request or response
Changing a field from optional to required in a request body
Changing a field from required to optional in a response body
Changing the HTTP status code of a response
Changing error codes for existing errors
Changing the type of a field in a request or response
Changing the flow of interaction with the API
Last updated