Repository navigation
feat(logs): every hub.logs hook, useWriteLogsMutation, retryAfterSeconds - #63
Merged
Merged
Conversation
The logs hooks use hub.logs.getLog and api.logs.writeLogs, which exist from core SDK 4.31.0, so the peer range moves from >=4.29.0 to >=4.31.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nds on errors - hubLogs: getLogs, getLog, cleanLogs, getLogSettings, saveLogSettings added (finding L12) — now all 15 hub.logs methods; new tag LogsSettings. - apiLogs: writeLogs (API host) invalidating Logs. - SerializedNorbixError.retryAfterSeconds when the SDK error carries one (429 CM-ERRORS-LOGGING-003). Optional, only set when present. - tests/logs.test.ts: parity with the SDK's hub.logs, kind and tags per hook, and through the real SDK with a fake fetch: getLog path, saveLogSettings body, cleanLogs, writeLogs host/body, 429 retryAfterSeconds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The SDK bump brought hub.database.endUserOwnRecordsReport; the parity test (one hook per hub.database method) now counts 75. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🚀 Release previewNext version on merge to semantic-release dry-run output
|
…ore) The Security scan check failed on the pull request for vite 8.3.2 (dev, through vitest), already on main; 8.3.3+ fixes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🎉 This PR is included in version 1.20.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
@norbix.ai/ts^4.31.0 (peer>=4.31.0— the new hooks needgetLog/writeLogs).hubLogsnow covers all 15hub.logsmethods (added getLogs, getLog, cleanLogs, getLogSettings, saveLogSettings; new tagLogsSettings); newapiLogs.writeLogs(useWriteLogsMutation);SerializedNorbixError.retryAfterSecondsfor a 429.endUserOwnRecordsReporthook (new in core 4.31.0, keeps the database parity test green).test(nothing is delivered until the last test passed).Tests
npx vitest run19 files / 424 tests ·npx tsc --noEmit·npm run lint·npm run build.Expected version
next minor (feat).
🤖 Generated with Claude Code