Skip to content

Remove withSentry in sentry-nextjs package #5893

Description

@vladanpaunovic

Problem Statement

As per #5778 we are doing all route wrapping on our own and having withSentry function has a potential to cause confusion and frankly, it becomes a tech debt the moment we promote auto wrapping of nexjs API routes to default SDK behaviour.

Solution Brainstorm

⚠️ this is a breaking change. I propose we schedule this for our v8 release ⚠️

  1. Remove the withSentry from sentry-nextjs package
  2. Communicate breaking changes in v8 of the SDK.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions