Releases: CityBaseInc/airbrake_client
v2.2.0
What's Changed
- Production aliases by @jdfrens in #30
- Warnings and errors if missing JSON encoder by @jdfrens in #31
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"
fornotice.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 missingencode!/1
function will be sent. Previously, theAirbrake.Worker
would crash and take the app down with it without sending any Airbrake notices.
v2.1.0
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 fromLogger.metadata/0
is added to thesession
field of the report. (If the option is not set, the metadata is not included.)
v 2.0.0
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
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 ofApplication.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
- [Airbrake.Plug] Exposes
handle_errors/2
as private - Fixes credo warnings
Version 0.10.0
- [Airbrake.Payload] Support logging structs in payload.
- [Airbrake.Payload] Filter atom keys from maps in payload.
Version 0.9.1
Version 0.9.0
Version 0.8.2
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 |