Skip to content

feat(code): hub.code hooks — integrations and cloud functions on @norbix.ai/ts 4.19.0 - #47

Merged
Domantas merged 2 commits into
mainfrom
audit/code
Oct 12, 2026
Merged

Domantas merged 2 commits into
mainfrom
audit/code

Conversation

@Domantas

Copy link
Copy Markdown
Contributor

hub.code hooks: the Code module switch (useEnableCodeModuleMutation / useDisableCodeModuleMutation), the eight Code integration endpoints (useGetCodeIntegrationsQuery, useGetCodeIntegrationQuery, useSaveCodeIntegrationMutation, useDeleteCodeIntegrationMutation, useEnableCodeIntegrationMutation, useDisableCodeIntegrationMutation, useSetCodeIntegrationAsDefaultMutation, useTestCodeIntegrationMutation) and the five cloud-function endpoints of @norbix.ai/ts 4.19.0 (useGetCodeFunctionsQuery, useGetCodeFunctionQualifiersQuery, useGetCodeFunctionEventSampleQuery, useGetCodeFunctionRunsQuery, useInvokeCodeFunctionMutation), with the CodeIntegrations / CodeFunctions tags. README section. The marketplace half of hub.code stays unwrapped.

@norbix.ai/ts ^4.17.0 → ^4.19.0; that drop of the legacy X-CM-ProjectId header (sdk-ts 4.18.1) is why four existing route tests now assert norbix-project-id.

Tests: npx vitest run 15 files / 301 tests pass (36 new in tests/code.test.ts: every hook reaches its SDK method, query/mutation kind, tags, and five calls through the real SDK with a fake fetch — verb, route, query string, JSON body, headers). npm run lint, npx tsc --noEmit, npm run build green.

Task: gateway docs/tasks/code-functions.md (branch audit/code). Expected version: 1.10.0 (feat → minor).

🤖 Generated with Claude Code

…bix.ai/ts 4.19.0

src/hooks/hub/code.ts wraps the Code module switch, the eight Code
integration endpoints and the five cloud-function endpoints the core SDK
gained in 4.19.0 (getCodeFunctions, getCodeFunctionQualifiers,
invokeCodeFunction, getCodeFunctionEventSample, getCodeFunctionRuns):
queries provide CodeIntegrations/LIST|<id> and CodeFunctions/LIST|RUNS|SAMPLE,
mutations invalidate the list and the integration; the marketplace half of
hub.code is not wrapped. README section with the hook table.

The bump to 4.19.0 also drops the legacy X-CM-ProjectId header (sdk-ts
4.18.1): four route tests now assert norbix-project-id.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

🚀 Release preview

Next version on merge to main: none

semantic-release dry-run output
[11:23:13 AM] [semantic-release] › ℹ  Running semantic-release version 25.0.9
[11:23:13 AM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/npm"
[11:23:13 AM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/github"
[11:23:13 AM] [semantic-release] › ✔  Loaded plugin "analyzeCommits" from "@semantic-release/commit-analyzer"
[11:23:13 AM] [semantic-release] › ✔  Loaded plugin "generateNotes" from "@semantic-release/release-notes-generator"
[11:23:13 AM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/npm"
[11:23:13 AM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/npm"
[11:23:13 AM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/github"
[11:23:13 AM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/npm"
[11:23:13 AM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/github"
[11:23:13 AM] [semantic-release] › ✔  Loaded plugin "success" from "@semantic-release/github"
[11:23:13 AM] [semantic-release] › ✔  Loaded plugin "fail" from "@semantic-release/github"
[11:23:15 AM] [semantic-release] › ℹ  This test run was triggered on the branch refs/pull/47/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.

…og-writer)

GHSA-8r5x-fm3f-whwj, GHSA-p8wg-vrv2-v86f, GHSA-xw65-4hp5-5hc7: handlebars
4.7.9 -> 4.7.10, dev-only (semantic-release commit analyzer), never shipped
in @norbix.ai/react-redux. The OSV scan on the pull request stops at it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@Domantas
Domantas merged commit 06d7b79 into main Oct 12, 2026
7 checks passed
@Domantas
Domantas deleted the audit/code branch October 12, 2026 11:24
@github-actions

Copy link
Copy Markdown

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