Permalink
912 lines (659 sloc) 24.4 KB

Changelog

6.9.0 (12 Nov 2018)

Enhancements

  • Ensure the correct error handler is used in newer versions of Sidekiq | #434

  • Rewrite Delayed::Job integration to fix potential issues and add more collected data | #492 | Simon Maynard

6.8.0 (11 Jul 2018)

This release includes general performance improvements to payload trimming and filtering.

Enhancements

  • Capture unexpected app terminations automatically with at_exit | #397 | Alex Moinet

  • (DelayedJob) Improve max attempts handling - If the max attempts method returns nil it should fallback to Delayed::Worker.max_attempts | #471 | Johnny Shields

  • Increase payload size limit to 512kb (from 256kb) | #431 | Alex Moinet

Fixes

6.7.3 (18 May 2018)

Fixes

6.7.2 (24 Apr 2018)

Fixes

  • (Notify) Handle notify calls with nil arguments correctly | #439

6.7.1 (11 Apr 2018)

Fixes

  • (Rails) Log missing key warning after initialization completes, avoiding incorrectly logging a warning that the API key is missing | #444

6.7.0 (05 Apr 2018)

Enhancements

  • Support HTTP proxy from http_proxy and https_proxy environment variables | #424 | #437 | Bill Kirtley

  • Add option to disable auto-configuration | #419

  • Add warden.user.rack data to default filters | #436

Fixes

  • Ensure logged messages include Bugsnag progname | #443

6.6.4 (14 Feb 2018)

Fixes

  • Mark files in .bundle/ directory as not "in project" | #420 | Alex Moinet
  • Restore support for attaching bugsnag_* metadata to exceptions without extending Bugsnag::Middleware::ExceptionMetaData | #426 | Jordan Raine

6.6.3 (23 Jan 2018)

Fixes

  • Re-added apiKey to payload for compatibility | #418

6.6.2 (18 Jan 2018)

Fixes

6.6.1 (09 Jan 2018)

Bug fixes

  • Fix failure to launch session polling task | #414

6.6.0 (09 Jan 2018)

Enhancements

  • Session tracking update:
    • Refactor of session tracking to adhere to a common interface, and simplify usage.
    • Includes several performance enhancements.
    • Reverts potentially breaking change of json body sanitation within delivery function. | #412
    • Maintains backwards compatibility with previous session-tracking changes. | #413

6.5.0 (04 Jan 2018)

Enhancements

  • Adds support for tracking sessions and crash rate by setting the configuration option configuration.auto_capture_sessions to true. Sessions can be manually created using Bugsnag.start_session. | #411

6.4.0 (21 Dec 2017)

Enhancements

6.3.0 (14 Dec 2017)

Enhancements

  • Allow skipping report generation using exception property | #402

6.2.0 (07 Dec 2017)

Enhancements

  • Added common exit exceptions - SystemExit and Interrupt - to default ignore classes. | #404

6.1.1 (23 Nov 2017)

Fixes

  • Ensured Bugsnag class intialises before railties initialised | #396

6.1.0 (17 Nov 2017)

Enhancements

Fixes

6.0.1 (09 Nov 2017)

Adds a warning for the change in usage for the notify() method from < 6.0 to ease upgrading.

6.0.0 (09 Nov 2017)

This notifier has been extensively re-written to make it easier to add new integrations and maintain in the future. This has led to several changes that are not backwards compatible. Please refer to the upgrading guide for more information.

Enhancements

5.5.0 (09 Nov 2017)

Enhancements

  • Allow environment variable proxy config for Net::HTTP | dexhorthy | #380

5.4.1 (06 Oct 2017)

Fixes

  • [DelayedJob] Fix NameError occurring on erroring job notification | Eito Katagiri | #377

  • Fixed failing Rake/Java tests | #378

5.4.0 (02 Oct 2017)

