codemod
codemod copied to clipboard
feat(codemod): codemods and recipe for migrating Sentry.js from v7.x to v8.x
Sentry v7.x → Sentry v8.x
📚 Description
- Link to Official Upgrade Guide: Link
Sentry/V8/Removal Severity Enum
- Registry Link
- Codemod Studio Link
Sentry/V8/Removal Sentry.ConfigureScope Method
- Registry Link
- Codemod Studio Link
Sentry/V8/Replace Span Status From Http Code
- Registry Link: Link
- Codemod Studio Link
Sentry/V8/Removal Of AddGlobalEventProcessor
- Registry Link
- Codemod Studio Link
Sentry/V8/Remove Replay Package And Update Integration
- Registry Link: Link
- Codemod Studio Link
Sentry/V8/Removal Of Void From Transport Return Types
- Registry Link
- Codemod Studio Link](https://go.codemod.com/A6ZiBDm)
Sentry/V8/Migration Recipe
- Registry Link
@akash-kumar-dev is attempting to deploy a commit to the Codemod Team on Vercel.
A member of the Team first needs to authorize it.
@akash-kumar-dev We're moving codemod packages to their corresponding owners so it's easier for codemod owners to own and maintain their codemods, and be notified about any issues in their own repos. Do you mind moving this to your own repo and updating the GitHub source URL of the published codemod to point to your github repo?
-
Create a repo in your own GitHub account and move the source code of your codemods to that repo.
- This will drive more traffic to your profile and clarify ownership, increasing visibility and transparency.
- You could name the repo something like codemods (or choose a name you prefer).
- For the README of that repo, you can use a format similar to what's in the commons repo.
-
Update the git URL in the codemods’ metadata to your new repo and bump their versions.
-
Republish the codemods to ensure they are showing the correct git URL in the registry.
-
Optionally, you can duplicate this GitHub Action for your repo. This way, every time you make a change to one of your codemods and merge the code to the main branch, it will automatically publish the codemod for you.
Hi @mohab-sameh , I've moved the whole repo to my own GitHub, codemods. I also updated the GitHub link from all codemods in the codemod registry. The only thing remaining is to add GitHub actions, which I will do soon. I'm going to update all my other codemods from the registry soon and move them to my own repo as well.
Awesome @akash-kumar-dev. Thanks a lot!