New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sentry/nextjs

Package Overview
Dependencies
Maintainers
11
Versions
361
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/nextjs - npm Package Versions

23
37

9.1.0

Diff

Changelog

Source

9.1.0

  • feat(browser): Add graphqlClientIntegration (#13783)
  • feat(core): Allow for nested trpc context (#15379)
  • feat(core): Create types and utilities for span links (#15375)
  • feat(deps): bump @opentelemetry/instrumentation-pg from 0.50.0 to 0.51.0 (#15273)
  • feat(node): Extract Sentry-specific node-fetch instrumentation (#15231)
  • feat(vue): Support Pinia v3 (#15383)
  • fix(sveltekit): Avoid request body double read errors (#15368)
  • fix(sveltekit): Avoid top-level vite import (#15371)

Work in this release was contributed by @Zen-cronic and @filips-alpe. Thank you for your contribution!

sentry-bot
published 8.55.0 •

sentry-bot
published 9.0.1 •

sentry-bot
published 9.0.0 •

Changelog

Source

9.0.0-alpha.2

This is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not yet stable.

For this release's iteration of the migration guide, see the Migration Guide as per 9.0.0-alpha.2. Please note that the migration guide is work in progress and subject to change.

sentry-bot
published 9.0.0-alpha.2 •

Changelog

Source

9.0.0-alpha.2

This is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not yet stable.

For this release's iteration of the migration guide, see the Migration Guide as per 9.0.0-alpha.2. Please note that the migration guide is work in progress and subject to change.

sentry-bot
published 9.0.0-alpha.1 •

Changelog

Source

9.0.0-alpha.1

This is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not yet stable.

For this release's iteration of the migration guide, see the Migration Guide as per 9.0.0-alpha.1. Please note that the migration guide is work in progress and subject to change.

sentry-bot
published 8.54.0 •

Changelog

Source

8.54.0

  • feat(v8/deps): Upgrade all OpenTelemetry dependencies (#15098)
  • fix(node/v8): Add compatibility layer for Prisma v5 (#15210)

Work in this release was contributed by @nwalters512. Thank you for your contribution!

sentry-bot
published 8.53.0 •

Changelog

Source

8.53.0

  • feat(v8/nuxt): Add url to SourcemapsUploadOptions (#15202)
  • fix(v8/react): fromLocation can be undefined in Tanstack Router Instrumentation (#15237)

Work in this release was contributed by @tannerlinsley. Thank you for your contribution!

sentry-bot
published 8.52.1 •

Changelog

Source

8.52.1

  • fix(v8/nextjs): Fix nextjs build warning (#15226)
  • ref(v8/browser): Add protocol attributes to resource spans #15224
  • ref(v8/core): Don't set this.name to new.target.prototype.constructor.name (#15222)

Work in this release was contributed by @Zen-cronic. Thank you for your contribution!

sentry-bot
published 8.52.0 •

Changelog

Source

8.52.0

Important Changes

  • feat(solidstart): Add withSentry wrapper for SolidStart config (#15135)

To enable the SolidStart SDK, wrap your SolidStart Config with withSentry. The sentrySolidStartVite plugin is now automatically added by withSentry and you can pass the Sentry build-time options like this:

import { defineConfig } from '@solidjs/start/config';
import { withSentry } from '@sentry/solidstart';

export default defineConfig(
  withSentry(
    {
      /* Your SolidStart config options... */
    },
    {
      // Options for setting up source maps
      org: process.env.SENTRY_ORG,
      project: process.env.SENTRY_PROJECT,
      authToken: process.env.SENTRY_AUTH_TOKEN,
    },
  ),
);

With the withSentry wrapper, the Sentry server config should not be added to the public directory anymore. Add the Sentry server config in src/instrument.server.ts. Then, the server config will be placed inside the server build output as instrument.server.mjs.

Now, there are two options to set up the SDK:

  1. (recommended) Provide an --import CLI flag to the start command like this (path depends on your server setup): node --import ./.output/server/instrument.server.mjs .output/server/index.mjs
  2. Add autoInjectServerSentry: 'top-level-import' and the Sentry config will be imported at the top of the server entry (comes with tracing limitations)
    withSentry(
      {
        /* Your SolidStart config options... */
      },
      {
        // Optional: Install Sentry with a top-level import
        autoInjectServerSentry: 'top-level-import',
      },
    );
    

Other Changes

  • feat(v8/core): Add client outcomes for breadcrumbs buffer (#15149)
  • feat(v8/core): Improve error formatting in ZodErrors integration (#15155)
  • fix(v8/bun): Ensure instrumentation of Bun.serve survives a server reload (#15157)
  • fix(v8/core): Pass module into loadModule (#15139) (#15166)

Work in this release was contributed by @jahands, @jrandolf, and @nathankleyn. Thank you for your contributions!

23
37
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc