Skip to content

Remove withSentry in sentry-nextjs package #5893

Closed
@vladanpaunovic

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions