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

ref: Make SpanProtocol.data non nullable #2409

Merged
merged 108 commits into from
Nov 22, 2022
Merged

Conversation

brustolin
Copy link
Contributor

📜 Description

SpanProtocol.data is now non nullable.

💡 Motivation and Context

close #1257

💚 How did you test it?

📝 Checklist

  • I reviewed the submitted code
  • I added tests to verify the changes
  • I updated the docs if needed
  • Review from the native team if needed
  • No breaking changes

@github-actions
Copy link

github-actions bot commented Nov 18, 2022

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1197.36 ms 1241.60 ms 44.24 ms
Size 20.75 KiB 381.81 KiB 361.06 KiB

Baseline results on branch: 8.0.0

Startup times

Revision Plain With Sentry Diff
a9e77dc 1231.94 ms 1254.85 ms 22.91 ms
58ec104 1244.29 ms 1269.67 ms 25.39 ms
9be1db2 1219.42 ms 1245.66 ms 26.24 ms
88ac2c2 1223.04 ms 1243.12 ms 20.08 ms
d10145a 1232.65 ms 1257.55 ms 24.90 ms
7eee302 1228.73 ms 1241.94 ms 13.21 ms
dcac8ad 1238.82 ms 1247.80 ms 8.98 ms
68094b3 1214.14 ms 1255.09 ms 40.95 ms
e2cec76 1189.48 ms 1229.84 ms 40.36 ms

App size

Revision Plain With Sentry Diff
a9e77dc 20.75 KiB 379.12 KiB 358.36 KiB
58ec104 20.75 KiB 379.11 KiB 358.36 KiB
9be1db2 20.75 KiB 373.94 KiB 353.19 KiB
88ac2c2 20.75 KiB 373.61 KiB 352.86 KiB
d10145a 20.75 KiB 379.12 KiB 358.36 KiB
7eee302 20.75 KiB 374.73 KiB 353.97 KiB
dcac8ad 20.75 KiB 379.11 KiB 358.36 KiB
68094b3 20.75 KiB 373.94 KiB 353.19 KiB
e2cec76 20.75 KiB 381.81 KiB 361.06 KiB

Previous results on branch: ref/spanprotocol-data-nonnull

Startup times

Revision Plain With Sentry Diff
66cba44 1248.71 ms 1261.82 ms 13.11 ms
ee03e12 1228.43 ms 1251.67 ms 23.24 ms

App size

Revision Plain With Sentry Diff
66cba44 20.75 KiB 379.12 KiB 358.36 KiB
ee03e12 20.75 KiB 379.12 KiB 358.36 KiB

@kevinrenskers kevinrenskers added this to the 8.0.0 milestone Nov 18, 2022
@brustolin brustolin linked an issue Nov 21, 2022 that may be closed by this pull request
@brustolin brustolin self-assigned this Nov 21, 2022
Base automatically changed from feat/swift to 8.0.0 November 21, 2022 08:35
@philipphofmann
Copy link
Member

@brustolin, please merge 8.0.0 into this branch.

Copy link
Member

@philipphofmann philipphofmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM apart from the Changelog.

@brustolin brustolin merged commit c9129b6 into 8.0.0 Nov 22, 2022
@brustolin brustolin deleted the ref/spanprotocol-data-nonnull branch November 22, 2022 13:59
@github-actions
Copy link

Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

- Make SpanProtocol.data non nullable ([#2409](https://github.com/getsentry/sentry-cocoa/pull/2409))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.

Generated by 🚫 dangerJS against 9102633

kevinrenskers added a commit that referenced this pull request Nov 22, 2022
* 8.0.0:
  ref: Fix typos in OOMTracker (#2431)
  ref: Make SpanProtocol.data non nullable (#2409)
  ref: add/improve logging (#2420)
  ref: bump supported OS versions (#2414)
  test: shorten some tests (#2428)
  ref: Remove `- [SentryOptions initWithDict:didFailWithError:]` (#2404)
  ref: Mark [SpanProtocol setExtraValue:forKey] as deprecated (#2413)
  typos (#2421)
  test: Disable NSDataTracker in clearTestState (#2418)
  Update CHANGELOG.md (#2415)
  feat: Properly demangle Swift class name (#2162)
  chore: Create 8.0.0 branch
  test: include Sentry changes in hash keys (#2412)
  release: 7.31.2
  fix: Crash in Client when reading integrations (#2398)
  test: tooling improvements (#2400)
  fix: Don't increase session's error count for dropped events (#2374)
  Update CHANGELOG.md (#2396)
  release: 7.31.1
  Fix: Set the correct OOM event timestamp (#2394)

# Conflicts:
#	Sentry.xcodeproj/project.pbxproj
#	SentryPrivate.podspec
#	scripts/add-sentry-to-vlc.patch
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.

Make data in data SentrySpanProtocol nonnull
4 participants