Skip to content

Commit 6245d22

Browse files
authored
feat(core)!: Remove makeFifoCache method (#14786)
ref: #14268 Deprecation PR: #14434 Removes `makeFifoCache`. This has no replacement.
1 parent b7730d8 commit 6245d22

File tree

4 files changed

+1
-77
lines changed

4 files changed

+1
-77
lines changed

docs/migration/v8-to-v9.md

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ It will be removed in a future major version.
106106

107107
- The `getNumberOfUrlSegments` method has been removed. There is no replacement.
108108
- The `validSeverityLevels` export has been removed. There is no replacement.
109+
- The `makeFifoCache` method has been removed. There is no replacement.
109110
- The `arrayify` export has been removed. There is no replacement.
110111
- The `flatten` export has been removed. There is no replacement.
111112
- The `urlEncode` method has been removed. There is no replacement.

packages/core/src/utils-hoist/cache.ts

-70
This file was deleted.

packages/core/src/utils-hoist/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,6 @@ export {
156156
} from './baggage';
157157

158158
export { getSanitizedUrlString, parseUrl, stripUrlQueryAndFragment } from './url';
159-
// eslint-disable-next-line deprecation/deprecation
160-
export { makeFifoCache } from './cache';
161159
export { eventFromMessage, eventFromUnknownInput, exceptionFromError, parseStackFrames } from './eventbuilder';
162160
export { callFrameToStackFrame, watchdogTimer } from './anr';
163161
export { LRUMap } from './lru';

packages/utils/src/index.ts

-5
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ import {
106106
loadModule as loadModule_imported,
107107
logger as logger_imported,
108108
makeDsn as makeDsn_imported,
109-
makeFifoCache as makeFifoCache_imported,
110109
makePromiseBuffer as makePromiseBuffer_imported,
111110
markFunctionWrapped as markFunctionWrapped_imported,
112111
maybeInstrument as maybeInstrument_imported,
@@ -632,10 +631,6 @@ export const parseUrl = parseUrl_imported;
632631
/** @deprecated Import from `@sentry/core` instead. */
633632
export const stripUrlQueryAndFragment = stripUrlQueryAndFragment_imported;
634633

635-
/** @deprecated Import from `@sentry/core` instead. */
636-
// eslint-disable-next-line deprecation/deprecation
637-
export const makeFifoCache = makeFifoCache_imported;
638-
639634
import type {
640635
AddRequestDataToEventOptions as AddRequestDataToEventOptions_imported,
641636
InternalGlobal as InternalGlobal_imported,

0 commit comments

Comments
 (0)