Skip to content

feat(v8/ember): Remove InitSentryForEmber export #11202

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

Merged
merged 2 commits into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
12 changes: 12 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ To make sure these integrations work properly you'll have to change how you
- [SvelteKit SDK](./MIGRATION.md#sveltekit-sdk)
- [Astro SDK](./MIGRATION.md#astro-sdk)
- [AWS Serverless SDK](./MIGRATION.md#aws-serverless-sdk)
- [Ember SDK](./MIGRATION.md#ember-sdk)

### General

Expand Down Expand Up @@ -888,6 +889,17 @@ time, including breaking changes within the same major version of the SDK.
In `v6.17.2` the `rethrowAfterCapture` option to `wrapHandler` was deprecated. In `v8` it has been removed. There is no
replacement API.

### Ember SDK

Removed top-level exports: `InitSentryForEmber`

- [Removal of `InitSentryForEmber` export](./MIGRATION.md#removal-of-initsentryforember-export)

#### Removal of `InitSentryForEmber` export

The `InitSentryForEmber` export has been removed. Instead, you should use the `Sentry.init` method to initialize the
SDK.

## 5. Behaviour Changes

- [Updated behaviour of `tracePropagationTargets` in the browser](./MIGRATION.md#updated-behaviour-of-tracepropagationtargets-in-the-browser-http-tracing-headers--cors)
Expand Down
5 changes: 0 additions & 5 deletions packages/ember/addon/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,3 @@ export const instrumentRoutePerformance = <T extends RouteConstructor>(BaseRoute
};

export * from '@sentry/browser';

/**
* @deprecated Use `Sentry.init()` instead.
*/
export const InitSentryForEmber = init;