Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

next
mdx 34 lines 2.33 KB
Raw
1 ---
2 title: 'Python SDK 0.18.1 and TypeScript SDK 0.14.1 harden uploads and event handling'
3 description: 'Python SDK 0.18.1 and TypeScript SDK 0.14.1 strengthen URL uploads, improve trigger subscription reliability, and fix schema and MIME type handling.'
4 date: '2026-07-30'
5 ---
6
7 Python SDK `composio` `0.18.1` and TypeScript SDK `@composio/core` `0.14.1` strengthen URL upload validation and address reliability issues in file handling, trigger subscriptions, and schema conversion.
8
9 ### SDK versions
10
11 | SDK | Version |
12 | ----------------------------------- | -------- |
13 | Python `composio` | `0.18.1` |
14 | TypeScript `@composio/core` | `0.14.1` |
15 | TypeScript `@composio/slim` | `0.14.1` |
16 | TypeScript `@composio/experimental` | `0.2.1` |
17 | TypeScript `@composio/mastra` | `0.10.3` |
18
19 ### URL upload security
20
21 - Python URL uploads now validate the canonical URL that Requests will connect to. Backslash parser differentials, malformed ports, and destinations that resolve to non-public addresses are rejected before a connection is made.
22 - TypeScript Tool Router session URL uploads now use the SDK's SSRF-safe fetch path, revalidate every redirect target, and stream responses with a 100 MiB limit. Edge runtimes that cannot validate DNS fail closed for URL inputs.
23 - TypeScript path handling on Cloudflare Workers and other edge runtimes now avoids backtracking regular expressions that could hang on long runs of slash characters.
24
25 ### Python reliability and correctness
26
27 - Calling `TriggerSubscription.stop()` from a trigger callback no longer deadlocks. Timed-out subscription attempts also disconnect their websocket instead of leaving a reconnecting background thread behind.
28 - Malformed chunked trigger frames are contained at the callback boundary, so one bad frame no longer tears down an otherwise healthy subscription.
29 - File extensions are matched case-insensitively when inferring MIME types, so names such as `photo.PNG` and `scan.PDF` receive the correct content type.
30 - JSON Schema `allOf` combinations containing an impossible schema remain rejecting through nested objects, arrays, and local definitions instead of being widened to an accepting type.
31
32 ### Dependency updates
33
34 Runtime dependencies across the TypeScript SDK packages and Python core and provider packages have been refreshed.