Skip to content

Commit 498d6d1

Browse files
authored
feat(utils): Deprecate @sentry/utils (#14431)
1 parent 9c6028e commit 498d6d1

File tree

3 files changed

+707
-537
lines changed

3 files changed

+707
-537
lines changed

docs/migration/draft-v9-migration-guide.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
## `@sentry/utils`
66

7+
- **The `@sentry/utils` package has been deprecated. Import everything from `@sentry/core` instead.**
8+
79
- Deprecated `AddRequestDataToEventOptions.transaction`. This option effectively doesn't do anything anymore, and will
810
be removed in v9.
911
- Deprecated `TransactionNamingScheme` type.

packages/utils/README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
</a>
55
</p>
66

7-
# Sentry JavaScript SDK Utilities
7+
# Sentry JavaScript SDK Utilities (DEPRECATED)
8+
9+
> DEPRECATION NOTICE: The `@sentry/utils` package is deprecated.
10+
> All exports have been moved to `@sentry/core`.
11+
> Import everything from `@sentry/core` instead.
812
913
[![npm version](https://img.shields.io/npm/v/@sentry/utils.svg)](https://www.npmjs.com/package/@sentry/utils)
1014
[![npm dm](https://img.shields.io/npm/dm/@sentry/utils.svg)](https://www.npmjs.com/package/@sentry/utils)

0 commit comments

Comments
 (0)