Skip to content

feat(transport): Language option (Accept-Language), DTOs from gateway refactoringV2 1c4e974f7 - #97

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
  • feat(transport): Language option sends Accept-Language
  • chore(types): regenerate Api/Hub DTOs from gateway refactoringV2 1c4e974f7

Domantas and others added 2 commits October 14, 2026 10:46
The gateway dropped the cultureCode field and the CultureCode /
norbix-language headers; Accept-Language is now the only language input.
Add NorbixClientOptions.Language (NORBIX_LANGUAGE fallback, no default)
and client.WithLanguage(...), mirroring Region / WithRegion. The
transport sends Accept-Language only when a language is resolved.

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

`python3 scripts/sync-types.py --api … --hub …` against a private gateway
stack on the same head. The build source-generates the new methods.

- CultureCode gone from every request (language is Accept-Language only)
- Api: end-user push devices + messages (RegisterOwnPushDeviceAsync,
  GetOwnPushDevicesAsync, DeleteOwnPushDeviceAsync,
  DeleteOwnPushDeviceByTokenAsync, GetOwnPushMessagesAsync,
  MarkOwnPushMessageReadAsync, MarkAllOwnPushMessagesReadAsync)
- Hub: RepairContactRolesAsync (POST /membership/users/repair-roles)
- record / term reads carry AllLanguages
- public echo without licence fields
- the Api contract still omits the JsonSchemaFieldDto subclasses (gateway
  ticket 11-code C22): kept from the previous Api file in a marked block
- coverage / schema-content snapshots updated to the new contract

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:29:24 AM] [semantic-release] › ℹ  Running semantic-release version 25.0.9
[8:29:26 AM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/exec"
[8:29:26 AM] [semantic-release] › ✔  Loaded plugin "verifyConditions" from "@semantic-release/github"
[8:29:26 AM] [semantic-release] › ✔  Loaded plugin "analyzeCommits" from "@semantic-release/commit-analyzer"
[8:29:26 AM] [semantic-release] › ✔  Loaded plugin "analyzeCommits" from "@semantic-release/exec"
[8:29:26 AM] [semantic-release] › ✔  Loaded plugin "verifyRelease" from "@semantic-release/exec"
[8:29:26 AM] [semantic-release] › ✔  Loaded plugin "generateNotes" from "@semantic-release/release-notes-generator"
[8:29:26 AM] [semantic-release] › ✔  Loaded plugin "generateNotes" from "@semantic-release/exec"
[8:29:26 AM] [semantic-release] › ✔  Loaded plugin "prepare" from "@semantic-release/exec"
[8:29:26 AM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/exec"
[8:29:26 AM] [semantic-release] › ✔  Loaded plugin "publish" from "@semantic-release/github"
[8:29:26 AM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/exec"
[8:29:26 AM] [semantic-release] › ✔  Loaded plugin "addChannel" from "@semantic-release/github"
[8:29:26 AM] [semantic-release] › ✔  Loaded plugin "success" from "@semantic-release/exec"
[8:29:26 AM] [semantic-release] › ✔  Loaded plugin "success" from "@semantic-release/github"
[8:29:26 AM] [semantic-release] › ✔  Loaded plugin "fail" from "@semantic-release/exec"
[8:29:26 AM] [semantic-release] › ✔  Loaded plugin "fail" from "@semantic-release/github"
[8:29:27 AM] [semantic-release] › ℹ  This test run was triggered on the branch refs/pull/97/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 changed the title feat/gateway language push sync feat(transport): Language option (Accept-Language), DTOs from gateway refactoringV2 1c4e974f7 Oct 14, 2026
@Domantas
Domantas merged commit 0faf92d into main Oct 14, 2026
7 of 8 checks passed
@Domantas
Domantas deleted the feat/gateway-language-push-sync branch October 14, 2026 08:46
@github-actions

Copy link
Copy Markdown

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