Releases: bugsnag/bugsnag-unity
v7.1.0
7.1.0 (2022-07-12)
This version of the sdk can also be installed via UPM
Enhancements
- Add
Configuration.Telemetry
config option to set the native Android option and the native Cocoa option #576
Dependency updates
Bug fixes
v7.0.0
7.0.0 (2022-05-30)
This version contains breaking changes: some errors generated by the new version will no longer group in the Bugnsag dashboard with equivalent errors generated by older versions. This is due to the introduction of a new exception interceptor that gets passed the C# exception objects, rather than having to parse the information from Unity logs.
Please see the upgrade guide for details of all the changes and instructions on how to upgrade.
This version of the sdk can also be installed via UPM
Dependency updates
v6.3.2
v6.3.1
6.3.1 (2022-04-06)
This version of the sdk can also be installed via UPM
Enhancements
- Update bugsnag-android to v5.22.0
- Added
Bugsnag.isStarted()
to test whether the Bugsnag client is in the middle of initializing. This can be used to guard uses of the Bugsnag API that are either on separate threads early in the app's start-up and so not guaranteed to be executed afterBugsnag.start
has completed, or where Bugsnag may not have been started at all due to some internal app logic.
slack-jallen:#1621
bugsnag-android#1640 - Events and Sessions will be discarded if they cannot be uploaded and are older than 60 days or larger than 1MB
bugsnag-android#1633 - Fixed potentially thread-unsafe access when invoking
Bugsnag
static methods across different threads whilstBugsnag.start
is still in-flight. It is now safe to call anyBugsnag
static method onceBugsnag.start
has begun executing, as access to the client singleton is controlled by a lock, so the newisStarted
method (see above) should only be required where it cannot be determined whether the call toBugsnag.start
has begun or you do not want to wait.
bugsnag-android#1638 - Calling
bugsnag_event_set_context
with NULLcontext
correctly clears the event context again
bugsnag-android#1637
- Added
Bug fixes
v6.3.0
6.3.0 (2022-03-23)
This version of the sdk can also be installed via UPM
Enhancements
-
Added Android support for EDM4U. For manual installs there see the new menu item at Window/Bugsnag/Enable EDM Support. For UPM installs we have a dedicated package. #528
-
Update bugsnag-android to v5.21.0
- Fix inconsistencies in stack trace quality for C/C++ events. Resolves a few
cases where file and line number information was not resolving to the correct
locations. This change may result in grouping changes to more correctly
highlight the root cause of an event.
#1605
#1606 - Fixed an issue where an uncaught exception on the main thread could in rare cases trigger an ANR.
#1624
- Fix inconsistencies in stack trace quality for C/C++ events. Resolves a few
v6.2.0
6.2.0 (2022-03-16)
This version of the sdk can also be installed via UPM
Enhancements
-
Added event, session and device id persistence for Windows and WebGL builds #512 #509 #514
-
Add
Configuration.MaxReportedThreads
config option to set the native Android option 523 -
Update bugsnag-android to v5.20.0
- The number of threads reported can now be limited using
Configuration.setMaxReportedThreads
(defaulting to 200)
bugsnag-android#1607 - Improved the performance and stability of the NDK and ANR plugins by caching JNI references on start
bugsnag-android#1596
bugsnag-android#1601
- The number of threads reported can now be limited using
v6.1.0
6.1.0 (2022-02-08)
This version of the sdk can also be installed via UPM
Enhancements
-
New APIs to support forthcoming feature flag and experiment functionality.
For more information, please see https://docs.bugsnag.com/product/features-experiments
#504 #501 -
Update bugsnag-cocoa to v6.16.1
- New APIs to support forthcoming feature flag and experiment functionality.
For more information, please see https://docs.bugsnag.com/product/features-experiments
bugsnag-cocoa#1279 - Fix missing user.id in OOM events with no active session.
bugsnag-cocoa#1274 - Improve crash report writing performance and size on disk.
bugsnag-cocoa#1273
bugsnag-cocoa#1281 - Detect hangs during launch of UIScene based apps.
bugsnag-cocoa#1263 - Stop persisting changes made by
OnSendError
callbacks if delivery needs to be retried.
bugsnag-cocoa#1262 - Fix incorrect
device.freeDisk
in crash errors.
bugsnag-cocoa#1256 - Fix some potential deadlocks that could occur if a crash handler crashes.
bugsnag-cocoa#1252 - Fix
UIApplicationState
detection when started from a SwiftUI app'sinit()
function.
This fixes false positive OOMs on iOS 15 for apps that have been prewarmed without transitioning to the foreground.
bugsnag-cocoa#1248 - Load configuration from the plist instead of using defaults when calling Bugsnag.start(withApiKey:)
bugsnag-cocoa#1245 - New APIs to allow
OnBreadcrumb
,OnSendError
andOnSession
Swift closures to be removed.
The following APIs are now deprecated and will be removed in the next major release:removeOnBreadcrumb(block:)
removeOnSendError(block:)
removeOnSession(block:)
bugsnag-cocoa#1240
- Include metadata in breadcrumbs for
UIWindow
/NSWindow
notifications.
bugsnag-cocoa#1238 - Fix a crash in
-[BSGURLSessionTracingDelegate URLSession:task:didFinishCollectingMetrics:]
for tasks with no request.
bugsnag-cocoa#1230 - Use
LC_FUNCTION_STARTS
to improve symbolication accuracy.
bugsnag-cocoa#1214 - Fix missing imports when building with
CLANG_ENABLE_MODULES=NO
bugsnag-cocoa#1284
- New APIs to support forthcoming feature flag and experiment functionality.
-
Update bugsnag-android to v5.19.2
- New APIs to support forthcoming feature flag and experiment functionality. For more information, please see https://docs.bugsnag.com/product/features-experiments.
- Explicitly define Kotlin api/language versions
bugsnag-android#1564 - Build project with Kotlin 1.4, maintain compat with Kotlin 1.3
bugsnag-android#1565 - Discarded unhandled exceptions are propagated to any previously registered handlers
bugsnag-android#1584 - Fix SIGABRT crashes caused by race conditions in the NDK layer
bugsnag-android#1585 - Fixed an issue where feature-flags were not always sent if an OnSendCallback was configured
bugsnag-android#1589 - Fix a bug where api keys set in React Native callbacks were ignored
bugsnag-android#1592
v6.0.0
6.0.0 (2022-01-20)
This version contains breaking changes, as bugsnag-unity has been updated to allow for more convenient and performant initialisation and configuration features.
Please see the upgrade guide for details of all the changes and instructions on how to upgrade.
This version of the sdk can also be installed via UPM
In addition to the changes mentioned in the upgrade guide, the bundled Bugsnag Android Notifier has been updated. See below for details.
- Update bugsnag-android to v5.18.0
- Bump compileSdkVersion to apiLevel 31
bugsnag-android#1536 - Flush in-memory sessions first
bugsnag-android#1538 - Avoid unnecessary network connectivity change breadcrumb
bugsnag-android#1540
bugsnag-android#1546 - Clear native stacktrace memory in
bugsnag_notify_env
before attempting to unwind the stack
bugsnag-android#1543 - Increase resilience of NDK stackframe method capture
bugsnag-android#1484 redactedKeys
now correctly apply to metadata on Event breadcrumbs
bugsnag-android#1526- Improved the robustness of automatically logged
ERROR
breadcrumbs
bugsnag-android#1531 - Improve performance on the breadcrumb storage "hot path" by removing Date formatting
bugsnag-android#1525 - Improve the memory use and performance overhead when handling the delivery response status codes
bugsnag-android#1558 - Harden ndk layer through use of const keyword
bugsnag-android#1566 - Delete persisted NDK events earlier in delivery process
bugsnag-android#1562 - Add null checks for strlen()
bugsnag-android#1563 - Catch IOException when logging response status code
bugsnag-android#1567
- Bump compileSdkVersion to apiLevel 31
v5.4.2
5.4.2 (2021-11-16)
- Update bugsnag-cocoa to v6.14.2
- Fix missing
configuration.user
and manually resumedsession
info in unhandled errors.
bugsnag-cocoa#1215
- Fix missing
Bug fixes
- Fixed an issue where breadcrumbs from non fatal apphang errors caused a crash on retrieval
#431
v5.4.1
5.4.1 (2021-10-25)
Enhancements
-
Removed the limit on the length of a breadcrumbs name #399
-
Update bugsnag-android to v5.14.0
- Capture and report thread state (running, sleeping, etc.) for Android Runtime and Native threads
bugsnag-android#1367
bugsnag-android#1390
- Capture and report thread state (running, sleeping, etc.) for Android Runtime and Native threads
-
Update bugsnag-cocoa to v6.14.0
- Capture and report thread states (running, stopped, waiting, etc.)
bugsnag-cocoa#1200 - Disable app hang detection for app extensions.
bugsnag-cocoa#1198
- Capture and report thread states (running, stopped, waiting, etc.)
Bug fixes
- Fixed an issue where csharp exceptions originating from background threads caused errors in the App and Device class constructors
#413