Skip to content

Releases: gocardless/coach

v3.0.1

09 Mar 11:26
bf20c9b
Compare
Choose a tag to compare

#120 Fixes missing method from middleware in Rails 7

v3.0.0

25 Aug 09:56
b662448
Compare
Choose a tag to compare
  • #105 Add support for module/class names to be
    passed to Handler.new and Router#draw to allow routes to be defined without loading the routes
    constants, which makes using Zeitwerk much easier.

  • Add Ruby 3 support

Breaking changes

  • Remove Ruby 2.4 and 2.5 support

v2.3.0

29 Apr 13:41
Compare
Choose a tag to compare
  • #90 Instrument status 0 instead of 500 when Coach::Handler catches an exception

v2.2.1 (2020-02-06)

06 Feb 16:08
a2c075a
Compare
Choose a tag to compare

v2.2.0 (2020-01-08)

08 Jan 17:04
Compare
Choose a tag to compare
  • #68 Add coach CLI and add documentation to README

v2.1.0 (2019-11-14)

14 Nov 10:58
Compare
Choose a tag to compare
  • #79 RequestSerializer will now return the 'http_content_type' and 'http_content_length' filtered headers.
  • #75 Documentation update.

v2.0.0

14 Jun 07:52
71b386f
Compare
Choose a tag to compare

Breaking changes

  • #70 The following deprecated event names have been removed:
    • coach.handler.start
    • coach.middleware.start
    • coach.middleware.finish
    • coach.handler.finish
    • coach.request
  • #56 Support for Ruby 2.2 and 2.3 has been dropped. See our compatibility policy for more information.

Other changes

  • #59 Request data included in the request.coach event includes a session_ip field which replaces the erroneously named session_id. The latter is deprecated and will be removed in a future release.
  • #60 Add Middleware.requires?, which behaves like Middleware.provides? but for requirements.
  • #52 Add duration_seconds to statistic logging. The duration field is now deprecated and will be removed in a future release.

v1.0.0

19 Apr 10:34
f50d078
Compare
Choose a tag to compare

Breaking changes

  • #41 Ruby versions before 2.1 are no longer supported.
  • #29 To use Coach's included matchers in RSpec, you should now require coach/rspec. Coach.require_matchers! is deprecated and will be removed in a future version.
  • #47 If you're using Coach's support for instrumentation with ActiveSupport::Notifications, the event names Coach publishes have changed to be more consistent with other libraries. The previous names will work for now, but will be removed in a future version. The changes are as follows:
Before After
coach.handler.start start_handler.coach
coach.middleware.start start_middleware.coach
coach.middleware.finish finish_middleware.coach
coach.handler.finish finish_handler.coach
coach.request request.coach

v0.5.2

26 Sep 10:01
Compare
Choose a tag to compare
  • #29 Replace Coach.require_matchers! with actual require

v0.5.1

21 Aug 07:57
Compare
Choose a tag to compare