Use case
Framework
Owner
Sentry/V8/Migration Recipe
This recipe is a set of codemods that will help migrate sentry.js v7.x to v8.x.
Sentry/V8/Removal Of Void From Transport Return Types
This codemod removes the
void
return type from thesend
method of theTransport
interface, ensuring that the method always returns aTransportMakeRequestResponse
in the promise. This change aligns with the updated requirements in Sentry 8.x.Sentry/V8/Remove Replay Package And Update Integration
This codemod removes the import statement for the @sentry/replay package and replaces instances of new Replay() with Sentry.replayIntegration(), aligning with the latest Sentry SDK practices.
Sentry/V8/Removal Of AddGlobalEventProcessor
This codemod facilitates the migration from Sentry v7.x to v8.x by replacing the deprecated
addGlobalEventProcessor
function with the newgetGlobalScope().addEventProcessor
method.Sentry/V8/Replace Span Status From Http Code
This codemod replaces spanStatusfromHttpCode with getSpanStatusFromHttpCode in Sentry 8.x. It transforms instances of spanStatusfromHttpCode to use the new getSpanStatusFromHttpCode function.
Sentry/V8/Removal Sentry.ConfigureScope Method
This codemod facilitates the migration from Sentry version 7.x to 8.x by removing the deprecated Sentry.configureScope method. Instead, it transforms the code to utilize Sentry.getCurrentScope() for accessing and mutating the current scope. This change simplifies the API and aligns with the latest Sentry practices.
Removal Sentry.ConfigureScope Method
This codemod facilitates the migration from Sentry version 7.x to 8.x by removing the deprecated Sentry.configureScope method. Instead, it transforms the code to utilize Sentry.getCurrentScope() for accessing and mutating the current scope. This change simplifies the API and aligns with the latest Sentry practices.
Sentry/V8/Removal Severity Enum
Codemod to replace the deprecated Severity enum with the SeverityLevel type in Sentry from version 7.x to 8.x.
Python/Orjson/Recipe
This recipe is a set of codemods that will upgrade json to orjson in your python projects.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Python/Orjson/Sentry Import Replacement
Replaces Sentry json import with orjson.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Python/Orjson/Dumps Add UTC Z
Add OPT_UTC_Z to orjson.dumps.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Python/Orjson/Json.Loads
This codemod converts json.loads to orjson.loads.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Python/Orjson/Json.Load
This codemod converts json.load to orjson.loads. Adds
.read()
to the file object.Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
Python/Orjson/Json.Dumps
This codemod converts json.dumps to orjson.dumps().decode(). Should be run
before
theorjson.dumps-add-UTC_Z
codemod.Codemod verified
Regularly tested and maintained by our engineers and codemod expert community