1
---
2
-title: 'Python SDK 0.23.0 and TypeScript SDK 0.20.0 move to the Composio-owned client'
3
-description: 'Both SDKs now use the Composio-owned 2.0.0-rc.8 client and add webhook, logs, keyring, usage, custom toolkit, connected account, toolkit, and session APIs.'
2
+title: 'Python SDK 0.23.0 and TypeScript SDK 0.20.0 add a faster API client'
3
+description: 'Both SDKs now use a faster handrolled client, expose more v3.1 APIs, and tighten authentication and session updates.'
4
date: '2026-09-22'
5
---
6
7
-Python SDK `0.23.0` and TypeScript SDK `0.20.0` replace the frozen generated client with the Composio-owned client (`composio-client` `2.0.0rc8` and `@composio/client` `2.0.0-rc.8`). The TypeScript APIs shipped first in the `1.0.0` betas. The Python `2.0.0b0` beta only swapped the client, so `0.23.0` is the first Python release with these APIs. Both are now part of the stable release line.
7
+Python SDK `0.23.0` and TypeScript SDK `0.20.0` replace the old autogenerated client with a new handrolled one. Its lightweight HTTP transport is substantially faster while preserving the SDK APIs you already use. The client also covers more of Composio's v3.1 API.
8
9
### Release versions
10
14
| TypeScript `@composio/core` | `0.20.0` |
15
| TypeScript `@composio/slim` | `0.20.0` |
16
17
-### Owned client
17
+### Faster API requests
18
19
-The owned client covers the released v3.1 operations while preserving the SDK's existing imports, types, retries, timeouts, error classes, raw responses, streaming responses, and `AbortSignal` support.
19
+The new client reduces request overhead without changing existing imports, types, retries, timeouts, error classes, raw responses, streaming responses, or `AbortSignal` support. TypeScript users also get configurable SDK logging through `logger` and `logLevel`; Python routes client deprecations through `ComposioDeprecationWarning`.
20
21
-### What's new
21
+### More of the Composio API
22
23
- Project webhooks (`webhooks.subscriptions` and `webhooks.endpoints`), tool execution logs, customer-managed keyring transfer keys, experimental usage metering, and experimental project-owned custom toolkits.
24
- Connected account revocation and deferred OAuth completion.
25
- Toolkit bulk retrieval, changelogs, OAuth scope recommendations, and grant contexts. Toolkit auth details now include each field's end-user visibility and the scopes an auth method always requests.
26
- Tool Router session configuration history through `session.listConfigHistory()` in TypeScript and `session.list_config_history()` in Python.
27
-- `userApiKey` and `orgApiKey` in TypeScript, and `user_api_key` and `org_api_key` in Python, for user- and organization-scoped operations. A project API key is still required.
28
-- Configurable SDK logging with redacted output. TypeScript routes owned-client deprecation warnings through the SDK logger, and Python raises them as `ComposioDeprecationWarning`.
27
+- `userApiKey` and `orgApiKey` in TypeScript, and `user_api_key` and `org_api_key` in Python, for user- and organization-scoped operations.
28
+
29
+### Safer authentication and session updates
30
+
31
+You can now authenticate without a project key by setting `apiKey: null` in TypeScript or `disable_api_key=True` in Python, then supplying a user or organization API key. Consumer requests can be scoped with `orgId` and `projectId` in TypeScript or `org_id` and `project_id` in Python.
32
+
33
+Session MCP configuration exports only the credential and project scope used for the session request, and only when the MCP URL has the same origin as the configured Composio API. `session.update()` now uses the session's last observed config version by default. Concurrent writes raise a typed conflict instead of silently overwriting a newer configuration, and nullable policy fields can remove stored overrides.
34
+
35
+<Callout type="warn">
36
+ **Migration note**
37
+
38
+ In TypeScript, `apiKey: null` now explicitly disables project-key fallbacks. If you want the SDK
39
+ to fall back to `COMPOSIO_API_KEY` or the CLI config when an environment variable is missing, pass
40
+ `undefined` or omit `apiKey` instead:
41
+
42
+ ```typescript
43
+ import { Composio } from '@composio/core';
44
+
45
+ const composio = new Composio({
46
+ apiKey: process.env.COMPOSIO_API_KEY,
47
+ });
48
+ ```
49
+
50
+ Session updates now reject stale writes with `ComposioSessionConfigConflictError` in TypeScript
51
+ or `SessionConfigConflictError` in Python. Re-fetch the session and retry, or pass
52
+ `expectedConfigVersion: false` (`expected_config_version=False` in Python) when you explicitly
53
+ need last-writer-wins behavior.
54
+</Callout>
55
56
<Callout>
57
`connectedAccounts.refresh()` is deprecated because the API deprecated its endpoint. The API also