@devries-cameron20 / composio Mirror · read-only / commits / dafe1389b
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.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 12:15 UTC

chore(release): prepare Python 0.22.0 and TypeScript releases (#4563)

This PR: - bumps Python `composio` and all 13 provider packages to `0.22.0` - regenerates `uv.lock` and adds the coordinated Python and TypeScript release changelog - records the manually published `@composio/typesafe@0.1.0` as the repository baseline - replaces the original TypeSafe minor changeset with a patch release for `0.1.1`, so post-publication runtime fixes ship instead of being skipped - keeps the existing Changesets train for `@composio/core@0.19.0`, `@composio/slim@0.19.0`, and provider updates - verifies the release workflow, changesets, all 20 TypeScript package builds, 147 TypeSafe tests, 590 docs static tests, and all 28 Python distributions with Twine

Alberto Schiabel committed Sep 21, 2026 at 23:02 UTC dafe1389b155550259ff983969e9fc7ec1a7544b
34 files changed +98 -45
.changeset/typesafe-jev-provider.md deleted
-5
@@ -1,5 +0,0 @@
1 ----
2 -'@composio/typesafe': minor
3 ----
4 -
5 -Add `@composio/typesafe`, a provider for TypeSafe's Jev model. Jev has no tool calling, so the provider compiles Composio tools into typed questions and `decide` returns a call, a partial call, or an abstention with a confidence. `execute` runs a decision for a user ID or a session and asks for explicit confirmation on destructive tools. `shortlistTools` and `confidenceGate` are companion helpers for other providers.
.changeset/typesafe-post-publish-fixes.md new
+5
@@ -0,0 +1,5 @@
1 +---
2 +'@composio/typesafe': patch
3 +---
4 +
5 +Reject root schema composition that can hide required arguments, require explicitly supplied values for prototype-named arguments, and preserve `__proto__` as caller data during execution.
docs/content/changelog/09-21-26-sdk-releases.mdx new
+46
@@ -0,0 +1,46 @@
1 +---
2 +title: 'Python SDK 0.22.0 and TypeScript SDK 0.19.0 add safer TypeSafe and session workflows'
3 +description: 'TypeSafe support for Python, TypeSafe fixes for TypeScript, session connection helpers, clearer SDK errors, and stricter network safeguards are now available.'
4 +date: '2026-09-21'
5 +---
6 +
7 +Python SDK `0.22.0` adds a TypeSafe provider. TypeScript SDK `0.19.0` improves session and connection workflows, returns clearer errors, and strengthens network safeguards. The accompanying `@composio/typesafe` `0.1.1` release updates the package first published as `0.1.0` on September 17.
8 +
9 +### Release versions
10 +
11 +| SDK | Version |
12 +| ----------------------------------- | -------- |
13 +| Python `composio` | `0.22.0` |
14 +| Python `composio-typesafe` | `0.22.0` |
15 +| TypeScript `@composio/core` | `0.19.0` |
16 +| TypeScript `@composio/slim` | `0.19.0` |
17 +| TypeScript `@composio/typesafe` | `0.1.1` |
18 +| TypeScript `@composio/experimental` | `0.2.5` |
19 +
20 +### TypeSafe support turns Jev decisions into Composio calls
21 +
22 +The new `composio-typesafe` package and the existing `@composio/typesafe` package integrate Composio tools with TypeSafe's Jev model. They compile tools into typed questions, return a complete call, partial call, or abstention with a confidence score, and require explicit confirmation before destructive tool execution.
23 +
24 +You can also shortlist tools before a decision and apply a confidence gate when a workflow needs a minimum judgement score.
25 +
26 +TypeScript `0.1.1` rejects root schema composition that can hide required arguments, requires explicit values for prototype-named arguments, and preserves `__proto__` as caller data during execution.
27 +
28 +### Sessions expose more state and avoid duplicate authorization
29 +
30 +TypeScript sessions now expose the server-returned configuration through `session.config`. `session.update()` returns the updated configuration, and `session.ensureConnected()` reuses an active connection before starting a new authorization flow.
31 +
32 +Python and TypeScript MCP updates now preserve tool-only allowlists, auth config selections, and manual connection-management intent. Python mixed local and remote multi-tool execution also preserves request order and retains completed local results when the remote request fails.
33 +
34 +<Callout>
35 + If you implement the TypeScript `Session` interface yourself, add the required `config` member. Sessions created by the SDK already provide it.
36 +</Callout>
37 +
38 +### Errors are easier to handle
39 +
40 +Tool lookup failures now distinguish a missing tool from authentication, server, and network failures. Trigger subscription setup errors can be handled through a callback instead of escaping asynchronously, and HTTP status errors in Python remain catchable as `ComposioError`.
41 +
42 +### Network safeguards cover redirects and transition ranges
43 +
44 +Both SDKs now apply standard redirect method and body rules, remove credentials on cross-origin redirects, and reject additional IPv4, IPv6, and transition-network ranges. TypeScript also offers a strict SSRF mode for callers that require the connection to stay pinned to the validated address.
45 +
46 +The TypeScript JSON Schema converter rejects invalid or oversized regular-expression patterns with a path-aware error. Provider dependency ranges have also moved to the upstream versions used by the release test matrix.
python/composio/__version__.py
+1 -1
@@ -1 +1 @@
1 -__version__ = "0.21.1"
1 +__version__ = "0.22.0"
python/providers/anthropic/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio-anthropic"
3 -version = "0.21.1"
3 +version = "0.22.0"
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.21.1",
11 + version="0.22.0",
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.21.1"
3 +version = "0.22.0"
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.21.1",
11 + version="0.22.0",
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.21.1"
3 +version = "0.22.0"
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.21.1",
11 + version="0.22.0",
12 author="Composio",
13 author_email="tech@composio.dev",
14 description="Use Composio to get array of tools for Claude Agent SDK",
python/providers/crewai/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio-crewai"
3 -version = "0.21.1"
3 +version = "0.22.0"
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.21.1",
9 + version="0.22.0",
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.21.1"
3 +version = "0.22.0"
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.21.1",
11 + version="0.22.0",
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.21.1"
3 +version = "0.22.0"
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.21.1",
11 + version="0.22.0",
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.21.1"
3 +version = "0.22.0"
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.21.1",
11 + version="0.22.0",
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.21.1"
3 +version = "0.22.0"
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.21.1",
11 + version="0.22.0",
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.21.1"
3 +version = "0.22.0"
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.21.1",
11 + version="0.22.0",
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.21.1"
3 +version = "0.22.0"
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.21.1",
11 + version="0.22.0",
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.21.1"
3 +version = "0.22.0"
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.21.1",
11 + version="0.22.0",
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_agents/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio-openai-agents"
3 -version = "0.21.1"
3 +version = "0.22.0"
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.21.1",
11 + version="0.22.0",
12 author="Composio",
13 author_email="tech@composio.dev",
14 description="Use Composio to get array of strongly typed tools for OpenAI Agents",
python/providers/typesafe/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio-typesafe"
3 -version = "0.21.1"
3 +version = "0.22.0"
4 description = "Use Composio tools with TypeSafe's Jev model: a tool call, a partial call, or an abstention, each with a confidence score."
5 readme = "README.md"
6 requires-python = ">=3.10,<4"
python/providers/typesafe/setup.py
+1 -1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9 setup(
10 name="composio_typesafe",
11 - version="0.21.1",
11 + version="0.22.0",
12 author="Composio",
13 author_email="tech@composio.dev",
14 description="Use Composio tools with TypeSafe's Jev model: a tool call, a partial call, or an abstention, each with a confidence score.",
python/pyproject.toml
+1 -1
@@ -1,6 +1,6 @@
1 [project]
2 name = "composio"
3 -version = "0.21.1"
3 +version = "0.22.0"
4 description = "SDK for integrating Composio with your applications."
5 readme = "README.md"
6 requires-python = ">=3.10,<4"
ts/packages/providers/typesafe/CHANGELOG.md new
+7
@@ -0,0 +1,7 @@
1 +# @composio/typesafe
2 +
3 +## 0.1.0
4 +
5 +### Minor Changes
6 +
7 +- d36048f: Add `@composio/typesafe`, a provider for TypeSafe's Jev model. Jev has no tool calling, so the provider compiles Composio tools into typed questions and `decide` returns a call, a partial call, or an abstention with a confidence. `execute` runs a decision for a user ID or a session and asks for explicit confirmation on destructive tools. `shortlistTools` and `confidenceGate` are companion helpers for other providers.
ts/packages/providers/typesafe/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@composio/typesafe",
3 - "version": "0.0.0",
3 + "version": "0.1.0",
4 "description": "TypeSafe (Jev) Provider for Composio SDK",
5 "main": "src/index.ts",
6 "type": "module",
uv.lock
+11 -11
@@ -786,7 +786,7 @@ wheels = [
786
787 [[package]]
788 name = "composio"
789 -version = "0.21.1"
789 +version = "0.22.0"
790 source = { editable = "python" }
791 dependencies = [
792 { name = "composio-client" },
@@ -851,7 +851,7 @@ dev = [
851
852 [[package]]
853 name = "composio-anthropic"
854 -version = "0.21.1"
854 +version = "0.22.0"
855 source = { editable = "python/providers/anthropic" }
856 dependencies = [
857 { name = "anthropic" },
@@ -883,7 +883,7 @@ wheels = [
883
884 [[package]]
885 name = "composio-crewai"
886 -version = "0.21.1"
886 +version = "0.22.0"
887 source = { editable = "python/providers/crewai" }
888 dependencies = [
889 { name = "composio" },
@@ -898,7 +898,7 @@ requires-dist = [
898
899 [[package]]
900 name = "composio-gemini"
901 -version = "0.21.1"
901 +version = "0.22.0"
902 source = { virtual = "python/providers/gemini" }
903 dependencies = [
904 { name = "composio" },
@@ -913,7 +913,7 @@ requires-dist = [
913
914 [[package]]
915 name = "composio-google"
916 -version = "0.21.1"
916 +version = "0.22.0"
917 source = { editable = "python/providers/google" }
918 dependencies = [
919 { name = "composio" },
@@ -928,7 +928,7 @@ requires-dist = [
928
929 [[package]]
930 name = "composio-google-adk"
931 -version = "0.21.1"
931 +version = "0.22.0"
932 source = { editable = "python/providers/google_adk" }
933 dependencies = [
934 { name = "composio" },
@@ -943,7 +943,7 @@ requires-dist = [
943
944 [[package]]
945 name = "composio-langchain"
946 -version = "0.21.1"
946 +version = "0.22.0"
947 source = { editable = "python/providers/langchain" }
948 dependencies = [
949 { name = "composio" },
@@ -958,7 +958,7 @@ requires-dist = [
958
959 [[package]]
960 name = "composio-openai"
961 -version = "0.21.1"
961 +version = "0.22.0"
962 source = { editable = "python/providers/openai" }
963 dependencies = [
964 { name = "composio" },
@@ -973,7 +973,7 @@ requires-dist = [
973
974 [[package]]
975 name = "composio-openai-agents"
976 -version = "0.21.1"
976 +version = "0.22.0"
977 source = { editable = "python/providers/openai_agents" }
978 dependencies = [
979 { name = "composio" },
@@ -1219,7 +1219,7 @@ name = "exceptiongroup"
1219 version = "1.3.1"
1220 source = { registry = "https://pypi.org/simple" }
1221 dependencies = [
1222 - { name = "typing-extensions", marker = "python_full_version < '3.13'" },
1222 + { name = "typing-extensions", marker = "python_full_version < '3.11'" },
1223 ]
1224 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" }
1225 wheels = [
@@ -2126,7 +2126,7 @@ name = "importlib-metadata"
2126 version = "9.0.1"
2127 source = { registry = "https://pypi.org/simple" }
2128 dependencies = [
2129 - { name = "zipp", marker = "(python_full_version < '3.13' and sys_platform != 'emscripten') or (python_full_version < '3.12' and sys_platform == 'emscripten')" },
2129 + { name = "zipp", marker = "python_full_version < '3.12'" },
2130 ]
2131 sdist = { url = "https://files.pythonhosted.org/packages/6f/7e/1e7e8dc30634b93ebb3d58a3dea569ad146e656218d3960ab04f62047b29/importlib_metadata-9.0.1.tar.gz", hash = "sha256:ab830580bc0ef3db61ce8fae716389e5462b67e033018bab6d8f80ef17172f99", size = 59124, upload-time = "2026-08-28T15:30:34.646Z" }
2132 wheels = [