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.
Unreleased - 🔜
## [1.1.0] - 2024-02-13
- Add support for Sinatra 4 (#361)
## 1.0.0 - 2023-10-09
- Add support for Ruby 3.1 and 3.2 (#355)
- Add support for Sinatra 3 (#356)
- Add support for ActiveSupport 7 (#357)
- Drop support for Ruby 2.5, 2.6 and 2.7 (#355)
- Drop support for Sinatra 1 (#356)
- Drop support for ActiveSupport 5 (#357)
- update template Gemfile (#359)
## 0.32.0 - 2021-09-29
- Add
rake db:migrate:status
to report the status of database migrations (#345).
## 0.31.0 - 2021-09-02
- Add
rake db:version
to report the current DB schema version (#343). This is useful for debugging and building more robust Heroku Release Phase scripts.
## 0.30.1 - 2021-06-17
- Drop Ruby 2.4, add 2.7 and 3.0 to CI runs.
- Relax Thor constraint; allow 1.0, but not 2.0. (#340)
## 0.30.0 - 2020-12-14
- Return Bad Request (400) instead of Internal Server Error (500) when the JSON request payload is unable to be parsed (#338)
- Ensure newline characters are removed from log strings. (#333)
0.29.0 - 2020-09-30
- BREAKING: Register
Serialize
sinatra extension correctly. This will require a change inlib/endpoints/base.rb
- see here. (#337)
0.28.0 - 2020-05-06
- Ruby warning about
File.exists?
being deprecated. (#330)
0.27.1 - 2018-01-18
- Have Travis CI build against Ruby 2.4 - 2.6. (#329)
- Handle a JSON Array of parameters. (#328)
0.27.0 - 2018-01-18
- Upgrade Rubocop to fix a security vulnerability. (#325)
- Have Travis CI build against Ruby 2.2 - 2.5. (#326)
- Sort migrations by filename. (#324)
0.26.2 - 2017-12-15
- Add person data to Rollbar scope on error reporting. (#323)
- Add
zulu_time
serialization helper to serialize date time format consistently. (#322)
0.26.1 - 2017-12-04
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)