This repository was archived by the owner on Dec 12, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
This repository was archived by the owner on Dec 12, 2024. It is now read-only.
Add v8 Transformers #1
Copy link
Copy link
Closed
Description
Based on
we want to try to automate as many migration tasks to help people upgrade from v7 to v8. This will be done by creating one transformer for each migration step which will autonomously do the following for each file:
- check if it should apply any modification to the file
- if yes, apply said modification to the file
- if it fails doing so, provide instructions what users need to do (this could be a copy/paste code sample or a link to a document describing what to do, depending on what better fits the necessary change).
### Import Rewriting
- [ ] https://github.com/getsentry/sentry-migr8/issues/2
- [ ] https://github.com/getsentry/sentry-migr8/issues/10
- [ ] https://github.com/getsentry/sentry-migr8/issues/11
- [ ] https://github.com/getsentry/sentry-migr8/issues/12
- [ ] https://github.com/getsentry/sentry-migr8/issues/8
### Config rewrites
- [x] [Node] Move `tracePropagationTargets` from integration options to top-level options
- [x] [Browser] Replace `tracingOrigins` with top-level `tracePropagationTargets` option
- [x] [Browser] Replace integration-level `tracePropagationTargets` with top-level `tracePropagationTargets` option
- [ ] Replace `parseRequest` calls with `addRequestDataToEvent`
- [x] Replace `Replay` integration sample rates with top-level replay sample rates
- [ ] https://github.com/getsentry/sentry-migr8/issues/3
### Function call replacements
- [x] `severityFromString` → `severityLevelFromString`
- [x] `getGlobalObject` → `GLOBAL_OBJ` / `WINDOW`
- [ ] https://github.com/getsentry/sentry-migr8/issues/13
- [x] `timestampWithMs` → `timestampInSeconds`
### Other API transforms
- [x] Replace `SpanStatus` enum with string literals
- [x] Replace `Severity` enum with string literals
### Framework-specific transforms
- [ ] https://github.com/getsentry/sentry-migr8/issues/4
- [ ] https://github.com/getsentry/sentry-migr8/issues/5
- [ ] https://github.com/getsentry/sentry-migr8/issues/6
### [requires v8] Assist in Updating Procedure
- [ ] https://github.com/getsentry/sentry-migr8/issues/7
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels