Skip to content

Releases: interagent/pliny

v0.22.0

10 Jan 10:29
969318c
Compare
Choose a tag to compare

Added

  • Add and apply Rubocop to the template. (#294)

Fixed

  • Regression in Rollbar scope extraction. (#295)

v0.21.0

10 Jan 10:29
ced8bf0
Compare
Choose a tag to compare

Added

  • Optionally specify message on RescueError middleware to override the
    default error message for 500 Internal Server Error.
    (#276)

Changed

  • Ruby 2.3.3 is now the default, also brings in Ruby 2.3 to Travis CI matrix.
    (#290)
  • Add deprecation note to Pliny::ConfigHelpers, Pliny::CastingConfigHelpers
    is the preferred way.
    (#292)

Fixed

  • Handle empty rack_env when passing to Rollbar reporter.
    (#291)

v0.20.2

09 Dec 05:31
afc0fe5
Compare
Choose a tag to compare

Added

  • Optional Pliny::Middleware::Metrics middleware that reports number of
    requests, request latency and class of HTTP status codes.
    (#289)

v0.20.1

08 Dec 11:00
71ca857
Compare
Choose a tag to compare

Added

  • Pliny::Metrics.measure now supports value as a keyword parameter as well
    as a block. If provided, it'll be the value reported.
    (#288)

Changed

  • require! raises LoadError if non-existent path is provided.
    (#287)

v0.20.0

06 Dec 16:51
ab38ec7
Compare
Choose a tag to compare

Added

  • Pliny::Metrics.backends is a configurable list of metrics handlers that
    enable sending metrics to various providers.
  • Pliny::Metrics::Backends::Logger is a a new (and default) metrics handler
    that reports metrics data to logs in l2met format.

v0.19.0

12 Oct 09:00
2ea455d
Compare
Choose a tag to compare
  • Security: Split Pliny::Middleware::RequestStore into ::Clear and ::Seed to avoid leaks across requests (#280). This is a breaking change, requiring updates to routes.rb. Be aware that middleware ordering is important. See here for correct ordering.

v0.18.0

01 Aug 13:49
1b5caf7
Compare
Choose a tag to compare
  • Feature: Pliny::Metrics#count and Pliny::Metrics#measure for emitting l2met log entries. (#268)
  • Fixes: Rollbar is optional again (#275).

v0.17.1

09 Jul 09:10
4defb79
Compare
Choose a tag to compare

v0.17.0

25 May 13:29
514400f
Compare
Choose a tag to compare
  • Change: Ruby 2.3.1 is now the default, also bumps in Puma and Sequel (#269).
  • Change: Cleans up the default config/config.rb template. (#267)
  • Change: Revamp of how errors are reported to Rollbar. (#265)

v0.16.3

04 May 11:42
9acfad5
Compare
Choose a tag to compare
  • Fixes: Adds missing Origin to Access-Control-Allow-Headers, was causing Safari to be unhappy (#266).