Skip to content

Latest commit

 

History

History
376 lines (251 loc) · 12.1 KB

CHANGELOG.md

File metadata and controls

376 lines (251 loc) · 12.1 KB

Changelog

Changed

  • Add a null check for Severity to the notify override method. #214

  • Created Serializer interface, allowing for implementation of a custom serializer. #219

  • Updated ScheduleTaskConfiguration configureTask method to properly handle wrapped/proxied objects. #218

Bug Fixes

  • Update BugsnagImportSelector to allow major versions that do not have a minor version. fixes issue #211. #213

3.7.1 (2023-10-25)

  • Restore BugsnagServletContainerInitializer and BugsnagServletRequestListener to the com.bugsnag.servlet package. These classes are deprecated in favour of the new com.bugsnag.servlet.javax. package, but are also compatible (c.b.s.BugsnagServletRequestListener extends c.b.s.javax.BugsnagServletRequestListener). This fixes issue #195. #199

  • Corrected JVM version requirements for Gradle projects (fixing issue 196) #197

3.7.0 (2023-06-12)

  • Support Spring 6 / Spring Boot 3 #191

  • Bump Jackson from 2.13.3 for critical vulnerability fixes #184

Known Issues

  • v3.7.0 of bugsnag-spring declares the wrong jdk version as a dependency, meaning it is incompatible with Java < 17. If you are using earlier versions use v3.6.4.

3.6.4 (2022-07-12)

  • Support log messages that use {} formatting #178

  • Fix potential hang when resolving DNS hostname #179

  • Bump Jackson from 2.12.5 and JUnit from 4.12 for critical vulnerability fixes #180

3.6.3 (2021-10-12)

  • Bump Jackson from 2.9.1 for critical vulnerability fixes #170

3.6.2 (2020-11-10)

  • Fix JVM hang when System.exit or bugsnag.close is not called #157

3.6.1 (2019-08-15)

  • Prevent potential ConcurrentModificationException when adding callback #149

3.6.0 (2019-07-08)

  • Allow a BugsnagAppender to be created from an existing client #147

3.5.1 (2019-05-31)

  • Remove use of daemon threads, fixing potential resource leak #143

3.5.0 (2019-05-07)

  • Migrate version information to device.runtimeVersions #141

3.4.6 (2019-04-16)

  • Swallow Throwables thrown when configuring bugsnag appender #140

3.4.5 (2019-04-04)

  • Migrate non-standard device fields to metaData.device #131

  • Set thread name to aid debugging #138

  • Merge internal checkstyle rules #137

3.4.4 (2019-01-15)

  • Remove unnecessary @Configuration annotation #130

3.4.3 (2019-01-07)

  • Support other methods of configuring a TaskScheduler when setting ErrorHandler on scheduled tasks #126

3.4.2 (2018-11-29)

  • Ensure session counts are thread safe #122

  • Prevent application hangs due to session flushing #121

3.4.1

(Skipped, duplicate of 3.4.0)

3.4.0 (2018-11-13)

  • Enhanced support for Spring applications with the new bugsnag-spring notifier
  • The ability to report throwables to Bugsnag with the logback appender BugsnagAppender

Two artifacts are now available for this platform:

  • bugsnag-java - intended for plain Java applications
  • bugsnag-spring - provides enhanced support for Spring applications

It is recommended that you migrate to bugsnag-spring if you develop a Spring application, as it enhances the quantity and quality of error reports which are sent automatically. Full upgrade instructions can be found here.

No upgrade steps are required for bugsnag-java in this release.

  • Added BugsnagAppender that can report throwables from existing log statements to Bugsnag, using logback
  • [Spring] Automatically report exceptions thrown when processing MVC/REST requests
  • [Spring] Automatically report exceptions thrown in scheduled tasks
  • [Spring] Added BugsnagAsyncConfig class to simplify capture of uncaught exceptions in async tasks
  • [Spring] Automatically attach request metadata to reports
  • [Spring] Automatically attach Spring version information to reports
  • [Spring] Automatically track sessions for each MVC request

See UPGRADING for upgrade details and the docs for further information on new functionality.

3.3.0 (2018-09-26)

  • Capture trace of error reporting thread and identify with boolean flag #87

3.2.1 (2018-08-21)

  • Add null check when disconnecting HttpUrlConnection #92

  • Make constructors public for SyncHttpDelivery #97

