Skip to navigation

Versioning and deprecation

How the Partner API changes, and how much notice you get before anything goes away.

The version is in the path

The path carries the API’s major version: /partner/v1/…. Every response also names it in a header:

API-Version: v1

Within v1, EVVA makes additive changes only. A breaking change ships as a new major version, /partner/v2, served alongside v1 so you can move at your own pace.

Additive — can happen within v1Breaking — only in a new major version
New operationsRemoving or renaming an operation, a field or a parameter
New optional request fields and parametersMaking something required that was optional
New response fieldsNarrowing a type
New enum values in responsesChanging a status code or what a code means
New error codesChanging how authentication works
New event types and new frame fields

Write your client to tolerate additive changes: ignore unknown fields, handle unknown enum values and event types, and act on the HTTP status of an unknown error code. See API conventions.

Semantic versions

WhatVersioning
The APIA major version in the path (v1).
The API reference documentsSemantic versions. A minor version adds operations; a patch changes documentation only; a major version comes only with a new path version.
EventsEvery event carries schemaVersion. A new event type is additive; changing the data of an existing type means a new schemaVersion.
Realtime protocolNegotiated in the first frame (hello.protocolVersion). The server speaks version 1; any other is answered with an UNSUPPORTED_PROTOCOL_VERSION error that lists the supported versions, and the connection closes.
SDKsSemantic versioning. Before 1.0, a minor release may change the SDK’s own API.

Deprecation policy

Nothing in v1 is deprecated today. When an operation is deprecated, this is how you will know, and how long you have:

1

The deprecation is announced

The operation is marked deprecated in the API reference and in the changelog, which names its replacement.

2

Every response says so

Each response of a deprecated operation carries Deprecation (RFC 9745), the instant it was deprecated as @<epoch seconds>; Sunset (RFC 8594), the date after which it may stop working, once one is set; and Link: <…>; rel="deprecation" when a page describes the change.

3

Your application can ask

GET /partner/v1/app/capabilities lists, under deprecations, every deprecated operation your application can call, with its deprecatedAt, sunsetAt and replacement — so you find out without calling the operation.

4

At least 180 days before it goes

For live applications, at least 180 days separate Deprecation from Sunset. A deprecated operation keeps answering until its sunset date, and it is removed only in the next major version.

Response of a deprecated operation
HTTP/1.1 200 OK
API-Version: v1
Deprecation: @1827619200
Sunset: Thu, 01 Jun 2028 00:00:00 GMT
Link: <https://developers.evvahub.com/changelog>; rel="deprecation"
GET /partner/v1/app/capabilities (excerpt)
{
"deprecations": [
{
"operation": "exampleOperation",
"method": "GET",
"path": "/partner/v1/…",
"deprecatedAt": "2027-12-01T00:00:00.000Z",
"sunsetAt": "2028-06-01T00:00:00.000Z",
"replacement": "exampleOperationV2"
}
]
}

The samples show the shape only: no operation is deprecated today, so deprecations is currently empty.

In the SDKs

The official SDKs report Deprecation and Sunset once per operation as a warning, so a deprecation shows up in your logs before it matters.

Next steps