Skip to content

Releases: alexliesenfeld/health

v0.8.0

17 Oct 20:09
Compare
Choose a tag to compare

Breaking Changes

v0.7.0

01 May 21:44
Compare
Choose a tag to compare

Breaking Changes

  • This version introduces automatic recovery from panics that can be turned off on a per-check basis like shown in the showcase example.

Improvements

  • The initial check run that is executed on startup is non-blocking anymore.
  • A bug has been fixed that could cause goroutine leaks for timed out check functions.

v0.7.0-beta.2

26 Oct 04:58
Compare
Choose a tag to compare
v0.7.0-beta.2 Pre-release
Pre-release

Breaking Changes

  • This version introduces automatic recovery from panics that can be turned off on a per-check basis like shown in the showcase example.

Improvements

  • The initial check run that is executed on startup is not blocking service startup anymore when a health check function is slow.

v0.7.0-beta.1

24 Oct 21:27
b60ff94
Compare
Choose a tag to compare
v0.7.0-beta.1 Pre-release
Pre-release

Breaking Changes

  • This version introduces automatic recovery from panics that can be turned off on a per-check basis like shown in the showcase example.

v0.6.0

09 Aug 18:50
ca4ca11
Compare
Choose a tag to compare

Breaking Changes

Improvements

  • Stopping the Checker does not wait until the initial delay of periodic checks has passed anymore. Checker.Stop stops the Checker immediately, but waits until all currently running check functions have completed.
  • The health check http.Handler was patched to not include an empty checks map in the JSON response. In case no check functions are defined, the JSON response will therefore not be { "status": "up", "checks" : {} } anymore but only { "status": "up" }.
  • A Kubernetes liveness and readiness checks example was added (see examples/kubernetes).

v0.5.1

27 Jul 18:23
4303198
Compare
Choose a tag to compare

Documentation improvements.

v0.5.0

26 Jul 18:30
895ad4e
Compare
Choose a tag to compare
  • BREAKING CHANGE: Changed function signature of middleware functions.
  • Added a new check function interceptor and a http.Handler middleware with basic logging functionality.
  • Added a new basic authentication middleware that reduces the exposed health information in case of failed authentication.
  • Added a new middleware FullDetailsOnQueryParam was added that hides details by default and only shows them when a configured query parameter name was provided in the HTTP request.
  • Added new Checker configuration option WithInterceptors, that will be applied to every check function.

v0.4.0

24 Jul 18:37
Compare
Choose a tag to compare
fixed test for disabled autostart.

v0.4.0-beta.2

23 Jul 22:52
Compare
Choose a tag to compare
Added function documentation.

v0.4.0-beta.1

22 Jul 22:03
Compare
Choose a tag to compare
Removed before/after listeners. Added interceptors instead.