Repository navigation
Releases
Releases · dvmkit/sdk
v0.38.0
What's Changed
- chore(api): advance the comparison baseline to v0.37.0 by @aioli3 in #168
- fix(server)!: guide older card clients to hosted checkout by @aioli3 in #171
- fix(server): block unsafe IPv4 destinations embedded in IPv6 by @aioli3 in #172
- chore(master): release 0.38.0 by @dvmkit-release-automation[bot] in #169
Full Changelog: v0.37.0...v0.38.0
v0.37.0
What's Changed
- fix(server)!: initialize settlement-report history without hosting control by @aioli3 in #163
- test(server): cover hosted x402 claims below the funded charge by @aioli3 in #166
- refactor(server)!: remove the hosting-control layer by @aioli3 in #167
- chore(master): release 0.37.0 by @dvmkit-release-automation[bot] in #165
Full Changelog: v0.36.0...v0.37.0
v0.36.0
What's Changed
- fix: skip excluded payment rail initialization by @aioli3 in #158
- chore(api): advance the comparison baseline to v0.35.2 by @aioli3 in #159
- fix(server): preserve accounting for partial x402 claims by @aioli3 in #161
- test(server): isolate keepalive lifecycle setup and cleanup by @aioli3 in #162
- feat(server): fund card credit through a hosted Checkout page by @aioli3 in #164
- chore(master): release 0.36.0 by @dvmkit-release-automation[bot] in #160
Full Changelog: v0.35.2...v0.36.0
v0.35.2
What's Changed
- fix(server): claim earned x402 vouchers during shutdown by @aioli3 in #156
- chore(master): release 0.35.2 by @dvmkit-release-automation[bot] in #157
Full Changelog: v0.35.1...v0.35.2
v0.35.1
v0.35.0
What's Changed
- chore(api): advance the comparison baseline to v0.34.0 by @aioli3 in #147
- fix(server): bound inline result message reads by @aioli3 in #149
- docs(sdk): describe the x402 deadline and env-configured rail accurately by @aioli3 in #150
- feat(server): start without x402 routes when no x402 rail is configured by @aioli3 in #151
- docs(server): narrow the claim about a rail configured later by @aioli3 in #152
- chore(master): release 0.35.0 by @dvmkit-release-automation[bot] in #148
Full Changelog: v0.34.0...v0.35.0
v0.34.0
Breaking API changes
ctx.fail(reason, { callerFault: true })is a new option onSDKJobContext.fail. On the x402 route,POST /v1/x402/<capability>, a failure marked this way answers 422 instead of 500, with the same body (status: "failed",reason,display,hint,charge_outcome: "not_charged") and noPAYMENT-RESPONSE. It is 422, not 400, because the x402 v2 HTTP transport reserves 400 for an invalid payment payload. The mark is stored on the job's finalcancelmessage ascaller_fault: true(CancelContentgains that optional field). Without the mark nothing changes. The change is additive, and it is flagged breaking only because an existing x402 caller can now see a 4xx where it saw a 5xx when a handler opts in.{ refund: true }onctx.failwas documented as a caller-fault annotation, but the server never read it. The documentation now says it has no effect.- Additive export:
@dvmkit/sdk/internalexportsDIAGNOSTIC_CATALOGUEand its typeDiagnosticCatalogue, the deep-frozen list-valued catalogue that span projection admits. Code-defined rules are not included. - Span projection now keeps
http.routeas/v1/x402/:capabilityfor x402 requests, which it previously dropped.
Migrations
None. A handler that does not pass callerFault behaves as before.
Compatibility requirements
Node >=22, unchanged. No new dependency floors.
dvmctl and platform prerequisites
None. A platform that keeps its own copy of the diagnostic catalogue should compare it with DIAGNOSTIC_CATALOGUE to pick up the x402 route template.
What's Changed
- chore(api): advance the comparison baseline to v0.33.0 by @aioli3 in #144
- feat(observability): export the diagnostic catalogue and keep span routes, events, and codes it should admit by @aioli3 in #143
- feat(server)!: answer 422 on the x402 route when a handler marks a failure as the caller's by @aioli3 in #146
- chore(master): release 0.34.0 by @dvmkit-release-automation[bot] in #145
Full Changelog: v0.33.0...v0.34.0
v0.33.0
v0.32.0
What's Changed
- fix(server): preserve mount paths in schema hints by @aioli3 in #132
- fix(server): catch up job subscriptions after reconnect by @aioli3 in #137
- chore(api): advance the comparison baseline to v0.31.1 by @aioli3 in #138
- feat(server): keep idle job-message LISTEN connections active with a heartbeat by @aioli3 in #139
- chore(master): release 0.32.0 by @dvmkit-release-automation[bot] in #136
Full Changelog: v0.31.1...v0.32.0