• 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 the send method of the Transport interface, ensuring that the method always returns a TransportMakeRequestResponse 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 new getGlobalScope().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.

  • Python/Orjson/Sentry Import Replacement

    Replaces Sentry json import with orjson.

  • Python/Orjson/Dumps Add UTC Z

    Add OPT_UTC_Z to orjson.dumps.

  • Python/Orjson/Json.Loads

    This codemod converts json.loads to orjson.loads.

  • Python/Orjson/Json.Load

    This codemod converts json.load to orjson.loads. Adds .read() to the file object.

  • Python/Orjson/Json.Dumps

    This codemod converts json.dumps to orjson.dumps().decode(). Should be run before the orjson.dumps-add-UTC_Z codemod.