Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ keywords: ["changelog", "API updates", "release notes", "what's new", "API chang

To subscribe to updates, please [**“Turn on notifications”**](https://help.x.com/en/managing-your-account/notifications-on-mobile-devices#:~:text=In%20the%20top%20menu,%20you,you%20would%20like%20to%20receive) for [**@API**](https://x.com/api). You can also follow this changelog in your feed reader via the [**RSS feed**](https://docs.x.com/changelog/rss.xml).

<Update label="Dec 2, 2026" description="SDKs">
### Java 8+ support for Chat XDK (`com.x:chatxdk`) and Java XDK (`com.x:xdk`)

Both official Java libraries on Maven Central now target **Java 8+** (previously Java 17+):

- **Chat XDK (`com.x:chatxdk:0.7.8`):** Lowered minimum JVM version to Java 8 with no public API changes, bundling native libraries for macOS (`arm64`, `x64`), Linux (`x64`, `arm64`), and Windows (`x64`). See [Chat XDK](/xchat/xchat-xdk).
- **Java XDK (`com.x:xdk:0.4.0`):** Lowered minimum JVM version to Java 8 with an Apache HttpClient 5 default transport supporting full streaming and idle-timeout recovery on Java 8+. See [Java XDK](/xdks/java/overview).
</Update>

<Update label="Dec 1, 2026" description="X API v2">
### `x-request-id`, `Retry-After`, and actionable `429` error details

Expand Down
2 changes: 1 addition & 1 deletion enterprise-api/getting-started/important-resources.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Bookmark these essential resources for X API development.
| [Postman Collection](https://www.postman.com/xapidevelopers/x-api-public-workspace/collection/34902927-2efc5689-99c6-4ab6-8091-996f35c2fd80) | Interactive API testing |
| [Python SDK](/xdks/python/overview) | Official Python library (`xdk`) |
| [TypeScript SDK](/xdks/typescript/overview) | Official TypeScript/JavaScript library (`@xdevplatform/xdk`) |
| [Java SDK](/xdks/java/overview) | Official Java 17+ library (`com.x:xdk`) |
| [Java SDK](/xdks/java/overview) | Official Java 8+ library (`com.x:xdk`) |
| [C# SDK](/xdks/csharp/overview) | Official .NET 8+ library (`XDevPlatform.Xdk`) |
| [OpenAPI Spec](https://api.x.com/2/openapi.json) | Machine-readable API specification |

Expand Down
2 changes: 1 addition & 1 deletion enterprise-api/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ Enterprise access powers the most demanding use cases on X.
Official TypeScript/JavaScript library (`@xdevplatform/xdk`).
</Card>
<Card title="Java SDK" icon="java" href="/xdks/java/overview">
Official Java 17+ library (`com.x:xdk`).
Official Java 8+ library (`com.x:xdk`).
</Card>
<Card title="C# SDK" icon="code" href="/xdks/csharp/overview">
Official .NET 8+ library (`XDevPlatform.Xdk`).
Expand Down
2 changes: 1 addition & 1 deletion important-resources.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Bookmark these essential resources for X API development.
| [Postman Collection](https://www.postman.com/xapidevelopers/x-api-public-workspace/collection/34902927-2efc5689-99c6-4ab6-8091-996f35c2fd80) | Interactive API testing |
| [Python SDK](/xdks/python/overview) | Official Python library (`xdk`) |
| [TypeScript SDK](/xdks/typescript/overview) | Official TypeScript/JavaScript library (`@xdevplatform/xdk`) |
| [Java SDK](/xdks/java/overview) | Official Java 17+ library (`com.x:xdk`) |
| [Java SDK](/xdks/java/overview) | Official Java 8+ library (`com.x:xdk`) |
| [C# SDK](/xdks/csharp/overview) | Official .NET 8+ library (`XDevPlatform.Xdk`) |
| [OpenAPI Spec](https://api.x.com/2/openapi.json) | Machine-readable API specification |

Expand Down
2 changes: 1 addition & 1 deletion tools-and-libraries.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Client libraries for the X API v2, generated from the OpenAPI spec with auth, pa
`npm install @xdevplatform/xdk` · Node.js 18+
</Card>
<Card title="Java" icon="java" href="/xdks/java/overview">
`com.x:xdk` · Java 17+
`com.x:xdk` · Java 8+
</Card>
<Card title="C# / .NET" icon="code" href="/xdks/csharp/overview">
`dotnet add package XDevPlatform.Xdk` · .NET 8+
Expand Down
12 changes: 6 additions & 6 deletions tools/java-xdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ description: Java client library for the X API v2.
keywords: ["Java SDK", "XDK", "Java", "Kotlin", "Maven", "Gradle", "com.x:xdk", "X API"]
---

`com.x:xdk` ([GitHub](https://github.com/xdevplatform/xdk-java)) is the official Java client library for the X API v2 (Java 17+ and Kotlin).
`com.x:xdk` ([GitHub](https://github.com/xdevplatform/xdk-java)) is the official Java client library for the X API v2 (Java 8+ and Kotlin).

<CardGroup cols={2}>
<Card title="Maven Central" icon="java" href="https://central.sonatype.com/artifact/com.x/xdk">
`com.x:xdk:0.3.0` · Java 17+
`com.x:xdk:0.4.0` · Java 8+
</Card>
<Card title="GitHub" icon="github" href="https://github.com/xdevplatform/xdk-java">
Source code and issues.
Expand All @@ -26,25 +26,25 @@ keywords: ["Java SDK", "XDK", "Java", "Kotlin", "Maven", "Gradle", "com.x:xdk",
<dependency>
<groupId>com.x</groupId>
<artifactId>xdk</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
```

```kotlin Gradle (Kotlin DSL)
dependencies {
implementation("com.x:xdk:0.3.0")
implementation("com.x:xdk:0.4.0")
}
```

```groovy Gradle (Groovy)
dependencies {
implementation 'com.x:xdk:0.3.0'
implementation 'com.x:xdk:0.4.0'
}
```

</CodeGroup>

Requires JDK 17+.
Requires JDK 8+.

---

Expand Down
2 changes: 1 addition & 1 deletion x-api/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Earn free [xAI API](https://docs.x.ai) credits when you purchase X API credits
Official TypeScript/JavaScript library (`@xdevplatform/xdk`).
</Card>
<Card title="Java SDK" icon="java" href="/xdks/java/overview">
Official Java 17+ library (`com.x:xdk`).
Official Java 8+ library (`com.x:xdk`).
</Card>
<Card title="C# SDK" icon="code" href="/xdks/csharp/overview">
Official .NET 8+ library (`XDevPlatform.Xdk`).
Expand Down
2 changes: 1 addition & 1 deletion xchat/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ X Chat apps use two pieces together:
</dependency>
```

Available on Maven Central. The jar bundles the native library for macOS (arm64, x64), Linux (x64), and Windows (x64); no `jna.library.path` setup is needed. Import from `com.x.chatxdk`. Requires JDK 17+.
Available on Maven Central. The jar bundles the native library for macOS (arm64, x64), Linux (x64, arm64), and Windows (x64); no `jna.library.path` setup is needed. Import from `com.x.chatxdk`. Requires JDK 8+.
</Tab>
</Tabs>

Expand Down
4 changes: 2 additions & 2 deletions xchat/migrate-from-legacy-dms.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Existing conversations are upgraded on X's side — you do **not** need to migra
| **Python** (`chatxdk`, `import chat_xdk`) | `pip install chatxdk` | Python 3.10+. Supports Juicebox unlock and `export_keys` / `import_keys`. |
| **JS / TS (browser)** (`@xdevplatform/chat-xdk`) | `npm install @xdevplatform/chat-xdk juicebox-sdk` | WASM for browsers and Node 18+. Keys stay in Juicebox secure key backup (**no key export**). |
| **Node.js (server)** (`@xdevplatform/chat-xdk-server`) | `npm install @xdevplatform/chat-xdk-server` | Server-side `exportKeys` / `importKeys`. Never bundle into a browser app. |
| **Go, Rust, .NET 8+, JVM (JDK 17+)** | See [Chat XDK](/xchat/xchat-xdk) | Native bindings supporting `export_keys` / `import_keys`. Go ships prebuilt libraries for macOS and Linux `amd64` only (on Linux `ARM64`, use Python or `@xdevplatform/chat-xdk-server`). Java 8 is not supported. |
| **Go, Rust, .NET 8+, JVM (JDK 8+)** | See [Chat XDK](/xchat/xchat-xdk) | Native bindings supporting `export_keys` / `import_keys`. Go ships prebuilt libraries for macOS and Linux `amd64` only (on Linux `ARM64`, use Python or `@xdevplatform/chat-xdk-server`). |

There are no Ruby or PHP bindings — run encryption in a small service in a supported language and call it from your app. For REST transport, use the official XDK (`pip install xdk` / `npm install @xdevplatform/xdk`) or any HTTP client.
</Tab>
Expand Down Expand Up @@ -618,7 +618,7 @@ For SDK-specific cryptography, backup recovery, and decryption issues, see [Fix
</Accordion>

<Accordion title="Which languages does chat-xdk support?">
Python, JavaScript/TypeScript (browser, plus `@xdevplatform/chat-xdk-server` for Node), Go, Rust, .NET 8+, and JVM (JDK 17 or later; Java 8 is not supported). There is no Ruby or PHP binding — run encryption in a small service in a supported language and call it from your app. Go ships prebuilt libraries for macOS and Linux `amd64` only; on Linux `ARM64`, use the Python or Node server package. Do not write your own encryption.
Python, JavaScript/TypeScript (browser, plus `@xdevplatform/chat-xdk-server` for Node), Go, Rust, .NET 8+, and JVM (JDK 8 or later). There is no Ruby or PHP binding — run encryption in a small service in a supported language and call it from your app. Go ships prebuilt libraries for macOS and Linux `amd64` only; on Linux `ARM64`, use the Python or Node server package. Do not write your own encryption.
</Accordion>
</AccordionGroup>
</Tab>
Expand Down
2 changes: 1 addition & 1 deletion xchat/xchat-xdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ App walkthrough: [Getting Started](/xchat/getting-started). Sample bots: [chat-x
</dependency>
```

Available on Maven Central. The jar bundles the native library for macOS (arm64, x64), Linux (x64), and Windows (x64); no `jna.library.path` setup is needed. Import from `com.x.chatxdk`. Requires JDK 17+.
Available on Maven Central. The jar bundles the native library for macOS (arm64, x64), Linux (x64, arm64), and Windows (x64); no `jna.library.path` setup is needed. Import from `com.x.chatxdk`. Requires JDK 8+.
</Tab>
</Tabs>

Expand Down
8 changes: 4 additions & 4 deletions xdks/java/install.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ sidebarTitle: Install
description: Add the Java XDK to a Maven or Gradle project.
---

Install `com.x:xdk` from [Maven Central](https://central.sonatype.com/artifact/com.x/xdk). Requires JDK 17+.
Install `com.x:xdk` from [Maven Central](https://central.sonatype.com/artifact/com.x/xdk). Requires JDK 8+.

<CodeGroup>

```xml Maven (pom.xml)
<dependency>
<groupId>com.x</groupId>
<artifactId>xdk</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
```

```kotlin Gradle (build.gradle.kts)
dependencies {
implementation("com.x:xdk:0.3.0")
implementation("com.x:xdk:0.4.0")
}
```

```groovy Gradle (build.gradle)
dependencies {
implementation 'com.x:xdk:0.3.0'
implementation 'com.x:xdk:0.4.0'
}
```

Expand Down
4 changes: 2 additions & 2 deletions xdks/java/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ sidebarTitle: Overview
description: Java client library for the X API v2.
---

`com.x:xdk` is the official Java SDK for the X API v2 (Java 17+ and Kotlin). It includes typed models, OAuth 2.0 PKCE and OAuth 1.0a auth, `Paginator<T>`, and `EventStream<T>`.
`com.x:xdk` is the official Java SDK for the X API v2 (Java 8+ and Kotlin). It includes typed models, OAuth 2.0 PKCE and OAuth 1.0a auth, `Paginator<T>`, and `EventStream<T>`.

<CardGroup cols={2}>
<Card title="Maven Central" icon="java" href="https://central.sonatype.com/artifact/com.x/xdk">
`com.x:xdk:0.3.0` · Java 17+
`com.x:xdk:0.4.0` · Java 8+
</Card>
<Card title="GitHub" icon="github" href="https://github.com/xdevplatform/xdk-java">
Source code and issues.
Expand Down
2 changes: 1 addition & 1 deletion xdks/java/reference/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Client setup and method reference for `com.x:xdk` `v0.3.0`.

<CardGroup cols={2}>
<Card title="Maven Central" icon="box" href="https://central.sonatype.com/artifact/com.x/xdk">
`com.x:xdk` `v0.3.0` · Java 17+
`com.x:xdk` `v0.4.0` · Java 8+
</Card>
<Card title="GitHub" icon="github" href="https://github.com/xdevplatform/xdk-java">
Source code and issues.
Expand Down
4 changes: 2 additions & 2 deletions xdks/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The X Developer Kits (XDKs) are X's client libraries for the X API v2, generated
`npm install @xdevplatform/xdk` · Node.js 18+
</Card>
<Card title="Java" icon="java" href="/xdks/java/overview">
`com.x:xdk` · Java 17+
`com.x:xdk` · Java 8+
</Card>
<Card title="C# / .NET" icon="code" href="/xdks/csharp/overview">
`dotnet add package XDevPlatform.Xdk` · .NET 8+
Expand All @@ -30,7 +30,7 @@ The X Developer Kits (XDKs) are X's client libraries for the X API v2, generated
| :--- | :--- | :--- | :--- | :--- |
| **Python** | `xdk` | Python 3.8+ | [PyPI](https://pypi.org/project/xdk/) | [xdk-python](https://github.com/xdevplatform/xdk-python) |
| **TypeScript / JS** | `@xdevplatform/xdk` | Node.js 18+ | [npm](https://www.npmjs.com/package/@xdevplatform/xdk) | [xdk-typescript](https://github.com/xdevplatform/xdk-typescript) |
| **Java** | `com.x:xdk:0.3.0` | Java 17+ | [Maven Central](https://central.sonatype.com/artifact/com.x/xdk) | [xdk-java](https://github.com/xdevplatform/xdk-java) |
| **Java** | `com.x:xdk:0.4.0` | Java 8+ | [Maven Central](https://central.sonatype.com/artifact/com.x/xdk) | [xdk-java](https://github.com/xdevplatform/xdk-java) |
| **C# / .NET** | `XDevPlatform.Xdk` | .NET 8.0+ | [NuGet](https://www.nuget.org/packages/XDevPlatform.Xdk) | [xdk-csharp](https://github.com/xdevplatform/xdk-csharp) |

---
Expand Down
Loading