Skip to content

Latest commit

 

History

History
330 lines (189 loc) · 7.06 KB

CHANGELOG.md

File metadata and controls

330 lines (189 loc) · 7.06 KB

v2.2.2

  • Drops Railtie::Database. STATEMENT_TIMEOUT no longer set by this gem.

v2.2.1

  • Drops ActiveRecord::Base.establish_connection from Railtie::Database.

v2.2.0

Breaking changes:

  • Drops Rails 4 support
  • Drops Rails 5.0 support
  • Drops Rails 5.1 support
  • Drops Ruby 2.4 support

Features:

  • Adds Rails 6.1 support
  • Adds Rails 7.0 support
  • Adds Ruby 2.7 support
  • Adds Ruby 3.0 support
  • Adds Ruby 3.1 support

v2.1.2

Bug fix:

  • fixes PopulateEnvFromJWT caching issue where a key that couldn't be fetched would be cached

v2.1.0

Features:

  • Rails 6 compatibility

v2.0.0-pre.2

Features:

  • Removes routemaster

v2.0.0-pre.1

Features:

  • Remove New Relic

v1.23.0 (2019-04-24)

Features:

  • Setting DATABASE_STATEMENT_TIMEOUT to -1 will prevent the app setting any timeout. Setting timeouts from the app conflicts with PGBouncer and should be disabled if using one.

v1.22.0 (2018-08-29)

Features:

  • Allows specifying BASE_NEW_RELIC_APP_NAME instead of NEW_RELIC_APP_NAME, which reports to New Relic per Hopper service.

v1.21.0 (2018-03-27)

Features:

  • Rails 5.2 compatibility

v1.20.0 (2018-03-27)

