/v1 and the published packages @lumenwipe/sdk and @lumenwipe/verify. The operational routes (GET / and /health) and the operator-only /admin routes are not part of it.
What is breaking
A change is breaking when code written against the current contract can stop working. For the API:- removing or renaming a route, a response field or a header;
- adding a required request field, or rejecting a request that was accepted before;
- changing the type or meaning of a field, an error
code, or the HTTP status a given outcome answers with; - removing an error code, an enum value or a decision type a client may already handle.
verify accept something it refused before or refuse something it accepted for the same inputs.
What is additive
These ship without notice beyond the changelog, and your code must tolerate them:- new routes, new optional request fields, new response fields and new headers;
- new values in a response enum, such as a protocol, a position type, a decision type, a blocker or an error
code.
Deprecation window
Nothing is removed in the same release that introduces its replacement. A deprecated route, field or header keeps working for at least 6 months from the date it is announced as deprecated, and is removed only in a release after its sunset date. A deprecation is announced in the changelog, and in the SDK changelog when the SDK is affected.Deprecation headers
A deprecated route answers exactly as its replacement does and adds:
Log any response that carries a
Deprecation header: it means your integration calls something with an end date.
Deprecated today
The
X-RateLimit-* headers are response headers, so they carry no Deprecation header of their own; this table and the changelog are their notice.
Versions
- API. A breaking change to a route gets a new prefix (
/v2) instead of changing/v1, and the/v1route follows the deprecation window above. - SDK and verifier. Both follow semantic versioning. In the
0.xseries a minor release can include a breaking change, so pin a tilde range, as the Quickstart does, and read the changelog before upgrading. From1.0, a breaking change needs a new major version. See SDK versioning.
SDK 1.0 checklist
@lumenwipe/sdk 1.0 is released once every issue of the epic A stable public API contract and SDK (#343) is closed. The epic shows the live state of each one:
- #463 Every integrator route lives under
/v1with deprecated legacy aliases - #464 Package version, changelog, tags and npm agree, and the tarball ships complete
- #465 Error codes come from one typed registry and the spec documents them
- #466 Submit is idempotent by hash, an unknown outcome can be resolved, and close progress can be polled
- #467 Rate-limit headers and
Retry-Afteron every response - #468 API keys carry a label, a network scope and a last-used time with visible usage
- #469
LumenWipeApiErrorexposes typed fields, plus cancellation and opt-in retries - #470 SDK covers every public endpoint, enforced by a parity test
- #471 Publish a reference verifier with a conformance test set
- #472 Headless example runs in CI, surfaces errors, and a plan-only example rehearses a mainnet account
- #473 Key owners can sign in with more than one wallet type and the key page explains the limits
- #474 Integrator contract docs: quickstart, network parity, limits, deprecation policy and the path to 1.0
- #770 Authenticate contract-account owners for key management
- #771 Offer email sign-in on the key page
- #772 Show each key’s label, network scope, last use and usage on the key page
- #778 Send
Retry-Afterandno-storeon every proxy 429 - #779 Key the proxy rate-limit counters with a keyed hash of the client IP
- #781 Let the reference verifier take a served exchange registry through the stricter-only merge
- #782 Give
VerificationErrora stable code and key the conformance vectors on it - #783 Add a release workflow and changelog guard for the verify package
- #799 Default request timeout is shorter than the API request deadline
- #800 Answer 503 with
Retry-Afterand fail over when the upstream provider is rate limited or unavailable