Skip to content

Incorrect import path in release 10.40.0Β #19508

Description

@SutuSebastian

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/tanstackstart-react

SDK Version

10.40.0

Framework Version

React 19.2.4, TanStack Start 1.162.9

Link to Sentry event

No response

Reproduction Example/SDK Setup

In the 10.40.0 release, it specifies the import path '@sentry/tanstackstart-react/server' which does not exist.

// this fails
import { sentryGlobalRequestMiddleware, sentryGlobalFunctionMiddleware } from '@sentry/tanstackstart-react/server';

// this works (omitting `/server`)
import { sentryGlobalRequestMiddleware, sentryGlobalFunctionMiddleware } from '@sentry/tanstackstart-react';

Steps to Reproduce

import anything from @sentry/tanstackstart-react/server

Expected Result

No import error.

Actual Result

Missing defined import path in package.json

Additional Context

This might be a typo in the release changelog, in that case, a simple edit will do it.
Otherwise - that import path needs to be defined.

Also, the TanStack Start guide needs updating on:

  • new vite plugin import path
  • TanStack middlewares

Priority

React with πŸ‘ to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.

Metadata

Metadata

Assignees

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions