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: Mark [SpanProtocol setExtraValue:forKey] as deprecated #2413

Merged
merged 106 commits into from
Nov 22, 2022

Conversation

brustolin
Copy link
Contributor

📜 Description

Marked `[SpanProtocol setExtraValue:forKey]' deprecated

💡 Motivation and Context

close #1306

💚 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

🔮 Next steps

@brustolin brustolin linked an issue Nov 21, 2022 that may be closed by this pull request
@brustolin brustolin changed the title ref: Make SpanProtocol setExtra deprecated ref: Mark [SpanProtocol setExtraValue:forKey] as deprecated Nov 21, 2022
@github-actions
Copy link

github-actions bot commented Nov 21, 2022

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1244.50 ms 1266.98 ms 22.48 ms
Size 20.75 KiB 379.12 KiB 358.36 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
7eee302 1228.73 ms 1241.94 ms 13.21 ms
d10145a 1232.65 ms 1257.55 ms 24.90 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
7eee302 20.75 KiB 374.73 KiB 353.97 KiB
d10145a 20.75 KiB 379.12 KiB 358.36 KiB

Previous results on branch: ref/mark-setextra-deprecated

Startup times

Revision Plain With Sentry Diff
6075bc4 1233.12 ms 1255.70 ms 22.58 ms
f128ee1 1245.11 ms 1267.98 ms 22.87 ms

App size

Revision Plain With Sentry Diff
6075bc4 20.75 KiB 379.11 KiB 358.36 KiB
f128ee1 20.75 KiB 379.11 KiB 358.36 KiB

@philipphofmann philipphofmann changed the base branch from feat/swift to 8.0.0 November 21, 2022 08:30
@brustolin brustolin self-assigned this Nov 21, 2022
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.

Please keep the tests, as we didn't remove the method yet.

CHANGELOG.md Outdated Show resolved Hide resolved
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

Co-authored-by: Kevin Renskers <kevin@loopwerk.io>
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

@brustolin brustolin merged commit dcac8ad into 8.0.0 Nov 22, 2022
@brustolin brustolin deleted the ref/mark-setextra-deprecated branch November 22, 2022 08:58
kevinrenskers added a commit that referenced this pull request Nov 22, 2022
* 8.0.0:
  ref: Mark [SpanProtocol setExtraValue:forKey] as deprecated (#2413)
  typos (#2421)
  test: Disable NSDataTracker in clearTestState (#2418)
kevinrenskers added a commit that referenced this pull request Nov 22, 2022
* 8.0.0:
  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)
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.

Mark SpanProtocol.setExtra as deprecated
4 participants