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

@sentry/types

Package Overview
Dependencies
Maintainers
12
Versions
515
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/types - npm Package Versions

13
52

8.51.0

Diff

Changelog

Source

8.51.0

Important Changes

  • feat(v8/node): Add prismaInstrumentation option to Prisma integration as escape hatch for all Prisma versions (#15128)

    This release adds a compatibility API to add support for Prisma version 6. To capture performance data for Prisma version 6:

    1. Install the @prisma/instrumentation package on version 6.

    2. Pass a new PrismaInstrumentation() instance as exported from @prisma/instrumentation to the prismaInstrumentation option:

      import { PrismaInstrumentation } from '@prisma/instrumentation';
      
      Sentry.init({
        integrations: [
          prismaIntegration({
            // Override the default instrumentation that Sentry uses
            prismaInstrumentation: new PrismaInstrumentation(),
          }),
        ],
      });
      

      The passed instrumentation instance will override the default instrumentation instance the integration would use, while the prismaIntegration will still ensure data compatibility for the various Prisma versions.

    3. Remove the previewFeatures = ["tracing"] option from the client generator block of your Prisma schema.

Other Changes

  • feat(v8/browser): Add multiplexedtransport.js CDN bundle (#15046)
  • feat(v8/browser): Add Unleash integration (#14948)
  • feat(v8/deno): Deprecate Deno SDK as published on deno.land (#15121)
  • feat(v8/sveltekit): Deprecate fetchProxyScriptNonce option (#15011)
  • fix(v8/aws-lambda): Avoid overwriting root span name (#15054)
  • fix(v8/core): fatal events should set session as crashed (#15073)
  • fix(v8/node/nestjs): Use method on current fastify request (#15104)

Work in this release was contributed by @tjhiggins, and @nwalters512. Thank you for your contributions!

sentry-bot
published 9.0.0-alpha.0 •

Changelog

Source

9.0.0-alpha.0

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.0. Please note that the migration guide is work in progress and subject to change.

sentry-bot
published 8.50.0 •

Changelog

Source

8.50.0

  • feat(v8/react): Add support for React Router createMemoryRouter (#14985)
sentry-bot
published 8.49.0 •

Changelog

Source

8.49.0

  • feat(v8/browser): Flush offline queue on flush and browser online event (#14969)
  • feat(v8/react): Add a handled prop to ErrorBoundary (#14978)
  • fix(profiling/v8): Don't put require, __filename and __dirname on global object (#14952)
  • fix(v8/node): Enforce that ContextLines integration does not leave open file handles (#14997)
  • fix(v8/replay): Disable mousemove sampling in rrweb for iOS browsers (#14944)
  • fix(v8/sveltekit): Ensure source maps deletion is called after source ma… (#14963)
  • fix(v8/vue): Re-throw error when no errorHandler exists (#14943)

Work in this release was contributed by @HHK1 and @mstrokin. Thank you for your contributions!

sentry-bot
published 7.120.3 •

sentry-bot
published 8.48.0 •

Changelog

Source

8.48.0

Deprecations

  • feat(v8/core): Deprecate getDomElement method (#14799)

    Deprecates getDomElement. There is no replacement.

Other changes

  • fix(nestjs/v8): Use correct main/module path in package.json (#14791)
  • fix(v8/core): Use consistent continueTrace implementation in core (#14819)
  • fix(v8/node): Correctly resolve debug IDs for ANR events with custom appRoot (#14823)
  • fix(v8/node): Ensure NODE_OPTIONS is not passed to worker threads (#14825)
  • fix(v8/angular): Fall back to element tagName when name is not provided to TraceDirective (#14828)
  • fix(aws-lambda): Remove version suffix from lambda layer (#14843)
  • fix(v8/node): Ensure express requests are properly handled (#14851)
  • feat(v8/node): Add openTelemetrySpanProcessors option (#14853)
  • fix(v8/react): Use Set as the allRoutes container. (#14878) (#14884)
  • fix(v8/react): Improve handling of routes nested under path="/" (#14897)
  • feat(v8/core): Add normalizedRequest to samplingContext (#14903)
  • fix(v8/feedback): Avoid lazy loading code for syncFeedbackIntegration (#14918)

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

sentry-bot
published 8.47.0 •

Changelog

Source

8.47.0

  • feat(v8/core): Add updateSpanName helper function (#14736)
  • feat(v8/node): Do not overwrite prisma db.system in newer Prisma versions (#14772)
  • feat(v8/node/deps): Bump @prisma/instrumentation from 5.19.1 to 5.22.0 (#14755)
  • feat(v8/replay): Mask srcdoc iframe contents per default (#14779)
  • ref(v8/nextjs): Fix typo in source maps deletion warning (#14776)

Work in this release was contributed by @aloisklink and @benjick. Thank you for your contributions!

sentry-bot
published 8.46.0 •

Changelog

Source

8.46.0

  • feat: Allow capture of more than 1 ANR event [v8] (#14713)
  • feat(node): Detect Railway release name [v8] (#14714)
  • fix: Normalise ANR debug image file paths if appRoot was supplied [v8] (#14709)
  • fix(nuxt): Remove build config from tsconfig (#14737)

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

sentry-bot
published 8.45.1 •

Changelog

Source

8.45.1

  • fix(feedback): Return when the sendFeedback promise resolves (#14683)

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

sentry-bot
published 8.45.0 •

Changelog

Source

8.45.0

  • feat(core): Add handled option to captureConsoleIntegration (#14664)
  • feat(browser): Attach virtual stack traces to HttpClient events (#14515)
  • feat(replay): Upgrade rrweb packages to 2.31.0 (#14689)
  • fix(aws-serverless): Remove v8 layer as it overwrites the current layer for docs (#14679)
  • fix(browser): Mark stack trace from captureMessage with attachStacktrace: true as synthetic (#14668)
  • fix(core): Mark stack trace from captureMessage with attatchStackTrace: true as synthetic (#14670)
  • fix(core): Set level in server runtime captureException (#10587)
  • fix(profiling-node): Guard invocation of native profiling methods (#14676)
  • fix(nuxt): Inline nitro-utils function (#14680)
  • fix(profiling-node): Ensure profileId is added to transaction event (#14681)
  • fix(react): Add React Router Descendant Routes support (#14304)
  • fix: Disable ANR and Local Variables if debugger is enabled via CLI args (#14643)

Work in this release was contributed by @anonrig and @Zih0. Thank you for your contributions!

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