You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(core)!: Stop accepting event as argument for recordDroppedEvent (#14999)
The event was no longer used for some time, instead you can (optionally)
pass a count of dropped events as third argument. This has been around
since v7, so we can finally clean this up here, which should also save
some bytes.
This was not really deprecated before, but is also more an intimate API
so I do not expect this to affect users too much. Also, deprecating
arguments like this does not really work well with eslint anyhow, so
even if we would deprecate it it is unlikely users would find out
anyhow.
Copy file name to clipboardExpand all lines: docs/migration/v8-to-v9.md
+1
Original file line number
Diff line number
Diff line change
@@ -199,6 +199,7 @@ Sentry.init({
199
199
The following changes are unlikely to affect users of the SDK. They are listed here only for completion sake, and to alert users that may be relying on internal behavior.
200
200
201
201
-`client._prepareEvent()` now requires a currentScope & isolationScope to be passed as last arugments
202
+
-`client.recordDroppedEvent()` no longer accepts an `event` as third argument. The event was no longer used for some time, instead you can (optionally) pass a count of dropped events as third argument.
0 commit comments