Skip to content

Releases

Python SDK 0.0.3

Choose a tag to compare

@Mahmoud-Mohsen-Mokhtar Mahmoud-Mohsen-Mokhtar released this 23 Nov 15:54
bcbe67b

Fixes webhook verification, which rejected every real delivery. Upgrade before you rely on webhooks.verify: pip install -U echonova

  • webhooks.verify checks Standard Webhooks v1 signatures, which EchoNova has sent since 2026-11-10:

    • the headers are webhook-id, webhook-timestamp and webhook-signature;
    • each signature is an HMAC-SHA256 of {id}.{timestamp}.{body}, keyed with the base64-decoded secret;
    • the webhook-signature header carries one v1, entry per active secret.

    0.0.2 expected the old X-Webhook-Timestamp and X-Webhook-Signature headers, and failed with the reason headers.

  • A delivery is valid when any of its signatures matches any of your secrets, so a secret rotation in the portal works with only the new secret.

  • Secrets decode from either base64 alphabet, with or without the whsec_ prefix. A secret that isn't base64 raises ValueError.

  • Breaking: every event has a webhook_id, and dedupe_key is now that ID instead of a key built from the body. It stays the same when a delivery is retried. UnknownEvent has one too.

  • Docs: the Arabic sample text spells the brand إيكونوڤا.

Dart / Flutter SDK 0.0.3

Choose a tag to compare

@Mahmoud-Mohsen-Mokhtar Mahmoud-Mohsen-Mokhtar released this 23 Nov 15:54
bcbe67b

Fixes webhook verification, which rejected every real delivery. Upgrade before you rely on verifyWebhook: dart pub add echonova_ai:^0.0.3 (a ^0.0.2 constraint doesn't allow 0.0.3)

  • verifyWebhook verifies Standard Webhooks v1 signatures, as EchoNova has sent them since 2026-11-10: the webhook-id, webhook-timestamp and webhook-signature headers, an HMAC-SHA256 of {id}.{timestamp}.{body} keyed with the base64-decoded secret, and one v1, entry per active secret. 0.0.2 expected the old X-Webhook-Timestamp and X-Webhook-Signature headers and failed with the reason headers.
  • A delivery is valid when any of its signatures matches any of your secrets, so a secret rotation in the portal works with only the new secret.
  • Secrets decode from either base64 alphabet, with or without the whsec_ prefix. A secret that isn't base64 throws ArgumentError.
  • Breaking: every event has a webhookId, and dedupeKey is now that ID instead of a key built from the body. It stays the same when a delivery is retried. UnknownWebhookEvent has one too.

Python SDK 0.0.2

Choose a tag to compare

@Mahmoud-Mohsen-Mokhtar Mahmoud-Mohsen-Mokhtar released this 22 Nov 20:20
ee71ed1

Security fixes. Upgrading is recommended: pip install -U echonova

Webhooks (webhooks.verify)

  • A delivery's body must match its event. The signature doesn't cover the X-Webhook-Event header, so a signed delivery could otherwise be replayed under another event name:
    • a job.completed must carry its result (audioUrl for Text to Speech, transcription for Speech to Text);
    • a job.failed must not carry one;
    • the spending events must carry finite creditsUsed and creditLimit. spending.warning and spending.exhausted share a body shape, so one can still be relabelled as the other until the API signs the event name.
  • A timestamp header longer than 15 characters is refused before it is parsed.

Keys and proxy mode

  • with_options() no longer carries a key read from ECHONOVA_API_KEY into a copy that adds an auth hook, even through chains of copies, so the key can't reach your proxy by accident. A key passed explicitly is kept.
  • A stream handshake never follows a redirect, so the API key and auth hook headers can't reach another host.
  • repr() and error messages leave out user info in URLs and the query string of signed links.
  • WidgetTicket.ticket is a secret: it is hidden in repr() and str(), and widgets.create_ticket never copies its body into an error.
  • A warning is logged when auth hook headers would go over plain http to a host other than this machine.

Requests and downloads

  • A path ID of "", . or .. raises UsageError before any request is sent.
  • A downloaded file's name always stays inside the target directory.
  • At most 64 KiB of an error response's body is read.

TypeScript / JavaScript SDK 0.0.2

Choose a tag to compare

@Mahmoud-Mohsen-Mokhtar Mahmoud-Mohsen-Mokhtar released this 23 Nov 15:42
e7fa8f7

Security fixes. Upgrading is recommended: npm install @echonova/ai@latest

Webhooks (verifyWebhook)

  • A delivery's body must match its event. The signature doesn't cover the X-Webhook-Event header, so a signed delivery could otherwise be replayed under another event name:
    • a job.completed must carry its result (audioUrl or transcription);
    • a job.failed must not carry one;
    • the spending events must carry finite creditsUsed and creditLimit. spending.warning and spending.exhausted share a body shape, so one can still be relabelled as the other until the API signs the event name.
  • A long timestamp header is refused before it is parsed.
  • Whitespace is trimmed in linear time; this runs before the signature check.

Keys and proxy mode

  • withOptions() no longer carries a key read from ECHONOVA_API_KEY into a copy that adds an auth hook, even through chains of copies, so the key can't reach your proxy by accident. A key passed explicitly is kept.
  • React Native counts as a browser for the API key guard (dangerouslyAllowBrowser).
  • A warning is logged when credentials would go to a plain http base URL on a host other than this machine.

Retries

  • A paid POST without an idempotency key is sent again after a TLS error only for certificate errors, a host name mismatch or a handshake timeout. Before, any ERR_TLS_* or ERR_SSL_* error counted as "never connected", although on a reused HTTP/2 connection the request may already have gone out.

Requests and downloads

  • A path ID of "", . or .. throws before any request is sent.
  • A downloaded file's name always stays inside the target directory.
  • At most 64 KiB of an error response's body is read.

Dart / Flutter SDK 0.0.2

Choose a tag to compare

@Mahmoud-Mohsen-Mokhtar Mahmoud-Mohsen-Mokhtar released this 22 Nov 20:20
ee71ed1

Security fixes. Upgrading is recommended: dart pub add echonova_ai:^0.0.2 (a ^0.0.1 constraint doesn't allow 0.0.2)

  • verifyWebhook checks that a delivery's body matches its event. The signature doesn't cover the X-Webhook-Event header, so a signed delivery could otherwise be replayed under another event name:
    • a job.completed must carry its result (audioUrl or transcription);
    • a job.failed must not carry one;
    • spending.warning and spending.exhausted must carry finite creditsUsed and creditLimit. These two events share a body shape, so one can still be relabelled as the other until the API signs the event name.
  • verifyWebhook refuses a timestamp header longer than 15 characters before parsing it.
  • A path ID of . or .. throws UsageException before any request is sent, like an empty one.
  • When downloadTo is given a directory, it names the file download if the link's file name contains : or a control character.
  • A plain http base URL to a host other than this machine logs a warning once, because the API key or auth headers would cross the network unencrypted.
  • At most 64 KiB of an error response's body is read.
  • The httpClient documentation says that streams don't use it: they open their own connection with the platform's proxy and certificate settings.