Skip to content

feat(hub): remove hub.internal; optional true-by-default bools stay unset - #61

Merged
Domantas merged 2 commits into
mainfrom
fix/bool-safe-defaults
Oct 22, 2026
Merged

Domantas merged 2 commits into
mainfrom
fix/bool-safe-defaults

Conversation

@Domantas

Copy link
Copy Markdown
Contributor

What

  • hub.internal (GET /internal/_typegen) is removed: the module, the client property (hub.internal / Internal), docs/hub/internal.md and its test. Owner 2026-10-22: /internal/* is not SDK surface. This SDK has no module generator, so nothing brings it back.
  • The gateway made eleven true-by-default request bools optional (bool?, empty = true). The Python modules take keyword arguments and send only what the caller passes, so no method sent them as false. New test: save_payments_integration for Montonio without isSandbox sends no isSandbox key.
  • Types: this SDK is untyped by design (runbook: nothing to regenerate).

Breaking: the /internal/_typegen method (hub.internal) is removed — it was gateway tooling. Breaking: DryRun / IsSandbox / IsEnabled / Publish / GenerateRecoveryCodesAtSignup / IncludeRawPayload are optional now; empty = true on the gateway.

Tests

make check: ruff clean, mypy clean (40 files), pytest 1164 passed.

🤖 Generated with Claude Code

Domantas and others added 2 commits October 22, 2026 10:44
GET /internal/_typegen is gateway tooling for the type generator, not
product surface (owner 2026-10-22: /internal/* is not SDK surface). The
module, the client property (hub.internal / Internal), its docs page and
its test are gone. This SDK has no module generator, so nothing can bring
it back on a regeneration.

Breaking: the /internal/_typegen method (hub.internal) is removed — it was gateway tooling.
Breaking: DryRun / IsSandbox / IsEnabled / Publish / GenerateRecoveryCodesAtSignup / IncludeRawPayload are optional now; empty = true on the gateway.

The module methods take keyword arguments and send only what the caller
passes, so no method filled these fields with false; nothing else changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ration

Owner 2026-10-22: isSandbox is optional and empty = true (sandbox) on the
gateway, so the SDK must leave it out when the caller did not set it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Domantas
Domantas merged commit e9a236f into main Oct 22, 2026
9 checks passed
@Domantas
Domantas deleted the fix/bool-safe-defaults branch October 22, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant