From d28cfa207e8e60d9ae8e216bae6b7038b227faab Mon Sep 17 00:00:00 2001 From: "Claude (Carey Janecka)" Date: Sat, 17 Oct 2026 19:11:36 -0700 Subject: [PATCH 1/2] build: require Python 3.10 and pin the sibling package floors The generated client uses a PEP 604 union that Python 3.9 evaluates at import time, so import turnkey_http raised TypeError there while the metadata claimed 3.8 support. The three packages now require 3.10. turnkey-http also pins turnkey-sdk-types>=0.2.0 and turnkey-api-key-stamper>=0.1.1 so a resolver cannot pair it with the old types. Co-Authored-By: Claude Fable 5.1 --- .changeset/python-310-floor-http.yml | 4 ++++ .changeset/python-310-floor.yml | 4 ++++ packages/api-key-stamper/pyproject.toml | 4 +--- packages/http/pyproject.toml | 8 +++----- packages/sdk-types/pyproject.toml | 4 +--- 5 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 .changeset/python-310-floor-http.yml create mode 100644 .changeset/python-310-floor.yml diff --git a/.changeset/python-310-floor-http.yml b/.changeset/python-310-floor-http.yml new file mode 100644 index 0000000..be71d9d --- /dev/null +++ b/.changeset/python-310-floor-http.yml @@ -0,0 +1,4 @@ +type: patch +packages: [ http, sdk-types ] +changelog: |- + Require Python 3.10 or newer, matching what the generated code already needed. `turnkey-http` now requires `turnkey-sdk-types>=0.2.0` and `turnkey-api-key-stamper>=0.1.1`, so a resolver cannot pair it with the 0.1.0 types. diff --git a/.changeset/python-310-floor.yml b/.changeset/python-310-floor.yml new file mode 100644 index 0000000..451e404 --- /dev/null +++ b/.changeset/python-310-floor.yml @@ -0,0 +1,4 @@ +type: patch +packages: [ api-key-stamper ] +changelog: |- + Require Python 3.10 or newer. The generated client already needed it: `import turnkey_http` failed on Python 3.9 with a TypeError, while the package metadata still claimed 3.8. pip now refuses to install on older interpreters instead of installing a package that cannot be imported. diff --git a/packages/api-key-stamper/pyproject.toml b/packages/api-key-stamper/pyproject.toml index 9869d44..58156ac 100644 --- a/packages/api-key-stamper/pyproject.toml +++ b/packages/api-key-stamper/pyproject.toml @@ -7,7 +7,7 @@ name = "turnkey-api-key-stamper" version = "0.1.0" description = "API key authentication stamper for Turnkey API" readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.10" license = "Apache-2.0" license-files = ["LICENSE"] authors = [ @@ -18,8 +18,6 @@ classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", diff --git a/packages/http/pyproject.toml b/packages/http/pyproject.toml index 19293a9..dfb3304 100644 --- a/packages/http/pyproject.toml +++ b/packages/http/pyproject.toml @@ -7,7 +7,7 @@ name = "turnkey-http" version = "0.1.0" description = "HTTP client for Turnkey API" readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.10" license = "Apache-2.0" license-files = ["LICENSE"] authors = [ @@ -17,16 +17,14 @@ keywords = ["turnkey", "api", "http", "client", "sdk"] classifiers = [ "Intended Audience :: Developers", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] dependencies = [ "requests>=2.31.0", - "turnkey-api-key-stamper", - "turnkey-sdk-types", + "turnkey-api-key-stamper>=0.1.1", + "turnkey-sdk-types>=0.2.0", ] [project.optional-dependencies] diff --git a/packages/sdk-types/pyproject.toml b/packages/sdk-types/pyproject.toml index e716748..99e7059 100644 --- a/packages/sdk-types/pyproject.toml +++ b/packages/sdk-types/pyproject.toml @@ -7,7 +7,7 @@ name = "turnkey-sdk-types" version = "0.1.0" description = "Type definitions for Turnkey API" readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.10" license = "Apache-2.0" license-files = ["LICENSE"] authors = [ @@ -18,8 +18,6 @@ classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", From 617467f40eb643ddc41236d8507ce7530846fe50 Mon Sep 17 00:00:00 2001 From: "Claude (Carey Janecka)" Date: Sat, 17 Oct 2026 19:12:25 -0700 Subject: [PATCH 2/2] chore: release turnkey-http 0.2.0, turnkey-sdk-types 0.2.0, turnkey-api-key-stamper 0.1.1 Version bumps and changelogs from the pending changesets: the October 2026 codegen regeneration, typed activity errors, the Python 3.10 floor, and the sibling package pins. Co-Authored-By: Claude Fable 5.1 --- .changeset/.last_bumped_modules | 2 ++ .changeset/activity-errors.yml | 4 ---- .changeset/codegen-bump-2026-10.yml | 13 ------------- .changeset/python-310-floor-http.yml | 4 ---- .changeset/python-310-floor.yml | 4 ---- packages/api-key-stamper/CHANGELOG.md | 5 +++++ packages/api-key-stamper/pyproject.toml | 2 +- packages/http/CHANGELOG.md | 18 ++++++++++++++++++ packages/http/pyproject.toml | 2 +- packages/http/src/turnkey_http/version.py | 2 +- packages/sdk-types/CHANGELOG.md | 18 ++++++++++++++++++ packages/sdk-types/pyproject.toml | 2 +- 12 files changed, 47 insertions(+), 29 deletions(-) delete mode 100644 .changeset/activity-errors.yml delete mode 100644 .changeset/codegen-bump-2026-10.yml delete mode 100644 .changeset/python-310-floor-http.yml delete mode 100644 .changeset/python-310-floor.yml diff --git a/.changeset/.last_bumped_modules b/.changeset/.last_bumped_modules index 4e76d03..42cd89a 100644 --- a/.changeset/.last_bumped_modules +++ b/.changeset/.last_bumped_modules @@ -1 +1,3 @@ http +sdk-types +api-key-stamper diff --git a/.changeset/activity-errors.yml b/.changeset/activity-errors.yml deleted file mode 100644 index d7bce32..0000000 --- a/.changeset/activity-errors.yml +++ /dev/null @@ -1,4 +0,0 @@ -type: patch -packages: [ http, sdk-types ] -changelog: |- - Typed activity methods now raise `TurnkeyActivityError` or `TurnkeyActivityConsensusNeededError` when an activity does not complete, instead of a pydantic validation error. The errors carry the activity id, status, type, and failure message. `send_signed_request` now unpacks versioned result keys such as `createSubOrganizationResultV7` correctly. diff --git a/.changeset/codegen-bump-2026-10.yml b/.changeset/codegen-bump-2026-10.yml deleted file mode 100644 index ed7ed1f..0000000 --- a/.changeset/codegen-bump-2026-10.yml +++ /dev/null @@ -1,13 +0,0 @@ -type: minor -packages: [ http, sdk-types ] -changelog: |- - Regenerate the SDK from the current public API schema. Main additions: send transaction V2 (eth_send_transaction and sol_send_transaction now use the V2 intents), swaps, earn, secrets, and transaction history. The default polling budget is now 10 retries at 1 second (was 3), and send_signed_request flattens versioned result keys such as ethSendTransactionResultV2. - - Breaking changes: - - EthSendTransactionBody uses the V2 intent: `to`, `value`, and `data` are gone; `calls: List[v1EthCallParams]` is required. - - SolSendTransactionBody uses the V2 intent: `signWith` is gone; `signWiths: List[str]` is required. - - CreateOauthProvidersBody.oauthProviders is `List[v1OauthProviderParamsV2]`, and the method sends V2. - - Oauth2AuthenticateBody.nonce is required. - - v1User.mfaPolicies is a required response field. - - v1FiatOnRampBlockchainNetwork no longer has FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BITCOIN. - - v1CreateTvcDeploymentIntent drops pivotBindAddresses and requires healthCheckType, healthCheckPort, and publicIngressPort. diff --git a/.changeset/python-310-floor-http.yml b/.changeset/python-310-floor-http.yml deleted file mode 100644 index be71d9d..0000000 --- a/.changeset/python-310-floor-http.yml +++ /dev/null @@ -1,4 +0,0 @@ -type: patch -packages: [ http, sdk-types ] -changelog: |- - Require Python 3.10 or newer, matching what the generated code already needed. `turnkey-http` now requires `turnkey-sdk-types>=0.2.0` and `turnkey-api-key-stamper>=0.1.1`, so a resolver cannot pair it with the 0.1.0 types. diff --git a/.changeset/python-310-floor.yml b/.changeset/python-310-floor.yml deleted file mode 100644 index 451e404..0000000 --- a/.changeset/python-310-floor.yml +++ /dev/null @@ -1,4 +0,0 @@ -type: patch -packages: [ api-key-stamper ] -changelog: |- - Require Python 3.10 or newer. The generated client already needed it: `import turnkey_http` failed on Python 3.9 with a TypeError, while the package metadata still claimed 3.8. pip now refuses to install on older interpreters instead of installing a package that cannot be imported. diff --git a/packages/api-key-stamper/CHANGELOG.md b/packages/api-key-stamper/CHANGELOG.md index 46484a4..7cfd69c 100644 --- a/packages/api-key-stamper/CHANGELOG.md +++ b/packages/api-key-stamper/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 0.1.1 — 2026-10-17 + +### Patch Changes +- Require Python 3.10 or newer. The generated client already needed it: `import turnkey_http` failed on Python 3.9 with a TypeError, while the package metadata still claimed 3.8. pip now refuses to install on older interpreters instead of installing a package that cannot be imported. + ## 0.1.0 — 2026-03-09 ### Minor Changes diff --git a/packages/api-key-stamper/pyproject.toml b/packages/api-key-stamper/pyproject.toml index 58156ac..3904258 100644 --- a/packages/api-key-stamper/pyproject.toml +++ b/packages/api-key-stamper/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "turnkey-api-key-stamper" -version = "0.1.0" +version = "0.1.1" description = "API key authentication stamper for Turnkey API" readme = "README.md" requires-python = ">=3.10" diff --git a/packages/http/CHANGELOG.md b/packages/http/CHANGELOG.md index 46484a4..ba0ac3d 100644 --- a/packages/http/CHANGELOG.md +++ b/packages/http/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## 0.2.0 — 2026-10-17 + +### Minor Changes +- Regenerate the SDK from the current public API schema. Main additions: send transaction V2 (eth_send_transaction and sol_send_transaction now use the V2 intents), swaps, earn, secrets, and transaction history. The default polling budget is now 10 retries at 1 second (was 3), and send_signed_request flattens versioned result keys such as ethSendTransactionResultV2. + +Breaking changes: +- EthSendTransactionBody uses the V2 intent: `to`, `value`, and `data` are gone; `calls: List[v1EthCallParams]` is required. +- SolSendTransactionBody uses the V2 intent: `signWith` is gone; `signWiths: List[str]` is required. +- CreateOauthProvidersBody.oauthProviders is `List[v1OauthProviderParamsV2]`, and the method sends V2. +- Oauth2AuthenticateBody.nonce is required. +- v1User.mfaPolicies is a required response field. +- v1FiatOnRampBlockchainNetwork no longer has FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BITCOIN. +- v1CreateTvcDeploymentIntent drops pivotBindAddresses and requires healthCheckType, healthCheckPort, and publicIngressPort. + +### Patch Changes +- Typed activity methods now raise `TurnkeyActivityError` or `TurnkeyActivityConsensusNeededError` when an activity does not complete, instead of a pydantic validation error. The errors carry the activity id, status, type, and failure message. `send_signed_request` now unpacks versioned result keys such as `createSubOrganizationResultV7` correctly. +- Require Python 3.10 or newer, matching what the generated code already needed. `turnkey-http` now requires `turnkey-sdk-types>=0.2.0` and `turnkey-api-key-stamper>=0.1.1`, so a resolver cannot pair it with the 0.1.0 types. + ## 0.1.0 — 2026-03-09 ### Minor Changes diff --git a/packages/http/pyproject.toml b/packages/http/pyproject.toml index dfb3304..4841571 100644 --- a/packages/http/pyproject.toml +++ b/packages/http/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "turnkey-http" -version = "0.1.0" +version = "0.2.0" description = "HTTP client for Turnkey API" readme = "README.md" requires-python = ">=3.10" diff --git a/packages/http/src/turnkey_http/version.py b/packages/http/src/turnkey_http/version.py index f7ed3ce..4d0f876 100644 --- a/packages/http/src/turnkey_http/version.py +++ b/packages/http/src/turnkey_http/version.py @@ -1,3 +1,3 @@ """Auto-generated version file. Do not edit manually.""" -VERSION = "turnkey-python/0.1.0" +VERSION = "turnkey-python/0.2.0" diff --git a/packages/sdk-types/CHANGELOG.md b/packages/sdk-types/CHANGELOG.md index 46484a4..ba0ac3d 100644 --- a/packages/sdk-types/CHANGELOG.md +++ b/packages/sdk-types/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## 0.2.0 — 2026-10-17 + +### Minor Changes +- Regenerate the SDK from the current public API schema. Main additions: send transaction V2 (eth_send_transaction and sol_send_transaction now use the V2 intents), swaps, earn, secrets, and transaction history. The default polling budget is now 10 retries at 1 second (was 3), and send_signed_request flattens versioned result keys such as ethSendTransactionResultV2. + +Breaking changes: +- EthSendTransactionBody uses the V2 intent: `to`, `value`, and `data` are gone; `calls: List[v1EthCallParams]` is required. +- SolSendTransactionBody uses the V2 intent: `signWith` is gone; `signWiths: List[str]` is required. +- CreateOauthProvidersBody.oauthProviders is `List[v1OauthProviderParamsV2]`, and the method sends V2. +- Oauth2AuthenticateBody.nonce is required. +- v1User.mfaPolicies is a required response field. +- v1FiatOnRampBlockchainNetwork no longer has FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BITCOIN. +- v1CreateTvcDeploymentIntent drops pivotBindAddresses and requires healthCheckType, healthCheckPort, and publicIngressPort. + +### Patch Changes +- Typed activity methods now raise `TurnkeyActivityError` or `TurnkeyActivityConsensusNeededError` when an activity does not complete, instead of a pydantic validation error. The errors carry the activity id, status, type, and failure message. `send_signed_request` now unpacks versioned result keys such as `createSubOrganizationResultV7` correctly. +- Require Python 3.10 or newer, matching what the generated code already needed. `turnkey-http` now requires `turnkey-sdk-types>=0.2.0` and `turnkey-api-key-stamper>=0.1.1`, so a resolver cannot pair it with the 0.1.0 types. + ## 0.1.0 — 2026-03-09 ### Minor Changes diff --git a/packages/sdk-types/pyproject.toml b/packages/sdk-types/pyproject.toml index 99e7059..e54e1b8 100644 --- a/packages/sdk-types/pyproject.toml +++ b/packages/sdk-types/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "turnkey-sdk-types" -version = "0.1.0" +version = "0.2.0" description = "Type definitions for Turnkey API" readme = "README.md" requires-python = ">=3.10"