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: Rename SentryClient and SentryUser #2403

Merged
merged 103 commits into from
Nov 22, 2022
Merged

Conversation

brustolin
Copy link
Contributor

📜 Description

Renamed Client to SentryClient and User to SentryUser for Swift.

💡 Motivation and Context

close #1842
close #1100

💚 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

@brustolin brustolin added this to the 8.0.0 milestone Nov 18, 2022
@brustolin brustolin self-assigned this Nov 18, 2022
@brustolin brustolin changed the base branch from master to feat/swift November 18, 2022 10:07
CHANGELOG.md Outdated Show resolved Hide resolved
@philipphofmann
Copy link
Member

Can you please do #1842 and #1100 in two different PRs, so we have a cleaner Changelog?

@github-actions
Copy link

github-actions bot commented Nov 18, 2022

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1218.71 ms 1251.64 ms 32.93 ms
Size 20.75 KiB 381.81 KiB 361.05 KiB

Baseline results on branch: 8.0.0

Startup times

Revision Plain With Sentry Diff
7eee302 1228.73 ms 1241.94 ms 13.21 ms
4dc66f6 1202.59 ms 1228.34 ms 25.75 ms
9be1db2 1219.42 ms 1245.66 ms 26.24 ms
58ec104 1244.29 ms 1269.67 ms 25.39 ms
88ac2c2 1223.04 ms 1243.12 ms 20.08 ms
c9129b6 1231.86 ms 1270.11 ms 38.25 ms
68094b3 1214.14 ms 1255.09 ms 40.95 ms
e2cec76 1189.48 ms 1229.84 ms 40.36 ms
d10145a 1232.65 ms 1257.55 ms 24.90 ms
dcac8ad 1238.82 ms 1247.80 ms 8.98 ms

App size

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

Previous results on branch: ref/rename-classes

Startup times

Revision Plain With Sentry Diff
70853f9 1234.49 ms 1244.10 ms 9.61 ms
5135d78 1199.10 ms 1231.26 ms 32.16 ms
7e43c08 1245.44 ms 1263.82 ms 18.38 ms
96277b1 1235.22 ms 1261.32 ms 26.10 ms

App size

Revision Plain With Sentry Diff
70853f9 20.75 KiB 379.11 KiB 358.36 KiB
5135d78 20.75 KiB 379.11 KiB 358.36 KiB
7e43c08 20.75 KiB 381.81 KiB 361.06 KiB
96277b1 20.75 KiB 381.81 KiB 361.06 KiB

@brustolin
Copy link
Contributor Author

Can you please do #1842 and #1100 in two different PRs, so we have a cleaner Changelog?

@philipphofmann Can we have two changelogs entries pointing to the same PR?

CHANGELOG.md Outdated Show resolved Hide resolved
Base automatically changed from feat/swift to 8.0.0 November 21, 2022 08:35
@kevinrenskers
Copy link
Contributor

I think you need to merge the 8.0.0 branch into this branch, so that the diff makes sense again.

* 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
@kevinrenskers
Copy link
Contributor

We're getting a whole bunch of SwiftLint violations in TrendingMovies, all of a sudden.

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.

Rename Client to SentryClient on Swift Change SentryUser Swift name to something other than User
4 participants