github.com/alexliesenfeld/health
v0.8.1
alexliesenfeld/health
What this package is like to depend on
Last release 2 months ago
15 Jun 2026
Release timing varies
gaps range from 2 weeks to 12 months
Some releases are documented
notes for 6 of 17 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
64 releases · first in 2021
2 releases in the last 12 months
see the full history below
Release timeline
64 releases · Jul 2021 to Jun 2026Releases
latest 60 of 64-
v0.8.2-0.20260615132245-10af2e79173815 Jun 2026 pre-releaseNothing published for this version
-
v0.8.2-0.20250627062619-87f825d349bf27 Jun 2025 pre-releaseNothing published for this version
-
v0.8.2-0.20250621092545-f3b4dc9e970821 Jun 2025 pre-releaseNothing published for this version
-
v0.8.121 Jun 2025Release notes
Open source →Improvements
- The configuration option
WithCheckswas added. - The configuration option
WithInfoFuncwas added.
- The configuration option
-
v0.8.1-0.20250323104556-051c79dcdc1d23 Mar 2025 pre-releaseNothing published for this version
-
v0.8.1-0.20250225075533-4c9a5cd9043f25 Feb 2025 pre-releaseNothing published for this version
-
v0.8.1-0.20240926185718-299095537bea26 Sep 2024 pre-releaseNothing published for this version
-
v0.8.1-0.20240926162306-3005c45f390126 Sep 2024 pre-releaseNothing published for this version
-
v0.8.017 Oct 2023Release notes
Open source →Breaking Changes
CheckerResults
Detailsfield is now no pointer anymore.- The configuration option
WithMaxErrorMessageLength
was removed. This used to control the length of the string fieldCheckResult.Error.
Instead of returning the error as a string, it is now being returned as anerror. - All
time.Timefields inhealth.CheckState
are now values rather than pointers. Use the
IsZero-method to check if a value has been set or not instead.
Release notes
Open source →Breaking Changes
CheckerResultsDetailsfield is now no pointer anymore.- The configuration option
WithMaxErrorMessageLengthwas removed. This used to control the length of the string fieldCheckResult.Error. Instead of returning the error as a string, it is now being returned as anerror. - All
time.Timefields inhealth.CheckStateare now values rather than pointers. Use theIsZero-method to check if a value has been set or not instead.
-
v0.7.1-0.20231017200706-a13c0154165317 Oct 2023 pre-releaseNothing published for this version
-
v0.7.1-0.20230914214218-edb0c972142314 Sep 2023 pre-releaseNothing published for this version
-
v0.7.1-0.20230718221750-7e10f63ff7c018 Jul 2023 pre-releaseNothing published for this version
-
v0.7.1-0.20230509202302-945df512d61209 May 2023 pre-releaseNothing published for this version
-
v0.7.001 May 2023Release notes
Open source →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.
Release notes
Open source →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.
-
v0.7.0-beta.226 Oct 2022 pre-releaseRelease notes
Open source →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.0.20221026045658-09f6eabefbfd26 Oct 2022 pre-releaseNothing published for this version
-
v0.7.0-beta.124 Oct 2022 pre-releaseRelease notes
Open source →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.1-0.20221031180652-6e81c064216731 Oct 2022 pre-releaseNothing published for this version
-
v0.6.1-0.20221024212208-b60ff948837c24 Oct 2022 pre-releaseNothing published for this version
-
v0.6.1-0.20221024211304-1fcc4c7599ea24 Oct 2022 pre-releaseNothing published for this version
-
v0.6.1-0.20221010221252-df436b70e9fb10 Oct 2022 pre-releaseNothing published for this version
-
v0.6.1-0.20221010215524-0cc0d44f7be610 Oct 2022 pre-releaseNothing published for this version
-
v0.6.1-0.20211210201107-27bb0b9c354f10 Dec 2021 pre-releaseNothing published for this version
-
v0.6.009 Aug 2021Release notes
Open source →Breaking Changes
- A ResultWriter must now additionally write the status code into the http.ResponseWriter. This is necessary due to ordering constraints when writing into a http.ResponseWriter (see #9).
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
checksmap 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).
Release notes
Open source →Breaking Changes
- A ResultWriter must now additionally write the status code into the http.ResponseWriter. This is necessary due to ordering constraints when writing into a http.ResponseWriter (see https://github.com/alexliesenfeld/health/issues/9).
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
checksmap 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.127 Jul 2021 -
v0.5.026 Jul 2021Release notes
Open source →- 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.
Release notes
Open source →- 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.024 Jul 2021Nothing published for this version
-
v0.4.0-beta.223 Jul 2021 pre-releaseNothing published for this version
-
v0.4.0-beta.1.0.20210723225205-72e38995208a23 Jul 2021 pre-releaseNothing published for this version
-
v0.4.0-beta.122 Jul 2021 pre-releaseNothing published for this version
-
v0.3.3-0.20210722220048-4304086b14d922 Jul 2021 pre-releaseNothing published for this version
-
v0.3.3-0.20210719173726-51bad652b39b19 Jul 2021 pre-releaseNothing published for this version
-
v0.3.3-0.20210718235659-3cc965be31da18 Jul 2021 pre-releaseNothing published for this version
-
v0.3.218 Jul 2021Nothing published for this version
-
v0.3.2-0.20210718230814-e227230b60c418 Jul 2021 pre-releaseNothing published for this version
-
v0.3.118 Jul 2021Nothing published for this version
-
v0.3.018 Jul 2021Nothing published for this version
-
v0.3.0-beta.318 Jul 2021 pre-releaseNothing published for this version
-
v0.3.0-beta.2.0.20210718193934-3da08047d8f318 Jul 2021 pre-releaseNothing published for this version
-
v0.3.0-beta.216 Jul 2021 pre-releaseNothing published for this version
-
v0.3.0-beta.1.0.20210716191035-a725b301bf3316 Jul 2021 pre-releaseNothing published for this version
-
v0.3.0-beta.115 Jul 2021 pre-releaseNothing published for this version
-
v0.2.6-0.20210716100751-83185d7ba48916 Jul 2021 pre-releaseNothing published for this version
-
v0.2.6-0.20210715222354-39c698eac61d15 Jul 2021 pre-releaseNothing published for this version
-
v0.2.6-0.20210715164248-86ed471599c315 Jul 2021 pre-releaseNothing published for this version
-
v0.2.6-0.20210710053519-a0baa40fd46110 Jul 2021 pre-releaseNothing published for this version
-
v0.2.510 Jul 2021Nothing published for this version
-
v0.2.5-0.20210709211210-49d03899167e09 Jul 2021 pre-releaseNothing published for this version
-
v0.2.5-0.20210709205030-736cb93d19ff09 Jul 2021 pre-releaseNothing published for this version
-
v0.2.409 Jul 2021Nothing published for this version
-
v0.2.309 Jul 2021Nothing published for this version
-
v0.2.209 Jul 2021Nothing published for this version
-
v0.2.109 Jul 2021Nothing published for this version
-
v0.2.009 Jul 2021Nothing published for this version
-
v0.1.008 Jul 2021Nothing published for this version
-
v0.0.0-20260615132245-10af2e79173815 Jun 2026 pre-releaseNothing published for this version
-
v0.0.0-20250627062619-87f825d349bf27 Jun 2025 pre-releaseNothing published for this version
-
v0.0.0-20240926185718-299095537bea26 Sep 2024 pre-releaseNothing published for this version
-
v0.0.0-20231017200706-a13c0154165317 Oct 2023 pre-releaseNothing published for this version
-
v0.0.0-20221026045658-09f6eabefbfd26 Oct 2022 pre-releaseNothing published for this version