ref(scopes): Rename sentry_capture_event_with_scope => sentry_scope_capture_event#1882
Conversation
|
@tustanivsky heads-up: a small deprecation/rename coming. results in nice and consistent |
|
@jpnurmi should I frame this as a breaking change in the changelog? |
|
Under "Deprecations" section now. |
|
I wouldn't necessarily consider a deprecation breaking (even if it technically can break |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #1882 +/- ##
==========================================
- Coverage 75.56% 75.56% -0.01%
==========================================
Files 90 90
Lines 21188 21191 +3
Branches 3764 3764
==========================================
+ Hits 16010 16012 +2
- Misses 4350 4353 +3
+ Partials 828 826 -2 🚀 New features to boost your workflow:
|
Renames
sentry_capture_event_with_scopetosentry_scope_capture_eventto match thesentry_scope_capture_xfamily, with the scope as the first argument. The old name stays as a deprecated forwarder that keeps the original (event, scope) order, so existing callers keep working and get a warning pointing them to the new function.