Skip to content

bump: @sentry/electron#7561

Merged
CurryYangxx merged 4 commits intodevelopfrom
bump/sentry-electron
Jul 4, 2024
Merged

bump: @sentry/electron#7561
CurryYangxx merged 4 commits intodevelopfrom
bump/sentry-electron

Conversation

@CurryYangxx
Copy link
Member

@CurryYangxx CurryYangxx commented Jun 19, 2024

Bump sentry sdk version so that we can use some new features such as custom metric, App no response, etc.
Follow this migration doc: https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.md

Changes

  • use transportOptions.shouldSend to do offline support
  • use Sentry.getCurrentScope().setUser({id}) to set user info

How to test
change sampleRate to 1 in our sentry config, and trigger Sentry.captureException. Then you can see the record in sentry platform.

@CurryYangxx CurryYangxx marked this pull request as draft June 19, 2024 07:50
@CurryYangxx CurryYangxx force-pushed the bump/sentry-electron branch from aedc246 to de611f6 Compare July 3, 2024 09:43
@CurryYangxx CurryYangxx marked this pull request as ready for review July 3, 2024 09:51
@CurryYangxx CurryYangxx requested a review from a team July 3, 2024 09:51
@CurryYangxx CurryYangxx force-pushed the bump/sentry-electron branch from de611f6 to e0e4ba8 Compare July 4, 2024 02:55
@CurryYangxx CurryYangxx enabled auto-merge (squash) July 4, 2024 02:56
@CurryYangxx CurryYangxx merged commit b6c9bb9 into develop Jul 4, 2024
@CurryYangxx CurryYangxx deleted the bump/sentry-electron branch July 4, 2024 03:08
CurryYangxx added a commit that referenced this pull request Jul 29, 2024
* bump: @sentry/electron

* bump: @sentry/electron

* sentry config user

* resolve conflict
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants