Skip to content

Commit 47bf78e

Browse files
author
Luca Forstner
committed
feat(types): Deprecate @sentry/types in favor of @sentry/core
1 parent 6527e3a commit 47bf78e

File tree

3 files changed

+576
-192
lines changed

3 files changed

+576
-192
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@
6666

6767
## `@sentry/types`
6868

69+
- **The `@sentry/types` package has been deprecated. Import everything from `@sentry/core` instead.**
70+
6971
- Deprecated `Request` in favor of `RequestEventData`.
7072

7173
## `@sentry/vue`

packages/types/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
</a>
55
</p>
66

7-
# Sentry JavaScript SDK Types
7+
# Sentry JavaScript SDK Types (DEPRECATED)
8+
9+
> DEPRECATION NOTICE: The `@sentry/types` 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/types.svg)](https://www.npmjs.com/package/@sentry/types)
1014
[![npm dm](https://img.shields.io/npm/dm/@sentry/types.svg)](https://www.npmjs.com/package/@sentry/types)

0 commit comments

Comments
 (0)