This release removes the default setting of ignoring classes of errors which are commonly associated with typos or server signals (SystemExit), instead recording them as info-level severity by default. This includes the following classes:

  AbstractController::ActionNotFound,
  ActionController::InvalidAuthenticityToken,
  ActionController::ParameterMissing,
  ActionController::RoutingError,
  ActionController::UnknownAction,
  ActionController::UnknownFormat,
  ActionController::UnknownHttpMethod,
  ActiveRecord::RecordNotFound,
  CGI::Session::CookieStore::TamperedWithCookie,
  Mongoid::Errors::DocumentNotFound,
  SignalException,
  SystemExit

Enhancements

  • Add a one-time warning if the API key is not set
  • Track whether errors were captured automatically and by which middleware

5.3.3 (16 June 2017)

  • [Rails] Fix failure to report when encountering objects which throw in to_s #361

5.3.2 (27 April 2017)

Bug fixes

  • [Sidekiq] Revert commit c7862ea because Sidekiq's logging middleware was removed in version 5.0.0 | Reuben Brown | #358

5.3.1 (20 April 2017)

Bug fixes

  • [Resque] Fix error when creating a worker without a queue | Dean Galvin | #355

5.3.0 (07 April 2017)

Enhancements

Bug fixes

5.2.0 (10 February 2017)

Enhancements

Bug fixes

5.1.0 (23 January 2017)

Bug fixes

  • Fix behavior to not override Rails 5 belongs_to association | #314

Enhancements

5.0.1 (7 September 2016)

Bug fixes

  • Show the job class name for Sidekiq jobs, not the wrapper class name | Simon Maynard | #323

5.0.0 (23 August 2016)

Enhancements

  • Remove RoutingError from default ignore classes | #308
  • Prefer BUGSNAG_RELEASE_STAGE over RAILS_ENV for release_stage | #298
  • Apply grouping hash if method bugsnag_grouping_hash is available on the object | #318 | #311
  • Sidekiq improvements | #317 | #282 | #309 | #306

Fixes

  • Exception backtrace could be empty | #307

4.2.1 (23 Jun 2016)

Fixes

  • Ensure Rails 2 extensions are not loaded on newer versions | #303

  • Remove API key logging when Bugsnag is logging successfully | Julian Borrey | #299

4.2.0 (17 Jun 2016)

Enhancements

4.1.0 (11 May 2016)

Enhancements

  • Add support for 'block syntax' on Bugsnag.notify calls | James Smith | #292

Fixes

  • Trim stacktraces and metadata to ensure payload delivery | #294 | #295

4.0.2 (13 Apr 2016)

Fixes

  • Fix payload rejection due to truncating duplicate stacktrace frames | #284 | #291

4.0.1 (5 Apr 2016)

Fixes

4.0.0 (9 Mar 2016)

This release includes general fixes as well as removing support for Ruby versions below 1.9.2.

Fixes

3.0.0 (23 Dec 2015)

Enhancements

  • Fix warning from usage of before_filter in Rails 5 | Scott Ringwelski | #267

  • Use Rails 5-style deep parameter filtering | fimmtiu | #256

    Note: This is a backwards incompatible change, as filters containing . are now parsed as nested instead of as a single key.

2.8.13

Bug Fixes

  • Fix crash during heroku Rake task when an environment variable was empty | #261

Enhancements

2.8.12

  • Ensure timeout is set when configured
  • Allow on premise installations to easily send deploy notifications

2.8.11

  • Better handle errors in ActiveRecord transactions (thanks @arthurnn!)

2.8.10

  • Remove multi_json from deploy

2.8.9

  • Remove dependency on multi_json, fall back to the json gem for Ruby < 1.9

2.8.8

  • Pull IP address from action_dispatch.remote_ip if available

2.8.7

  • Fix for old rails 3.2 not having runner defined in the railtie
  • Support for rails API
  • Added support for ca_file for dealing with SSL issues
  • Threadsafe ignore_classes
  • Add app type
  • Dont send cookies in their own tab

2.8.6

  • Don't report SystemExit from rails runner
  • Fix for stacktrace including custom bugsnag middleware
  • Fix reporting of errors in rails-defined rake tasks

