Skip to content

Latest commit

 

History

History
329 lines (249 loc) · 14.2 KB

CHANGELOG.md

File metadata and controls

329 lines (249 loc) · 14.2 KB

Airbrake Ruby Changelog

master

  • Fixed unwanted mutation of params on Airbrake.notify(ex, params) (#234)

v2.2.6 (June 15, 2017)

  • Fixed segfault in ThreadFilter on Ruby 2.1.3 (#231)

v2.2.5 (May 23, 2017)

  • Fixed bug when the block form of notify would run its block for ignored notices: (#226)

v2.2.4 (May 17, 2017)

  • Fixed bug in ThreadFilter, when it attaches an object, which can't be dumped to JSON. As result, ThreadFilter has become stricter: it only allows instances of whitelisted classes (primitives) (#224)

v2.2.3 (May 11, 2017)

  • Fixed bug in keys filters while trying to filter a non Symbol/String key when there's a Regexp ignore pattern defined (#213)

v2.2.2 (May 5, 2017)

  • Fixed SystemStackError while using the thread filter with RSpec (#208)

v2.2.1 (May 4, 2017)

  • Fixed segfault on Ruby 2.1 while using the thread filter (#206)

v2.2.0 (May 1, 2017)

  • Make notify/notify_sync accept a block, which yields an Airbrake::Notice (#201)
  • Started sending context/severity, which is set to error (#202)

v2.1.0 (April 27, 2017)

  • Return Airbrake::NilNotifier when no notifiers are configured and Airbrake.[] is called (#191)
  • Fixed the host option not recognizing hosts with subpaths such as https://example.com/subpath/ (#192)
  • Fixed the order of invokation of library & user defined filters, so the user filters are always invoked after all the library filters (#195)
  • Started attaching current thread information (including thread & fiber variables) (#198)

v2.0.0 (March 21, 2017)

  • IMPORTANT: Removed the component/action API deprecated in v1.7.0 (#169)
  • IMPORTANT: Removed notifier_name argument deprecated in v1.8.0 (#176)
  • Fixed default root_directory not resolving symlinks (#180)
  • Fixed parsing JRuby exceptions that don't subclass Java::JavaLang::Throwable (#184)

v1.8.0 (February 23, 2017)

  • IMPORTANT: Deprecated notifier_name argument for all public API methods such as Airbrake.notify('oops', {}, :my_notifier) (#168)
  • root_directory is now defaulted to either Bundler.root or current working directory (#171)

v1.7.1 (February 3, 2017)

  • IMPORTANT: fixed bug when blacklist_keys/whitelist_keys does not filter keys at all (#159)

v1.7.0 (January 20, 2017)

  • IMPORTANT: support for Ruby 1.9.2, 1.9.3 & JRuby (1.9-mode) is dropped (#146)
  • IMPORTANT: added the promise API (#143)
  • IMPORTANT: deprecated the component/action API (when setting through params) (#151)
  • Improved parsing of JRuby frames which include classloader (#140)
  • Fixed bug in the host option, when it is configured with a slug (#145)
  • Added Notice#stash (#152)

v1.6.0 (October 18, 2016)

  • Added support for blacklisting/whitelisting using procs (#108)
  • Deleted deprecated public API methods (whitelisting, blacklisting) (#125)
  • Fixed support for Ruby 2.0.* not being able to report ExecJS exceptions (#130)
  • Reduced notice size (small improvement, which affects every single notice) (#132)

v1.5.0 (September 9, 2016)

  • Added support for custom exception attributes (#113)
  • Started validating the 'environment' config option (a warning will be printed, if it is misconfigured) (#115)
  • Fixed error while filtering unparseable backtraces (#120)
  • Improved support for parsing JRuby backtraces (#119)
  • Fixed bug where individual user fields couldn't be filtered (#118)

v1.4.6 (August 18, 2016)

  • Fixed support for ExecJS backtraces for Ruby 1.9.3 sometimes resulting in NameError (#110)

v1.4.5 (August 15, 2016)

  • Added support for CoffeeScript/ExecJS backtraces (#107)

v1.4.4 (July 11, 2016)

  • Added support for PL/SQL exceptions raised by ruby-oci8 (#99)

v1.4.3 (June 10, 2016)

  • Made types of the ignore_environments and environment option values not to rely on each other when deciding if the current environment is ignored (#94)

v1.4.2 (June 8, 2016)

  • Print warning when the environment option is not configured, but ignore_environments is (#92)

v1.4.1 (June 6, 2016)

  • Allow passing a String for project_id (#89)

v1.4.0 (June 6, 2016)

  • Stopped raising error when the notifier lacks either project ID or project key and also told to ignore current environment. As the result, empty string for project_key is also validated now (forbidden) (#87)

v1.3.2 (May 27, 2016)

  • Fixed bug when the library raises unwanted exception, when current environment is ignored and a notifier is given an exception with bad backtrace (#85)

v1.3.1 (May 13, 2016)

  • Fixed infinite loop bug while trying to truncate a notice (#83)

v1.3.0 (May 10, 2016)

  • IMPORTANT: stopped raising the the 'default' notifier isn't configured error when Airbrake is not configured. Instead, when a notifier is not configured, all public API methods will be returning nil. (#75)

    Make sure that if you use Airbrake.build_notice or Airbrake.notify_sync, you protect yourself from a possible crash by handling the return value (it might be nil).

v1.2.4 (May 4, 2016)

  • Fixed bug when trying to truncate frozen strings (#73)

v1.2.3 (April 22, 2016)

  • Fixed URI::InvalidURIError while trying to filter non-standard URLs (#70)

v1.2.2 (April 5, 2016)

  • Fixed bug in Notifier#notify where the params Hash is ignored if the first argument is an Airbrake::Notice (#66)

v1.2.1 (March 21, 2016)

  • Fixed bug with regard to proxy configuration, when the library unintentionally overwrites the environment proxy (#63)

v1.2.0 (March 11, 2016)

  • IMPORTANT: changed public API of blacklist and whitelist filters. Instead of Airbrake.blacklist_keys and Airbrake.whitelist_keys please use the respective new config options (#56):

    # v1.1.0 and older
    Airbrake.blacklist_keys([:password, /credit/i])
    Airbrake.whitelist_keys([:page_id, 'user'])
    
    # New way
    Airbrake.configure do |c|
      c.blacklist_keys = [:password, /credit/i]
      c.whitelist_keys = [:page_id, 'user']
    end

    The old API is still supported, but deprecated.

  • IMPORTANT: dropped support for reporting critical exceptions that terminate the process. This bit of functionality was moved to the airbrake gem instead (#61)

  • Started filtering the context payload (#55)

  • Fixed bug when similar keys would be filtered out using non-regexp values for Airbrake.blacklist/whitelist_keys (#54)

  • Fixed bug when async workers die due to various unexpected network errors (#52)

v1.1.0 (February 25, 2016)

  • Fixed bug in Ruby < 2.2, when trying to encode components while filtering (#45)
  • Stopped blocking on full queue when sending errors asynchronously (#47)
  • Added the timeout option (#46)

v1.0.4 (February 2, 2016)

  • Started attaching the hostname information by default (#41)

v1.0.3 (January 18, 2016)

  • Improved parsing of backtraces (#25, #29, #30)
  • Made sure that generated notices always have a backtrace (#21)
  • Made the asynchronous delivery mechanism more robust (#26)
  • Improved SystemExit handling by ignoring it on a different level, which fixed issues with the Rake integration for the airbrake gem (#32)

v1.0.2 (January 3, 2016)

  • Ignored SystemExit in the at_exit hook, which has fixed the Rake integration for the airbrake gem (#14)

v1.0.1 (December 22, 2015)

  • Fixed the Airbrake.add_filter block API (#10)

v1.0.0 (December 18, 2015)

  • Improved backtrace parsing support (#4)

v1.0.0.rc.1 (December 11, 2015)

  • Initial release