- Fix deprecation warning with useage of Kernal#timeout
- Adds the ability to specify particular checks are optional. They will still display as failed if they fail, but the HTTP response will still be successful.
- Adds the execution time of each check to the response (in seconds).
- Allow customizing the plain-text output through Rails' internaltionalization. See README for details.
- Allow CacheCheck to work with Rails cache stores which don't have a
#stats
method, like the filesystem cache.
- Added support for Rails 5!
- Updated CI build matrix (and consequently, added/dropped official support of Ruby/Rails versions)
- Dropped support for Rails 4.0, Ruby 2.0 (EOL)
- Added Rails 5.0 and Ruby 2.2, 2.3
- Current supported versions are now Rails 5.0, 4.2, 4.1, 3.2, and Ruby 2.1, 2.2, 2.3
- No longer display name of requested check when no matching check is found. This eliminates possibility of XSS vulnerability with maliciously crafted requests.
- Before: "No check registered with 'CHECK_NAME'"
- After: "No matching check"
- Adds support for Neo4j
- Only apply basic auth headers for HTTP checks when basic auth credentials are configured.
- Add Support for basic auth on http checks
- Add RabbitmqCheck check to test your RabbitMQ connection.
- Reduce Rails dependencies outside of the engine. The upshot is OK Computer is now easier to port to non-Rails apps.
- Add
okcomputer_check
andokcomputer_checks
names to existing routes. Now you canlink_to okcomputer_checks
or otherwise refer to them programmatically.
- Added support for Mongoid 5
- Added support for Sidekiq 4
- Fix exception when requiring
okcomputer
without the use of Bundler.
- Add built in redis health check
- Added a configuration option to run checks in parallel.
- Added new options to DelayedJobBackedUpCheck: which queue to check, whether to include running jobs in the count, whether to include failed jobs in the count, and a minimum priority of jobs to count.
- Updated MongoidCheck for compatibility with Mongoid 5.
- Added two new checks:
- SolrCheck, which tests connection to a Solr instance
- HttpCheck, which tests connection to an arbitrary HTTP endpoint
- ElasticsearchCheck has been modified to be a child of HttpCheck, with no change in external behavior.
- MongoidCheck now accepts an optional
session
argument to check the given session.
- Added two new checks:
- ElasticsearchCheck, which tests the health of your Elasticsearch cluster
- AppVersionCheck, which reports the version (as a SHA) of your app is running
- Added two new checks:
- GenericCacheCheck, which tests that
Rails.cache
is able to read and write. - MongoidReplicaSetCheck, which tests that all of your configured Mongoid replica sets can be reached.
- GenericCacheCheck, which tests that
- Modified CacheCheck to accept an optional Memcached host to test. The default behavior of testing Memcached on the local machine remains unchanged.
- Version bump
- For prior breaking changes from initial development, see the Deprecations and Breaking Changes section of the pre 1.0 README.