Skip to content

Commit 17ab3ce

Browse files
authored
Merge pull request #218 from getsentry/patch-upgrade-docs
Add mention of dropped events
2 parents 84cb150 + 4022626 commit 17ab3ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UPGRADE-3.0.md

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ changed:
4040
* The `ExceptionListener` has been splitted and renamed: we now have a simpler `ErrorListener`, and three other listeners
4141
dedicated to enriching events of data (`RequestListener`, `SubRequestListener` and `ConsoleListener`)
4242
* The listeners are now `final`; append your own listeners to override their behavior
43+
* The `SentrySymfonyEvents::PRE_CAPTURE` and `SentrySymfonyEvents::SET_USER_CONTEXT` events are dropped; if you want to inject data into your events, write your own listener in a similar fashion to `RequestListener`, using the `Hub` and the `Scope` to handle how and when the new information is attached to events
4344
* The listeners are registered with a priority of `1`; they will run just before the default priority of `0`, to ease
4445
the registration of custom listener that will change `Scope` data
4546
* Configuration options of the bundle are now aligned with the new ones of the 2.0 SDK

0 commit comments

Comments
 (0)