3.2.0 (2018-07-03)

This release introduces automatic tracking of sessions, which by default are captured for each HTTP request received via the Servlet API. To disable this data collection, call bugsnag.setAutoCaptureSessions(false).

If you wish to use a custom strategy for tracking sessions, call bugsnag.startSession() in the appropriate place within your application. Jamie Lynch #70

Deprecation notice: setEndpoints(String notify, String session) is now the preferred way to configure custom endpoints, if you are using Bugsnag On-Premise.

3.2.0-beta (2018-06-14)

Important: This is a beta release which introduces automatic tracking of sessions, which by default are captured for each HTTP request received via the Servlet API. To disable this data collection, call bugsnag.setAutoCaptureSessions(false).

If you wish to use a custom strategy for tracking sessions, call bugsnag.startSession() in the appropriate place within your application. Jamie Lynch #70

Deprecation notice: setEndpoints(String notify, String session) is now the preferred way to configure custom endpoints, if you are using Bugsnag On-Premise.

3.1.6 (2018-05-03)

3.1.5 (2018-03-08)

  • Update MetaData filtering to handle different versions of Jackson correctly #76

3.1.4 (2018-01-19)

  • Remove dependency on Guava
  • Update Gradle wrapper

3.1.3 (2017-11-30)

  • Cache hostname to avoid excessive thread spawning

3.1.2 (2017-11-03)

  • Fixes JDK 7 support by using Android Guava
  • Fixes bad artefact packaging caused by bug in gradle

3.1.1 (2017-10-11)

Bug Fixes

  • Allow overriding the context set by the servlet callback #63

3.1.0 (2017-90-22)

Enhancements

  • Track difference between handled and unhandled exceptions #59

3.0.2 (04 Jan 2017)

Bug Fixes

  • Use deprecated method to ensure we don't break with older versions of jackson William Starling #54

3.0.1 (11 Nov 2016)

Bug Fixes

Enhancements

3.0.0 (31 Oct 2016)

Major rewrite/update of the notifier. Changes include:

  • Uses Jackson for streaming JSON serialization
  • Logs internally using org.slf4j.Logger
  • Severity is now an enum instead of a String
  • Request information is automatically collected in Servlet API apps
  • JVM runtime, O/S, and locale diagnostics are collected
  • The Client object has been renamed to Bugsnag
  • The Event object has been renamed to Report
  • Report object is now exposed for ease of attaching diagnostics to error reports
  • Targets Java 1.6
  • Callbacks now support Java 8 lambda syntax
  • Chaining support added to Report methods
  • Can now add a Callback to Bugsnag.notify calls
  • Can now change the API key on a per-report basis using Callbacks
  • Error report delivery is now fully swappable via the Delivery interface

See UPGRADING for upgrade details.

2.0.0 (25 Mar 2016)

This is a major release for the release of the potentially breaking change of sending exception reports asynchronously by default.

Bug Fixes

  • Fix potential NullPointerException when passing null to Bugsnag.notify() Delisa Mason #38

Enhancements

  • Send payloads to Bugsnag asynchronously by default Mike Bull #36

1.4.0 (9 Mar 2016)

Bug Fixes

  • Truncate large payloads to avoid Bad Request errors due to size Duncan Hewett #35

Enhancements

1.3.0 (28 Jan 2016)

This release includes an update to the org.json dependency.

Enhancements

1.2.8

  • Revert method chaining support in Client

1.2.7

  • Add support for sending thread state information with setSendThreads
  • Allow chaining of methods on Client

1.2.6

  • Expose beforeNotify callback stack to child classes

1.2.5

  • Add support for beforeNotify callback

1.2.4

  • Remove hostname as it causes issues with android

1.2.3

  • Prepare 'severity' feature for release

1.2.2

  • Expose the ExceptionHandler class to allow removal of auto-notification

1.2.1

  • Add hostname to device information

1.2.0

  • Included device and app fields. Transmit appState and deviceState.

1.1.0

  • Reduced memory usage, allow streaming errors from a file

1.0.5

  • Expose the Configuration class

1.0.4

  • Added support for setIgnoreClasses to set which exception classes should not be sent to Bugsnag.

1.0.3

  • Fixed compatibility with Java 1.5

1.0.2

  • Add metrics tracking

1.0.1

  • Allow changing of notifier name/version
  • Reduced jar size

1.0.0

  • Initial release