-
-
Notifications
You must be signed in to change notification settings - Fork 284
[v9]: Flutter Web release health #2794
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
Merged
Merged
Changes from 59 commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
469415c
bump to 9.5.0
buenaflor 6c5f7f7
Update CHANGELOG
buenaflor b584a91
temp
buenaflor 1dc4ffe
temp
buenaflor e6aa943
temp
buenaflor 5a48913
add sessions to navigator observer
buenaflor d82c1c6
update
buenaflor f19e998
update
buenaflor 079f78a
Merge branch 'main' into v9-feat/js-release-health
buenaflor e4b20e6
add web sessions
buenaflor b0f0733
update logs and improve adding web sessions code
buenaflor 8b74f4d
add test for beforeSendEvent hook
buenaflor 3296f90
clean up
buenaflor 2348468
Delete flutter/lib/src/event_processor/session_event_processor.dart
buenaflor 869e324
update test
buenaflor 4f20bb9
add test for navigator observer
buenaflor 5faab6d
update group name to web sessions
buenaflor 8a658ef
update naming
buenaflor 4426919
fix
buenaflor f8e91c2
naming
buenaflor 186dd27
todo
buenaflor ce0b8c5
naming
buenaflor 14f2f64
first test
buenaflor 4338331
remove unnecessary code
buenaflor e1ceb32
update to internal and comments
buenaflor db0fa9b
make getSession nullable
buenaflor b4d0b7b
do we need this?
buenaflor fbc5721
update error count
buenaflor cf7bf9a
use tryCatchSync
buenaflor 8ea8ffc
updateSession status and error can be non-null
buenaflor 12f5bb0
update logger
buenaflor 1417799
update tests
buenaflor e4dbbee
update test
buenaflor 2416389
clean up
buenaflor b02d0bc
update
buenaflor affdb82
fix integration test
buenaflor 4478d8f
cleanup
buenaflor 64b13f8
fix async
buenaflor 39b0584
update CHANGELOG
buenaflor 55bff4a
Merge branch 'main' into v9-feat/js-release-health
buenaflor 0bc50b0
fix internal usage
buenaflor 9d0c67a
fix test
buenaflor 7335da5
clean up web session updater
buenaflor d0ae7cf
update CHANGELOG
buenaflor 8877646
Merge branch 'main' into v9-feat/js-release-health
buenaflor 92a6c63
update dart comment
buenaflor bd464a5
Update session updater to check for navigator observer registration
buenaflor 8e609fe
remove commented lines
buenaflor 8396c74
update test structure
buenaflor 082f904
no op tests for native_channel
buenaflor 599dbee
update docs
buenaflor 81bb504
refactor to use integration
buenaflor df79dec
update naming
buenaflor 50d51e0
update docs
buenaflor 8825e1f
use enable function
buenaflor c20aff6
update tests
buenaflor 22b3550
update sentry_flutter_test
buenaflor a933ce1
fix integration test
buenaflor f9d8b56
fix tests
buenaflor 7bbe0e7
Update flutter/lib/src/integrations/web_session_integration.dart
buenaflor 25b6df3
Merge branch 'main' into v9-feat/js-release-health
buenaflor 75b66b3
update _isEnabled
buenaflor 4f19ef1
remove web check, web session integration is only added for web anyway
buenaflor 97cf12e
implement beforeSendEventObserver
buenaflor dc195fa
remove unnecessary test
buenaflor 13051e7
formatting
buenaflor 9df9352
cleanup
buenaflor 3b9e1bd
remove web_session_updater
buenaflor 9a3700c
format
buenaflor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| import 'dart:async'; | ||
|
|
||
| import 'package:meta/meta.dart'; | ||
|
|
||
| import '../sentry.dart'; | ||
|
|
||
| // This file will contain observer definitions that are executed during | ||
| // specific points in the SDK such as as right before an event is sent. | ||
| // Only for internal use, e.g updating sessions only when an event is fully processed. | ||
| // Not to be confused with the public callbacks such as beforeSend. | ||
| // These should not mutate the data that is passed through the observer. | ||
|
|
||
| /// Called right before an event is sent, after all processing is complete. | ||
| /// Should not modify the event at this point. | ||
| @internal | ||
| abstract class BeforeSendEventObserver { | ||
| FutureOr<void> onBeforeSendEvent(SentryEvent event, Hint hint); | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.