Skip to content
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

feat(deno): Deprecate Deno SDK as published on deno.land #15121

Merged
merged 1 commit into from
Jan 22, 2025
Merged
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
8 changes: 3 additions & 5 deletions packages/deno/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

## Links

- [SDK on Deno registry](https://deno.land/x/sentry)
- [Official SDK Docs](https://docs.sentry.io/quickstart/)
- [TypeDoc](http://getsentry.github.io/sentry-javascript/)

Expand All @@ -21,14 +20,13 @@ The Sentry Deno SDK is in beta. Please help us improve the SDK by

## Usage

> DEPRECATION NOTICE: The Sentry Deno SDK as published on the Deno registry (deno.land) is deprecated.
> Import the package from the npm registry instead.

To use this SDK, call `Sentry.init(options)` as early as possible in the main entry module. This will initialize the SDK
and hook into the environment. Note that you can turn off almost all side effects using the respective options.

```javascript
// Import from the Deno registry
import * as Sentry from 'https://deno.land/x/sentry/index.mjs';

// or import from npm registry
import * as Sentry from 'npm:@sentry/deno';

Sentry.init({
Expand Down
Loading