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

feat: Remove user segment #928

Merged
merged 4 commits into from
Dec 12, 2024
Merged

feat: Remove user segment #928

merged 4 commits into from
Dec 12, 2024

Conversation

AbhiPrasad
Copy link
Member

@AbhiPrasad AbhiPrasad commented Dec 11, 2024

ref getsentry/team-sdks#44

Remove user segment and all user segment related logic.

https://go.dev/ref/mod#go-mod-file-module-deprecation

Copy link

codecov bot commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.85%. Comparing base (a59bd69) to head (7bc7226).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #928      +/-   ##
==========================================
+ Coverage   83.83%   83.85%   +0.01%     
==========================================
  Files          49       49              
  Lines        5135     5128       -7     
==========================================
- Hits         4305     4300       -5     
+ Misses        676      674       -2     
  Partials      154      154              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

interfaces.go Outdated
Comment on lines 115 to 119
// Segment is a string representing the user segment that the user belongs to.
//
// Deprecated: Segment is deprecated and will be removed in the next major
// of the Sentry Go SDK.
Segment string `json:"segment,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

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

Feel free to remove it right now, the next release contains some breaking changes as well.

@AbhiPrasad
Copy link
Member Author

@cleptric I went ahead and completely removed it in d66770f

@AbhiPrasad AbhiPrasad changed the title feat: Deprecate user segment feat: Remove user segment Dec 11, 2024
@ribice
Copy link
Collaborator

ribice commented Dec 11, 2024

@AbhiPrasad Please update Changelog as well with this change.

@AbhiPrasad
Copy link
Member Author

AbhiPrasad commented Dec 12, 2024

@ribice done with a42721e

@AbhiPrasad AbhiPrasad force-pushed the abhi-deprecate-user-segment branch from 8b89a4e to a42721e Compare December 12, 2024 16:50
@cleptric cleptric force-pushed the abhi-deprecate-user-segment branch from f580abc to 7bc7226 Compare December 12, 2024 17:06
@cleptric cleptric enabled auto-merge (squash) December 12, 2024 17:09
@cleptric
Copy link
Member

Thanks @AbhiPrasad

@cleptric cleptric merged commit 77bd21b into master Dec 12, 2024
16 checks passed
@cleptric cleptric deleted the abhi-deprecate-user-segment branch December 12, 2024 17:10
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.

3 participants