PackageTrack

npm ยท #3943

@sentry/bundler-plugin-core

5.3.0getsentry/sentry-javascript-bundler-plugins โ†—

Sentry Bundler Plugin Core

Release timeline

109 releases since 2022
2023202420252026

Releases

  1. 5.3.012 May 2026
    Release notes2 sources agree

    New Features โœจ

    • (babel) Auto-inject sentry-label from static text children by @antonis in #925

    Bug Fixes ๐Ÿ›

    • (vite) Avoid version-specific plugin return type by @logaretm in #928

    Internal Changes ๐Ÿ”ง

    • Fix craft config by @timfish in #930
    • Update craft by @timfish in #929
    • Use Rolldown v1 stable by @timfish in #924
    • Remove old integration tests by @timfish in #922
    • Ensure correct bundlers are resolved by @timfish in #921
    • Fix telemetry tests to capture all envelopes by @timfish in #920
    Open source โ†’
  2. 5.2.129 Apr 2026
    Release notes2 sources agree

    Bug Fixes ๐Ÿ›

    • (webpack) Await source map deletion before signaling build completion by @andreiborza in #918

    Internal Changes ๐Ÿ”ง

    • (ci) Disable changelog preview by @chargome in #917
    • Add additional integration tests by @timfish in #914
    • Remove unused e2e tests by @timfish in #915
    Open source โ†’
  3. 5.2.08 Apr 2026
    Release notes2 sources agree

    New Features โœจ

    • (core) Pass mapDir to rewriteSourcesHook by @chargome in #908
    • Use crypto.randomUUID rather than uuid by @timfish in #892

    Bug Fixes ๐Ÿ›

    • (core) Conditionally add tracing headers by @chargome in #907
    • (e2e-tests) Pin axios to 1.13.5 to avoid compromised 1.14.1 by @andreiborza in #906
    • (rollup) Make rollup an optional peer dependency by @andreiborza in #913
    • Add missing webpack5 entrypoint in webpack-plugin by @brunodccarvalho in #905

    Internal Changes ๐Ÿ”ง

    • (deps) Bump vulnerable webpack version by @chargome in #909
    • (tests) Use deterministic debugids by @chargome in #912
    • Add esbuild integration tests by @timfish in #911
    • Vite integration tests by @timfish in #899
    • Webpack integration tests by @timfish in #904
    • Isolate integration test package installs by @timfish in #902
    • Pin GitHub Actions to full-length commit SHAs by @joshuarli in #900
    • Rollup integration tests by @timfish in #897
    • New integration tests by @timfish in #896
    • Remove lerna by @timfish in #895
    • Migrate to Vitest by @timfish in #894
    Open source โ†’
  4. 5.1.126 Feb 2026
    Release notes2 sources agree

    Bug Fixes ๐Ÿ›

    • Align engines with Node support by @timfish in #893

    Internal Changes ๐Ÿ”ง

    • Use version range for magic-string by @JPeer264 in #891
    Open source โ†’
  5. 5.1.024 Feb 2026
    Release notes2 sources agree

    New Features โœจ

    • Bump @sentry/cli from 2.57.0 to 2.58.5 by @andreiborza in #890
    Open source โ†’
  6. 5.0.023 Feb 2026
    Release notes2 sources agree

    Breaking Changes ๐Ÿ› 

    • Updating minimatch by @isaacs in #885
    • Remove support for Node < v18 and webpack v4 by @timfish in #886

    Bug Fixes ๐Ÿ›

    • (webpack) Deduplicate webpack deploys by @chargome in #875

    Internal Changes ๐Ÿ”ง

    • Avoid direct usage of glob, extract into globFiles helper by @andreiborza in #883
    • Migrate to oxfmt by @timfish in #880
    • Build with Rolldown by @timfish in #872
    • Remove unplugin by @timfish in #876
    • Rollup/Vite no longer uses unplugin by @timfish in #858
    • Esbuild no longer uses unplugin by @timfish in #871
    • Webpack no longer uses unplugin by @timfish in #870
    Open source โ†’
  7. 4.9.110 Feb 2026
    Release notes2 sources agree

    New Features โœจ

    • Track major version for Vite and Rollup by @timfish in #867

    Internal Changes ๐Ÿ”ง

    • Bump craft for release workflow by @chargome in #859
    Open source โ†’
  8. 4.9.02 Feb 2026
    Release notes2 sources agree

    New Features โœจ

    • (telemetry) Add bundler-major-version tag to webpack by @chargome in #857
    Open source โ†’
  9. 4.8.026 Jan 2026
    Release notes2 sources agree

    New Features โœจ

    • Inject component annotations into HTML elements rather than React components by @timfish in #851
    • Combine injection snippets by @timfish in #853
    • Use Rolldown native MagicString by @timfish in #846
    Open source โ†’
  10. 4.7.019 Jan 2026
    Release notes2 sources agree
    • docs: Add RELEASE.md to document release process (#834)
    • feat: Combine injection plugins (#844)
    • fix(plugin-manager): Enable "rejectOnError" in debug (#837)
    • fix(plugin-manager): Respect sourcemap.ignore values for injecting debugIDs (#836)
    • fix(vite): Skip HTML injection for MPA but keep it for SPA (#843)

    <details> <summary> <strong>Internal Changes</strong> </summary>

    • chore: Use pull_request_target for changelog preview (#842)
    • ci(release): Switch from action-prepare-release to Craft (#831)
    • test: Ensure Debug IDs match (#840) </details>
    Open source โ†’
  11. 4.6.214 Jan 2026
    Release notes2 sources agree
    • fix(vite): Ensure sentryVitePlugin always returns an array of plugins (#832)
    • fix(vite): Skip code injection for HTML facade chunks (#830)
    • fix(rollup): Prevent double-injection of debug ID (#827)
    • fix(esbuild): fix debug ID injection when moduleMetadata or applicationKey is set (#828)
    Open source โ†’
  12. 4.6.120 Nov 2025
    Release notes2 sources agree
    • chore(deps): Update glob to 10.5.0 (#823)

    <details> <summary> <strong>Internal Changes</strong> </summary>

    • chore(core): Log release output (#821) </details>
    Open source โ†’
  13. 4.6.028 Oct 2025
    Release notes2 sources agree
    • fix(core): Stop awaiting build start telemetry to avoid breaking module federation builds (#818)
    • feat(core): Bump @sentry/cli from 2.51.0 to 2.57.0 (#819)
    Open source โ†’
  14. 4.5.020 Oct 2025
    Release notes2 sources agree
    • docs: added info on debug flag value precedence (#811)
    • feat: add debug statements after sourcemap uploads (#812)
    • feat(core): Allow multi-project sourcemaps upload (#813)
    • fix: propagate the debug option to the cli (#810)
    Open source โ†’
  15. 4.4.010 Oct 2025
    Release notes2 sources agree
    • feat(core): Explicitly allow undefined as value for authToken option (#805)
    • fix(core): Strip query strings from asset paths (#806)

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

    Open source โ†’
  16. 4.3.02 Sept 2025
    Release notes2 sources agree
    • feat(core): Extend deploy option to allow opting out of automatic deploy creation (#801)
    • feat(core): No asset globbing for direct upload (#800)
    Open source โ†’
  17. 4.2.028 Aug 2025
    Release notes2 sources agree
    • feat(core): Add prepareArtifacts option for uploading sourcemaps (#794)
    • perf: use premove for build clean (#792)
    • fix(core): Forward headers option to sentry-cli (#797)

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

    Open source โ†’
  18. 4.1.113 Aug 2025
    Release notes2 sources agree
    • fix(react-native): Enhance fragment detection for indirect references (#767)
    Open source โ†’
  19. 4.1.011 Aug 2025
    Release notes2 sources agree
    • feat(deps): Bump @sentry/cli to 2.51.0 #786
    • feat(core): Add flag for disabling sourcemaps upload #785
    • fix(debugId): Add guards for injected code to avoid errors #783
    • docs(options): Improve JSDoc for options #781
    • feat(core): Expose method for injecting debug Ids from plugin manager #784
    Open source โ†’
  20. 4.0.229 Jul 2025
    Release notes2 sources agree
    • fix(core): Make moduleMetadata injection snippet ES5-compliant (#774)
    Open source โ†’
  21. 4.0.125 Jul 2025
    Release notes2 sources agree
    • fix(core): Make plugin inject ES5-friendly code (#770)
    • fix(core): Use renderChunk for release injection for Rollup/Rolldown/Vite (#761)

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

    Open source โ†’
  22. 4.0.021 Jul 2025
    Release notes2 sources agree

    Breaking Changes

    • (Type change) Vite plugin now returns VitePlugin type instead of any
    • Deprecated function getBuildInformation has been removed

    List of Changes

    • feat(core)!: Remove getBuildInformation export (#765)
    • feat(vite)!: Update return type of vite plugin (#728)
    Open source โ†’
  23. 3.6.118 Jul 2025
    Release notes2 sources agree
    • fix(core): Observe and handle Sentry CLI sourcemap upload failures (#763)
    Open source โ†’
  24. 3.6.015 Jul 2025
    Release notes2 sources agree
    • feat(core): Don't add debugIdUploadPlugin when sourcemaps option is disabled (#753)
    • fix(core): Avoid showing success message if upload was disabled or nothing was uploaded (#757)
    Open source โ†’
  25. 3.5.021 May 2025
    Release notes2 sources agree
    • feat(core): Add hook to customize source map file resolution (#732)
    • fix(core): Avoid console output and telemetry init when plugins are disabled (#741)

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

    Open source โ†’
  26. 3.4.05 May 2025
    Release notes2 sources agree
    • fix: Replace existing debug ID comments (#730)
    • feat: Expose bundler plugin primitives via createSentryBuildPluginManager (#714)
    Open source โ†’
  27. 3.3.14 Apr 2025
    Release notes2 sources agree
    • fix(webpack5): All esm files must have .mjs postfix (#721)
    Open source โ†’
  28. 3.3.04 Apr 2025
    Release notes2 sources agree
    • feat(webpack): Add @sentry/webpack-plugin/webpack5 export for webpack 5.1+ and compatible environments (#715)
    • feat: Only do automatic commit association for Vercel production environments (#711)
    Open source โ†’
  29. 3.3.0-alpha.12 Apr 2025pre-release
    Release notes

    Pre-release to test primitive APIs.

    Open source โ†’
  30. 3.3.0-alpha.02 Apr 2025pre-release
    Release notes

    Pre-release to test primitive APIs.

    Open source โ†’
  31. 3.2.428 Mar 2025
    Release notes2 sources agree
    • Revert "feat(core): Use path instead of debug IDs as artifact names for debug ID upload (#700)" (#709)
    • ref: Remove deprecated use of useArtifacBundles (#707)
    Open source โ†’
  32. 3.2.326 Mar 2025
    Release notes2 sources agree
    • feat(core): Use path instead of debug IDs as artifact names for debug ID upload (#700)
    • feat(webpack): Primarily use contentHash for debug ID hash (#702)
    • feat: Detect Vercel commits and env (#694)
    • feat: Default to automatically setting commits on release (#692)
    Open source โ†’
  33. 3.2.24 Mar 2025
    Release notes2 sources agree
    • feat(annotation): Handle JSX member expressions (#690)
    • fix(core): Don't crash on recoverable CLI command error (#682)
    • chore: Suggest putting SENTRY_AUTH_TOKEN, SENTRY_ORG and SENTRY_PROJECT in passThroughEnv when using Turborepo (#675)
    Open source โ†’
  34. 3.2.124 Feb 2025
    Release notes2 sources agree
    • deps: Bump @sentry/cli to 2.42.2 (#685)
    Open source โ†’
  35. 3.2.019 Feb 2025
    Release notes2 sources agree
    • feat(core): Accept and await a promise in sourcemaps.filesToDeleteAfterUpload (#677)
    Open source โ†’
  36. 3.1.24 Feb 2025
    Release notes2 sources agree
    • deps: Bump @sentry/cli to 2.41.1 (#671)
    Open source โ†’
  37. 3.1.130 Jan 2025
    Release notes2 sources agree
    • fix(core): Disable release creation and source maps upload in dev mode (#666)

      This fix disables any external calls to the Sentry API for managing releases or uploading source maps, when detecting that the plugin is running in dev-mode. While this rarely actually happened, it also polluted the dev server output with unnecessary logs about missing auth tokens, which shouldn't be required in dev mode.

    Open source โ†’
  38. 3.1.024 Jan 2025
    Release notes2 sources agree
    • feat(webpack): Gate forced process exit behind experimental flag (#663)
    Open source โ†’
  39. 3.0.015 Jan 2025
    Release notes2 sources agree

    Breaking Changes

    • Injected code will now use let, which was added in ES6 (ES2015). This means that ES6 is the minimum JavaScript version that the Sentry bundler plugins support.

    • Deprecated options have been removed:

      • deleteFilesAfterUpload - Use filesToDeleteAfterUpload instead
      • bundleSizeOptimizations.excludePerformanceMonitoring - Use bundleSizeOptimizations.excludeTracing instead
      • _experiments.moduleMetadata - Use moduleMetadata instead
      • cleanArtifacts - Did not do anything

    List of Changes

    • fix!: Wrap injected code in block-statement to contain scope (#646)
    • chore!: Remove deprecated options (#654)
    • feat(logger): Use console methods respective to log level (#652)
    • fix(webpack): Ensure process exits when done (#653)
    • fix: Use correct replacement matcher for bundleSizeOptimizations.excludeTracing (#644)

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

    Open source โ†’
  40. 2.23.129 Jul 2025
    Release notes2 sources agree
    • fix(v2/core): Make moduleMetadata injection code ES5-compliant (#773)
    Open source โ†’
  41. 2.23.010 Jan 2025
    Release notes2 sources agree
    • chore(deps): bump nanoid from 3.3.6 to 3.3.8 (#641)
    • feat(core): Detect Railway release name (#639)
    • feat(core): Write module injections to globalThis (#636)
    • feat(react-component-annotate): Allow skipping annotations on specified components (#617)
    • ref(core): Rename release management plugin name (#647)

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

    Open source โ†’
  42. 2.22.75 Dec 2024
    Release notes2 sources agree
    • deps: Bump @sentry/cli to 2.39.1 and require specific version (#632)
    • feat(telemetry): Record if plugin is run in CI (#627)
    Open source โ†’
  43. 2.22.618 Oct 2024
    Release notes2 sources agree
    • fix(core): Use sha256 instead of md5 to generate uuids from string (#619)
    Open source โ†’
  44. 2.22.52 Oct 2024
    Release notes2 sources agree
    • fix: Ignore stderr output from git command (#613)
    • feat: Update Sentry telemetry to v8 (#604)
    • deps: Update @sentry/cli to 2.36.1 (#609)
    Open source โ†’
  45. 2.22.44 Sept 2024
    Release notes2 sources agree
    • feat(react-component-annotate): Handle function body returning a ternary (#598)
    • fix: Allow injection plugins to apply to files with query parameters and fragments in their name (#597)

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

    Open source โ†’
  46. 2.22.328 Aug 2024
    Release notes2 sources agree
    • fix(core): Always instantiate global Error class in injected code snippets (#594)
    Open source โ†’
  47. 2.22.214 Aug 2024
    Release notes2 sources agree
    • fix: Disable debug ID injection when sourcemaps.disable is set (#589)
    Open source โ†’
  48. 2.22.113 Aug 2024
    Release notes2 sources agree
    • fix: Use sourcemaps.disable to disable debug ID upload instead of legacy upload (#587)
    • fix: Escape release string in injection snippet (#585)
    Open source โ†’
  49. 2.22.07 Aug 2024
    Release notes2 sources agree
    • deps: Bump @sentry/cli to 2.33.1 (#581)
    • feat: Add bundleSizeOptimizations.excludeTracing option as alias to deprecated bundleSizeOptimizations.excludePerformanceMonitoring (#582)
    • fix(vite-plugin): Ensure post order of sentry-vite-release-injection-plugin to avoid breaking @rollup/plugin-commonjs step (#578)
    Open source โ†’
  50. 2.21.112 Jul 2024
    Release notes2 sources agree
    • fix: Do not delete files before all upload tasks executed (#572)

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

    Open source โ†’
  51. 2.21.010 Jul 2024
    Release notes2 sources agree
    • fix: Use sequential and post order for vite artifact deletion (#568)
    • feat: Add option to disable sourcemaps (#561)

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

    Open source โ†’
  52. 2.20.125 Jun 2024
    Release notes2 sources agree
    • feat(telemetry): Collect whether applicationKey is set (#559)
    • fix: Wait for tasks depending on sourcemaps before deleting (#557)
    Open source โ†’
  53. 2.20.024 Jun 2024
    Release notes2 sources agree
    • feat: Export esbuild plugin as default (#555)
    Open source โ†’
  54. 2.19.019 Jun 2024
    Release notes2 sources agree
    • feat: Don't use word "error" in log message about telemetry (#548)
    • feat(core): Detect releases from more providers (#549)
    • fix: Always delete files when sourcemaps.filesToDeleteAfterUpload is set (#547)
    • fix(vite): Fix environment variable loading issue for Windows (#545)

    Work in this release contributed by @Rassilion, and @mateusz-daniluk-xtb. Thank you for your contributions!

    Open source โ†’
  55. 2.18.04 Jun 2024
    Release notes2 sources agree
    • feat: Add applicationKey option to identify application code from within the SDK (#540)
    • feat: Allow passing of meta-framework as telemetry data (#539)
    • feat: Promote experimental moduleMetadata option to stable (#538)
    • fix(esbuild): Invert warning about bundle: true (#542)
    Open source โ†’
  56. 2.17.023 May 2024
    Release notes2 sources agree
    • feat: Deprecate and noop cleanArtifacts (#525)
    • feat: Support Heroku env vars when inferring release name (#517)
    • fix(docs): Update pnpm install commands (#516)
    • misc(esbuild): Log warning when attempting to inject debug IDs with esbuild bundle option active (#526)

    Work in this release contributed by @et84121, and @duailibe. Thank you for your contributions!

    Open source โ†’
  57. 2.16.13 Apr 2024
    Release notes2 sources agree
    • fix: Create word-based fidelity source mapping for code transformations (#513)
    • fix: Also match .cjs and .mjs files when finding files to upload in rollup-based bundlers (#509)
    Open source โ†’
  58. 2.16.018 Mar 2024
    Release notes2 sources agree
    • feat(core): Add loggerPrefixOverride meta option (#506)
    Open source โ†’
  59. 2.15.013 Mar 2024
    Release notes2 sources agree
    • feat: Make options argument optional (#502)
    • ref(annotate): Turn disabled message to debug log (#504)
    Open source โ†’
  60. 2.14.37 Mar 2024
    Release notes2 sources agree
    • deps(core): Unpin @babel/core, find-up, and glob (#496)

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

    Open source โ†’