Skip to content

Commit

Permalink
feat(v8/ember): Remove deprecated StartTransactionFunction (getsentry…
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad authored and cadesalaberry committed Apr 19, 2024
1 parent 923d8b5 commit af52a65
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ replacement API.

### Ember SDK

Removed top-level exports: `InitSentryForEmber`
Removed top-level exports: `InitSentryForEmber`, `StartTransactionFunction`

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

Expand Down
3 changes: 0 additions & 3 deletions packages/ember/addon/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { BrowserOptions, browserTracingIntegration } from '@sentry/browser';
import type { Transaction, TransactionContext } from '@sentry/types';

type BrowserTracingOptions = Parameters<typeof browserTracingIntegration>[0];

Expand Down Expand Up @@ -31,8 +30,6 @@ export interface EmberRouterMain {
rootURL: string;
};
}
/** @deprecated This will be removed in v8. */
export type StartTransactionFunction = (context: TransactionContext) => Transaction | undefined;

export type GlobalConfig = {
__sentryEmberConfig: EmberSentryConfig['sentry'];
Expand Down

0 comments on commit af52a65

Please sign in to comment.