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/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 9869d44..3904258 100644 --- a/packages/api-key-stamper/pyproject.toml +++ b/packages/api-key-stamper/pyproject.toml @@ -4,10 +4,10 @@ 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.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/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 19293a9..4841571 100644 --- a/packages/http/pyproject.toml +++ b/packages/http/pyproject.toml @@ -4,10 +4,10 @@ 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.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/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 e716748..e54e1b8 100644 --- a/packages/sdk-types/pyproject.toml +++ b/packages/sdk-types/pyproject.toml @@ -4,10 +4,10 @@ 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.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",