Skip to content

Latest commit

 

History

History
78 lines (54 loc) · 2.61 KB

CHANGELOG.md

File metadata and controls

78 lines (54 loc) · 2.61 KB

Changelog

Unreleased

3.0.2

Added

  • Add support for Elixir 1.13 with changed stacktrace frame format #115

3.0.1

Fixed

  • Fix handling of stacktrace pattern for Erlang 24 #113
  • Remove deprecated system stacktrace warnings in tests #112

Extra

  • Add Erlang 24 to CI #114

3.0.0

The most notable change in this release is the inclusion of an HTTP Client adapter and the possibility of adding your own client. By doing this, httpoison is now an optional dependency and must be included in the dependency list in order to use the default adapter.

BREAKING CHANGES

httpoison is now an optional dependency. If you want to use the default HTTPoison adapter, add httpoison as a dependency to your app:

  # mix.exs
  defp deps do
    [
      {:bugsnag, "~> 3.0.0"},
      {:httpoison, "~> 1.0"},
      ...
    ]
  end

If you want to use other http client already in your project. Create a new adapter implementing the Bugsnag.HTTPClient behaviour, and configure Bugsnag to use it. eg:

# config/config.exs
config :bugsnag,
  ...,
  http_client: MyApp.BugsnagHTTPAdapterUsingMyPreferredLib

Removed

  • Removed support for elixir < 1.8

Added

  • Add Bugsnag.HTTPClient and default Bugsnag.HTTPClient.Adapter.HTTPoison adapter, configurable via http_client application config
  • Add option to set error class instead of inferring from the exception #108

Fixed / Maintenance

  • Ensure tasks under Bugsnag.TaskSupervisor don't spill into other tests #106
  • bump dependencies: jason, mox, ex_docs

2.1.1

Added

  • Reuse file/line information from previous frame for UndefinedFunctionError #88

Fixed

  • Change back return type of Bugsnag.report/2 to {:ok, pid} (changed to :ok in 2.1.0)

2.1.0

Fixed

  • Add support for poison 4.0 by loosening version requirement #102
  • Removed warning on Elixir 1.10 #92
  • Removed deprecated Supervisor.Spec
  • Moved to using extra_applications

Removed

  • Removed Bugsnag.json_library/0 #101
  • Removed Bugsnag.should_notify/2