- "You know what they say ‘Fool me once, strike one, but fool me twice… strike three.’" — Michael Scott
- feat(webpack): Generate deterministic debug IDs (#321)
- feat: Add
filesToDeleteAfterUploadalias fordeleteFilesAfterUpload(#313) - feat: Sort globbed files to ensure deterministic bundle IDs (#318)
- fix(esbuild): Don't override user code with proxy module (#322)
- fix(esbuild): Fix debug ID generation (#325)
- fix: Use
SENTRY_RELEASEenvironment variable to setrelease.nameoption (#317)
Work in this release contributed by @smbroadley. Thank you for your contribution!
- fix(esbuild): Don't use namespace for esbuild proxy resolving (#311)
- fix: Update commentUseStrictRegex to be lazy instead of greedy (#309)
Work in this release contributed by @jdk2pq. Thank you for your contribution!
- fix(esbuild): Inject different debug IDs into different output bundles (#301)
- fix(webpack): Set minimum webpack 4 peer dep to
4.40.0(#290) - fix: Use magic-string
appendLeftinstead ofreplace(#303) - ref: Improve log message when sourcemap cannot be found (#287)
- ref(core): Make better use of Sentry (#246)
- ref(webpack): Use webpack peer dependency (#273)
Work in this release was made possible with help from @wojtekmaj and @dobladov. Thank you for your contributions!
- docs: Add removal of
configFileoption to migration guide (#266) - feat: Auto detect build artifacts (#257)
- fix(core): Ignore query and hash in filepaths for release injection (#272)
- fix(esbuild): Use absolute path for virtual file resolving (#269)
- fix: Don't show log message if telemetry is disabled (#267)
- fix: Use automatic release name detection for release injection (#271)
Version 2.0.0 marks the official release of the @sentry/vite-plugin, @sentry/esbuild-plugin and @sentry/rollup-plugin packages.
They are now considered stable.
For the @sentry/webpack-plugin this is a major release with breaking changes.
Please refer to the migration guide for instructions on how to upgrade.
- feat(core): Add
deleteFilesAfterUploadoption (#244) - feat(core): Implements rewrite sources for debug ID upload (#243)
- fix(core): Account for undefined release name values (#251)
- fix(webpack): Inject different debug IDs for different bundles (#242)
- ref(core): Add new options type for future use (#216)
- ref(core): Extract debug ID injection into separate plugins (#230)
- ref(core): Extract debug ID sourcemap upload into a separate plugin (#231)
- ref(core): Extract release injection into separate plugins (#218)
- ref(core): Extract release management into a separate plugin (#232)
- ref(core): Extract telemetry into a separate plugin (#234)
- ref(core): Switch to v2 options (#237)
- ref(core): Use debug ID as filename for upload (#247)
- ref(core): Use factory function to create individual plugins (#229)
- ref: Remove
injectReleasesMapoption (#236)
- fix(core): Use createRequire to not use built-in require in ESM (#212)
- fix(core): Fix vite complaining about CJS import of webpack-sources (#210)
This release introduces the sourcemaps option. This option switches to a new system of handling source maps in Sentry.
While the old system is still available via the include option, the recommended way forward is the sourcemaps option.
You can configure the sourcemaps option as follows:
plugin({
org: "Your organization",
project: "Your project",
authToken: "Your auth token",
sourcemaps: {
// Specify the directory containing build artifacts
assets: "./dist/**",
},
});- feat(esbuild): Add debug ID injection for esbuild (#202)
- feat: Promote debug ID uploading to stable via
sourcemapsoption (#204) - fix(core): Also do debug ID injection for
.cjsfiles (#203) - fix: Add typing exports to packages (#208)
- feat(webpack): Add debug ID injection to the webpack plugin (#198)
- fix(core): Don't exclude release injection module (#200)
- ref(core): Don't interact with Sentry in watch-mode (#199)
Work in this release contributed by @hakubo. Thank you for your contribution!
- fix(core): Skip all transformations for 3rd party modules
- feat(core): Add
injectReleaseanduploadSourceMapsoptions (#190) - feat(core): Add experimental debug ID based source map upload to Rollup and Vite plugins (#192)
- feat(core): Import release injection code from each module (#188)
- feat: Add
_experiments.injectBuildInformationoption (#176) - feat: Add
sentryCliBinaryExistsfunction (#171)
Work in this release contributed by @alexandresoro and @dcyou. Thank you for your contributions!
This release contains breaking changes. Please refer to the migration guide on how to update from version 0.3.x to 0.4.x.
- deps(core): Bump unplugin version (#164)
- ref(core): Only inject release into entrypoints per default (#166) (BREAKING)
- ref: Remove
customHeaderoption (#167) (BREAKING) - ref: Turn default exports into named exports (#165) (BREAKING)
Work in this release contributed by @manniL. Thank you for your contribution!
Note: This release bumps the @sentry/cli dependency from version 1.x to version 2.x.
- feat(core): Add headers option (#153)
Work in this release contributed by @robertcepa. Thank you for your contribution!
- build(core): Update magic-string due to deprecated dependency (#146)
- ref(core): Send project as
distin telemetry (#148)
Work in this release contributed by @jperelli. Thank you for your contribution!
- fix: Exclude
node_modulesfrom release injection (#143)
- feat(core): Remove
server_namefrom telemetry events (#135) - fix: Add definitions in package.json for ESM resolution (#141)
- fix(core): Finish spans when CLI commands fail (#136)
- ref(core): Decouple breadcrumb usage from logger (#138)
- ref(core): Don't record stack traces for telemetry (#137)
- fix(core): Fix telemetry option logic (#128)
- fix(core): Normalize
idandreleaseInjectionTargetsintransformInclude(#132)
This release replaces the entries option with releaseInjectionTargets which is a breaking change from previous versions.
For more information, take a look at the migration guide.
- feat: Replace
entriesoption withreleaseInjectionTargets(#123)
With this release, the Sentry bundler plugins support all features of the standalone Sentry Webpack plugin. Please note that breaking changes might still be introduced.
- Re-added Sentry CLI to the project (#85). The bundler plugins use Sentry CLI to create releases and upload sourcemaps
- Added missing Release creation steps
- feat(core): Add
setCommits(#96) - feat(core): Add
deploycommand (#97)
- feat(core): Add
- Added validation of plugin options (#104)
- Refined
telemetryoption to only send events to Sentry for projects uploading source maps to Sentry's SaaS instance (#99). For self-hosted Sentry servers, nothing will be sent to Sentry. - Updated
README.mdfiles with examples and option descriptions for each bundler plugin (#117)
Link to Full Changelog
This release marks the first release of the Sentry bundler blugins. This is still a heavy work in progress and a lot of things are still missing and subject to change
- Initial release