2.8.5

  • Fix performance problems in cleanup_obj

2.8.4

  • Automatically catch errors in rails runner
  • Accept meta_data from any exception that deines bugsnag_meta_data

2.8.3

  • Delay forking the delivery thread

2.8.2

  • Fix various threading issues during library initialization

2.8.1

  • Exclude cookies and authorization headers by default
  • Include rails exclusion list at the right time

2.8.0

  • Make meta_data available to before_notify hooks
  • Fix bug with rails param filters
  • Fix encoding error in exception message

2.7.1

  • Add rake task to create a Heroku deploy hook

2.7.0

  • Fix configuration of http timeouts
  • Fix configuration of http proxies
  • Remove dependency on httparty
  • Allow for symbols in rack env

2.6.1

  • Fix Ruby 1.8 payload delivery bug (thanks @colin!)

2.6.0

  • Collect and send snippets of source code to Bugsnag
  • Fix resque integration
  • Allow configuration of delivery method (from the default :thread_queue to :synchronous)
  • Fix parameter filtering in rails 2
  • Allow pathname in project root

2.5.1

  • Collect and send HTTP headers to bugsnag to help debugging

2.5.0

  • Allow access to the metadata object in before bugsnag notify callbacks
  • Dont send the rack env by default

2.4.1

  • Ensure filtering behaviour matches rails' for symbol filters
  • Fix Rails 4 sessions appearing in Custom tab instead of its own (144)

2.4.0

  • Allow filters to be regular expressions (thanks @tamird)
  • Ensure filtering behavior matches rails' when importing filters from Rails.configuration.filter_parameters

2.3.0

  • Use ssl by default (Thanks @dkubb)

2.2.2

  • Add additional ignored classes
  • Check all chained exceptions on an error for ignored classes

2.2.1

  • Fix occasional crash when reading rack params.
  • Don't strip files with bugsnag in the name.

2.2.0

  • Move Bugsnag notifications onto a background thread.

2.1.0

  • Add job detail support to delayed_job integration (thanks dtaniwaki!)

2.0.3

  • Load the env in the deploy rake task if there is no api key set

2.0.2

  • Fix encoding issue when ensuring utf8 string is valid

2.0.1

  • Fix capistrano v3 after 2.0.0

2.0.0

  • BREAKING: capistrano integration requires explicit configuration to avoid loading rails env (15x faster to notify)
  • Sidekiq 3 support
  • java.lang.Throwable support for jruby
  • Show non-serializable objects as '[Object]' instead of 'null'.
  • Fix delayed job 2.x
  • Fix rake support
  • Fix missing notifications caused by invalid utf8

1.8.8

  • Prepare 'severity' feature for release

1.8.7

  • Fix capistrano when rake is not set. #87
  • Fix capistrano when Rails is not loaded. #85
  • Various cleanup

1.8.6

  • Proxy support in the bugsnag deploy notification rake task

1.8.5

  • Capistrano3 support (for real)
  • delayed_job support

1.8.4

  • Support for per-notification api keys

1.8.3

  • Capistrano3 support
  • Allow set :bugsnag_api_key, foo in capistrano

1.8.2

  • Notify all exceptions in mailman and sidekiq

1.8.1

  • Fix Rails2 middleware issue that stopped automatic metadata collection

1.8.0

  • Move away from Jeweler
  • Support for Exception#cause in ruby 2.1.0

1.7.0

  • Allow users to configure app type
  • Send severity of error to bugsnag
  • Allo users to configure users in a structured way for search etc.

1.6.5

  • Send hostname to Bugsnag

1.6.4

  • Fix load order issue with Resque

1.6.3

  • Deal with SSL properly for deploy notifications on ruby <2.0

1.6.2

  • Notify about exceptions that occur in ActiveRecord commit and rollback callbacks (these are usually swallowed silently by rails)

1.6.1

  • Ensure sidekiq, mailman and rake hooks respect the ignore_classes setting
  • Persist sidekiq and mailman meta-data through each job, so it can show up in manual Bugsnag.notify calls

