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
voidreturn type from thesendmethod of theTransportinterface, ensuring that the method always returns aTransportMakeRequestResponsein 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
addGlobalEventProcessorfunction with the newgetGlobalScope().addEventProcessormethod.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.
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
beforetheorjson.dumps-add-UTC_Zcodemod.Codemod verified
Regularly tested and maintained by our engineers and codemod expert community