Skip to content

Commit bdbdcc8

Browse files
authored
feat(types): Deprecate @sentry/types in favor of @sentry/core (#14523)
1 parent 6f56d06 commit bdbdcc8

File tree

4 files changed

+577
-193
lines changed

4 files changed

+577
-193
lines changed

dev-packages/browser-integration-tests/suites/public-api/instrumentation/eventListener/event-target/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect } from '@playwright/test';
2-
import type { Event } from '@sentry/types';
2+
import type { Event } from '@sentry/core';
33

44
import { sentryTest } from '../../../../../utils/fixtures';
55
import { getFirstSentryEnvelopeRequest } from '../../../../../utils/helpers';

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

+2
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

+5-1
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)