Skip to content

Commit

Permalink
chore: Bump sentry JS SDK to 8.18.0 (#74509)
Browse files Browse the repository at this point in the history
Bumps Sentry SDK to 8.18.0 for improved user feedback error messages
  • Loading branch information
c298lee committed Jul 18, 2024
1 parent 82db2fc commit 3d76f03
Show file tree
Hide file tree
Showing 4 changed files with 247 additions and 351 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@
"@sentry-internal/rrweb-player": "2.25.0",
"@sentry-internal/rrweb-snapshot": "2.25.0",
"@sentry/babel-plugin-component-annotate": "^2.16.1",
"@sentry/core": "^8.12.0-beta.0",
"@sentry/node": "^8.12.0-beta.0",
"@sentry/react": "^8.12.0-beta.0",
"@sentry/core": "^8.18.0",
"@sentry/node": "^8.18.0",
"@sentry/react": "^8.18.0",
"@sentry/release-parser": "^1.3.1",
"@sentry/status-page-list": "^0.3.0",
"@sentry/types": "^8.12.0-beta.0",
"@sentry/utils": "^8.12.0-beta.0",
"@sentry/types": "^8.18.0",
"@sentry/utils": "^8.18.0",
"@spotlightjs/spotlight": "^2.0.0-alpha.1",
"@tanstack/react-query": "^4.29.7",
"@tanstack/react-query-devtools": "^4.36.1",
Expand Down Expand Up @@ -180,7 +180,7 @@
"@codecov/webpack-plugin": "^0.0.1-beta.8",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.11",
"@sentry/jest-environment": "6.0.0",
"@sentry/profiling-node": "^8.12.0-beta.0",
"@sentry/profiling-node": "^8.18.0",
"@styled/typescript-styled-plugin": "^1.0.1",
"@testing-library/dom": "10.1.0",
"@testing-library/jest-dom": "6.4.5",
Expand Down
4 changes: 3 additions & 1 deletion static/app/utils/useFeedbackForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
useEffect,
useRef,
} from 'react';
import type {FeedbackDialog} from '@sentry/types';
import type {FeedbackModalIntegration} from '@sentry/types';

import {
useFeedback,
Expand All @@ -22,6 +22,8 @@ import {
*/
type OpenForm = ((options?: UseFeedbackOptions) => Promise<void>) | null;

type FeedbackDialog = ReturnType<FeedbackModalIntegration['createDialog']>;

const GlobalFeedbackFormContext = createContext<OpenForm>(null);

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Fragment, useRef, useState} from 'react';
import {css, useTheme} from '@emotion/react';
import styled from '@emotion/styled';
import type {Location} from '@sentry/react/types/types';
import type {Location} from 'history';

import Link from 'sentry/components/links/link';
import {t} from 'sentry/locale';
Expand Down
Loading

0 comments on commit 3d76f03

Please sign in to comment.