Skip to content

Session API methods arent exported on latest NextJS SDK version  #10696

@idosun

Description

@idosun

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nextjs

SDK Version

7.101.1

Framework Version

sentry/nextjs

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

Missing methods

  • Sentry.startSession()
  • Sentry.captureSession()
  • Sentry.endSession()

Expected Result

Missing methods should be exported and available for users to use when using

import * as Sentry from "@sentry/nextjs";

Actual Result

Methods are not available

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugPackage: nextjsIssues related to the Sentry Nextjs SDK

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions