From 877dd33d17b0b54b59fad06f9c23cca7b9f9a055 Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Tue, 5 Sep 2023 11:11:13 +0200 Subject: [PATCH 1/3] docs: Reference `@sentry/migr8` in migration docs --- MIGRATION.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/MIGRATION.md b/MIGRATION.md index 77cb959525a8..97fa8c751860 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -1,5 +1,13 @@ # Deprecations in 7.x +You can use [@sentry/migr8](https://github.com/getsentry/sentry-migr8) to automatically update your SDK usage and fix most deprecations: + +```bash +npx @sentry/migr8 +``` + +This will let you select which updates to run, and automatically update your code. Make sure to still review all code changes! + ## Deprecate `timestampWithMs` export - #7878 The `timestampWithMs` util is deprecated in favor of using `timestampInSeconds`. From a36d0409750261e5cc360e6fea1f3eea2cee6490 Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Tue, 5 Sep 2023 11:18:26 +0200 Subject: [PATCH 2/3] Update MIGRATION.md Co-authored-by: Luca Forstner --- MIGRATION.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MIGRATION.md b/MIGRATION.md index 97fa8c751860..57f0c2455eec 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -3,7 +3,7 @@ You can use [@sentry/migr8](https://github.com/getsentry/sentry-migr8) to automatically update your SDK usage and fix most deprecations: ```bash -npx @sentry/migr8 +npx @sentry/migr8@latest ``` This will let you select which updates to run, and automatically update your code. Make sure to still review all code changes! From 6e4938dd9151c678e002a6939205c1b2194bf4b5 Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Tue, 5 Sep 2023 11:19:04 +0200 Subject: [PATCH 3/3] Update MIGRATION.md --- MIGRATION.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MIGRATION.md b/MIGRATION.md index 57f0c2455eec..5aec615751c7 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -1,6 +1,6 @@ # Deprecations in 7.x -You can use [@sentry/migr8](https://github.com/getsentry/sentry-migr8) to automatically update your SDK usage and fix most deprecations: +You can use [@sentry/migr8](https://www.npmjs.com/package/@sentry/migr8) to automatically update your SDK usage and fix most deprecations: ```bash npx @sentry/migr8@latest