File tree Expand file tree Collapse file tree 3 files changed +3
-11
lines changed
packages/core/src/utils-hoist Expand file tree Collapse file tree 3 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ Sentry.init({
132132- The ` urlEncode ` method has been removed. There is no replacement.
133133- The ` getDomElement ` method has been removed. There is no replacement.
134134- The ` Request ` type has been removed. Use ` RequestEventData ` type instead.
135+ - The ` TransactionNamingScheme ` type has been removed. There is no replacement.
135136
136137### ` @sentry/browser `
137138
Original file line number Diff line number Diff line change @@ -82,11 +82,7 @@ export {
8282 extractQueryParamsFromUrl ,
8383 headersToDict ,
8484} from './requestdata' ;
85- export type {
86- AddRequestDataToEventOptions ,
87- // eslint-disable-next-line deprecation/deprecation
88- TransactionNamingScheme ,
89- } from './requestdata' ;
85+ export type { AddRequestDataToEventOptions } from './requestdata' ;
9086
9187export { severityLevelFromString } from './severity' ;
9288export {
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export type AddRequestDataToEventOptions = {
3737 request ?: boolean | Array < ( typeof DEFAULT_REQUEST_INCLUDES ) [ number ] > ;
3838 /** @deprecated This option will be removed in v9. It does not do anything anymore, the `transcation` is set in other places. */
3939 // eslint-disable-next-line deprecation/deprecation
40- transaction ?: boolean | TransactionNamingScheme ;
40+ transaction ?: boolean | 'path' | 'methodPath' | 'handler' ;
4141 user ?: boolean | Array < ( typeof DEFAULT_USER_INCLUDES ) [ number ] > ;
4242 } ;
4343
@@ -54,11 +54,6 @@ export type AddRequestDataToEventOptions = {
5454 } ;
5555} ;
5656
57- /**
58- * @deprecated This type will be removed in v9. It is not in use anymore.
59- */
60- export type TransactionNamingScheme = 'path' | 'methodPath' | 'handler' ;
61-
6257/**
6358 * Extracts a complete and parameterized path from the request object and uses it to construct transaction name.
6459 * If the parameterized transaction name cannot be extracted, we fall back to the raw URL.
You can’t perform that action at this time.
0 commit comments