Releases: bugsnag/bugsnag-android
v4.2.0
v4.1.5
- Automatically capture breadcrumbs for new API 26 Intents
- Increase max breadcrumb limit
- Remove known noisy breadcrumbs from automatic capture
v4.1.4
- Enqueue activity lifecycle events when initialisation not complete to prevent NPE
- Add example of using Bugsnag within a library module
v4.1.3
- Compile annotations dependency as api rather than implementation
- Support handled state case for React Native
v4.1.2
- Allow setting device ID to null
v4.1.1
Performance improvements to reduce execution time of Bugsnag.init
v4.1.0
- The SDK now automatically tracks whether an error is handled or unhandled.
- Fix for NPE in MetaData callback Boris
- Updated example app.
- Setting the maxSize of breadcrumbs now removes any surplus breadcrumbs.
- Crash reports on application startup are automatically sent synchronously on the next launch (configurable via
setLaunchCrashThresholdMs
).
v4.0.0
This is a major release which adds a number of new features to the library. The minimum SDK version supported by Bugsnag is now API 14.
Breaking Changes
Identifying devices and users (unless overridden) is now captured and persisted through a per-install generated UUID, replacing use of Settings.Secure.ANDROID_ID
. As a result, existing errors may see doubled user counts if they continue to happen. If this is an issue, see the upgrade guide for more information and a workaround.
Enhancements
-
Support loading different API keys for different product flavors, through manifest placeholders
-
Support custom HTTP Error Reporting clients, by allowing custom implementations of
ErrorReportApiClient
-
Add nullability annotations throughout application
-
Any exceptions caused by StrictMode will automatically add the policy violation type to the Error Report's metadata
-
All tests have been updated to use JUnit 4 rather than
AndroidTestCase
-
Javadoc for the public API is now hosted on Github Pages
-
Breadcrumbs are automatically logged for each callback in the Activity Lifecycle, for all activities
-
Breadcrumbs are automatically logged for most System Intents (e.g.
android.intent.action.CONFIGURATION_CHANGED
) -
Optimize how reports are sent relative to network connectivity to improve battery life
-
Added documentation on how Breadcrumbs can be setup to track the Fragment Lifecycle
-
Added Kotlin example app and documentation
-
Disable logs by default on release builds
Bug Fixes
-
Handle
RejectionExecutionException
by writing unqueued Error reports to disk
Damian Wieczorek -
Handle IllegalStateException caused by
CharsetEncoder
on Android 6.0
Ben Lee -
Each implementation of
beforeNotify()
is now only called once, in the order in which it was added
jermainedilao -
By default, the User ID is now a per-install UUID, whereas previously
Settings.Secure.ANDROID_ID
was used
Martin Georgiev -
Update Gradle dependencies
Frieder Bluemle
v4.0.0-rc.1
increment to 4.0.0-rc.1
v3.9.0
Enhancements
-
Improve performance by using bounded
ThreadPoolExecutor
for asynchronous
notify()
calls
Felipe Lima
#145 -
Detect systemless root
Matthias Urhahn
#142