Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v5.22.0 #1643

Merged
merged 32 commits into from
Mar 31, 2022
Merged

v5.22.0 #1643

merged 32 commits into from
Mar 31, 2022

Conversation

lemnik
Copy link
Contributor

@lemnik lemnik commented Mar 31, 2022

Enhancements

  • 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 after Bugsnag.start has completed, or where Bugsnag may not have been started at all due to some internal app logic.
    slack-jallen:#1621
    #1640

  • Events and Sessions will be discarded if they cannot be uploaded and are older than 60 days or larger than 1MB
    #1633

Bug fixes

  • Fixed potentially thread-unsafe access when invoking Bugsnag static methods across different threads whilst Bugsnag.start is still in-flight. It is now safe to call any Bugsnag static method once Bugsnag.start has begun executing, as access to the client singleton is controlled by a lock, so the new isStarted method (see above) should only be required where it cannot be determined whether the call to Bugsnag.start has begun or you do not want to wait. #1638
  • Calling bugsnag_event_set_context with NULL context correctly clears the event context again
    #1637

Goooler and others added 30 commits March 17, 2022 11:55
Clear app data before all e2e tests
`bsg_strncpy` should terminate `dst` even if `src` is `NULL`
… functions are safe to call while `Bugsnag.start` is still running
…safety

Improve `Bugsnag.start` thread-safety
…n the non-startup thread, to simulate some typical startup work-load (but not long enough for `Bugsnag.start` to complete)
[PLAT-8185] Limit retries of event payloads based on size and age, and session payloads based on age
Consistently format e2e test feature files
Rename Cucumber step for consistency with Cocoa
@lemnik lemnik changed the base branch from next to master March 31, 2022 09:27
@bugsnagbot
Copy link
Collaborator

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1855.01 1606.38
arm64_v8a 651.66 401.8
armeabi_v7a 586.13 340.37
x86 725.37 479.61
x86_64 692.61 446.85

Generated by 🚫 Danger

@lemnik lemnik merged commit a5824a3 into master Mar 31, 2022
@lemnik lemnik deleted the releases/v5.22.0 branch March 31, 2022 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants