Skip to content

Releases: benc-uk/go-rest-api

v1.1.0

Choose a tag to compare

@benc-uk benc-uk released this 14 Sep 14:07
731b4e5

Changes

  • Update the minimum Go version to 1.27 and refresh project dependencies.
  • Replace the unmaintained go-chi-metrics dependency with local Prometheus HTTP metrics.
  • Standardise Chi imports on v5 and adopt secure client IP handling.
  • Update GitHub Actions and pin golangci-lint v2.13.2.

Metrics

The HTTP metric names are now:

  • http_server_requests_total
  • http_server_request_duration_seconds

Route patterns replace raw request URIs to prevent unbounded label cardinality.

Full changelog: v1.0.15...v1.1.0

v1.0.15

Choose a tag to compare

@benc-uk benc-uk released this 21 Jul 07:45

Adds

  • Pre check function on health check API

v1.0.14

Choose a tag to compare

@benc-uk benc-uk released this 30 May 08:31

Adds:

  • RemoveFromAllGroups to SSE broker

v1.0.13

Choose a tag to compare

@benc-uk benc-uk released this 20 May 22:10

Fixes:

  • Panic in SSE broker when clients disconnect

v1.0.12

Choose a tag to compare

@benc-uk benc-uk released this 17 May 11:07

Updates:

  • Package versions - bump to latest only
  • Migrate to v2 of golangci-lint

v1.0.11

Choose a tag to compare

@benc-uk benc-uk released this 20 Dec 13:56

Fixes:

  • Azure AD returning api:// in the audience of tokens causing an incorrect validation failure

v1.0.10

Choose a tag to compare

@benc-uk benc-uk released this 27 Nov 23:49

Updates:

  • SSE basic support for message groups

v1.0.9

Choose a tag to compare

@benc-uk benc-uk released this 11 Nov 16:02

Adds:

  • SSE (Server Side Events) package

v1.0.8

Choose a tag to compare

@benc-uk benc-uk released this 28 Oct 15:18

Internal:

  • Update to Go 1.21
  • Dependencies and packages refreshed

v1.0.7

Choose a tag to compare

@benc-uk benc-uk released this 21 May 12:38

Fixes:

  • Serious bug with auth package and JWKS refreshing

Internal:

  • Update to Go module dependencies notably keyfunc and golang-jwt/jwt
  • Expanded example app to include protected and non-protected routes
  • Docs, comments