Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core)!: Remove makeFifoCache method #14786

Merged
merged 2 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

### `@sentry/nestjs`

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 @@ -162,8 +162,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 @@ -108,7 +108,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 @@ -647,10 +646,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
Loading