Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

chore(sdk): release 0.6.0

Yudhi Armyndharis2677675160db
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a29c34efc..a3a152d99 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,16 +14,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Allow chat-restricted API keys to subscribe to chat WebSocket events.
- Allow chat-restricted MCP keys to read and send within their chat allowlist using the REST authorization rules.
- Carry `chatId` in `message.ack` and `message.failed` payloads so a webhook `chatId` or `kind` filter scopes delivery events per chat.
-- Filter stored messages by time, direction, type or message reference, with stable message-time pagination; the JavaScript, Python, Java and Go SDKs take these filters from the next SDK release after 0.5.1, and the PHP SDK already forwards any query key.
+- Filter stored messages by time, direction, type or message reference, with stable message-time pagination; the JavaScript, Python, Java and Go SDKs take these filters from SDK 0.6.0, and the PHP SDK already forwards any query key.
- Scope built-in message search and group detail/settings to a chat-restricted key's allowed chats; reject plugin search for these keys.
-- Expose poll choices and selection mode in message events, stored messages and history, and poll choices in dashboard chats; the SDKs type the poll of a live history message from the next SDK release after 0.5.1.
-- Expose optional last-message types in chat lists and, from the next SDK release after 0.5.1, in the SDKs.
-- Add bounded webhook failure redrive with optional payload retention; the SDKs expose it from the next SDK release after 0.5.1.
+- Expose poll choices and selection mode in message events, stored messages and history, and poll choices in dashboard chats; the SDKs type the poll of a live history message from SDK 0.6.0.
+- Expose optional last-message types in chat lists and, from SDK 0.6.0, in the SDKs.
+- Add bounded webhook failure redrive with optional payload retention; the SDKs expose it from SDK 0.6.0.
- Add `startupProbe.periodSeconds` and `startupProbe.failureThreshold` to the Helm chart's values, defaulting to the 5 s and 60 the chart rendered before, so a large messages table can be given a longer boot budget.
-- Expose caller-supplied send idempotency keys in all five SDKs from the next SDK release after 0.5.1; the 0.5.1 JavaScript and PHP packages ignore the extra argument.
+- Expose caller-supplied send idempotency keys in all five SDKs from SDK 0.6.0; the 0.5.1 JavaScript and PHP packages ignore the extra argument.
- Add optional 24-hour idempotency keys to twelve single-recipient send routes.
- Add opt-in archive-only chat media with dashboard previews.
-- Report RSVPs to WhatsApp events as an `event.response` webhook and WebSocket event on Baileys; the JavaScript, Python, Go and Java SDKs list the event name from the next SDK release after 0.5.1 (#1788, thanks @jelasus).
+- Report RSVPs to WhatsApp events as an `event.response` webhook and WebSocket event on Baileys; the JavaScript, Python, Go and Java SDKs list the event name from SDK 0.6.0 (#1788, thanks @jelasus).
### Changed
@@ -97,8 +97,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Probe the configured `PORT` in the Docker image healthcheck instead of a fixed 2785.
- Cap the total bytes one storage import extracts at `STORAGE_IMPORT_MAX_TOTAL_BYTES`.
- Close the Baileys session proxy's fetch dispatcher when the session disconnects, logs out or is destroyed.
-- Java SDK (next SDK release after 0.5.1): the request timeout also bounds the response body, so a stalled body raises `OpenWATimeoutError`.
-- Java SDK (next SDK release after 0.5.1): the default transport speaks HTTP/1.1, so calls to a gateway over plain `http://` no longer fail with `HTTP/1.1 header parser received no bytes`.
+- Java SDK (0.6.0): the request timeout also bounds the response body, so a stalled body raises `OpenWATimeoutError`.
+- Java SDK (0.6.0): the default transport speaks HTTP/1.1, so calls to a gateway over plain `http://` no longer fail with `HTTP/1.1 header parser received no bytes`.
- Keep a new dashboard template draft when an earlier template save finishes.
- Stop the dashboard Chats page from marking the open chat read on a newly selected session.
- Refuse bulk batches once shutdown begins, and answer `503` for a batch saved during shutdown instead of sending it.
@@ -159,22 +159,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Stop a dashboard backup export or media download answered after sign-out from saving its file.
- Parse a dashboard message made of many code spans or code blocks in linear time, so one long message no longer freezes the tab for seconds.
- Render a dashboard message body over 4096 characters without links, so link detection no longer freezes the tab on a very long body.
-- Python SDK (next SDK release after 0.5.1): an error with an empty body names the response's status text instead of `None`.
-- Python SDK (next SDK release after 0.5.1): a `timeout` of `None`, 0 or infinity means no timeout, a four-value tuple takes the same for each element, an `httpx.Timeout` is passed to httpx as given, and a negative, NaN or non-number raises `ValueError`.
-- Python SDK (next SDK release after 0.5.1): `WebhookFilterCondition` and `CustomLinkPreview` require the keys the gateway requires.
-- JavaScript and PHP SDKs (next SDK release after 0.5.1): printing or dumping a client no longer shows its API key, and the PHP client keeps its default header values out of a dump, an export and a cast as well.
-- Python and PHP SDKs (next SDK release after 0.5.1): the API key is trimmed, and one with a control or non-ASCII character is refused when the client is built, without repeating it.
-- JavaScript SDK (next SDK release after 0.5.1): the API key is trimmed, and a key or default header value with a control or non-Latin-1 character is refused when the client is built, naming the header and never repeating the value.
-- Go SDK (next SDK release after 0.5.1): the API key is trimmed, and one with a control character is refused when the client is built, without repeating it.
-- Python and PHP SDKs (next SDK release after 0.5.1): a default header value with a control or non-ASCII character is refused when the client is built, naming the header and never repeating the value.
-- Java SDK (next SDK release after 0.5.1): a connection failure names its exception class and keeps it as the cause instead of ending in `null`.
-- Java SDK (next SDK release after 0.5.1): a key or default header value with a control or non-ASCII character is refused when the client is built, naming the header and never repeating the value.
-- Java SDK (next SDK release after 0.5.1): a logged `HttpRequestData` shows neither the key nor the body.
-- Go SDK (next SDK release after 0.5.1): `WithIdempotencyKey` sends the header only on the twelve routes that honor it, so a request to any other route is no longer re-sent by `net/http` after a dropped connection.
-- Go SDK (next SDK release after 0.5.1): an error answer from a proxy reads its own `message` or the status text.
-- PHP SDK (next SDK release after 0.5.1): an omitted participant list in `approveMembershipRequests` and `rejectMembershipRequests` goes out as `{}`.
-- PHP SDK (next SDK release after 0.5.1): an error body whose `error` is not a string maps to the SDK's exception instead of raising a `TypeError`.
-- Every SDK package ships the MIT license text from the next SDK release after 0.5.1.
+- Python SDK (0.6.0): an error with an empty body names the response's status text instead of `None`.
+- Python SDK (0.6.0): a `timeout` of `None`, 0 or infinity means no timeout, a four-value tuple takes the same for each element, an `httpx.Timeout` is passed to httpx as given, and a negative, NaN or non-number raises `ValueError`.
+- Python SDK (0.6.0): `WebhookFilterCondition` and `CustomLinkPreview` require the keys the gateway requires.
+- JavaScript and PHP SDKs (0.6.0): printing or dumping a client no longer shows its API key, and the PHP client keeps its default header values out of a dump, an export and a cast as well.
+- Python and PHP SDKs (0.6.0): the API key is trimmed, and one with a control or non-ASCII character is refused when the client is built, without repeating it.
+- JavaScript SDK (0.6.0): the API key is trimmed, and a key or default header value with a control or non-Latin-1 character is refused when the client is built, naming the header and never repeating the value.
+- Go SDK (0.6.0): the API key is trimmed, and one with a control character is refused when the client is built, without repeating it.
+- Python and PHP SDKs (0.6.0): a default header value with a control or non-ASCII character is refused when the client is built, naming the header and never repeating the value.
+- Java SDK (0.6.0): a connection failure names its exception class and keeps it as the cause instead of ending in `null`.
+- Java SDK (0.6.0): a key or default header value with a control or non-ASCII character is refused when the client is built, naming the header and never repeating the value.
+- Java SDK (0.6.0): a logged `HttpRequestData` shows neither the key nor the body.
+- Go SDK (0.6.0): `WithIdempotencyKey` sends the header only on the twelve routes that honor it, so a request to any other route is no longer re-sent by `net/http` after a dropped connection.
+- Go SDK (0.6.0): an error answer from a proxy reads its own `message` or the status text.
+- PHP SDK (0.6.0): an omitted participant list in `approveMembershipRequests` and `rejectMembershipRequests` goes out as `{}`.
+- PHP SDK (0.6.0): an error body whose `error` is not a string maps to the SDK's exception instead of raising a `TypeError`.
+- Every SDK package ships the MIT license text from SDK 0.6.0.
### Documentation
@@ -208,7 +208,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Boot fails on a `PORT` with surrounding whitespace or a whitespace-only `PORT`; remove the padding.
- Boot fails on a `WEBHOOK_SHUTDOWN_DRAIN_MS` that is not a non-negative integer (for example `30s`) instead of silently using 5000.
- Aged undispatched ingress events are dead-lettered instead of deleted; some may already have been delivered, so check before redriving them.
-- Java SDK (next SDK release after 0.5.1): the request timeout (default 30 s) also bounds the response body; raise it for large media downloads.
+- Java SDK (0.6.0): the request timeout (default 30 s) also bounds the response body; raise it for large media downloads.
- With `OPENWA_DATA_DIR` set, `backup.sh` and `restore.sh` read the default SQLite databases and `./data/...` paths in `./.env` under it; pass a path in the environment to keep it in the working directory.
- A storage import stops at `STORAGE_IMPORT_MAX_TOTAL_BYTES` (default 10 GiB); raise it before importing a larger export.
- ⚠️ **Breaking (API).** Creating or updating an API key with more than 2000 `allowedChats` entries answers `400`; a stored longer list keeps working on the REST routes, but over `/events` a subscribe that would hold more than 4096 rooms (the subscribed events times the key's chat ids, two per phone number) is refused with `TOO_MANY_SUBSCRIPTIONS`, so shorten it.
diff --git a/docs/18-sdk-design.md b/docs/18-sdk-design.md
index 360ed28ef..e48015ab7 100644
--- a/docs/18-sdk-design.md
+++ b/docs/18-sdk-design.md
@@ -1,6 +1,6 @@
# 18 - SDK Design
-> This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.
+> This document describes SDK 0.6.0. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name require OpenWA 0.25.0 or later.
## 18.1 Overview
diff --git a/sdk/README.md b/sdk/README.md
index a029e36a8..bd7c334d0 100644
--- a/sdk/README.md
+++ b/sdk/README.md
@@ -1,6 +1,6 @@
# OpenWA SDKs
-This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.
+This document describes SDK 0.6.0. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name require OpenWA 0.25.0 or later.
Official client libraries for [OpenWA](https://github.com/rmyndharis/OpenWA), the
open-source WhatsApp API Gateway. OpenWA is an independent project, not
@@ -176,7 +176,7 @@ handler is a `MockHandler` — no global state, no network.
<dependency>
<groupId>com.rmyndharis</groupId>
<artifactId>openwa</artifactId>
- <version>0.5.1</version>
+ <version>0.6.0</version>
</dependency>
```
diff --git a/sdk/go/README.md b/sdk/go/README.md
index f9e9b4eee..9ec7aa759 100644
--- a/sdk/go/README.md
+++ b/sdk/go/README.md
@@ -1,6 +1,6 @@
# OpenWA Go SDK
-This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.
+This document describes SDK 0.6.0. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name require OpenWA 0.25.0 or later.
Idiomatic Go client for the [OpenWA](https://github.com/rmyndharis/OpenWA) WhatsApp
API Gateway. Stdlib-only (no dependencies), context-first, with typed errors and
@@ -258,10 +258,10 @@ subdirectory rather than at the repository root:
```bash
# Correct — `sdk/go/` prefix, matching `module github.com/rmyndharis/OpenWA/sdk/go`
-git tag sdk/go/v0.5.1 && git push origin sdk/go/v0.5.1
+git tag sdk/go/v0.6.0 && git push origin sdk/go/v0.6.0
```
-A bare `v0.5.1` tag is the _app_ version and does nothing for this module.
+A bare `v0.6.0` tag is the _app_ version and does nothing for this module.
Without a prefixed tag, `go get` resolves a pseudo-version
(`v0.0.0-<date>-<commit>`) — usable, but callers cannot pin a release.
@@ -280,7 +280,7 @@ Cutting a release:
## Send idempotency
-The example below requires the unreleased SDK changes on `main`; SDK 0.5.1 does not expose this per-send key argument. The server must also include the send idempotency changes after OpenWA 0.24.0.
+The example below requires SDK 0.6.0 or later and OpenWA 0.25.0 or later. SDK 0.5.1 does not expose this per-send key argument.
Supply a unique caller-owned key for one logical send and reuse it when retrying that same call. Keys contain 1-255 visible ASCII characters; unrelated calls must use different keys. The SDK forwards the key without changing its retry policy or generating one automatically. On the twelve routes below `net/http` may still send a keyed request once more after a dropped keep-alive connection; the gateway deduplicates it, so the call returns the first answer or a `409` `IDEMPOTENCY_KEY_IN_PROGRESS` to retry later with the same key.
diff --git a/sdk/go/options.go b/sdk/go/options.go
index 34ab2d074..39cac7a67 100644
--- a/sdk/go/options.go
+++ b/sdk/go/options.go
@@ -10,7 +10,7 @@ const DefaultTimeout = 30 * time.Second
// DefaultUserAgent is sent on every request unless overridden with
// WithUserAgent or a caller-supplied User-Agent header.
-const DefaultUserAgent = "openwa-go/0.5.1"
+const DefaultUserAgent = "openwa-go/0.6.0"
// config is the resolved, internal configuration assembled from the options.
type config struct {
diff --git a/sdk/java/README.md b/sdk/java/README.md
index 3de21b25f..9c4478be3 100644
--- a/sdk/java/README.md
+++ b/sdk/java/README.md
@@ -1,6 +1,6 @@
# OpenWA Java SDK
-This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.
+This document describes SDK 0.6.0. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name require OpenWA 0.25.0 or later.
Official Java client for [OpenWA](https://github.com/rmyndharis/OpenWA), the
open-source WhatsApp API Gateway. OpenWA is an independent project, not
@@ -19,14 +19,14 @@ Java 17+, one runtime dependency ([Gson](https://github.com/google/gson)).
<dependency>
<groupId>com.rmyndharis</groupId>
<artifactId>openwa</artifactId>
- <version>0.5.1</version>
+ <version>0.6.0</version>
</dependency>
```
**Gradle**
```groovy
-implementation 'com.rmyndharis:openwa:0.5.1'
+implementation 'com.rmyndharis:openwa:0.6.0'
```
## Quickstart
@@ -215,14 +215,14 @@ before tagging rather than tagging to see what happens.
Cutting a release:
1. Bump `<version>` in `pom.xml` and land it on `main`.
-2. Tag that commit `java-sdk-v<version>` (e.g. `java-sdk-v0.5.1`) and push the
+2. Tag that commit `java-sdk-v<version>` (e.g. `java-sdk-v0.6.0`) and push the
tag. The SDK has its own version line — the monorepo's `v*` tags are the app
version and never trigger an SDK publish.
3. The workflow builds, signs, and publishes; Central syncs within a few hours.
## Send idempotency
-The example below requires the unreleased SDK changes on `main`; SDK 0.5.1 does not expose this per-send key argument. The server must also include the send idempotency changes after OpenWA 0.24.0.
+The example below requires SDK 0.6.0 or later and OpenWA 0.25.0 or later. SDK 0.5.1 does not expose this per-send key argument.
Supply a unique caller-owned key for one logical send and reuse it when retrying that same call. Keys contain 1-255 visible ASCII characters; unrelated calls must use different keys. The SDK forwards the key without changing its retry policy or generating one automatically.
diff --git a/sdk/java/pom.xml b/sdk/java/pom.xml
index b5393429d..53156aa18 100644
--- a/sdk/java/pom.xml
+++ b/sdk/java/pom.xml
@@ -6,7 +6,7 @@
<groupId>com.rmyndharis</groupId>
<artifactId>openwa</artifactId>
- <version>0.5.1</version>
+ <version>0.6.0</version>
<packaging>jar</packaging>
<name>OpenWA Java SDK</name>
diff --git a/sdk/javascript/README.md b/sdk/javascript/README.md
index 6b8cf102f..0ea0d0846 100644
--- a/sdk/javascript/README.md
+++ b/sdk/javascript/README.md
@@ -1,6 +1,6 @@
# @rmyndharis/openwa
-This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.
+This document describes SDK 0.6.0. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name require OpenWA 0.25.0 or later.
Official JavaScript/TypeScript SDK for [OpenWA](https://github.com/rmyndharis/OpenWA), the open-source WhatsApp API Gateway. OpenWA is an independent project, not affiliated with or endorsed by WhatsApp or Meta.
@@ -117,7 +117,7 @@ rejects the publish, so configure it first.
Cutting a release:
1. Bump `version` in `package.json` and land it on `main`.
-2. Tag that commit `js-sdk-v<version>` (e.g. `js-sdk-v0.5.1`) and push the tag.
+2. Tag that commit `js-sdk-v<version>` (e.g. `js-sdk-v0.6.0`) and push the tag.
The SDK has its own version line — the monorepo's `v*` tags are the app
version and never trigger an SDK publish.
3. The workflow audits the SDK lockfile (`npm audit --audit-level=high`),
@@ -135,7 +135,7 @@ MIT
## Send idempotency
-The example below requires the unreleased SDK changes on `main`; SDK 0.5.1 does not expose this per-send key argument. The server must also include the send idempotency changes after OpenWA 0.24.0.
+The example below requires SDK 0.6.0 or later and OpenWA 0.25.0 or later. SDK 0.5.1 does not expose this per-send key argument.
Supply a unique caller-owned key for one logical send and reuse it when retrying that same call. Keys contain 1-255 visible ASCII characters; unrelated calls must use different keys. The SDK forwards the key without changing its retry policy or generating one automatically.
diff --git a/sdk/javascript/package-lock.json b/sdk/javascript/package-lock.json
index 5efface5b..bdb108cc1 100644
--- a/sdk/javascript/package-lock.json
+++ b/sdk/javascript/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@rmyndharis/openwa",
- "version": "0.5.1",
+ "version": "0.6.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@rmyndharis/openwa",
- "version": "0.5.1",
+ "version": "0.6.0",
"license": "MIT",
"devDependencies": {
"typescript": "^7.0.2",
diff --git a/sdk/javascript/package.json b/sdk/javascript/package.json
index 4bfafef0b..f71c20b3b 100644
--- a/sdk/javascript/package.json
+++ b/sdk/javascript/package.json
@@ -1,6 +1,6 @@
{
"name": "@rmyndharis/openwa",
- "version": "0.5.1",
+ "version": "0.6.0",
"description": "Official JavaScript/TypeScript SDK for OpenWA, the open-source WhatsApp API Gateway (not affiliated with WhatsApp or Meta)",
"type": "module",
"main": "./dist/cjs/index.js",
diff --git a/sdk/php/README.md b/sdk/php/README.md
index 408665630..72b407ab9 100644
--- a/sdk/php/README.md
+++ b/sdk/php/README.md
@@ -1,6 +1,6 @@
# rmyndharis/openwa
-This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.
+This document describes SDK 0.6.0. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name require OpenWA 0.25.0 or later.
Official PHP SDK for [OpenWA](https://github.com/rmyndharis/OpenWA), the open-source WhatsApp API Gateway. OpenWA is an independent project, not affiliated with or endorsed by WhatsApp or Meta.
@@ -139,7 +139,7 @@ Cutting a release:
1. If the minor line changes, update `extra.branch-alias.dev-main` in
`composer.json` (e.g. `0.1.x-dev` → `0.2.x-dev`) and land it on `main`. The
release workflow refuses to publish when the alias does not match the tag.
-2. Tag that commit `php-sdk-v<version>` (e.g. `php-sdk-v0.5.1`) and push the
+2. Tag that commit `php-sdk-v<version>` (e.g. `php-sdk-v0.6.0`) and push the
tag. The SDK has its own version line — the monorepo's `v*` tags are the app
version and never trigger an SDK release.
3. The workflow runs the test suite, then tags the mirror `<version>` (no `v`
@@ -162,7 +162,7 @@ MIT
## Send idempotency
-The example below requires the unreleased SDK changes on `main`; SDK 0.5.1 does not expose this per-send key argument. The server must also include the send idempotency changes after OpenWA 0.24.0.
+The example below requires SDK 0.6.0 or later and OpenWA 0.25.0 or later. SDK 0.5.1 does not expose this per-send key argument.
Supply a unique caller-owned key for one logical send and reuse it when retrying that same call. Keys contain 1-255 visible ASCII characters; unrelated calls must use different keys. The SDK forwards the key without changing its retry policy or generating one automatically.
diff --git a/sdk/php/composer.json b/sdk/php/composer.json
index f5553b593..b53c60a1f 100644
--- a/sdk/php/composer.json
+++ b/sdk/php/composer.json
@@ -37,7 +37,7 @@
},
"extra": {
"branch-alias": {
- "dev-main": "0.5.x-dev"
+ "dev-main": "0.6.x-dev"
}
}
}
diff --git a/sdk/python/README.md b/sdk/python/README.md
index d2fd25192..713251ba2 100644
--- a/sdk/python/README.md
+++ b/sdk/python/README.md
@@ -1,6 +1,6 @@
# rmyndharis-openwa
-This document describes `main`. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name are unreleased additions after SDK 0.5.1 and require the corresponding server changes after OpenWA 0.24.0.
+This document describes SDK 0.6.0. Send idempotency, webhook failure redrive, message-window filters, poll choices, last-message types, and the `event.response` webhook event name require OpenWA 0.25.0 or later.
Official Python SDK for [OpenWA](https://github.com/rmyndharis/OpenWA), the open-source WhatsApp API Gateway. OpenWA is an independent project, not affiliated with or endorsed by WhatsApp or Meta.
@@ -161,7 +161,7 @@ rejects the upload, so configure it first.
Cutting a release:
1. Bump `version` in `pyproject.toml` and land it on `main`.
-2. Tag that commit `py-sdk-v<version>` (e.g. `py-sdk-v0.5.1`) and push the tag.
+2. Tag that commit `py-sdk-v<version>` (e.g. `py-sdk-v0.6.0`) and push the tag.
The SDK has its own version line — the monorepo's `v*` tags are the app
version and never trigger an SDK publish.
3. The workflow re-runs the test suite, builds the sdist and wheel, and
@@ -173,7 +173,7 @@ MIT
## Send idempotency
-The example below requires the unreleased SDK changes on `main`; SDK 0.5.1 does not expose this per-send key argument. The server must also include the send idempotency changes after OpenWA 0.24.0.
+The example below requires SDK 0.6.0 or later and OpenWA 0.25.0 or later. SDK 0.5.1 does not expose this per-send key argument.
Supply a unique caller-owned key for one logical send and reuse it when retrying that same call. Keys contain 1-255 visible ASCII characters; unrelated calls must use different keys. The SDK forwards the key without changing its retry policy or generating one automatically.
diff --git a/sdk/python/pyproject.toml b/sdk/python/pyproject.toml
index 2cb230184..5bd0c24d5 100644
--- a/sdk/python/pyproject.toml
+++ b/sdk/python/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "rmyndharis-openwa"
-version = "0.5.1"
+version = "0.6.0"
description = "Official Python SDK for OpenWA, the open-source WhatsApp API Gateway (not affiliated with WhatsApp or Meta)"
readme = "README.md"
license = "MIT"