All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.26.0 - 2017-09-28
- Add serializer arity and length to canonical log lines. (#306)
- Support for Sinatra 2.0 (#310)
- Reintroduce instruments middleware as a default middleware. (#312)
- Deprecated HipChat channel notifier. (#311)
0.25.1 - 2017-04-11
- Allow an injectable log scrubber. (#309)
0.25.0 - 2017-03-24
- Include custom data in scope sent to Rollbar. (#303)
0.24.0 - 2017-02-16
- Ruby 2.4 support. Requires
activesupport
5+ which drops support for Ruby 2.2.1 and below. (#302) - Canonical Log Lines (#294)
0.23.0 - 2017-01-10
- Puma 3 is now the default. (#297)
- Conditionally load Rubocop rake tasks if Rubocop is present. (#299)
- Automatic Rubocop refactor missed a
File.exists?
mock. (#300)
0.22.0 - 2017-01-06
- Add and apply Rubocop to the template. (#294)
- Regression in Rollbar scope extraction. (#295)
0.21.0 - 2016-12-13
- Optionally specify
message
onRescueError
middleware to override the default error message for500 Internal Server Error
. (#276)
- 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)
- Handle empty
rack_env
when passing to Rollbar reporter. (#291)
0.20.2 - 2016-12-09
- Optional
Pliny::Middleware::Metrics
middleware that reports number of requests, request latency and class of HTTP status codes. (#289)
0.20.1 - 2016-12-08
Pliny::Metrics.measure
now supportsvalue
as a keyword parameter as well as a block. If provided, it'll be the value reported. (#288)
require!
raisesLoadError
if non-existent path is provided. (#287)
0.20.0 - 2016-12-06
Pliny::Metrics.backends
is a configurable list of metrics handlers that enable sending metrics to various providers. (#286)Pliny::Metrics::Backends::Logger
is a a new (and default) metrics handler that reports metrics data to logs in l2met format. (#286)
0.19.0 - 2016-10-12
- Split
Pliny::Middleware::RequestStore
into::Clear
and::Seed
to avoid leaks across requests. This is a breaking change, requiring updates toroutes.rb
. Be aware that middleware ordering is important. See here for correct ordering. (#280)
0.18.0 - 2016-08-01
Pliny::Metrics#count
andPliny::Metrics#measure
for emitting l2met log entries. (#268)
- Rollbar is optional again (#275)
0.17.1 - 2016-06-20
- Use rspec-mocks instead of rr (#273)
0.17.0 - 2016-05-25
- Ruby 2.3.1 is now the default, also bumps in Puma and Sequel. (#269)
- Cleans up the default
config/config.rb
template. (#267) - Revamp of how errors are reported to Rollbar. (#265)
0.16.3 - 2016-05-04
- Adds missing
Origin
toAccess-Control-Allow-Headers
, was causing Safari to be unhappy. (#266)
0.16.2 - 2016-05-01
- Upgrade
rack-timeout
to~0.4
. (#262)
- Heroku Button / Review apps will now automatically loads db schema and run migrations. (#246)
0.16.1 - 2016-04-16
- Rollbar environment configurable via
ROLLBAR_ENV
. (#258) - Rollbar output is now passed through
Pliny.log
. (#259)
0.16.0 - 2016-
- Ruby 2.3 is now the default. Thanks to @zzak for upgrading sinatra-contrib. (#253)