Skip to content

Latest commit

 

History

History
57 lines (49 loc) · 3.62 KB

CHANGELOG.md

File metadata and controls

57 lines (49 loc) · 3.62 KB

0.8.1

Improvements

0.8.0

Breaking Changes

0.7.0

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.
  • A bug has been fixed that could cause goroutine leaks for timed out check functions.

Improvements

  • The initial check run that is executed on startup is non-blocking anymore.

0.6.0

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).

0.5.1

  • Many documentation improvements

0.5.0

  • 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.