Skip to content

feat(hooks): push hooks for end users and a language prop on NorbixProvider - #57

Merged
Domantas merged 2 commits into
mainfrom
feat/gateway-language-push-sync
Oct 14, 2026
Merged

Domantas merged 2 commits into
mainfrom
feat/gateway-language-push-sync

Conversation

@Domantas

Copy link
Copy Markdown
Contributor

Branch feat/gateway-language-push-sync. Opened by an agent with nbx-ship.

Domantas and others added 2 commits October 14, 2026 11:11
…ovider

Follows the core SDK (norbix-js feat/gateway-language-push-sync):

- notifications.push hooks: useRegisterPushDeviceMutation,
  useListPushDevicesQuery, useRemovePushDeviceMutation,
  useRemovePushDeviceByTokenMutation, useListPushMessagesQuery,
  useMarkPushMessageReadMutation, useMarkAllPushMessagesReadMutation;
  new PushDevices / PushMessages tags
- <NorbixProvider language="…"> sets the client language, so every hook
  request sends Accept-Language (the only language input now); README shows
  resetApiState after a switch and allLanguages on reads

Needs a core SDK release that ships `notifications.push` and
`setLanguage` / `getLanguage` (verified against a local build of it).

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

The push hooks and the NorbixProvider language prop need the core SDK
release that ships them: devDependency ^4.26.0, peer floor >=4.26.0.

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
[8:53:45 AM] [semantic-release] › ℹ  Running semantic-release version 25.0.9
[8:53:45 AM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/npm"
[8:53:45 AM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/github"
[8:53:45 AM] [semantic-release] › ✔  Loaded plugin "analyzeCommits" from "@semantic-release/commit-analyzer"
[8:53:45 AM] [semantic-release] › ✔  Loaded plugin "generateNotes" from "@semantic-release/release-notes-generator"
[8:53:45 AM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/npm"
[8:53:45 AM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/npm"
[8:53:45 AM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/github"
[8:53:45 AM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/npm"
[8:53:45 AM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/github"
[8:53:45 AM] [semantic-release] › ✔  Loaded plugin "success" from "@semantic-release/github"
[8:53:45 AM] [semantic-release] › ✔  Loaded plugin "fail" from "@semantic-release/github"
[8:53:47 AM] [semantic-release] › ℹ  This test run was triggered on the branch refs/pull/57/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 28b3a37 into main Oct 14, 2026
7 checks passed
@github-actions

Copy link
Copy Markdown

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