- Added caching to health check responses. Successful checks are cached for 27
seconds; failures are cached for 9 seconds.
- Removed the "simple" view of the health check, which had been available with
the query string `?simple=true`. This isn't necessary now that we cache the
results of the checks.
- Added `timestamp` field to the outer level of the JSON response, and
`timestamp` and `expires` to each check result.
CHANGELOG
=========
All releases are documented in this file.
Details about each change can be checked directly in the description of each merge request.
Automatically generated by [`awesome-release`](https://github.com/rbsdev/awesome-release).
[1.10.1](https://github.com/ateliedocodigo/py-healthcheck/compare/1.10.0...1.10.1)
> 20 May 2020
- Fix environment dump [`24`](https://github.com/ateliedocodigo/py-healthcheck/pull/24)
[1.10.0](https://github.com/ateliedocodigo/py-healthcheck/compare/1.9.0...1.10.0)
> 15 May 2020
- Improve safe dump [`23`](https://github.com/ateliedocodigo/py-healthcheck/pull/23)
[1.9.0](https://github.com/ateliedocodigo/py-healthcheck/compare/1.8.1...1.9.0)
> 3 June 2019
- Add single run [`18`](https://github.com/ateliedocodigo/py-healthcheck/pull/18)
[1.8.1](https://github.com/ateliedocodigo/py-healthcheck/compare/1.8.0...1.8.1)
> 17 May 2019
- Change logging to legger [`17`](https://github.com/ateliedocodigo/py-healthcheck/pull/17)
- Improve test matrix [`16`](https://github.com/ateliedocodigo/py-healthcheck/pull/16)
[1.8.0](https://github.com/ateliedocodigo/py-healthcheck/compare/1.7.2...1.8.0)
> 15 April 2019
- Supports section as value [`15`](https://github.com/ateliedocodigo/py-healthcheck/pull/15)
[1.7.2](https://github.com/ateliedocodigo/py-healthcheck/compare/1.7.1...1.7.2)
> 18 September 2018
- Fix: AttributeError on FreeBSD where errno.ETIME doesn't exist [`14`](https://github.com/ateliedocodigo/py-healthcheck/pull/14)
[1.7.1](https://github.com/ateliedocodigo/py-healthcheck/compare/1.7.0...1.7.1)
> 20 July 2018
- Fix tox tests [`11`](https://github.com/ateliedocodigo/py-healthcheck/pull/11)
[1.7.0](https://github.com/ateliedocodigo/py-healthcheck/compare/1.6.1...1.7.0)
> 1 November 2017
- Run flake8 instead of PEP8 [`10`](https://github.com/ateliedocodigo/py-healthcheck/pull/10)
- Add response_time to health checks [`5`](https://github.com/ateliedocodigo/py-healthcheck/pull/5)
[1.6.1](https://github.com/ateliedocodigo/py-healthcheck/compare/1.6.0...1.6.1)
> 4 April 2017
[1.6.0](https://github.com/ateliedocodigo/py-healthcheck/compare/1.5.0...1.6.0)
> 31 March 2017
- Feature timeout [`3`](https://github.com/ateliedocodigo/py-healthcheck/pull/3)
[1.5.0](https://github.com/ateliedocodigo/py-healthcheck/compare/1.4.0...1.5.0)
> 17 February 2017
[1.4.0](https://github.com/ateliedocodigo/py-healthcheck/compare/1.3.1...1.4.0)
> 24 January 2017
- Tornado support [`1`](https://github.com/ateliedocodigo/py-healthcheck/pull/1)
- Updated EnvironmentDump to support Python 3 [`23`](https://github.com/ateliedocodigo/py-healthcheck/pull/23)
[1.3.1](https://github.com/ateliedocodigo/py-healthcheck/compare/1.2.0...1.3.1)
> 9 January 2016
- Fix for 'Inappropriate ioctl for device' [`19`](https://github.com/ateliedocodigo/py-healthcheck/pull/19)
- Improving health code with landscape [`15`](https://github.com/ateliedocodigo/py-healthcheck/pull/15)
- Init app [`17`](https://github.com/ateliedocodigo/py-healthcheck/pull/17)
[1.2.0](https://github.com/ateliedocodigo/py-healthcheck/compare/1.1.0...1.2.0)
> 26 November 2015
- Changed to compatibility with python 3.x [`12`](https://github.com/ateliedocodigo/py-healthcheck/pull/12)
[1.1.0](https://github.com/ateliedocodigo/py-healthcheck/compare/1.0.0...1.1.0)
> 26 April 2015
- Fix formatting [`8`](https://github.com/ateliedocodigo/py-healthcheck/pull/8)
- Add a second endpoint to show info about your application's environment. [`6`](https://github.com/ateliedocodigo/py-healthcheck/pull/6)
[1.0.0](https://github.com/ateliedocodigo/py-healthcheck/compare/v0.1.1...1.0.0)
> 5 November 2014
- The beginning of a hoped for pypi distribution [`5`](https://github.com/ateliedocodigo/py-healthcheck/pull/5)
- Add caching to Healthcheck results [`3`](https://github.com/ateliedocodigo/py-healthcheck/pull/3)
- Add simple mode for healthchecks [`2`](https://github.com/ateliedocodigo/py-healthcheck/pull/2)
- Record failed health checks in app.logger. [`1`](https://github.com/ateliedocodigo/py-healthcheck/pull/1)