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

Deprecate Event#configuration #1661

Merged
merged 1 commit into from
Jan 2, 2022
Merged

Conversation

st0012
Copy link
Collaborator

@st0012 st0012 commented Jan 2, 2022

We shouldn't need to store the entire configuration object in the event. Storing the config options (just 3 for now) would be enough. This will make the dependency of Event clearer.

This change doesn't remove Event#configuration yet. It's marked as deprecated and will be removed in v5.0.0.

@st0012 st0012 added this to the 4.9.0 milestone Jan 2, 2022
@st0012 st0012 self-assigned this Jan 2, 2022
@codecov-commenter
Copy link

codecov-commenter commented Jan 2, 2022

Codecov Report

Merging #1661 (2df28fd) into master (d5d045b) will decrease coverage by 0.03%.
The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1661      +/-   ##
==========================================
- Coverage   98.51%   98.47%   -0.04%     
==========================================
  Files         136      136              
  Lines        7651     7655       +4     
==========================================
+ Hits         7537     7538       +1     
- Misses        114      117       +3     
Impacted Files Coverage Δ
sentry-ruby/lib/sentry/event.rb 98.86% <88.88%> (-1.14%) ⬇️
sentry-ruby/lib/sentry/background_worker.rb 94.59% <0.00%> (-5.41%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d5d045b...2df28fd. Read the comment docs.

@st0012 st0012 force-pushed the deprecate-event-configuration branch from 9d0e257 to 2df28fd Compare January 2, 2022 21:38
@st0012 st0012 merged commit d583528 into master Jan 2, 2022
@st0012 st0012 deleted the deprecate-event-configuration branch January 2, 2022 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants