Skip to content

Commit

Permalink
feat(core)!: Remove makeFifoCache method (#14786)
Browse files Browse the repository at this point in the history
ref: #14268

Deprecation PR:
#14434

Removes `makeFifoCache`. This has no replacement.
  • Loading branch information
AbhiPrasad authored Dec 18, 2024
1 parent b7730d8 commit 6245d22
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 77 deletions.
1 change: 1 addition & 0 deletions docs/migration/v8-to-v9.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ It will be removed in a future major version.

- The `getNumberOfUrlSegments` method has been removed. There is no replacement.
- The `validSeverityLevels` export has been removed. There is no replacement.
- The `makeFifoCache` method has been removed. There is no replacement.
- The `arrayify` export has been removed. There is no replacement.
- The `flatten` export has been removed. There is no replacement.
- The `urlEncode` method has been removed. There is no replacement.
Expand Down
70 changes: 0 additions & 70 deletions packages/core/src/utils-hoist/cache.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/core/src/utils-hoist/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@ export {
} from './baggage';

export { getSanitizedUrlString, parseUrl, stripUrlQueryAndFragment } from './url';
// eslint-disable-next-line deprecation/deprecation
export { makeFifoCache } from './cache';
export { eventFromMessage, eventFromUnknownInput, exceptionFromError, parseStackFrames } from './eventbuilder';
export { callFrameToStackFrame, watchdogTimer } from './anr';
export { LRUMap } from './lru';
Expand Down
5 changes: 0 additions & 5 deletions packages/utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ import {
loadModule as loadModule_imported,
logger as logger_imported,
makeDsn as makeDsn_imported,
makeFifoCache as makeFifoCache_imported,
makePromiseBuffer as makePromiseBuffer_imported,
markFunctionWrapped as markFunctionWrapped_imported,
maybeInstrument as maybeInstrument_imported,
Expand Down Expand Up @@ -632,10 +631,6 @@ export const parseUrl = parseUrl_imported;
/** @deprecated Import from `@sentry/core` instead. */
export const stripUrlQueryAndFragment = stripUrlQueryAndFragment_imported;

/** @deprecated Import from `@sentry/core` instead. */
// eslint-disable-next-line deprecation/deprecation
export const makeFifoCache = makeFifoCache_imported;

import type {
AddRequestDataToEventOptions as AddRequestDataToEventOptions_imported,
InternalGlobal as InternalGlobal_imported,
Expand Down

0 comments on commit 6245d22

Please sign in to comment.