Releases: bitstadium/HockeySDK-Android
Version 5.2.0
This is a maintenance release for the SDK. It contains important bugfixes.
- [Bugfix] #411 – Leaking HTTP connection. PR #412
- [Bugfix] – Fix HTTPS connection creation. PR #424
- [Security] To enforce TLS 1.2 on all HTTPS connections the SDK makes, we are dropping support for API level 15 (which supports only TLS 1.0), the minimum SDK version thus becomes 16. Previous versions of the SDK were already using TLS 1.2 on API level 16+.
Breaking changes in version 5.2.0
HockeySDK 5.2.0 raises the minimum API level to 16.
Version 5.1.1
This is a maintenance release for the SDK. It contains important bugfixes, including some that make the SDK compatible with Android Pie.
- [Bugfix] #395 – NullPointerException in DownloadFileTask. PR #396
- [Bugfix] #391 - FileNotFoundException when attaching an image to feedback. PR #393
- [Bugfix] #377 - Prevent OutOfMemoryError in case of reading/sending crash reports with very long stacktraces. #PR 378 PR #392
- [Bugfix] #385 - Fix "untagged socket" violation in strict mode of Android O PR #387
- [Bugfix] Fix the error message that gets logged by the SDK to logcat in case a saved stacktrace is empty. PR #375
- [Bugfix] #369 - Adjust timeout interval for a http connection. PR #370
- [Bugfix] Fix a glitch in the feedback UI. PR #353
- [Bugfix] Fix multiple causes for deadlocks. PR #348
Version 5.1.0
- [Bugfix] Fix issue in persistence logic that could cause Session information to be inaccurate. #340
- [Improvement] Remove left-to-right attribute in case the app that integrates the SDK doesn't use that. Thx to Steven for this contribution. #335
- [Improvement] Improve error message for the Feedback feature. #341
- [Improvement] It's now possible to call
setUserId
for Feedback. #339
Breaking changes in version 5.0.0
HockeySDK 5.0.0 raises the minimum API level to 15.
In addition, we no longer support restricting builds by device id. The reason is that, with Android O, ANDROID_ID
no longer ensures a consistent way of identification of a user.
To be ready for Android O, HockeySDK-Android now limits the WRITE_EXTERNAL_STORAGE
permission with the maxSdkVersion
filter. In some use cases, e.g. where an app contains a dependency that requires this permission, maxSdkVersion
makes it impossible for those dependencies to grant or request the permission. The solution for those cases is to declare the tools:node="replace"
manifest merging strategy later in the dependency tree:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="replace"/>
Version 5.0.4
This version contains a few bugfixes as well as the removal of an API that has been deprecated since HockeySDK 3.7.0-Beta.2.
- Removal of deprecated API
ExceptionHandler.saveException(Throwable exception, CrashManagerListener listener)
has been deprecated since 3.7.0-beta.2. UseExceptionHandler.saveException(Throwable exception, Thread thread, CrashManagerListener listener)
instead. #317 - Bugfix The SDK now deletes redundant crash reports. #318
- Bugfix The SDK does no longer send the event that indicates the start of a session twice but once. There was no impact on session counts as the event was de-duplicated on the server. #321
- Bugfix Fixes a potential deadlock when reading device information when saving an exception. #323
- Bugfix Fixes a potential NPE when processing stacktraces. Thanks to Thomas Reis for reporting issue #331. #332
Breaking changes in version 5.0.0
HockeySDK 5.0.0 raises the minimum API level to 15.
In addition, we no longer support restricting builds by device id. The reason is that, with Android O, ANDROID_ID
no longer ensures a consistent way of identification of a user.
To be ready for Android O, HockeySDK-Android now limits the WRITE_EXTERNAL_STORAGE
permission with the maxSdkVersion
filter. In some use cases, e.g. where an app contains a dependency that requires this permission, maxSdkVersion
makes it impossible for those dependencies to grant or request the permission. The solution for those cases is to declare the tools:node="replace"
manifest merging strategy later in the dependency tree:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="replace"/>
Version 5.0.3
This release now limits the number of crashes that are stored by the SDK while the device is offline to 100 Crashes. HockeySDK-Android will stop to collect crashes until the number of unsent crashes drops below the limit of 100 unsent crashes.
- [BUGFIX] Fixes a possible
OutOfMemoryError
exception. This only occurs when a very large number of crashes – several 100k or more – wasn't sent to the server. #313
Breaking changes in version 5.0.0
HockeySDK 5.0.0 raises the minimum API level to 15.
In addition, we no longer support restricting builds by device id. The reason is that, with Android O, ANDROID_ID
no longer ensures a consistent way of identification of a user.
To be ready for Android O, HockeySDK-Android now limits the WRITE_EXTERNAL_STORAGE
permission with the maxSdkVersion
filter. In some use cases, e.g. where an app contains a dependency that requires this permission, maxSdkVersion
makes it impossible for those dependencies to grant or request the permission. The solution for those cases is to declare the tools:node="replace"
manifest merging strategy later in the dependency tree:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="replace"/>
Version 5.0.2
- [Bugfix] Fixes a NPE in
FeedbackActivity
. #303 - [Bugfix] Fixes a potential deadlock in
CrashManager
.#308 - [Improvement] Fix potential NPE when calling
MetricsManager.sessionTrackingEnabled()
before callingMetricsManager.register(...)
. #310
Thx to Mourat and Jarred for their contributions!
Breaking changes in version 5.0.0
HockeySDK 5.0.0 raises the minimum API level to 15.
In addition, we no longer support restricting builds by device id. The reason is that, with Android O, ANDROID_ID
no longer ensures a consistent way of identification of a user.
To be ready for Android O, HockeySDK-Android now limits the WRITE_EXTERNAL_STORAGE
permission with the maxSdkVersion
filter. In some use cases, e.g. where an app contains a dependency that requires this permission, maxSdkVersion
makes it impossible for those dependencies to grant or request the permission. The solution for those cases is to declare the tools:node="replace"
manifest merging strategy later in the dependency tree:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="replace"/>
Verion 5.0.1
- [BUGFIX] Fix a bug in the Italian translation. #296
- [IMPROVEMENT] Use different timestamp format for crash date and app start time. #297
Breaking changes in version 5.0.0
HockeySDK 5.0.0 raises the minimum API level to 15.
In addition, we no longer support restricting builds by device id. The reason is that, with Android O, ANDROID_ID
no longer ensures a consistent way of identification of a user.
To be ready for Android O, HockeySDK-Android now limits the WRITE_EXTERNAL_STORAGE
permission with the maxSdkVersion
filter. In some use cases, e.g. where an app contains a dependency that requires this permission, maxSdkVersion
makes it impossible for those dependencies to grant or request the permission. The solution for those cases is to declare the tools:node="replace"
manifest merging strategy later in the dependency tree:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="replace"/>
Version 5.0.0
Changes since 5.0.0-beta.1
- [BUGFIX] It's no longer possible to circumvent the login UI by pressing the backbutton under certain circumstances #278.
- [BUGFIX] Fix a crash in MetricsManager #279.
- [BUGFIX] Fix authentication by email #288.
- [BUGFIX] Fix a regression that was introduced in 5.0.0-beta.1 that prevented attaching screenshots to work #289.
- [BUGFIX] Fix Feedback notifications on Android #290.
- [IMPROVEMENT] Add the ability to when to show the UpdateFragment #280.
- [IMPROVEMENT]
CrashManagerListener
now hasonNoCrashesFound()
to notify you in case no new crashes were found #280. - [IMPROVEMENT] Retrieving the last crash details is now asynchronous.
- [DEPRECATION] We've removed the
onCrashesFound
callback inCrashManagerListener
as it has been deprecated since HockeySDK 3.0.0.
Breaking Changes
This release comes with one major breaking change. HockeySDK 5.0.0 raises the minimum API level to 15.
In addition, we no longer support restricting builds by device id. The reason is that, with Android O, ANDROID_ID
no longer ensures a consistent way of identification of a user.
To be ready for Android O, HockeySDK-Android now limits the WRITE_EXTERNAL_STORAGE
permission with the maxSdkVersion
filter. In some use cases, e.g. where an app contains a dependency that requires this permission, maxSdkVersion
makes it impossible for those dependencies to grant or request the permission. The solution for those cases is to declare the tools:node="replace"
manifest merging strategy later in the dependency tree:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="replace"/>
Thx a lot to Lauri for notifying us.
Full changelog
In addition, this release contains the following changes:
- [IMPROVEMENT] Support for Android O.
- [IMPROVEMENT] Code scans no longer trigger warnings related to usage of
ANDROID_ID
as we are no longer using it. - [IMPROVEMENT] The SDK supports Android Strict Mode way better as it no longer violates it.
- [IMPROVEMENT] We've improved the way we send Feedback attachments.
- [IMPROVEMENT] The SDK no longer caches information about in-app updates to make sure updates are available immediately.
- [IMPROVEMENT] Add the ability to when to show the UpdateFragment #280.
- [IMPROVEMENT] Retrieving the last crash details is now asynchronous.
- [BUGFIX] Metrics no longer leaks a connection.
- [BUGFIX] It's no longer possible to circumvent the login UI by pressing the backbutton under certain circumstances #278.
- [BUGFIX] Fix a crash in MetricsManager #279.
- [BUGFIX] Fix authentication by email #288.
- [BUGFIX] Fix a regression that was introduced in 5.0.0-beta.1 that prevented attaching screenshots to work #289.
- [BUGFIX] Fix Feedback notifications on Android #290.
- [IMPROVEMENT] Add the ability to when to show the UpdateFragment #280.
- [IMPROVEMENT]
CrashManagerListener
now hasonNoCrashesFound()
to notify you in case no new crashes were found #280. - [DEPRECATION] We've removed the
onCrashesFound
callback inCrashManagerListener
as it has been deprecated since HockeySDK 3.0.0.
Updating the HockeySDK
We didn't remove any API with this release. Just update to this version and you are good to go!
Acknowledgments
Thanks to @bmourat @MatkovIvan and @friederbluemle for their input and help! =)
Version 5.0.0-beta.1
Breaking Changes
This release comes with one major breaking change. HockeySDK 5.0.0-beta.1 raises the minimum API level to 15.
In addition, we no longer support restricting builds by device id. The reason is that, with Android O, ANDROID_ID
no longer ensures a consistent way of identification of a user.
To be ready for Android O, HockeySDK-Android now limits the WRITE_EXTERNAL_STORAGE
permission with the maxSdkVersion
filter. In some use cases, e.g. where an app contains a dependency that requires this permission, maxSdkVersion
makes it impossible for those dependencies to grant or request the permission. The solution for those cases is to declare the tools:node="replace"
manifest merging strategy later in the dependency tree:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="replace"/>
Thx a lot to Lauri for notifying us.
Changelog
In addition, this release contains the following changes:
- [IMPROVEMENT] Support for Android O.
- [IMPROVEMENT] Code scans no longer trigger warnings related to usage of
ANDROID_ID
as we are no longer using it. - [IMPROVEMENT] The SDK supports Android Strict Mode way better as it no longer violates it.
- [IMPROVEMENT] We've improved the way we send Feedback attachments.
- [IMPROVEMENT] The SDK no longer caches information about in-app updates to make sure updates are available immediately. The iOS SDK has behaved like this for a while and we decided to align the behavior across SDKs.
- [BUGFIX] Metrics no longer leaks a connection.
Updating the HockeySDK
We didn't remove any API with this release. Just update to this version and you're good to go!
Acknowledgments
Thanks to @bmourat @MatkovIvan and @friederbluemle for their input and help! =)
Version 4.1.5
- [FIX] Fix a resource leak in
Sender
#235. - [FIX] Fix pissibility to bypass authentication #236.
- [FIX] Fix the progressbar when sending feedback #237.
- [FIX] Fix potential OOM crash by limiting the number of form fields in a request #238.
- [FIX] Fix the dates in the Feedback UI #239.
- [FIX] Fix ConcurrentModificationException in metrics feature #242.
- [FIX] Fix potential crash related to multi-threading in
Channel
#248. - [FIX] Fix the focus in the Feedback UI, this also improves accessibility #249.
- [IMPROVEMENT] When debugging, the SDK uses smaller batch sizes and timing intervals until metrics are sent to make debugging easier #231.
- [IMPROVEMENT] Fix some strict mode violations #241.
- [IMPROVEMENT] Improve accessibility for Feedback attachments #251.
*[IMPROVEMENT] Send batched events when the app goes into background.
#252.