@devries-cameron20 / composio-1 / commits / 0ae443bec
Fork 0

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

chore(sdk): prepare Python 0.18.1 and TypeScript 0.14.1 releases (#3988)

This PR: - prepares Python SDK core and provider packages for `0.18.1`, including runtime and lockfile metadata - adds the canonical combined changelog for Python `0.18.1` and the TypeScript releases tracked by https://github.com/ComposioHQ/composio/pull/3906 - documents `@composio/core` `0.14.1` so the generated release PR passes the release-workflow guard - refreshes `mise.lock` so the TypeScript audit workflow reaches the dependency audit - keeps the pending TypeScript Changesets untouched; the generated release PR remains responsible for npm versioning and publication - validates Python with Ruff/mypy, 944 tests, all 13 package builds, and `twine check` - validates TypeScript/docs with the full 26-task `pnpm test`, high-severity production audit, 100 docs static tests, link checks, docs typecheck, and production build

Alberto Schiabel committed Jul 30, 2026 at 16:03 UTC 0ae443becec95029681f3c24825de57a1a215bb2
31 files changed +95 -57
docs/content/changelog/07-30-26-sdk-patch-releases.mdx new
+34
@@ -0,0 +1,34 @@
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.
mise.lock
+12 -8
@@ -89,23 +89,23 @@ version = "3.12.13"
89 backend = "core:python"
90
91 [tools.python."platforms.linux-arm64"]
92 -checksum = "sha256:f226576b91491ffa5739aa85726521e9031f4d87f80627d64ed348ac77cb31e9"
93 -url = "https://github.com/astral-sh/python-build-standalone/releases/download/20260718/cpython-3.12.13+20260718-aarch64-unknown-linux-gnu-install_only_stripped.tar.gz"
92 +checksum = "sha256:e125d3e75034fe75d49ae8577b53758b0bb7d7817fadde2c020ad2cf7afe64c4"
93 +url = "https://github.com/astral-sh/python-build-standalone/releases/download/20260728/cpython-3.12.13+20260728-aarch64-unknown-linux-gnu-install_only_stripped.tar.gz"
94 provenance = "github-attestations"
95
96 [tools.python."platforms.linux-x64"]
97 -checksum = "sha256:5854aa6ec71cad00334d5065633c210b2e7feb40956767a59a91791cadcf0b79"
98 -url = "https://github.com/astral-sh/python-build-standalone/releases/download/20260718/cpython-3.12.13+20260718-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz"
97 +checksum = "sha256:7ceaf4360f4b4ab44f31d8217cfdc70df8e12b61d9561b4900ee7af87176e50d"
98 +url = "https://github.com/astral-sh/python-build-standalone/releases/download/20260728/cpython-3.12.13+20260728-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz"
99 provenance = "github-attestations"
100
101 [tools.python."platforms.macos-arm64"]
102 -checksum = "sha256:9a1e9e06175c10efd8378b904b07fa21bd791ab3345d7cdffeb4a76c9ff55903"
103 -url = "https://github.com/astral-sh/python-build-standalone/releases/download/20260718/cpython-3.12.13+20260718-aarch64-apple-darwin-install_only_stripped.tar.gz"
102 +checksum = "sha256:2f18cdef4125ca1440dd1ba00ebcb267526efb532138c0860438f755ea4eebac"
103 +url = "https://github.com/astral-sh/python-build-standalone/releases/download/20260728/cpython-3.12.13+20260728-aarch64-apple-darwin-install_only_stripped.tar.gz"
104 provenance = "github-attestations"
105
106 [tools.python."platforms.macos-x64"]
107 -checksum = "sha256:8e6b7e6533bdf746287008edf91102e7bee0a6ca1d24f16c4514237cafd706c5"
108 -url = "https://github.com/astral-sh/python-build-standalone/releases/download/20260718/cpython-3.12.13+20260718-x86_64-apple-darwin-install_only_stripped.tar.gz"
107 +checksum = "sha256:e654c21d0ba53e2c671868d4112fac5874deca4c35226d36c5cfe53bc5c9cd71"
108 +url = "https://github.com/astral-sh/python-build-standalone/releases/download/20260728/cpython-3.12.13+20260728-x86_64-apple-darwin-install_only_stripped.tar.gz"
109 provenance = "github-attestations"
110
111 [[tools.uv]]
@@ -115,15 +115,19 @@ backend = "aqua:astral-sh/uv"
115 [tools.uv."platforms.linux-arm64"]
116 checksum = "sha256:87925376fa1e59de23582e1cbd81d6aabd16611e871ad085e09be2c2fa12689d"
117 url = "https://github.com/astral-sh/uv/releases/download/0.8.19/uv-aarch64-unknown-linux-musl.tar.gz"
118 +url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/295160192"
119
120 [tools.uv."platforms.linux-x64"]
121 checksum = "sha256:6a37f712ae90c7b8cf364fe751144d7acc2479d6b336378111e74cc7fb14fa7b"
122 url = "https://github.com/astral-sh/uv/releases/download/0.8.19/uv-x86_64-unknown-linux-musl.tar.gz"
123 +url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/295160235"
124
125 [tools.uv."platforms.macos-arm64"]
126 checksum = "sha256:bb63d43c40a301d889a985223ee8ce540be199e98b3f27ed8477823869a0a605"
127 url = "https://github.com/astral-sh/uv/releases/download/0.8.19/uv-aarch64-apple-darwin.tar.gz"
128 +url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/295160180"
129
130 [tools.uv."platforms.macos-x64"]
131 checksum = "sha256:b5f91770e55761b32c9618757ef23ded6671bb9ca0ddf5737eea60dddd493fe9"
132 url = "https://github.com/astral-sh/uv/releases/download/0.8.19/uv-x86_64-apple-darwin.tar.gz"
133 +url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/295160227"
python/composio/__version__.py
+1 -1
@@ -1 +1 @@
1 -__version__ = "0.18.0"
1 +__version__ = "0.18.1"
python/providers/anthropic/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio-anthropic"
3 -version = "0.18.0"
3 +version = "0.18.1"
4 description = "Use Composio to get an array of tools with your Anthropic LLMs."
5 readme = "README.md"
6 requires-python = ">=3.10,<4"
python/providers/anthropic/setup.py
+1 -1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9 setup(
10 name="composio_anthropic",
11 - version="0.18.0",
11 + version="0.18.1",
12 author="Composio",
13 author_email="tech@composio.dev",
14 description="Use Composio to get an array of tools with your Anthropic LLMs.",
python/providers/autogen/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio-autogen"
3 -version = "0.18.0"
3 +version = "0.18.1"
4 description = "Use Composio to get an array of tools with your autogen agent."
5 readme = "README.md"
6 requires-python = ">=3.10,<4"
python/providers/autogen/setup.py
+1 -1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9 setup(
10 name="composio_autogen",
11 - version="0.18.0",
11 + version="0.18.1",
12 author="Composio",
13 author_email="tech@composio.dev",
14 description="Use Composio to get an array of tools with your Autogen agent.",
python/providers/claude_agent_sdk/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio-claude-agent-sdk"
3 -version = "0.18.0"
3 +version = "0.18.1"
4 description = "Use Composio to get an array of tools with Claude Code Agents SDK."
5 readme = "README.md"
6 requires-python = ">=3.10,<4"
python/providers/claude_agent_sdk/setup.py
+1 -1
@@ -8,7 +8,7 @@ from setuptools import find_packages, setup
8
9 setup(
10 name="composio_claude_agent_sdk",
11 - version="0.18.0",
11 + version="0.18.1",
12 author="Composio",
13 author_email="tech@composio.dev",
14 description="Use Composio to get array of tools for Claude Agent SDK",
python/providers/claude_agent_sdk/uv.lock
+2 -2
@@ -307,7 +307,7 @@ wheels = [
307
308 [[package]]
309 name = "composio-claude-agent-sdk"
310 -version = "0.18.0"
310 +version = "0.18.1"
311 source = { virtual = "." }
312 dependencies = [
313 { name = "claude-agent-sdk" },
@@ -408,7 +408,7 @@ name = "exceptiongroup"
408 version = "1.3.1"
409 source = { registry = "https://pypi.org/simple" }
410 dependencies = [
411 - { name = "typing-extensions", marker = "python_full_version < '3.13'" },
411 + { name = "typing-extensions", marker = "python_full_version < '3.11'" },
412 ]
413 sdist = { url = "https://files.pythonhosted.org/packages/50/79/66800aadf48771f6b62f7eb014e352e5d06856655206165d775e675a02c9/exceptiongroup-1.3.1.tar.gz", hash = "sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219", size = 30371, upload-time = "2025-11-21T23:01:54.787Z" }
414 wheels = [
python/providers/crewai/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio-crewai"
3 -version = "0.18.0"
3 +version = "0.18.1"
4 description = "Use Composio to get an array of tools with your CrewAI agent."
5 readme = "README.md"
6 requires-python = ">=3.10,<4"
python/providers/crewai/setup.py
+1 -1
@@ -6,7 +6,7 @@ from setuptools import setup
6
7 setup(
8 name="composio_crewai",
9 - version="0.18.0",
9 + version="0.18.1",
10 author="Composio",
11 author_email="tech@composio.dev",
12 description="Use Composio to get an array of tools with your CrewAI agent.",
python/providers/gemini/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio-gemini"
3 -version = "0.18.0"
3 +version = "0.18.1"
4 description = "Use Composio to get an array of tools with your Gemini agent."
5 readme = "README.md"
6 requires-python = ">=3.10,<4"
python/providers/gemini/setup.py
+1 -1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9 setup(
10 name="composio_gemini",
11 - version="0.18.0",
11 + version="0.18.1",
12 author="Composio",
13 author_email="tech@composio.dev",
14 description="Use Composio to get an array of tools with your Gemini agent.",
python/providers/google/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio-google"
3 -version = "0.18.0"
3 +version = "0.18.1"
4 description = "Use Composio to get an array of tools with your Google AI Python Gemini model."
5 readme = "README.md"
6 requires-python = ">=3.10,<4"
python/providers/google/setup.py
+1 -1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9 setup(
10 name="composio_google",
11 - version="0.18.0",
11 + version="0.18.1",
12 author="Composio",
13 author_email="tech@composio.dev",
14 description="Use Composio to get an array of tools with your Google AI Python Gemini model.",
python/providers/google_adk/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio-google-adk"
3 -version = "0.18.0"
3 +version = "0.18.1"
4 description = "Use Composio to get an array of tools with your Google AI Python Gemini model."
5 readme = "README.md"
6 requires-python = ">=3.10,<4"
python/providers/google_adk/setup.py
+1 -1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9 setup(
10 name="composio_google_adk",
11 - version="0.18.0",
11 + version="0.18.1",
12 author="Composio",
13 author_email="tech@composio.dev",
14 description="Use Composio to get an array of tools with your Google AI Python Gemini model.",
python/providers/langchain/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio-langchain"
3 -version = "0.18.0"
3 +version = "0.18.1"
4 description = "Use Composio to get an array of tools with your Langchain agent."
5 readme = "README.md"
6 requires-python = ">=3.10,<4"
python/providers/langchain/setup.py
+1 -1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9 setup(
10 name="composio_langchain",
11 - version="0.18.0",
11 + version="0.18.1",
12 author="composio",
13 author_email="tech@composio.dev",
14 description="Use Composio to get an array of tools with your Langchain agent.",
python/providers/langgraph/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio-langgraph"
3 -version = "0.18.0"
3 +version = "0.18.1"
4 description = "Use Composio to get array of tools with LangGraph Agent Workflows."
5 readme = "README.md"
6 requires-python = ">=3.10,<4"
python/providers/langgraph/setup.py
+1 -1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9 setup(
10 name="composio_langgraph",
11 - version="0.18.0",
11 + version="0.18.1",
12 author="composio",
13 author_email="tech@composio.dev",
14 description="Use Composio to get array of tools with LangGraph Agent Workflows",
python/providers/llamaindex/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio-llamaindex"
3 -version = "0.18.0"
3 +version = "0.18.1"
4 description = "Use Composio to get array of tools with LlamaIndex Agent Workflows."
5 readme = "README.md"
6 requires-python = ">=3.10,<4"
python/providers/llamaindex/setup.py
+1 -1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9 setup(
10 name="composio_llamaindex",
11 - version="0.18.0",
11 + version="0.18.1",
12 author="composio",
13 author_email="tech@composio.dev",
14 description="Use Composio to get array of tools with LlamaIndex Agent Workflows",
python/providers/openai/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio-openai"
3 -version = "0.18.0"
3 +version = "0.18.1"
4 description = "Use Composio to get an array of tools with your OpenAI Function Call."
5 readme = "README.md"
6 requires-python = ">=3.10,<4"
python/providers/openai/setup.py
+1 -1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9 setup(
10 name="composio_openai",
11 - version="0.18.0",
11 + version="0.18.1",
12 author="Composio",
13 author_email="tech@composio.dev",
14 description="Use Composio to get an array of tools with your OpenAI Function Call.",
python/providers/openai/uv.lock
+1 -1
@@ -166,7 +166,7 @@ wheels = [
166
167 [[package]]
168 name = "composio-openai"
169 -version = "0.18.0"
169 +version = "0.18.1"
170 source = { virtual = "." }
171 dependencies = [
172 { name = "composio" },
python/providers/openai_agents/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio-openai-agents"
3 -version = "0.18.0"
3 +version = "0.18.1"
4 description = "Use Composio to get array of strongly typed tools for OpenAI Agents"
5 readme = "README.md"
6 requires-python = ">=3.10,<4"
python/providers/openai_agents/setup.py
+1 -1
@@ -8,7 +8,7 @@ from setuptools import find_packages, setup
8
9 setup(
10 name="composio_openai_agents",
11 - version="0.18.0",
11 + version="0.18.1",
12 author="Composio",
13 author_email="tech@composio.dev",
14 description="Use Composio to get array of strongly typed tools for OpenAI Agents",
python/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio"
3 -version = "0.18.0"
3 +version = "0.18.1"
4 description = "SDK for integrating Composio with your applications."
5 readme = "README.md"
6 requires-python = ">=3.10,<4"
uv.lock
+20 -20
@@ -1,5 +1,5 @@
1 version = 1
2 -revision = 2
2 +revision = 3
3 requires-python = ">=3.10, <4"
4 resolution-markers = [
5 "python_full_version >= '3.14' and sys_platform == 'win32'",
@@ -25,7 +25,7 @@ members = [
25 ]
26
27 [manifest.dependency-groups]
28 -dev = [{ name = "composio", virtual = "python" }]
28 +dev = [{ name = "composio", editable = "python" }]
29
30 [[package]]
31 name = "aiofiles"
@@ -714,8 +714,8 @@ wheels = [
714
715 [[package]]
716 name = "composio"
717 -version = "0.18.0"
718 -source = { virtual = "python" }
717 +version = "0.18.1"
718 +source = { editable = "python" }
719 dependencies = [
720 { name = "composio-client" },
721 { name = "json-schema-to-pydantic" },
@@ -755,7 +755,7 @@ requires-dist = [
755 [package.metadata.requires-dev]
756 dev = [
757 { name = "click", specifier = ">=8.4.2" },
758 - { name = "composio", virtual = "python" },
758 + { name = "composio", editable = "python" },
759 { name = "fastapi", specifier = ">=0.140.0" },
760 { name = "langchain-openai", specifier = "==1.4.1" },
761 { name = "nox", specifier = ">=2026.7.11" },
@@ -771,8 +771,8 @@ dev = [
771
772 [[package]]
773 name = "composio-anthropic"
774 -version = "0.18.0"
775 -source = { virtual = "python/providers/anthropic" }
774 +version = "0.18.1"
775 +source = { editable = "python/providers/anthropic" }
776 dependencies = [
777 { name = "anthropic" },
778 { name = "composio" },
@@ -803,8 +803,8 @@ wheels = [
803
804 [[package]]
805 name = "composio-crewai"
806 -version = "0.18.0"
807 -source = { virtual = "python/providers/crewai" }
806 +version = "0.18.1"
807 +source = { editable = "python/providers/crewai" }
808 dependencies = [
809 { name = "composio" },
810 { name = "crewai" },
@@ -818,7 +818,7 @@ requires-dist = [
818
819 [[package]]
820 name = "composio-gemini"
821 -version = "0.18.0"
821 +version = "0.18.1"
822 source = { virtual = "python/providers/gemini" }
823 dependencies = [
824 { name = "composio" },
@@ -833,8 +833,8 @@ requires-dist = [
833
834 [[package]]
835 name = "composio-google"
836 -version = "0.18.0"
837 -source = { virtual = "python/providers/google" }
836 +version = "0.18.1"
837 +source = { editable = "python/providers/google" }
838 dependencies = [
839 { name = "composio" },
840 { name = "google-cloud-aiplatform" },
@@ -848,8 +848,8 @@ requires-dist = [
848
849 [[package]]
850 name = "composio-google-adk"
851 -version = "0.18.0"
852 -source = { virtual = "python/providers/google_adk" }
851 +version = "0.18.1"
852 +source = { editable = "python/providers/google_adk" }
853 dependencies = [
854 { name = "composio" },
855 { name = "google-adk" },
@@ -863,8 +863,8 @@ requires-dist = [
863
864 [[package]]
865 name = "composio-langchain"
866 -version = "0.18.0"
867 -source = { virtual = "python/providers/langchain" }
866 +version = "0.18.1"
867 +source = { editable = "python/providers/langchain" }
868 dependencies = [
869 { name = "composio" },
870 { name = "langchain" },
@@ -878,8 +878,8 @@ requires-dist = [
878
879 [[package]]
880 name = "composio-openai"
881 -version = "0.18.0"
882 -source = { virtual = "python/providers/openai" }
881 +version = "0.18.1"
882 +source = { editable = "python/providers/openai" }
883 dependencies = [
884 { name = "composio" },
885 { name = "openai" },
@@ -893,8 +893,8 @@ requires-dist = [
893
894 [[package]]
895 name = "composio-openai-agents"
896 -version = "0.18.0"
897 -source = { virtual = "python/providers/openai_agents" }
896 +version = "0.18.1"
897 +source = { editable = "python/providers/openai_agents" }
898 dependencies = [
899 { name = "composio" },
900 { name = "openai-agents" },