diff --git a/changelog.mdx b/changelog.mdx index 07989867f..a66861bf1 100644 --- a/changelog.mdx +++ b/changelog.mdx @@ -7,6 +7,18 @@ 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). + + ### Linux ARM64 (glibc and musl) support for Go Chat XDK (`go/chatxdk` `v0.7.12`) + + The official **Go Chat XDK** (`github.com/xdevplatform/chat-xdk/go/chatxdk` `v0.7.12`) now ships prebuilt static libraries for **Linux ARM64 (`aarch64`)** alongside macOS (`arm64`, `amd64`) and Linux `amd64`: + + - **glibc (`linux/arm64`):** Linked automatically by default (`go build ./...`). + - **musl / Alpine (`linux/arm64`):** Selected with `-tags musl` (`CGO_ENABLED=1 go build -tags musl ./...`). + - **Full server-side parity:** Supports Juicebox PIN unlock, key blob `ExportKeys` / `ImportKeys`, conversation-key handling, message/file encryption and decryption, and cross-architecture/cross-edition interoperability with `amd64`, Python, and Node WASM. + + See [Chat XDK](/xchat/xchat-xdk), [Migrate from Legacy DMs](/xchat/migrate-from-legacy-dms), and [`go/chatxdk`](https://github.com/xdevplatform/chat-xdk/tree/main/go/chatxdk). + + ### .NET Framework 4.7.2+ support for Chat XDK (`XDevPlatform.ChatXdk` `0.7.11`) diff --git a/xchat/getting-started.mdx b/xchat/getting-started.mdx index b1bef090a..c7aea2f29 100644 --- a/xchat/getting-started.mdx +++ b/xchat/getting-started.mdx @@ -61,7 +61,7 @@ X Chat apps use two pieces together: go get github.com/xdevplatform/chat-xdk/go/chatxdk ``` - Precompiled static libraries are included (macOS arm64/amd64, Linux amd64 glibc/musl): you need a C compiler but not Rust. Requires Go 1.21+. + Precompiled static libraries are included (macOS arm64/amd64, Linux amd64/arm64 glibc and musl): you need a C compiler but not Rust. Pass `-tags musl` on Alpine / musl Linux. Requires Go 1.21+. ```bash diff --git a/xchat/migrate-from-legacy-dms.mdx b/xchat/migrate-from-legacy-dms.mdx index 23d968ecd..a6df19c69 100644 --- a/xchat/migrate-from-legacy-dms.mdx +++ b/xchat/migrate-from-legacy-dms.mdx @@ -65,7 +65,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+ / .NET Framework 4.7.2+, 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, Ruby, or `@xdevplatform/chat-xdk-server`). | + | **Go, Rust, .NET 8+ / .NET Framework 4.7.2+, JVM (JDK 8+)** | See [Chat XDK](/xchat/xchat-xdk) | Native bindings supporting `export_keys` / `import_keys`. Go ships prebuilt libraries for macOS (`arm64`, `amd64`) and Linux (`amd64` and `arm64`, both glibc and musl via `-tags musl`). | | **Ruby** (`chat_xdk`, `require "chat_xdk"`) | `gem install chat_xdk` | Ruby 3.0+. Bundles prebuilt native libraries for macOS (`arm64`, `x64`), Linux (`x64`, `arm64`), and Windows (`x64`). Supports Juicebox unlock and `export_keys` / `import_keys`. | 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. diff --git a/xchat/migrate-from-legacy-dms/faq.mdx b/xchat/migrate-from-legacy-dms/faq.mdx index 9a5650afa..7814462f6 100644 --- a/xchat/migrate-from-legacy-dms/faq.mdx +++ b/xchat/migrate-from-legacy-dms/faq.mdx @@ -331,7 +331,7 @@ Limits are set per access package, per user and per app, in 15-minute and 24-hou
Which languages does the Chat XDK support?
-Python, JavaScript/TypeScript (browser, plus `@xdevplatform/chat-xdk-server` for Node), Go, Rust, .NET 8+ and .NET Framework 4.7.2+, JVM (JDK 8 or later), and Ruby (3.0+). There is no 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, Ruby, 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 .NET Framework 4.7.2+, JVM (JDK 8 or later), and Ruby (3.0+). There is no PHP binding — run encryption in a small service in a supported language and call it from your app. Go ships prebuilt libraries for macOS (`arm64`, `amd64`) and Linux (`amd64` and `arm64`, both glibc and musl via `-tags musl`). Do not write your own encryption.
diff --git a/xchat/xchat-xdk.mdx b/xchat/xchat-xdk.mdx index b362223a7..642cf4c2e 100644 --- a/xchat/xchat-xdk.mdx +++ b/xchat/xchat-xdk.mdx @@ -47,7 +47,7 @@ App walkthrough: [Getting Started](/xchat/getting-started). Sample bots: [chat-x go get github.com/xdevplatform/chat-xdk/go/chatxdk ``` - Precompiled static libraries are included (macOS arm64/amd64, Linux amd64 glibc/musl): you need a C compiler but not Rust. Requires Go 1.21+. + Precompiled static libraries are included (macOS arm64/amd64, Linux amd64/arm64 glibc and musl): you need a C compiler but not Rust. Pass `-tags musl` on Alpine / musl Linux. Requires Go 1.21+.
```bash