Skip to content

feat(hub): require @norbix.ai/ts 4.32 — optional true-by-default switches - #65

Merged
Domantas merged 1 commit into
mainfrom
fix/bool-defaults-internal
Oct 22, 2026
Merged

Domantas merged 1 commit into
mainfrom
fix/bool-defaults-internal

Conversation

@Domantas

Copy link
Copy Markdown
Contributor

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.

What changed

  • @norbix.ai/ts peer >=4.32.0, dev ^4.32.0 (sdk-ts #103). The hooks take their argument types from the core SDK, so the save hooks (webhook destinations, passkey settings, email validation, payments integrations) now accept the switches as optional.
  • /internal/*: no hook, helper or generator here ever wrapped it — nothing to remove.
  • tests/payments.test.ts: an unset Montonio isSandbox is passed to the SDK untouched.

Tests

npm run lint · npm run typecheck · npm test 19 files / 425 tests · npm run build — all green.

🤖 Generated with Claude Code

…ches

The hooks take their argument types from the core SDK, so with 4.32.0 the
save hooks for webhook destinations, passkey settings, email validation and
payments integrations (Montonio isSandbox) accept the switches as optional.
No hook ever wrapped /internal/* (hub.internal had none). Peer and dev
dependency raised to 4.32.0; a test proves an unset Montonio isSandbox is
passed through untouched.

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.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🚀 Release preview

Next version on merge to main: none

semantic-release dry-run output
[7:54:56 AM] [semantic-release] › ℹ  Running semantic-release version 25.0.9
[7:54:57 AM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/npm"
[7:54:57 AM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/github"
[7:54:57 AM] [semantic-release] › ✔  Loaded plugin "analyzeCommits" from "@semantic-release/commit-analyzer"
[7:54:57 AM] [semantic-release] › ✔  Loaded plugin "generateNotes" from "@semantic-release/release-notes-generator"
[7:54:57 AM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/npm"
[7:54:57 AM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/npm"
[7:54:57 AM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/github"
[7:54:57 AM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/npm"
[7:54:57 AM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/github"
[7:54:57 AM] [semantic-release] › ✔  Loaded plugin "success" from "@semantic-release/github"
[7:54:57 AM] [semantic-release] › ✔  Loaded plugin "fail" from "@semantic-release/github"
[7:54:58 AM] [semantic-release] › ℹ  This test run was triggered on the branch refs/pull/65/merge, while semantic-release is configured to only publish from main, therefore a new version won’t be published.

If next_version is none, your commits don't trigger a release. Use feat: for minor (breaking changes too, until launch), fix: / perf: for patch.

@Domantas
Domantas merged commit 37586a5 into main Oct 22, 2026
7 checks passed
@Domantas
Domantas deleted the fix/bool-defaults-internal branch October 22, 2026 07:56
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant