Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(sdk): name the leading-slash path refusal in the 0.5.0 lists

Yudhi Armyndharisa9ef80714d2c
diff --git a/sdk/README.md b/sdk/README.md
index ef79cb37e..7d3789f16 100644
--- a/sdk/README.md
+++ b/sdk/README.md
@@ -58,7 +58,8 @@ does not recognise to `null` (`MessageType` and `ChatKind` included), and
`SessionStatus`, `DeliveryStatus` and the other response enums that lack an
`unknown` wire value have no `UNKNOWN` constant there.
The refusal of an empty, `.` or `..` id (and, in the JavaScript, Go and Java
-raw-request methods, of a `.` or `..` path segment), the PHP
+raw-request methods, of a `.` or `..` path segment), the refusal by all five
+raw-request methods of a path that does not begin with `/`, the PHP
`sessions->create()` fix that sends an empty `config` as `{}`, the PHP
`allowInsecureHttp` option (0.5.0 always raises an `E_USER_WARNING` for a
non-local `http://` `baseUrl`) and the `null` return of PHP `catalog->info()`
diff --git a/sdk/go/README.md b/sdk/go/README.md
index 60323f786..bbb8f4d84 100644
--- a/sdk/go/README.md
+++ b/sdk/go/README.md
@@ -19,8 +19,9 @@ This README describes `main`. The v0.5.0 release lacks, among other additions,
filter, the `After` and `InlineMedia` fields of `ListMessagesQuery`, the
`Archived`, `Pinned`, `Muted` and `MuteExpiration` fields of `ChatSummary`, the
`Order` and `Product` fields of `ChatHistoryMessage`, the `APIError` fields
-`Code`, `RetryAfter` and `Header` and the refusal of empty and dot ids; they ship
-with the next SDK release. See
+`Code`, `RetryAfter` and `Header`, the refusal of empty and dot ids and the
+refusal of a `Do` path that does not begin with `/`; they ship with the next SDK
+release. See
[the SDK overview](../README.md#coverage).
## Quick start
diff --git a/sdk/javascript/README.md b/sdk/javascript/README.md
index 69f37d8eb..80f69d50f 100644
--- a/sdk/javascript/README.md
+++ b/sdk/javascript/README.md
@@ -18,8 +18,9 @@ filter on `sessions.list`, the `after` and `inlineMedia` keys of the
`messages.list` query, the `archived`, `pinned`, `muted` and `muteExpiration`
fields of `ChatSummary`, the `order` and `product` fields of
`ChatHistoryMessage`, `verifyWebhookSignature`, the `WebhookDelivery` types, the
-`code`, `retryAfterSeconds` and `headers` error fields and the refusal of an
-empty, `.` or `..` id or path segment; they ship with the next SDK release. See
+`code`, `retryAfterSeconds` and `headers` error fields, the refusal of an
+empty, `.` or `..` id or path segment and the refusal of a raw request path
+that does not begin with `/`; they ship with the next SDK release. See
[the SDK overview](../README.md#coverage).
## Usage
diff --git a/sdk/php/README.md b/sdk/php/README.md
index 1b5db737d..41426fd1e 100644
--- a/sdk/php/README.md
+++ b/sdk/php/README.md
@@ -15,7 +15,8 @@ Requires PHP 8.1+ and Guzzle 7. The namespace is `OpenWA\`.
This README describes `main`. The 0.5.0 release lacks `sessions->getProxy`,
`sessions->updateProxy`, `messages->clickButton`, `WebhookSignature::verify`, the
`getErrorCode()`, `getRetryAfterSeconds()` and `getHeaders()` exception methods, the refusal of an
-empty, `.` or `..` id, the `sessions->create()` fix that sends an empty `config` as `{}`, the
+empty, `.` or `..` id, the refusal of a `request()` path that does not begin with `/`, the
+`sessions->create()` fix that sends an empty `config` as `{}`, the
`allowInsecureHttp` option (0.5.0 always raises an `E_USER_WARNING` for a non-local `http://`
`baseUrl`) and the `null` return of `catalog->info()` and `catalog->product()` for a missing catalog
or product (0.5.0 throws a `TypeError`); they
diff --git a/sdk/python/README.md b/sdk/python/README.md
index 1a8962a14..ab908e857 100644
--- a/sdk/python/README.md
+++ b/sdk/python/README.md
@@ -17,8 +17,10 @@ This README describes `main`. The 0.5.0 release lacks, among other additions, `s
type, the `.code`, `.retry_after_seconds` and `.headers` error attributes, the `name` key of
`ListSessionsQuery`, the `after` and `inlineMedia` keys of `ListMessagesQuery`, the `archived`,
`pinned`, `muted` and `muteExpiration` keys of `ChatSummary`, the `order` and `product` keys of
-`ChatHistoryMessage` and the refusal of an empty, `.` or `..` id; they ship with the next SDK
-release. See [the SDK overview](../README.md#coverage).
+`ChatHistoryMessage`, the refusal of an empty, `.` or `..` id and the `ValueError` that
+`client.request` raises for a path that does not begin with `/` (0.5.0 resolves `api/health`
+against the base URL); they ship with the next SDK release. See
+[the SDK overview](../README.md#coverage).
## Usage