Features:

  • Add Hopper compatibility for DataDog integration (#90)

Bug fix:

  • Set log level when instantiating logger; this avoids always outputting an initial "debug" line (#89)

v1.19.0 (2018-01-23)

Bug fixes:

  • Avoid New Relic initialization warning by following Rails initializer behaviour (#88)

Features:

  • Allow disabling New Relic synchronous startup by setting NEW_RELIC_SYNC_STARTUP=false (#88)

v1.18.0 (2018-01-11)

Features:

  • Respect rails config log_level, default to this if no LOG_LEVEL env var is set instead of debug. (#87)

v1.17.0 (2018-01-09)

Features:

  • Forced publishing of lifecycle events to Routemaster without model checks. (#86)

v1.16.2 (2017-12-15)

Bug fixes:

  • It's possible to set an invalid log level and crash on boot (#84)
  • Do not disable ActiveRecord connection reaping by default; set default behaviour to Rails' default behaviour. (#85)

v1.16.1 (2017-11-20)

Bug fixes:

  • Auto-load roo identity if configured, prevent failing in CI (#83)

v1.16.0 (2017-11-17)

Features:

  • Allow SSL enforcement to be disabled via ROO_ON_RAILS_DISABLE_SSL_ENFORCEMENT environment variable (#82)

Bug fixes:

  • Ensure we can distinguish between environments' identity services (#81)

v1.15.0

Features:

  • Process JWTs in Authorization headers and populate the request env's roo.identity key with the claims, if present and valid. (#79)
  • RooOnRails::Logger is now compatible with ActiveSupport::Logger on Rails versions >= 4.2 (#77)

v1.14.0

Bug Fix:

  • Routemaster Publisher was sending epoch seconds instead of milliseconds (#78)

v1.13.1 (2017-10-18)

Bug fixes:

  • Fixes issue when service_name is null in require_api_key (#74)

v1.13.0 (2017-10-12)

Features:

  • Provide ROUTEMASTER_VERIFY_SSL environment variable to disable routemaster-client's SSL verification. (#68)

Bug fixes:

  • Fixes issue with fix command of the service setup scripts for papertrail (#66)
  • Fixes issue with API authentication concern where service name was incorrect (#71)

v1.12.0 (2017-09-27)

Features (library):

  • Provides API authentication concern for controllers. (#67)

v1.11.1 (2017-09-11)

Bug fixes:

  • Fix case when SIDEKIQ_ENABLED was false, rails would not load. (#65)

v1.11.0 (2017-09-06)

Features (library):

  • Replaces the Rails logger with a structured logger (#60)
  • Auto-fills the Routemaster t timestamp field, where appropriate, from the model's created_at and updated_at fields if available (#64)

Features (app harness):

  • The roo_on_rails test harness now defaults to not fixing issues, and has extra --env and --fix flags (#57)
  • All checks will now run regardless of previous failure to avoid back-and-forthing (#57)
  • Tolerates apps with abbreviated environment names (#55)

Bug fixes:

  • Bugfix for supporting non-default publishers after a reload! in the rails console (#62)
  • Friendlier error message when facing Heroku permission errors (#58)
  • Support apps without ActiveRecord (#40)

Misc:

  • Now using CircleCI for builds (#61, #63)
  • Document Datadog integration (#59)

v1.10.0 (2017-08-11)

Features:

  • Asynchronous publishing of events to Routemaster (#56)

v1.9.0 (2017-08-08)

Features:

  • Publish lifecycle events to Routemaster (#19)

v1.8.1 (2017-07-27)

Features:

  • Google OAuth supported in Rails 3 and 4 (#54)

Bug fixes:

  • Allow client apps to load middleware (#54)

v1.8.0 (2017-07-26)

Bug fixes:

  • Do not consider 'quiet' workers in the SLA sidekiq metric (#51)

Features:

  • Provides a PLAYBOOK.md template when detected missing (#42)
  • Adds pre-baked Google OAuth support (#44, #49)
  • Reports Sidekiq metrics only for queues defined in process (#50)
  • Finer-grained Sidekiq configuration (#46)
    • adds 'default' to list of default Sidekiq queues
    • accepts custom Sidekiq queue names and permitted latency values
    • allows environment-specific application checks

Other:

  • Fixes the test harness (#48)

v1.7.0 (2017-07-18)

Features:

  • Adds check for Papertrail integration (#43)

v1.6.0 (2017-07-11)

Features:

  • Adds check for a PLAYBOOK.md file, which should detail how to deal with issues which might occur with the service (#41)

Bug fixes:

  • Allow usage of recent versions of newrelic_rpm (#38)

v1.5.0 (2017-06-19)

Features:

  • Adds Datadog integration (#35)
  • Adds Sidekiq::MetricsWorker to publish queue/process metrics (#35)
  • Inserts Sidekiq STATSD middleware if Sidekiq Pro is available (#35)

v1.4.0 (2017-06-05)

Features:

  • Adds newrelic:notice_deployment rake task (#32)
  • Adds Heroku/Datadog integration checks (#33)
  • Supports Rails apps without ActiveRecord (#26)

Fixes:

  • roo_on_rails command only loads the checks harness if necessary (#30)
  • Upgrades outdated platform-api gem (#31)

v1.3.1 (2017-05-05)

Features:

  • Adds Rails 5.1 support (#25)

Fixes:

  • Documentation (#23, #24)

v1.3.0 (2017-04-28)

Features:

  • Sets database statement timeout to 200ms by default (#13).
  • Sets migration statement timeout to 10s by default (#16, #17)
  • Adds Sidekiq and Hirefire (workers) integration (#11)
  • Adds the ability to tag logs with key/value pairs (#20, #21)

Fixes:

  • Use correct GitHub context name for CircleCI (#12)
  • Do not depend on sort order for Codecov GitHub contexts (#12)
  • Do not add Rack::SslEnforcer middleware in test environment (#15)
  • Fix for "undefined constant: RooOnRails::Rack::Timeout" (#18)
  • Use correct class name in Sidekiq auto-scaling metric (#22)

v1.2.0 (2017-03-21)

Features:

  • Add Rack::Timeout, Rack::SslEnforcer, Rack::Deflater middleware when loaded (#7).
  • roo_on_rails command now checks for Github branch protection (#8).

Fixes:

  • Wider build matrix; now with Rails 3, 4, 5 compatibility on various Rubies (#6, #9).

v1.1.0 (2017-02-20)

Features:

  • roo_on_rails command, with basic Heroku app checks (#4)

v1.0.1 (2017-01-20)

Fixes:

  • Do not load New Relic in test environments (#2, #3)

v1.0.0 (2017-01-19)

Features:

  • Automatic New Relic configuration, with safeguards (#1)