Releases: interagent/pliny
Releases · interagent/pliny
v0.22.0
Added
- Add and apply Rubocop to the template. (#294)
Fixed
- Regression in Rollbar scope extraction. (#295)
v0.21.0
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
Added
- Optional
Pliny::Middleware::Metrics
middleware that reports number of
requests, request latency and class of HTTP status codes.
(#289)
v0.20.1
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
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
- 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
- Feature:
Pliny::Metrics#count
and Pliny::Metrics#measure
for emitting l2met log entries. (#268)
- Fixes: Rollbar is optional again (#275).
v0.17.0
- 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
- Fixes: Adds missing
Origin
to Access-Control-Allow-Headers
, was causing Safari to be unhappy (#266).