All notable changes to github.com/postio-uk/postio-go are documented
here. Format follows Keep a Changelog,
versioning follows SemVer.
0.1.1 — 2026-05-02
PhoneResult.IsReachabletyped*bool(wasinterface{}). postio-api 1.0.3 aligned the spec with the runtime — HLR returns boolean.PhoneResultnullable fields dropomitempty. The runtime now always emits explicit nulls for every field, so the SDK round-trips without silently dropping fields.
0.1.0 — 2026-05-02
Initial release. First Postio Go SDK.
postio.Clientconstructed viaNewClient(WithAPIKey, ...).- Functional options pattern:
WithAPIKey,WithBaseURL,WithHTTPClient,WithTimeout,WithRetries,WithRetryBackoff,WithHeader. - Address endpoints:
client.Address.Search,client.Address.Postcode,client.Address.UDPRN. - Email endpoint:
client.Email.Validate. - Phone endpoint:
client.Phone.Validate. - Health probe:
client.Connect(ctx). - Typed
*postio.Errorplus sentinel values (ErrInvalidKey,ErrOutOfCredit,ErrForbidden,ErrNotFound,ErrValidation,ErrRateLimit,ErrServer,ErrTimeout,ErrConnection) forerrors.Ismatching. - Default retry policy: 2 retries with exp backoff + full jitter on
408/409/429/5xx and network/timeout errors. Mirrors
@postio/node. POSTIO_API_KEYenv var fallback whenWithAPIKeyis not passed.- Stdlib-only — no external dependencies.
PhoneResult.IsReachableis typed asinterface{}rather than*stringbecause the live API returns booleans there even though the spec says string-only. Patched once the API/spec align.