Skip to content

Releases: CityBaseInc/airbrake_client

v2.2.0

13 May 16:48
a13ebdb
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...v2.2.0

Enhancements

  • Better config name: :context_environment replaces :environment in the configuration. :environment will continue to work for backwards compatibility.
  • New config option: :production_aliases can be set to a list of names that should be translated to "production" for notice.context.environment. See README for more details.
  • New documentation for config option: :json_encoder is documented in the README.
  • New JSON encoder protections:
    • If the JSON encoder module does not exist at compile time, the library will compile with an error.
    • If the JSON encoder module does not exist when Airbrake.Worker is started, the process will not start.
    • If the JSON encoder module does exist but does not define encode!/1 when a report is made, a warning will be output to stderr and a very simple Airbrake notice about the missing encode!/1 function will be sent. Previously, the Airbrake.Worker would crash and take the app down with it without sending any Airbrake notices.

v2.1.0

02 Apr 13:46
c14c3ff
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.1.0

v2.1.0

Enhancements

  • New config option: if :session is set to :include_logger_metadata, the Logger metadata from Logger.metadata/0 is added to the session field of the report. (If the option is not set, the metadata is not included.)

v 2.0.0

13 Mar 19:30
eeefbb7
Compare
Choose a tag to compare

This version drops support for Elixir <1.12 due to requirements of some of the underlying dependencies. Additionally, it provides some improved tools for building up Airbrake reporting params out of objects that may contain deeply nested struct and tuple objects that would otherwise need to be sanitized in the app using the Airbrake Client prior to reporting.

Enhancements

  • [Airbrake.Utils] Add detuple/1 in Utils module to support CBRelay in parsing Airbrake params before transmitting
  • [Airbrake.Utils] Add destruct/1 in Utils module to support CBRelay in parsing Airbrake params before transmitting

Breaking Change

  • Drop support for Elixir <1.12

Version 1.0.0

13 Oct 17:13
74a1888
Compare
Choose a tag to compare

This version drops support for Elixir <1.10 which warrants a major version bump. The library is also mature enough (used at CityBase for over five years) to warrant 1.0 status.

Enhancements

  • [Airbrake.Worker] use only Application.compile_env/3, drop use of Application.get_env/3.
  • Formatting changes.
  • Allow version 1.X or 2.X for httpoison; drop support for 0.9.

Breaking Change

  • Drop support for Elixir <1.10. Use must use earlier version to compile with earlier versions of Elixir.

Release 0.11.0

05 Dec 21:17
0.11.0
0b7a106
Compare
Choose a tag to compare
  • [Airbrake.Plug] Exposes handle_errors/2 as private
  • Fixes credo warnings

Version 0.10.0

14 Jul 18:29
d6b4dae
Compare
Choose a tag to compare
  • [Airbrake.Payload] Support logging structs in payload.
  • [Airbrake.Payload] Filter atom keys from maps in payload.

Version 0.9.1

08 Jun 19:36
d0af0a7
Compare
Choose a tag to compare

Changes

This release improves the stacktrace, derives Jason.Encoder for Airbrake.Payload if jason is a dependency, and adds a :filter_headers option.

PRs

PR Branch
#18 add-filter-headers-option
#12 correct-grammar-mistake
#16 issue-13_jason-encoder
#15 issue-14_better-default-stracktrace

code Diff

Version 0.9.0

04 Jun 19:26
d24f1cb
Compare
Choose a tag to compare

Changes

Makes a variety of improvements internally, getting rid of warnings and deprecations for newer versions of Elixir.

PRs

PR Branch
#5 use_erlang_gen_event

code diff

Version 0.8.2

03 Jun 20:50
1d30177
Compare
Choose a tag to compare

Changes

Changes the name of the app to airbrake_client so that the name of the hex package name and app name are the same and starting the app just starts. This is a significant bug fix. Earlier versions will not work because of this naming issue.

The README has been updated with instructions for renaming :airbrake to :airbrake_client in the configs when migrating from airbrake.

PRs

PR Branch
#11 issue-10_rename-app-as-airbrake-client

code diff

Version 0.8.1

02 Jun 20:35
ebebf5c
Compare
Choose a tag to compare

Changes

Fixes a documentation problem.

See CHANGELOG.md for more details.

PRs

PR Branch
#9 issue-8_fix-readme-case-sensitivity

code diff