# CHANGELOG for `exception_handling` Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). **Note:** this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [3.1.0] - Unreleased ### Added - Add interface for tagging exceptions sent to honeybadger with values from the log context. - `ExceptionHandling.add_honeybadger_tag_from_log_context` ### Changed - Require ruby version 2.7 or greater ## [3.0.0] - 2024-03-01 ### Added - Added explicit testing and support for Ruby 3.2 and 3.3 ### Changed - Changed `ExceptionHandling.email_environment` configuration to `ExceptionHandling.environment` ### Removed - Removed explicit testing of Rails 5 - Removed all emailing logic from the gem - Removed all sensu alerting logic from the gem - Removed `Methods` module - Removed functionality from `ExceptionHandling.logger=` will implicitly extend the logger with `ContextualLogger::LoggerMixin` ## [2.16.0] - 2023-05-01 ### Added - Add interface for automatically adding honeybadger tags `ExceptionHandling.honeybadger_auto_tagger=` ## [2.15.0] - 2023-03-07 ### Added - Added support for ActionMailer 7.x - Added support for ActionPack 7.x - Added support for ActiveSupport 7.x ## [2.14.0] - 2023-02-22 ### Added - Added support for plumbing tags through to honeybadger via the `honeybadger_tags` log context parameter ## [2.13.0] - 2022-09-15 ### Added - Added an option for removing the 'exception_handling.' prefix from metric names in ExceptionHandling::default_metric_name ## [2.12.0] - 2022-08-04 ### Added - Support for passing additional Honeybadger configuration parameters ## [2.11.3] - 2022-04-07 ### Fixed - Fixed bug in ruby 2.7+ where `digest` was not required by default ## [2.11.2] - 2022-04-04 ### Fixed - Fixed Ruby 3+ bug where arguments where not being passed using ** operator when writing to the logger ## [2.11.1] - 2022-04-04 ### Fixed - Fixed bug in ruby 3+ where `contextual_logger` was missing ruby 3+ support ## [2.11.0] - 2022-03-29 ### Added - Added support for rails 2.7 and 3+ ### Removed - Removed support for Rails 4 ## [2.10.0] - 2022-03-09 ### Removed - Remove custom object inspection This removed Honeybadger-specific callbacks (`lib/exception_handling/honeybadger_callbacks.rb`) ### Deprecated - Deprecated use of Honeybadger fork ## [2.9.0] - 2020-03-02 ### Added - Automatically registers with the `escalate` gem's `on_escalate` callback. ## [2.8.1] - 2020-12-01 ### Added - If the `log_context` key `honeybadger_grouping:` is set, pass that value to the `controller:` keyword argument of `HoneyBadger.notify`. ## [2.8.0] - 2020-10-19 ### Deprecated - Deprecated Email Escalation Methods: `escalate_to_production_support`, `escalate_error`, `escalate_warning`, `ensure_escalation` ## [2.7.0] - 2020-10-14 ### Added - Added `LoggingMethods` as a replacement for `Methods` without setting controller or checking for long controller action. ### Deprecated - Deprecated `Methods` in favor of `LoggingMethods`. ## [2.6.1] - 2020-10-14 ### Fixed - Fixed honeybadger_context_data to always merge `current_context_for_thread`, even if `log_context:` is passed as `nil`. ## [2.6.0] - 2020-08-26 ### Changed - Calling `log_warning` will now log with Severity::WARNING rather than FATAL. - Reordered the logging to put the exception class next to the message. ## [2.5.0] - 2020-08-19 ### Added - The `**log_context` passed to `log_error`/`log_warning`/`log_info` is now passed into `Honeybadger.notify()`, in `context: { log_context: ... }`. ### Fixed - Silenced test warning noise by no longer running ruby -w. - Renamed a constant to ALLOWLIST. ## [2.4.4] - 2020-08-10 ### Fixed - `ExceptionHandling.logger = nil` no longer displays an "implicit extend" deprecation warning. ## [2.4.3] - 2020-05-14 ### Deprecated - In `ExceptionHandling.logger=`, implicit `logger.extend ContextualLogger::LoggerMixin` is now deprecated. This will be removed in version 3.0 and an `ArgumentError` will be raised if the logger doesn't have that mixin. Instead of this implicit behavior, you should explicitly either `extend` your logger instance or `include` that mixin into your `Logger` class. ## [2.4.2] - 2020-05-11 ### Added - Added support for rails 5 and 6. - Added appraisal tests for all supported rails version: 4/5/6 ### Changed - Updated various test to be compatible with rails version 4/5/6 - Updated the CI pipeline to test against all three supported versions of rails ## [2.4.1] - 2020-04-29 ### Changed - No longer depends on hobo_support. Uses invoca-utils 0.3 instead. [2.16.0]: https://github.com/Invoca/exception_handling/compare/v2.15.0...v2.16.0 [2.15.0]: https://github.com/Invoca/exception_handling/compare/v2.14.0...v2.15.0 [2.14.0]: https://github.com/Invoca/exception_handling/compare/v2.13.0...v2.14.0 [2.13.0]: https://github.com/Invoca/exception_handling/compare/v2.12.0...v2.13.0 [2.12.0]: https://github.com/Invoca/exception_handling/compare/v2.11.3...v2.12.0 [2.11.3]: https://github.com/Invoca/exception_handling/compare/v2.11.2...v2.11.3 [2.11.2]: https://github.com/Invoca/exception_handling/compare/v2.11.1...v2.11.2 [2.11.1]: https://github.com/Invoca/exception_handling/compare/v2.11.0...v2.11.1 [2.11.0]: https://github.com/Invoca/exception_handling/compare/v2.10.0...v2.11.0 [2.10.0]: https://github.com/Invoca/exception_handling/compare/v2.9.0...v2.10.0 [2.9.0]: https://github.com/Invoca/exception_handling/compare/v2.8.1...v2.9.0 [2.8.1]: https://github.com/Invoca/exception_handling/compare/v2.8.0...v2.8.1 [2.8.0]: https://github.com/Invoca/exception_handling/compare/v2.7.0...v2.8.0 [2.7.0]: https://github.com/Invoca/exception_handling/compare/v2.6.1...v2.7.0 [2.6.1]: https://github.com/Invoca/exception_handling/compare/v2.6.0...v2.6.1 [2.6.0]: https://github.com/Invoca/exception_handling/compare/v2.5.0...v2.6.0 [2.5.0]: https://github.com/Invoca/exception_handling/compare/v2.4.4...v2.5.0 [2.4.4]: https://github.com/Invoca/exception_handling/compare/v2.4.3...v2.4.4 [2.4.3]: https://github.com/Invoca/exception_handling/compare/v2.4.2...v2.4.3 [2.4.2]: https://github.com/Invoca/exception_handling/compare/v2.4.1...v2.4.2 [2.4.1]: https://github.com/Invoca/exception_handling/compare/v2.4.0...v2.4.1