# SDK release notes

What changed in each version of the Omazy SDK for TypeScript, Python and Go, and what code written for the version before has to do about it.

Source: https://docs.omazy.ai/build-on-omazy/release-notes/

The TypeScript, Python and Go clients share one version number. Changes to the
API itself, which reach every client at once, are on the
[Core API changelog](/reference/core-api/changelog/).

| Version | Date | Install |
|---|---|---|
| `0.5.3` | 2026-11-24 | [Release](https://github.com/omazyai/omazy-sdk/releases/tag/v0.5.3) |
| `0.5.2` | 2026-11-24 | [Release](https://github.com/omazyai/omazy-sdk/releases/tag/v0.5.2) |
| `0.5.1` | 2026-11-24 | [Release](https://github.com/omazyai/omazy-sdk/releases/tag/v0.5.1) |
| `0.5.0` | 2026-11-24 | [Release](https://github.com/omazyai/omazy-sdk/releases/tag/v0.5.0) |
| `0.4.0` | 2026-11-23 | [Release](https://github.com/omazyai/omazy-sdk/releases/tag/v0.4.0) |
| `0.3.0` | 2026-11-20 | [Release](https://github.com/omazyai/omazy-sdk/releases/tag/v0.3.0) |
| `0.2.0` | 2026-11-20 | [Release](https://github.com/omazyai/omazy-sdk/releases/tag/v0.2.0) |
| `0.1.0` | 2026-11-19 | [Release](https://github.com/omazyai/omazy-sdk/releases/tag/v0.1.0) |

## 0.5.3

Usage reports the base cost of each call and its two parts. Every kit is still a preview.

```sh
npm install https://github.com/omazyai/omazy-sdk/releases/download/v0.5.3/omazyai-sdk-0.5.3.tgz
npx https://github.com/omazyai/omazy-sdk/releases/download/v0.5.3/create-omazy-app-0.5.3.tgz my-product
pip install https://github.com/omazyai/omazy-sdk/releases/download/v0.5.3/omazy-0.5.3-py3-none-any.whl
go get github.com/omazyai/omazy-sdk/go@v0.5.3
```

- Usage answers (`usage.get`, the enterprise `usage`) carry `vendor_cost_micros` and `fee_micros`
  next to `cost_micros`. `cost_micros` is the base cost Omazy sets: the vendor's published price
  plus the Omazy service fee on speech. The TypeScript and Go types gain the two fields; Python
  returns them in the same dicts.
- If you bill your own customers, add your margin to `cost_micros`. Keep no copy of vendor
  prices. See [What speech costs](/reference/core-api/speech-and-calls/#what-speech-costs).

### Moving from 0.5.2

Nothing to change. The fields are additive.

## 0.5.2

Fixes from running [Build an AI product in a day](/build-on-omazy/tutorial-ai-product-in-a-day/)
end to end. Every kit is still a preview.

```sh
npm install https://github.com/omazyai/omazy-sdk/releases/download/v0.5.2/omazyai-sdk-0.5.2.tgz
npx https://github.com/omazyai/omazy-sdk/releases/download/v0.5.2/create-omazy-app-0.5.2.tgz my-product
pip install https://github.com/omazyai/omazy-sdk/releases/download/v0.5.2/omazy-0.5.2-py3-none-any.whl
go get github.com/omazyai/omazy-sdk/go@v0.5.2
```

- `create-omazy-app` points `OMAZY_BASE_URL` at `https://mw.omazy.ai/api/v1/core`. Before, it said
  `/api/v1`, and every model call answered 404.
- `actorTools` has a fourth capability, `actor_confirm` (R2). An MCP client submits an actor's
  card through it once the person agrees, so `actor_status` reaches `done` or
  `pending_approval`. A confirm for a card that changed since is refused as stale.
- Adding an actor to `actor_start` is an additive change in the catalog snapshot: its version is
  the number of actors it offers. Removing one is still breaking.
- The `ui` kit sends an approval's step-up code and asks for it: `uiRoutes` takes
  `approvals.codes` and serves `POST <base>/approvals/<id>/code`, `uiClient().approvals.sendCode`
  calls it, and `CodeStepUpForm` from `@omazyai/sdk/ui/react` fills the `stepUp` slot of
  `ApprovalsInbox` and `ApprovalDetail`.
- Every `create-omazy-app` preset wires the guard's `codeStepUp`. Under `wrangler dev` the code
  prints to the console when `.dev.vars` has `STEP_UP_LOG=1`; elsewhere it is refused until you
  wire a mail or SMS sender. With the copilot, the page's approvals inbox asks for the code.
- The generated `npm run setup` builds the page before it touches Cloudflare.
- `fakeCore().on()` documents what it always did: without `{ times }` a rule answers every later
  request it matches.

### Moving from 0.5.1

- The catalog snapshot gains `actor_confirm`, and `actor_start`'s version follows its list of
  actors. Both are additive: accept them with `OMAZY_UPDATE_SNAPSHOTS=1`.
- A tenant isolation check that skips the actor tools should skip `actor_confirm` too.
- A project made with `create-omazy-app` 0.5.1 or earlier: add `/core` to `OMAZY_BASE_URL` in
  `wrangler.jsonc`.

The Python and Go clients are unchanged apart from the version.

## 0.5.1

The fixes from the sixth independent review of the `oauth` kit. Six reviews
are done, the last found nothing high and no unconditional medium, and the
proofs from every review run as regression tests. The kit is still a preview,
like every kit.

A door may open on it under the setup rules on the
[oauth kit page](/build-on-omazy/kits/oauth/): `platformDoors`, a list of known
clients on every platform door, `checkSeat`, a consistent refresh store (the
Durable Object or D1), the rate-limit bindings, and pinned versions.

```sh
npm install https://github.com/omazyai/omazy-sdk/releases/download/v0.5.1/omazyai-sdk-0.5.1.tgz
npx https://github.com/omazyai/omazy-sdk/releases/download/v0.5.1/create-omazy-app-0.5.1.tgz my-product
pip install https://github.com/omazyai/omazy-sdk/releases/download/v0.5.1/omazy-0.5.1-py3-none-any.whl
go get github.com/omazyai/omazy-sdk/go@v0.5.1
```

### Moving from 0.5.0

- `checkSeat` is required at every door, a tenant door too. It also runs on
  every refresh and code exchange; a seat it says is gone revokes the grant.
- `RefreshStore` has five new methods (`indexPut`, `indexDelete`,
  `indexList`, `revokePerson`, `personRevocations`). The kit's own stores
  have them; a custom store must add them.
- On D1, run `applyOAuthD1Migrations` again. The new migration,
  `0003_oauth_person_index`, only adds tables.
- `Keys` takes the refresh store as an optional fifth argument. With it, a
  revoked key is tombstoned and stops at once everywhere, and
  `transferService` refuses a revoked key.
- `signInCodes(kv, { store })` takes the refresh store, so a code is single
  use across locations.
- Every numeric option must be a whole number; `NaN`, `Infinity`, a fraction
  or zero throws at start.
- A tenant door on the KV refresh store warns at start, unless
  `refresh.acceptKvRace` is set.

The Python and Go clients are unchanged apart from the version.

## 0.5.0

The product kits and `create-omazy-app`, as a **preview**: their interfaces may
change before 1.0, so pin the exact version. Nothing in `0.4.0` changed its
name or its shape: code written for it runs unchanged.

:::note[The oauth kit in 0.5.0]
In 0.5.0 the `oauth` kit was still under independent security review, and no
door was to open with it. 0.5.1 finished the review; move to it.
:::

```sh
npm install https://github.com/omazyai/omazy-sdk/releases/download/v0.5.0/omazyai-sdk-0.5.0.tgz
npx https://github.com/omazyai/omazy-sdk/releases/download/v0.5.0/create-omazy-app-0.5.0.tgz my-product
pip install https://github.com/omazyai/omazy-sdk/releases/download/v0.5.0/omazy-0.5.0-py3-none-any.whl
go get github.com/omazyai/omazy-sdk/go@v0.5.0
```

### The kits

TypeScript only, each its own entry point:
[`capabilities`](/build-on-omazy/kits/capabilities/),
[`guard`](/build-on-omazy/kits/guard/), [`mcp`](/build-on-omazy/kits/mcp/),
[`oauth`](/build-on-omazy/kits/oauth/), [`ai`](/build-on-omazy/kits/ai/) and
`ai-sdk`, [`actors`](/build-on-omazy/kits/actors/),
[`flows`](/build-on-omazy/kits/flows/),
[`copilot`](/build-on-omazy/kits/copilot/), [`ui`](/build-on-omazy/kits/ui/)
with `ui/react` and `ui/server`, and [`testing`](/build-on-omazy/kits/testing/).
[`create-omazy-app`](/build-on-omazy/create-omazy-app/) writes a new product
on them, pinned to the same SDK version.

### The clients

- Model roles, tags and cost, and spend caps, in all three clients.
- The response details of one call: `withResponse(fn)` in TypeScript,
  `with_response()` in Python, `omazy.WithResponseInfo(ctx, &info)` in Go. A
  Worker serving requests at once reads its own response, not another's.
- TypeScript: `commit()` and `end()` on a live transcription give up after 30
  seconds; `{ timeoutMs }` changes it.
- Document changes, document deletes and MCP server removal are sent again
  after a 429, a gateway error or a dropped connection.
- The TypeScript package now says Node 20 or later, which is what it already
  needed.

The full list is in the
[changelog](https://github.com/omazyai/omazy-sdk/blob/main/CHANGELOG.md).

## 0.4.0

One workspace per customer, live speech to text, usage and cost, and the
agent's settings and tools from your backend. Nothing in `0.3.0` changed its
name or its shape: code written for it runs unchanged.

```sh
npm install https://github.com/omazyai/omazy-sdk/releases/download/v0.4.0/omazyai-sdk-0.4.0.tgz
pip install https://github.com/omazyai/omazy-sdk/releases/download/v0.4.0/omazy-0.4.0-py3-none-any.whl
go get github.com/omazyai/omazy-sdk/go@v0.4.0
```

### Many customers

- A second client for the Enterprise API: `OmazyEnterprise` in TypeScript and
  Python, `omazy.NewEnterprise` in Go. It takes an account key (`eak_`), not
  an install token.
- Create a customer's workspace with its agent, plan and install, and get that
  customer's token once. Your own id for the customer (`external_id`) makes
  the call safe to repeat.
- List, find by your own id, read, rename, rebrand, suspend, resume, close and
  reopen workspaces.
- Rotate a customer's token with an overlap. Never sent twice by the client.
- `core(token)` gives the Core API client for one customer.
- `usage()` gives usage and cost per workspace across the account.

See [Many customers](/build-on-omazy/many-customers/).

### Live speech to text

- `voice.transcribeStream` (TypeScript), `voice.transcribe_stream` (Python),
  `Voice.TranscribeStream` (Go): a WebSocket session that hears the person
  while they speak. The text is ready a few hundred milliseconds after they
  stop.
- `commit` per utterance, `keepalive` during silence, `end` to finish.
- `terms` on `voice.transcribe`: names and words to expect.

See [Speech](/build-on-omazy/speech/).

### Usage and cost

- `usage.get` (`Usage.Get` in Go): what the workspace used and what it cost,
  per UTC day. Needs the new scope `usage:read`.

### The response cache

- `cache_ttl` on completions: `0` never answers from the cache, `60` to
  `2592000` bounds how long a stored reply may be served.
- `cache_hit` on the result.

### The agent

- `agent.settings.get` and `agent.settings.update`: the model, the reply cap,
  the temperature and the loop switches. New scope `agent:configure`.
- `agent.mcpServers` (`agent.mcp_servers` in Python): connect and manage the
  MCP tool servers the agent calls. New scope `agent:tools`.
- `agent.stream`: an agent turn as a stream, and `context` on a turn.

### What to do when upgrading

- **New scopes need new tokens.** Scopes are fixed when a token is made. A
  token made before this release does not hold `usage:read`,
  `agent:configure` or `agent:tools`. Make a new one with the scopes you need.
- **TypeScript:** `StreamEvent` now takes the result type, for
  `agent.stream`. `StreamEvent` on its own still means a completion's events.

## 0.3.0

Idempotency keys. Nothing in `0.2.0` changed.

- A request that changes something takes an idempotency key, and the client
  then retries it like a read: `{ idempotencyKey }` in TypeScript,
  `idempotency_key=` in Python, `omazy.WithIdempotencyKey(ctx, key)` in Go.
- `last.replayed` says an answer was a replay.
- `whoami` reports the plan's voice minutes.
- The error of a failed stream carries the API's own code.
- Fixed: a voice job in a workspace with more than one app ran on the
  default app.

## 0.2.0

Knowledge documents. Nothing in `0.1.0` changed.

- Read and write the knowledge base: documents, file upload, crawl sources,
  and export of what changed since a version.
- The `kb.updated` event is typed in TypeScript.
- Fixed: the voice job kinds are `transcribe` and `meeting_notes`.

## 0.1.0

First release: every Core API route, the Core API's MCP server, one error
type, retries on safe routes, response details in `last`, signature
verification, and `@omazyai/sdk/server` for TypeScript.