1.6.0

  • Add support for catching crashes in mailman apps
  • Automatically enable Bugsnag's resque failure backend
  • Add automatic rake integration for rails apps

1.5.3

  • Deal with self-referential meta data correctly.
  • Dont load the environment when performing a deploy with capistrano.

1.5.2

  • Dont send rack.request.form_vars as it is a copy of form_hash and it may contain sensitive params.

1.5.1

  • Fix rake block arguments for tasks that need them.

1.5.0

  • Add proxy support for http requests to Bugsnag.
  • Read the API key from the environment for Heroku users

1.4.2

  • Add HTTP Referer to the request tab on rack apps

1.4.0

  • Add ignore_user_agents to ignore certain user agents
  • Change bugsnag middleware order to have Callbacks last
  • Allow nil values to be sent to bugsnag

1.3.8

  • Add truncated only when a field has been truncated

1.3.7

  • Fix warden bug where user id is an array of ids
  • Filter get params from URLs as well as meta_data

1.3.6

  • Filter out meta-data keys containing the word 'secret' by default

1.3.5

  • Fixed bug in rake integration with ruby 1.9 hash syntax

1.3.4

  • Fix nil bug in windows backtraces

1.3.3

  • Support windows-style paths in backtraces
  • Fix bug with before_bugsnag_notify in Rails 2

1.3.2

  • Notify will now build exceptions if a non-exception is passed in.

1.3.1

  • Add support for Bugsnag rake integration

1.3.0

  • By default we notify in all release stages now
  • Return the notification in notify_or_ignore

1.2.18

  • Add support for bugsnag meta data in exceptions.

1.2.17

  • Clear the before bugsnag notify callbacks on sidekiq when a job is complete

1.2.16

  • Allow lambda functions in config.ignore_classes

1.2.15

  • Add stacktrace to internal bugsnag logging output
  • Protect against metadata not being a hash when truncation takes place

1.2.14

  • Add debug method, configuration option to help debug issues
  • Better protection against bad unicode strings in metadata

1.2.13

  • Protect against invalid unicode strings in metadata

1.2.12

  • Fixed minor HTTParty dependency issue

1.2.11

  • Send rails version with exceptions
  • Protect against nil params object when errors happen in rack

1.2.10

  • Added Rack HTTP method (GET, POST, etc) to request tab

1.2.9

  • Fixed an issue with Warden userIds not being reported properly.

1.2.8

  • Added disable method to Bugsnag middleware, allows you to force-disable built-in Bugsnag middleware.

1.2.7

  • Protect against rare exception-unwrapping infinite loop (only in some exceptions using the original_exception pattern)

1.2.6

  • Fix for rails 2 request data extraction
  • Deploy environment customization support (thanks coop)
  • Ensure Bugsnag rails 3 middleware runs before initializers

1.2.5

  • Show a warning if no release_stage is set when delivering exceptions
  • Require resque plugin in a safer way

1.2.4

  • Automatically set the release_stage in a safer way on rack/rails

1.2.3

  • Re-add support for sending bugsnag notifications via resque

1.2.2

  • Add rspec tests for rack middleware

1.2.1

  • Fix a bug where before/after hooks were not being fired

1.2.0

  • Added Bugsnag Middleware and callback, easier ways to add custom data to your exceptions
  • Added automatic Sidekiq integration
  • Added automatic Devise integration
  • Comprehensive rspec tests

1.1.5

  • Fix minor internal version number parsing bug

1.1.4

  • Move Bugsnag rack middleware later in the middleware stack, fixes issue where development exception may not have been delivered

1.1.3

  • Fix multi_json conflict with rails 3.1
  • Make bugsnag_request_data public for easier EventMachine integration (thanks fblee)

1.1.2

  • Fix multi_json gem dependency conflicts

1.1.1

  • Capistrano deploy tracking support
  • More reliable project_root detection for non-rails rack apps
  • Support for sending test exceptions from rake (rake bugsnag:test_exception)

1.1.0

  • First public release