Skip to content

Releases: getsentry/sentry-elixir

4.0.1

26 Apr 21:31
Compare
Choose a tag to compare

4.0.1 (2017-04-25)

  • Enhancements
    • Bump hackney to a version that fixes major bug (#153)

4.0.0

20 Apr 19:48
Compare
Choose a tag to compare

See these 3.0.0 to 4.0.0 upgrade instructions to update your existing app.

  • Enhancements
    • Bump hackney to a version that isn't retired (#135)
    • Improve Logger reporting (#136)
    • Accept keyword lists in Sentry.Context.add_breadcrumb/1 (#139)
    • Add elements to beginning of breadcrumbs list for performance (#141)
    • Close unread hackney responses properly (#149)
    • Improve Sentry.Client code style (#147)
    • Fix invalid specs in Sentry methods (#146)
    • Allow setting client at runtime (#150)
  • Backward incompatible changes
    • Return :ignored instead of {:ok, ""} when event is not sent because environment_name is not in included_environments in Sentry.send_event, Sentry.capture_exception, or Sentry.capture_message (#146)
    • Return :ignored and log warning instead of returning {:ok, "Sentry: unable to parse exception"} when unable to parse exception in Sentry.send_event, Sentry.capture_exception, or Sentry.capture_message (#146)
    • Return {:ok, Task} instead of Task when an event is successfully sent with Sentry.send_event, Sentry.capture_exception, or Sentry.capture_message (#146)
    • Ignore non-existent route exceptions (#110)
    • Sending source code as context when reporting errors (#138)

3.0.0

02 Mar 18:45
Compare
Choose a tag to compare
  • Enhancements
    • Add dialyzer support (#128)
  • Backward incompatible changes
    • Fix default configuration (#124)
    • Start and use separate Sentry hackney pool instead of default (#130)
    • Return :error instead of raising when encoding invalid JSON (#131)

2.2.0

01 Mar 22:51
Compare
Choose a tag to compare
  • Enhancements
    • Allow setting hackney_opts
    • Add Sentry.capture_message/1
    • Allow reading :dsn from System at runtime by configuring as {:system, "ENV_VAR"}

2.1.0

17 Dec 15:32
Compare
Choose a tag to compare
  • Enhancements
    • Allow filtering which exceptions are sent via Sentry.EventFilter behaviour
    • Add Sentry.Context.set_http_context/1
  • Bug Fixes
    • Fix usage of deprecated modules
    • Fix README documentation
    • Fix timestamp parameter format

2.0.2

08 Dec 14:24
Compare
Choose a tag to compare
  • Bug Fixes
    • Fix regex checking of non-binary values

2.0.1

05 Dec 15:23
Compare
Choose a tag to compare
  • Bug Fixes
    • Fix compilation error when Plug is not available

2.0.0

28 Nov 17:15
Compare
Choose a tag to compare
  • Enhancements
    • Return a task when sending a Sentry event
    • Provide default scrubber for request body and headers (Sentry.Plug.default_body_scrubber and Sentry.Plug.default_header_scrubber)
    • Header scrubbing can now be configured with :header_scrubber
  • Bug Fixes
    • Ensure mix sentry.send_test_event finishes sending event before ending Mix task
  • Backward incompatible changes
    • Sentry.capture_exception/1 now returns a Task instead of {:ok, PID}
    • Sentry.Plug :scrubber option has been removed in favor of the more descriptive :body_scrubberoption, which defaults to newly added Sentry.Plug.default_scrubber/1
    • New option for Sentry.Plug :header_scrubber defaults to newly added Sentry.Plug.default_header_scrubber/1
    • Request bodies were not previously sent by default. Because of above change, request bodies are now sent by default after being scrubbed by default scrubber. To prevent sending any data, :body_scrubber should be set to nil