v0.3.0
Immutable
release. Only release title and notes can be modified.
[0.3.0] - 2026-05-27
✨ Features
- [RUM-15104] Add main-process resource tracking and tracing via
dd-traceintegration (#95). Preload injection is now handled bydd-traceinstead of the SDK'sregisterPreload(), and new bundler plugins (DatadogWebpackPlugin,datadogVitePlugin,datadogEsbuildPlugin) are provided for Vite, Webpack, and esbuild.
🐛 Bug Fixes
- 🐛 fix crash source_type mapping (#127)
⚠️ Breaking Changes
- The old
registerPreload()(which deferredsession.registerPreloadScript()toapp.whenReady()) and the bundledpreload-auto.cjsbridge have been removed. dd-trace wrapsBrowserWindowat require-time to inject its own preload script automatically. - Apps must import
@datadog/electron-sdk/instrumentbeforeelectron— either directly in the main entry file (e.g.import '@datadog/electron-sdk/instrument'as the first import inmain.ts), or via one of the new bundler plugins which prepend dd-trace initialization as a banner. - When using Vite, Webpack, or esbuild, the corresponding bundler plugin is mandatory. These plugins ensure dd-trace and
@datadog/electron-sdkare externalized and correctly initialized before application code runs. - For ESM output (esbuild/vite with
format: "esm"), the bundler plugins register dd-trace's preload script directly viasession.defaultSession.registerPreloadScript()onapp.ready, since ESM's two-phase module loading prevents dd-trace'sBrowserWindowwrapping from taking effect.