From c91a5cc40fba1b36f44d246f9847bcc6ae255502 Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Wed, 22 Jan 2025 08:30:31 +0000 Subject: [PATCH] feat(deno): Deprecate Deno SDK as published on deno.land --- packages/deno/README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/deno/README.md b/packages/deno/README.md index 502778cf8abb..e6c8159cb76b 100644 --- a/packages/deno/README.md +++ b/packages/deno/README.md @@ -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/) @@ -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({