Skip to content
This repository was archived by the owner on Jul 12, 2023. It is now read-only.

v0.9.0

Choose a tag to compare

@sethvargo sethvargo released this 21 Sep 14:56
· 487 commits to main since this release
cda9cf7

Use 0.9.1 instead

Changes since v0.8.2

Potentially breaking

  • Return warnings instead of error when symptom onset is too long ago (#1013, @sethvargo)

    • Previous behavior: If a user uploaded TEKs with a symptom onset date > 14d in the past, the response would be an HTTP 200 OK with a code of "partial_failure" and an informative error message explaining that all keys were uploaded, but some had their date's removed.

    • New behavior: If a user uploads TEKs with a symptom onset date > 14d in the past, the response will be an HTTP 200 OK with a code of "success" but there will be a "warnings" field (array of strings) that includes a similar message as before.

New features

  • Introduces a new mechanism to periodically refresh a HealthAuthority's keys from a JWKS endpoint.
    • HealthAuthority now includes an optional JWKS URI that will be queried to obtain new keys.
    • The key refresh rate is controlled by a new configuration parameter: JWKS_REFRESH_RATE, which specifies (in seconds) the refresh rate for all HealthAuthorities with specified JWKS endpoints. (#998, @jeremyfaller)

Bug fixes

  • Set Content-Type response header as application/json on publish responses (#1012, @sethvargo)

Dependencies

Added

  • github.com/rakutentech/jwk-go: v1.0.1

Changed

Nothing has changed.

Removed

Nothing has changed.