This repository was archived by the owner on Jul 12, 2023. It is now read-only.
v0.3.0
WARNING: This release has a migration that will fail if existing verification codes are present in the database during migration. It also has a bug with rate limiting. You should use tag v0.3.2 (which fixes these issues.
This release introduces v2 API keys and security, logging, and observability
improvements.
Changelog since v0.2.1
Potentially breaking
- Environment variable configurable spelling fixes (#207, @whaught)
COLISSION_RETRY_COUNT
->COLLISION_RETRY_COUNT
SESSION_DUATION
toSESSION_DURATION
- Introduce v2 API keys and switch to rate-limiting by realm instead of by key (#192, @sethvargo)
Infrastructure
- Allow customizing database backup location (defaults unchanged) (#195, @sethvargo)
Security
- Always reset render buffer before use. (#191, @sethvargo)
- Use Key Manager to encrypt SMS configurations (#190, @sethvargo)
- Support providing a local key as the database encryption key for local development (#203, @sethvargo)
Other
- Adds a
/healthz
to all server binaries for healthchecking. (#196, @icco) - Adds default request tracing and http metrics to all four servers. (#183, @icco)
- Allow configuring the rate limiter to succeed on backend connection failures (default unchanged) (#212, @sethvargo)
- Include ID in the issue VerificationCode response (#215, @whaught)
- Migrate to the main verification server's observability package. (#205, @sethvargo)
- Return UUID with verification tokens (#217, @sethvargo)
- Standardize known HTTP response codes on 400, 401, 404, 405, 429, and 5xx. (#214, @sethvargo)
- Use shared logging package, always configure a logger (#210, @sethvargo)
- Verification and certificate APIs have well defined error codes for localization on the client side. (#216, @mikehelmick)
Dependencies
Added
- github.com/PuerkitoBio/goquery: v1.5.1
- github.com/andybalholm/cascadia: v1.1.0
- github.com/nxadm/tail: v1.4.4
- github.com/sclevine/agouti: v3.0.0+incompatible
Changed
- cloud.google.com/go: v0.62.0 → v0.63.0
- github.com/Azure/azure-sdk-for-go: v44.2.0+incompatible → v45.1.0+incompatible
- github.com/Azure/go-autorest/autorest/adal: v0.9.0 → v0.9.1
- github.com/Azure/go-autorest/autorest: v0.11.2 → v0.11.3
- github.com/aws/aws-sdk-go: v1.33.16 → v1.34.0
- github.com/golang/mock: v1.4.3 → v1.4.4
- github.com/google/exposure-notifications-server: a6f48d9 → ec15526
- github.com/hashicorp/go-retryablehttp: v0.6.6 → v0.6.7
- github.com/jinzhu/gorm: v1.9.12 → v1.9.15
- github.com/lstoll/awskms: 9042d2a → a388516
- github.com/mattn/go-sqlite3: v2.0.1+incompatible → v1.14.0
- github.com/onsi/ginkgo: v1.12.0 → v1.13.0
- github.com/onsi/gomega: v1.9.0 → v1.10.1
- github.com/sethvargo/go-envconfig: v0.2.3 → v0.3.0
- github.com/sethvargo/go-limiter: v0.2.2 → v0.3.0
- golang.org/x/sys: 3e129f6 → 1030fc2
- golang.org/x/tools: b5fad4e → c05a0f5
- golang.org/x/xerrors: 9bdfabe → 5ec99f8
- google.golang.org/api: v0.29.0 → v0.30.0
- google.golang.org/genproto: 8145dea → a062522
Removed
Nothing has changed.