|
4 | 4 |
|
5 | 5 | - "You know what they say ‘Fool me once, strike one, but fool me twice… strike three.’" — Michael Scott |
6 | 6 |
|
| 7 | +## 4.2.0 |
| 8 | + |
| 9 | +- feat(core): Add `prepareArtifacts` option for uploading sourcemaps ([#794](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/794)) |
| 10 | +- perf: use premove for build clean ([#792](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/792)) |
| 11 | +- fix(core): Forward headers option to sentry-cli ([#797](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/797)) |
| 12 | + |
| 13 | +Work in this release contributed by @liAmirali. Thank you for your contribution! |
| 14 | + |
| 15 | +## 4.1.1 |
| 16 | + |
| 17 | +- fix(react-native): Enhance fragment detection for indirect references ([#767](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/767)) |
| 18 | + |
| 19 | +## 4.1.0 |
| 20 | + |
| 21 | +- feat(deps): Bump @sentry/cli to 2.51.0 [#786](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/786) |
| 22 | +- feat(core): Add flag for disabling sourcemaps upload [#785](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/785) |
| 23 | +- fix(debugId): Add guards for injected code to avoid errors [#783](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/783) |
| 24 | +- docs(options): Improve JSDoc for options [#781](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/781) |
| 25 | +- feat(core): Expose method for injecting debug Ids from plugin manager [#784](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/784) |
| 26 | + |
| 27 | +## 4.0.2 |
| 28 | + |
| 29 | +- fix(core): Make `moduleMetadata` injection snippet ES5-compliant ([#774](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/774)) |
| 30 | + |
| 31 | +## 4.0.1 |
| 32 | + |
| 33 | +- fix(core): Make plugin inject ES5-friendly code ([#770](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/770)) |
| 34 | +- fix(core): Use `renderChunk` for release injection for Rollup/Rolldown/Vite ([#761](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/761)) |
| 35 | + |
| 36 | +Work in this release was contributed by @grushetsky. Thank you for your contribution! |
| 37 | + |
| 38 | +## 4.0.0 |
| 39 | + |
| 40 | +### Breaking Changes |
| 41 | + |
| 42 | +- (Type change) Vite plugin now returns `VitePlugin` type instead of `any` |
| 43 | +- Deprecated function `getBuildInformation` has been removed |
| 44 | + |
| 45 | +### List of Changes |
| 46 | + |
| 47 | +- feat(core)!: Remove `getBuildInformation` export ([#765](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/765)) |
| 48 | +- feat(vite)!: Update return type of vite plugin ([#728](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/728)) |
| 49 | + |
| 50 | +## 3.6.1 |
| 51 | + |
| 52 | +- fix(core): Observe and handle Sentry CLI sourcemap upload failures ([#763](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/763)) |
| 53 | + |
| 54 | +## 3.6.0 |
| 55 | + |
| 56 | +- feat(core): Don't add `debugIdUploadPlugin` when sourcemaps option is disabled ([#753](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/753)) |
| 57 | +- fix(core): Avoid showing success message if upload was disabled or nothing was uploaded ([#757](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/757)) |
| 58 | + |
| 59 | +## 3.5.0 |
| 60 | + |
| 61 | +- feat(core): Add hook to customize source map file resolution ([#732](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/732)) |
| 62 | +- fix(core): Avoid console output and telemetry init when plugins are disabled ([#741](https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/741)) |
| 63 | + |
| 64 | +Work in this release was contributed by @thecodewarrior. Thank you for your contribution! |
| 65 | + |
| 66 | +## 3.4.0 |
| 67 | + |
| 68 | +- fix: Replace existing debug ID comments (#730) |
| 69 | +- feat: Expose bundler plugin primitives via `createSentryBuildPluginManager` (#714) |
| 70 | + |
| 71 | +## 3.3.1 |
| 72 | + |
| 73 | +- fix(webpack5): All `esm` files must have `.mjs` postfix (#721) |
| 74 | + |
| 75 | +## 3.3.0 |
| 76 | + |
| 77 | +- feat(webpack): Add `@sentry/webpack-plugin/webpack5` export for webpack 5.1+ and compatible environments (#715) |
| 78 | +- feat: Only do automatic commit association for Vercel production environments (#711) |
| 79 | + |
| 80 | +## 3.2.4 |
| 81 | + |
| 82 | +- Revert "feat(core): Use path instead of debug IDs as artifact names for debug ID upload (#700)" (#709) |
| 83 | +- ref: Remove deprecated use of `useArtifacBundles` (#707) |
| 84 | + |
| 85 | +## 3.2.3 |
| 86 | + |
| 87 | +- feat(core): Use path instead of debug IDs as artifact names for debug ID upload (#700) |
| 88 | +- feat(webpack): Primarily use `contentHash` for debug ID hash (#702) |
| 89 | +- feat: Detect Vercel commits and env (#694) |
| 90 | +- feat: Default to automatically setting commits on release (#692) |
| 91 | + |
| 92 | +## 3.2.2 |
| 93 | + |
| 94 | +- feat(annotation): Handle JSX member expressions (#690) |
| 95 | +- fix(core): Don't crash on recoverable CLI command error (#682) |
| 96 | +- chore: Suggest putting `SENTRY_AUTH_TOKEN`, `SENTRY_ORG` and `SENTRY_PROJECT` in `passThroughEnv` when using Turborepo (#675) |
| 97 | + |
| 98 | +## 3.2.1 |
| 99 | + |
| 100 | +- deps: Bump @sentry/cli to 2.42.2 (#685) |
| 101 | + |
| 102 | +## 3.2.0 |
| 103 | + |
| 104 | +- feat(core): Accept and await a promise in `sourcemaps.filesToDeleteAfterUpload` (#677) |
| 105 | + |
| 106 | +## 3.1.2 |
| 107 | + |
| 108 | +- deps: Bump `@sentry/cli` to `2.41.1` (#671) |
| 109 | + |
| 110 | +## 3.1.1 |
| 111 | + |
| 112 | +- fix(core): Disable release creation and source maps upload in dev mode (#666) |
| 113 | + |
| 114 | + 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, |
| 115 | + it also polluted the dev server output with unnecessary logs about missing auth tokens, which shouldn't |
| 116 | + be required in dev mode. |
| 117 | + |
| 118 | +## 3.1.0 |
| 119 | + |
| 120 | +- feat(webpack): Gate forced process exit behind experimental flag (#663) |
| 121 | + |
| 122 | +## 3.0.0 |
| 123 | + |
| 124 | +### Breaking Changes |
| 125 | + |
| 126 | +- Injected code will now use `let`, which was added in ES6 (ES2015). |
| 127 | + This means that ES6 is the minimum JavaScript version that the Sentry bundler plugins support. |
| 128 | + |
| 129 | +- Deprecated options have been removed: |
| 130 | + - `deleteFilesAfterUpload` - Use `filesToDeleteAfterUpload` instead |
| 131 | + - `bundleSizeOptimizations.excludePerformanceMonitoring` - Use `bundleSizeOptimizations.excludeTracing` instead |
| 132 | + - `_experiments.moduleMetadata` - Use `moduleMetadata` instead |
| 133 | + - `cleanArtifacts` - Did not do anything |
| 134 | + |
| 135 | +### List of Changes |
| 136 | + |
| 137 | +- fix!: Wrap injected code in block-statement to contain scope (#646) |
| 138 | +- chore!: Remove deprecated options (#654) |
| 139 | +- feat(logger): Use console methods respective to log level (#652) |
| 140 | +- fix(webpack): Ensure process exits when done (#653) |
| 141 | +- fix: Use correct replacement matcher for `bundleSizeOptimizations.excludeTracing` (#644) |
| 142 | + |
| 143 | +Work in this release contributed by @jdelStrother. Thank you for your contribution! |
| 144 | + |
| 145 | +## 2.23.1 |
| 146 | + |
| 147 | +- fix(v2/core): Make `moduleMetadata` injection code ES5-compliant (#773) |
| 148 | + |
7 | 149 | ## 2.23.0 |
8 | 150 |
|
9 | 151 | - chore(deps): bump nanoid from 3.3.6 to 3.3.8 (#641) |
|
0 commit comments