You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@sentry/electron

Package Overview
Dependencies
Maintainers
11
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/electron - npm Package Versions

2345
13

6.8.0

Diff
s
sentry-bot
published 6.8.0 •

Changelog

Source

6.8.0

  • feat: Update JavaScript SDKs from v9.25.0 to v9.26.0
  • fix: Don't capture stack traces from destroyed renderers (#1165)
s
sentry-bot
published 6.7.0 •

Changelog

Source

6.7.0

  • feat: Update JavaScript SDKs from v9.18.0 to v9.25.0
  • feat: Add structured logging support (#1159)
s
sentry-bot
published 6.6.0 •

Changelog

Source

6.6.0

s
sentry-bot
published 6.5.0 •

Changelog

Source

6.5.0

  • feat: Update JavaScript SDKs from v9.10.1 to v9.11.0
  • fix: GPU context should use id rather than device_id (#1126)
  • feat: Optionally capture manufacturer and model device context (#1125)
s
sentry-bot
published 5.12.0 •
s
sentry-bot
published 6.4.0 •

Changelog

Source

6.4.0

  • feat: Update JavaScript SDKs from v9.8.0 to v9.10.1
  • fix: Missing Dynamic Sampling Context in envelope header for renderer tracing (#1117)
  • feat: Use frame.collectJavaScriptCallStack() for renderer ANR in Electron >= v34 (#1105)
s
sentry-bot
published 6.3.0 •

Changelog

Source

6.3.0

  • feat: Update JavaScript SDKs from v9.6.0 to v9.8.0
  • fix: Electron app.getPath('crashDumps') API can throw (#1106)
s
sentry-bot
published 6.2.0 •

Changelog

Source

6.2.0

  • feat: Update JavaScript SDKs from v9.1.0 to v9.6.0
  • feat: Use new registerPreloadScript API in Electron >= v35 (#1098)
  • feat: Add gpuContextIntegration (#1097)
  • feat: Parse crashpad metadata from minidumps and include in electron context (#1095)
s
sentry-bot
published 6.1.0 •

Changelog

Source

6.1.0

  • feat: Update JavaScript SDKs from v9.0.1 to v9.1.0 (#1080)
  • feat: Support @sentry/profiling-node (#1084)
  • fix: Renderer ANR detection (#1083)
s
sentry-bot
published 6.0.0 •

Changelog

Source

6.0.0

This release updates the underlying Sentry JavaScript SDKs to v9 which includes some breaking changes. Check out the the migration guide for more details.

  • feat: Update JavaScript SDKs to v9.0.0 (#1072)

Supported Electron Versions

The Sentry Node SDK now requires Node >= 18.0.0 which means the Sentry Electron SDK now supports Electron >= 23.0.0.

The autoSessionTracking option has been removed

Whereas in v5, session tracking was disabled by setting autoSessionTracking to false, in v6 session tracking can be disabled by removing the MainProcessSession integration

import * as Sentry from "@sentry/electron/main";

Sentry.init({
  dsn: "__DSN__",
  // autoSessionTracking: false,
  integrations: (defaults) => defaults.filter((i) => i.name !== "MainProcessSession"),
});
2345
13