# Version support

SDK protocol compatibility and support periods.

Last updated: 2026-11-06

[Web version](https://www.longplayai.com/docs/guides/version-support)

<a id="upgrade-0-9"></a>

## Install the latest stable release

Resolve the latest stable SDK and lock the result before connecting to a protocol 0.10 service. Other protocols and headerless requests are refused; changing the header does not upgrade an older SDK. Use an explicit version and its lockfiles for historical installs and rollback.

When upgrading from 0.9: issuance and Guest resumption return a complete Access/Refresh credential pair instead of a customerToken field. Your backend returns the session to the verified user, and the browser calls identify(session) to enable automatic refresh. A bare Access Token still works with host-managed credential renewal.

Remove backend renewCustomerSession calls. The SDK sends its Refresh Token to /api/v1/customer-sessions/refresh; do not automatically replay purchases, usage or other business writes after a 401. Revoking a session invalidates its Access and Refresh credentials. See the Customer session guide for the complete integration example.

- [Customer sessions](https://www.longplayai.com/docs/guides/customers.md#sessions)
- [Install SDKs](https://www.longplayai.com/docs/install.md)

<a id="event-recording"></a>

## Event recording

> Event recording with an official SDK requires at least `0.10.20`. `POST /api/v1/events` accepts only typed events with `kind` (`custom`, `experiment_exposure` or `feature_usage`); earlier SDKs cannot record events. Direct HTTP clients must implement the current typed request and per-event result contract and do not need an SDK.

- [Track events API](https://www.longplayai.com/docs/api/track-events.md)

<a id="support-policy"></a>

## Current SDK protocol

Longplay supports only protocol 0.10. SDK and server protocols must match; update both when upgrading. Earlier protocols have no adapter, compatibility mode or support window.

<a id="protocol-identification"></a>

## Identify the request protocol

HTTP requests must send X-Indiana-Protocol: 0.10. The SDK supplies it and X-Indiana-SDK-Version automatically; both must agree. The /api/v1 path does not select a protocol, and version headers grant no authority.

Requests with a missing version header or another protocol are refused before business execution. X-Indiana-Protocol identifies the current response protocol; X-Indiana-Supported-Protocols lists only the current protocol.

**Protocol errors**

| HTTP | code | Action |
| --- | --- | --- |
| 400 | INVALID_PROTOCOL_VERSION | Correct malformed or inconsistent SDK/protocol headers. |
| 400 | UNSUPPORTED_PROTOCOL_VERSION | Use the current protocol and check the deployment. |
