Skip to Content
Signet

Versioning and stability

What the v1 line guarantees, what it does not, and how deprecations are announced.

Signet releases follow Semantic Versioning: breaking changes bump the major version, backwards-compatible additions bump the minor version, fixes bump the patch version. This page states what the v1 line treats as its public contract, what it explicitly does not, and how a deprecation is announced before anything is removed.

The 1.0.0-beta.* line carried no stability commitment; the beta.3 and beta.4 wire-key renames are the final breaking changes to the wire contract. The 1.0.0-rc.* releases freeze the contract described below — only release-blocking fixes land between an rc and v1.0.0; from v1.0.0 on, the guarantees on this page apply unchanged.

What v1 guarantees

The Go API. The exported surface of the root signet package — signet.New, the config structs, the sentinel errors, the store and mailer contracts (their behavioral guarantees are stated under The store contracts below). Code that compiles against a v1.x.y release of the root package keeps compiling, unchanged, against every later v1.x release. Additions (new optional config fields, new methods) arrive in minor releases.

The HTTP wire contract. The endpoints, request and response keys, status codes and error codes published in the OpenAPI contract. Every wire key is snake_case as of beta.4; the casing and the key names are frozen for the v1 line. An endpoint documented in the contract answers the documented status for the documented reason — error codes (invalid_input, session_not_fresh, …) are stable; error message prose is not.

The generated artifacts. openapi/signet.openapi.json and the generated TypeScript schema the client package is built on are produced from the handler-facing contract, and make generate-check fails CI on any drift between the contract and the generated output. The client packages @shakibdshy/signet-auth-client and @shakibdshy/signet-auth-react are versioned in lockstep with the Go module: a Go release v1.x.y ships both packages at the same version, tagged client-v1.x.y.

The store contracts. The Store, OrganizationStore, AdminUserStore, PasskeyStore and TOTPStore interfaces, and the semantics the conformance suites in store/conformance pin (List scoping, MemberRole misses answer ErrNotFound, idempotent membership removal, and the rest). If your store passes the suites for a v1.x release it keeps passing for every later v1.x release.

Configuration. Config fields that exist in v1.x keep their meaning and their defaults through the whole v1.x line, with the single exception stated at the end of this page (security tightening). New fields arrive with working zero-value or explicit defaults, so upgrading a minor version never requires config edits.

What v1 does not guarantee

  • Everything under internal/. The root package is a façade; the packages behind it are private by design and can be restructured in any release, including patch releases.
  • Error message prose and log formats. Error codes are the stable half of the wire contract (above); the human-readable message strings and the shape of structured log output are not part of the contract.
  • Undocumented surfaces. Handlers reachable but absent from the OpenAPI contract (opt-in helpers like the JWKS handler) are provided as-is until they are documented.
  • Documentation prose. Guides, examples and the docs site are corrected freely; only the contract artifacts above are versioned guarantees.
  • The Go version floor. go.mod may require a newer Go toolchain in a minor release; it never does so in a patch release.

How deprecations work

  1. A minor release marks the deprecated item in a Deprecated section of CHANGELOG.md, names the replacement, and updates the docs and the generated contract.
  2. The deprecated item keeps working for at least one full minor release after the announcement: an item deprecated in v1.N keeps working through v1.N+1 at minimum, so the window is never zero even when the deprecation lands close to a major.
  3. Removal happens in the next major version — never in a minor or patch.

Security tightening is the one exception: a release may refuse a configuration that is insecure by construction (unsafe cookie combinations, missing CSRF keys) the same way previous releases already refused them, and may tighten a default that was documented as insecure opt-out. Such changes are called out in the release notes even when they ship in a patch.

On this page