Skip to content

feat(hub): @norbix.ai/ts 4.32 — no hub internal module, optional switches - #91

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 raised to ^4.32.0 (sdk-ts fix(login): one sign-in per Hub and project #103); src/generated/request-fields.json regenerated (npm run gen:fields, 716 methods). Semantic diff: hub internal module removed; required: true → false for applyDatabaseSchemaBundle publish, importUsers / repairLoginProjectIds / repairContactRoles / endUserOwnRecordsReport dryRun, savePasskeySettings generateRecoveryCodesAtSignup. Nothing else.
  • scripts/gen-request-fields.mjs skips paths under /internal/ (owner 2026-10-22: /internal/* is not SDK surface) + test. norbix hub internal … now answers "Unknown module".
  • Checked: no command sends a changed switch as false by default. payments integration save / email validation save send isEnabled: !--disabled explicitly (meaning kept); Montonio isSandbox comes only from --config; the generic norbix hub … command sends only fields the user typed; --dry-run is the CLI's own preview flag, not the request field. No CLI command for users import, webhook destinations, passkey or embedding beyond the generic one.
  • New test: a Montonio save without isSandbox in --config does not send it. docs/payments.md: isSandbox empty = true.

Tests

npm run typecheck · npm run build · npm test 40 files / 1093 tests · node ./bin/run.js --help · db --help · npm audit --omit=dev --audit-level=high (0) — all green.

🤖 Generated with Claude Code

…ches

request-fields.json regenerated from @norbix.ai/ts 4.32.0: the hub
internal module (GET /internal/_typegen) is gone, and gen:fields skips
paths under /internal/ (owner 2026-10-22: /internal/* is not SDK
surface). dryRun / publish / generateRecoveryCodesAtSignup are optional
fields in --help now (empty = true on the gateway). No command sends
these switches as false by default: payments / email-validation save send
isEnabled from --disabled explicitly, Montonio isSandbox comes only from
--config. Tests: the generator skips /internal/, a Montonio save without
isSandbox does not send it. docs/payments.md: isSandbox empty = true.

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>
@Domantas
Domantas merged commit dc8b071 into main Oct 22, 2026
11 checks passed
@Domantas
Domantas deleted the fix/bool-defaults-internal branch October 22, 2026 08:09
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.40.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