Skip to content

Latest commit

 

History

History
245 lines (196 loc) · 12.1 KB

CHANGELOG.md

File metadata and controls

245 lines (196 loc) · 12.1 KB

Change Log

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

Added

  • Add support for Sinatra 4 (#361)

Changed

  • Switched branch from master to main (#362)
  • Updated dependencies for GitHub Actions (#363)

## 1.0.0 - 2023-10-09

Added

  • Add support for Ruby 3.1 and 3.2 (#355)
  • Add support for Sinatra 3 (#356)
  • Add support for ActiveSupport 7 (#357)

Removed

  • Drop support for Ruby 2.5, 2.6 and 2.7 (#355)
  • Drop support for Sinatra 1 (#356)
  • Drop support for ActiveSupport 5 (#357)

Changed

  • update template Gemfile (#359)

## 0.32.0 - 2021-09-29

Changed

  • Add rake db:migrate:status to report the status of database migrations (#345).

## 0.31.0 - 2021-09-02

Changed

## 0.30.1 - 2021-06-17

Changed

  • 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

Fixed

  • 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

Fixed

  • BREAKING: Register Serialize sinatra extension correctly. This will require a change in lib/endpoints/base.rb - see here. (#337)

0.28.0 - 2020-05-06

Changed

  • Ensure all strings with spaces are quoted in logs. (#332)
  • Allow ActiveSupport 5 or 6. (#331)

Fixed

  • Ruby warning about File.exists? being deprecated. (#330)

0.27.1 - 2018-01-18

Changed

  • Have Travis CI build against Ruby 2.4 - 2.6. (#329)

Fixed

  • Handle a JSON Array of parameters. (#328)

0.27.0 - 2018-01-18

Changed

  • Upgrade Rubocop to fix a security vulnerability. (#325)
  • Have Travis CI build against Ruby 2.2 - 2.5. (#326)

Fixed

  • Sort migrations by filename. (#324)

0.26.2 - 2017-12-15

Added

  • 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

Added

  • Enable Sinatra 1.x tests for Travis. (#318)
  • Allow customizing additional CORS headers. (#320)

Fixed

  • Support using IndifferentHash rather than indifferent_hash for Sinatra 2. (#317, #319)

0.26.0 - 2017-09-28

Added

  • Add serializer arity and length to canonical log lines. (#306)
  • Support for Sinatra 2.0 (#310)
  • Reintroduce instruments middleware as a default middleware. (#312)

Removed

  • Deprecated HipChat channel notifier. (#311)

0.25.1 - 2017-04-11

Added

  • Allow an injectable log scrubber. (#309)

0.25.0 - 2017-03-24

Changed

  • Ruby 2.4 is now the default. (#308)
  • Log canonical log lines with default log context. (#307)

Fixed

  • Include custom data in scope sent to Rollbar. (#303)

0.24.0 - 2017-02-16

Added

0.23.0 - 2017-01-10

Changed

  • Puma 3 is now the default. (#297)

Fixed

  • 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

Added

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

Fixed

  • Regression in Rollbar scope extraction. (#295)

0.21.0 - 2016-12-13

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)

0.20.2 - 2016-12-09

Added

  • 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

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)

0.20.0 - 2016-12-06

Added

  • 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

Security

  • Split Pliny::Middleware::RequestStore into ::Clear and ::Seed to avoid leaks across requests. This is a breaking change, requiring updates to routes.rb. Be aware that middleware ordering is important. See here for correct ordering. (#280)

0.18.0 - 2016-08-01

Added

Fixed

  • Rollbar is optional again (#275)

0.17.1 - 2016-06-20

Changed

0.17.0 - 2016-05-25

Changed

  • 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

Fixed

  • Adds missing Origin to Access-Control-Allow-Headers, was causing Safari to be unhappy. (#266)

0.16.2 - 2016-05-01

Changed

  • Upgrade rack-timeout to ~0.4. (#262)

Fixed

  • Heroku Button / Review apps will now automatically loads db schema and run migrations. (#246)

0.16.1 - 2016-04-16

Added

  • Rollbar environment configurable via ROLLBAR_ENV. (#258)
  • Rollbar output is now passed through Pliny.log. (#259)

0.16.0 - 2016-

Changed

Fixed

  • Useless code coverage reports. (#255)
  • Cleanup of active database connections after migration runs. (#257)