Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@sentry/browser": "10.36.0",
"@sentry/core": "10.36.0",
"@sentry/node": "10.36.0",
"@sentry/vite-plugin": "^4.6.2"
"@sentry/vite-plugin": "^4.7.0"
},
"devDependencies": {
"astro": "^3.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"dependencies": {
"@sentry/core": "10.36.0",
"@sentry/react": "10.36.0",
"@sentry/webpack-plugin": "^4.6.2"
"@sentry/webpack-plugin": "^4.7.0"
},
"peerDependencies": {
"gatsby": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"@sentry/opentelemetry": "10.36.0",
"@sentry/react": "10.36.0",
"@sentry/vercel-edge": "10.36.0",
"@sentry/webpack-plugin": "^4.6.2",
"@sentry/webpack-plugin": "^4.7.0",
"rollup": "^4.35.0",
"stacktrace-parser": "^0.1.10"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
"@sentry/core": "10.36.0",
"@sentry/node": "10.36.0",
"@sentry/node-core": "10.36.0",
"@sentry/rollup-plugin": "^4.6.2",
"@sentry/vite-plugin": "^4.6.2",
"@sentry/rollup-plugin": "^4.7.0",
"@sentry/vite-plugin": "^4.7.0",
"@sentry/vue": "10.36.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@sentry/core": "10.36.0",
"@sentry/node": "10.36.0",
"@sentry/react": "10.36.0",
"@sentry/vite-plugin": "^4.6.2",
"@sentry/vite-plugin": "^4.7.0",
"glob": "11.1.0"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export async function makeCustomSentryVitePlugins(options: SentryReactRouterBuil
...sentryVitePlugins.filter(plugin => {
return [
'sentry-telemetry-plugin',
'sentry-vite-release-injection-plugin',
'sentry-vite-injection-plugin',
...(reactComponentAnnotation?.enabled || unstable_sentryVitePluginOptions?.reactComponentAnnotation?.enabled
? ['sentry-vite-component-name-annotate-plugin']
: []),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ vi.mock('@sentry/vite-plugin', () => ({
.fn()
.mockReturnValue([
{ name: 'sentry-telemetry-plugin' },
{ name: 'sentry-vite-release-injection-plugin' },
{ name: 'sentry-vite-injection-plugin' },
{ name: 'sentry-vite-component-name-annotate-plugin' },
{ name: 'other-plugin' },
]),
Expand Down Expand Up @@ -59,15 +59,15 @@ describe('makeCustomSentryVitePlugins', () => {
const plugins = await makeCustomSentryVitePlugins({});
expect(plugins).toHaveLength(2);
expect(plugins?.[0]?.name).toBe('sentry-telemetry-plugin');
expect(plugins?.[1]?.name).toBe('sentry-vite-release-injection-plugin');
expect(plugins?.[1]?.name).toBe('sentry-vite-injection-plugin');
});

it('should include component annotation plugin when reactComponentAnnotation.enabled is true', async () => {
const plugins = await makeCustomSentryVitePlugins({ reactComponentAnnotation: { enabled: true } });

expect(plugins).toHaveLength(3);
expect(plugins?.[0]?.name).toBe('sentry-telemetry-plugin');
expect(plugins?.[1]?.name).toBe('sentry-vite-release-injection-plugin');
expect(plugins?.[1]?.name).toBe('sentry-vite-injection-plugin');
expect(plugins?.[2]?.name).toBe('sentry-vite-component-name-annotate-plugin');
});

Expand All @@ -78,7 +78,7 @@ describe('makeCustomSentryVitePlugins', () => {

expect(plugins).toHaveLength(3);
expect(plugins?.[0]?.name).toBe('sentry-telemetry-plugin');
expect(plugins?.[1]?.name).toBe('sentry-vite-release-injection-plugin');
expect(plugins?.[1]?.name).toBe('sentry-vite-injection-plugin');
expect(plugins?.[2]?.name).toBe('sentry-vite-component-name-annotate-plugin');
});
});
2 changes: 1 addition & 1 deletion packages/solidstart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"@sentry/core": "10.36.0",
"@sentry/node": "10.36.0",
"@sentry/solid": "10.36.0",
"@sentry/vite-plugin": "^4.6.2"
"@sentry/vite-plugin": "^4.7.0"
},
"devDependencies": {
"@solidjs/router": "^0.15.0",
Expand Down
9 changes: 3 additions & 6 deletions packages/solidstart/test/config/withSentry.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,8 @@ describe('withSentry()', () => {
expect(names).toEqual([
'sentry-solidstart-build-instrumentation-file',
'sentry-telemetry-plugin',
'sentry-vite-release-injection-plugin',
'sentry-vite-injection-plugin',
'sentry-release-management-plugin',
'sentry-vite-debug-id-injection-plugin',
'sentry-vite-debug-id-upload-plugin',
'sentry-file-deletion-plugin',
'sentry-solidstart-update-source-map-setting',
Expand All @@ -108,9 +107,8 @@ describe('withSentry()', () => {
expect(names).toEqual([
'sentry-solidstart-build-instrumentation-file',
'sentry-telemetry-plugin',
'sentry-vite-release-injection-plugin',
'sentry-vite-injection-plugin',
'sentry-release-management-plugin',
'sentry-vite-debug-id-injection-plugin',
'sentry-vite-debug-id-upload-plugin',
'sentry-file-deletion-plugin',
'sentry-solidstart-update-source-map-setting',
Expand Down Expand Up @@ -140,9 +138,8 @@ describe('withSentry()', () => {
expect(names).toEqual([
'sentry-solidstart-build-instrumentation-file',
'sentry-telemetry-plugin',
'sentry-vite-release-injection-plugin',
'sentry-vite-injection-plugin',
'sentry-release-management-plugin',
'sentry-vite-debug-id-injection-plugin',
'sentry-vite-debug-id-upload-plugin',
'sentry-file-deletion-plugin',
'sentry-solidstart-update-source-map-setting',
Expand Down
3 changes: 1 addition & 2 deletions packages/solidstart/test/vite/sentrySolidStartVite.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,8 @@ describe('sentrySolidStartVite()', () => {
expect(names).toEqual([
'sentry-solidstart-build-instrumentation-file',
'sentry-telemetry-plugin',
'sentry-vite-release-injection-plugin',
'sentry-vite-injection-plugin',
'sentry-release-management-plugin',
'sentry-vite-debug-id-injection-plugin',
'sentry-vite-debug-id-upload-plugin',
'sentry-file-deletion-plugin',
'sentry-solidstart-update-source-map-setting',
Expand Down
2 changes: 1 addition & 1 deletion packages/sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@sentry/core": "10.36.0",
"@sentry/node": "10.36.0",
"@sentry/svelte": "10.36.0",
"@sentry/vite-plugin": "^4.6.2",
"@sentry/vite-plugin": "^4.7.0",
"magic-string": "0.30.7",
"recast": "0.23.11",
"sorcery": "1.0.0"
Expand Down
9 changes: 4 additions & 5 deletions packages/sveltekit/test/vite/sentrySvelteKitPlugins.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ describe('sentrySvelteKit()', () => {
const plugins = await getSentrySvelteKitPlugins();

expect(plugins).toBeInstanceOf(Array);
// 1 auto instrument plugin + 1 global values injection plugin + 5 source maps plugins
expect(plugins).toHaveLength(10);
// 1 auto instrument plugin + 1 global values injection plugin + 4 source maps plugins
expect(plugins).toHaveLength(9);
});

it('returns the custom sentry source maps upload plugin, unmodified sourcemaps plugins and the auto-instrument plugin by default', async () => {
Expand All @@ -56,8 +56,7 @@ describe('sentrySvelteKit()', () => {
'sentry-sveltekit-global-values-injection-plugin',
// default source maps plugins:
'sentry-telemetry-plugin',
'sentry-vite-release-injection-plugin',
'sentry-vite-debug-id-injection-plugin',
'sentry-vite-injection-plugin',
'sentry-sveltekit-update-source-map-setting-plugin',
'sentry-sveltekit-files-to-delete-after-upload-setting-plugin',
// custom release plugin:
Expand Down Expand Up @@ -90,7 +89,7 @@ describe('sentrySvelteKit()', () => {
it("doesn't return the auto instrument plugin if autoInstrument is `false`", async () => {
const plugins = await getSentrySvelteKitPlugins({ autoInstrument: false });
const pluginNames = plugins.map(plugin => plugin.name);
expect(plugins).toHaveLength(9); // global values injection + 5 source maps plugins + 3 default plugins
expect(plugins).toHaveLength(8); // global values injection + 4 source maps plugins + 3 default plugins
expect(pluginNames).not.toContain('sentry-auto-instrumentation');
});

Expand Down
2 changes: 1 addition & 1 deletion packages/tanstackstart-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@sentry/core": "10.36.0",
"@sentry/node": "10.36.0",
"@sentry/react": "10.36.0",
"@sentry/vite-plugin": "^4.6.2"
"@sentry/vite-plugin": "^4.7.0"
},
"devDependencies": {
"vite": "^5.4.11"
Expand Down
67 changes: 43 additions & 24 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7117,18 +7117,37 @@
fflate "^0.4.4"
mitt "^3.0.0"

"@sentry/babel-plugin-component-annotate@4.6.2":
version "4.6.2"
resolved "https://registry.yarnpkg.com/@sentry/babel-plugin-component-annotate/-/babel-plugin-component-annotate-4.6.2.tgz#b052ded0fc12088d4a5032a4022b65551717a631"
integrity sha512-6VTjLJXtIHKwxMmThtZKwi1+hdklLNzlbYH98NhbH22/Vzb/c6BlSD2b5A0NGN9vFB807rD4x4tuP+Su7BxQXQ==
"@sentry/babel-plugin-component-annotate@4.7.0":
version "4.7.0"
resolved "https://registry.yarnpkg.com/@sentry/babel-plugin-component-annotate/-/babel-plugin-component-annotate-4.7.0.tgz#46841deb27275b7d235f2fbce42c5156ad6c7ae6"
integrity sha512-MkyajDiO17/GaHHFgOmh05ZtOwF5hmm9KRjVgn9PXHIdpz+TFM5mkp1dABmR6Y75TyNU98Z1aOwPOgyaR5etJw==

"@sentry/bundler-plugin-core@4.6.2", "@sentry/bundler-plugin-core@^4.6.2":
version "4.6.2"
resolved "https://registry.yarnpkg.com/@sentry/bundler-plugin-core/-/bundler-plugin-core-4.6.2.tgz#65239308aba07de9dad48bf51d6589be5d492860"
integrity sha512-JkOc3JkVzi/fbXsFp8R9uxNKmBrPRaU4Yu4y1i3ihWfugqymsIYaN0ixLENZbGk2j4xGHIk20PAJzBJqBMTHew==
"@sentry/babel-plugin-component-annotate@4.8.0":
version "4.8.0"
resolved "https://registry.yarnpkg.com/@sentry/babel-plugin-component-annotate/-/babel-plugin-component-annotate-4.8.0.tgz#6705126a7726bd248f93acc79b8f3c8921b1c385"
integrity sha512-cy/9Eipkv23MsEJ4IuB4dNlVwS9UqOzI3Eu+QPake5BVFgPYCX0uP0Tr3Z43Ime6Rb+BiDnWC51AJK9i9afHYw==

"@sentry/bundler-plugin-core@4.7.0":
version "4.7.0"
resolved "https://registry.yarnpkg.com/@sentry/bundler-plugin-core/-/bundler-plugin-core-4.7.0.tgz#00ab83727df34bbbe170f032fa948e6f21f43185"
integrity sha512-gFdEtiup/7qYhN3vp1v2f0WL9AG9OorWLtIpfSBYbWjtzklVNg1sizvNyZ8nEiwtnb25LzvvCUbOP1SyP6IodQ==
dependencies:
"@babel/core" "^7.18.5"
"@sentry/babel-plugin-component-annotate" "4.7.0"
"@sentry/cli" "^2.57.0"
dotenv "^16.3.1"
find-up "^5.0.0"
glob "^10.5.0"
magic-string "0.30.8"
unplugin "1.0.1"

"@sentry/bundler-plugin-core@4.8.0", "@sentry/bundler-plugin-core@^4.6.2":
version "4.8.0"
resolved "https://registry.yarnpkg.com/@sentry/bundler-plugin-core/-/bundler-plugin-core-4.8.0.tgz#2e7a4493795a848951e1e074a1b15b650fe0e6b0"
integrity sha512-QaXd/NzaZ2vmiA2FNu2nBkgQU+17N3fE+zVOTzG0YK54QDSJMd4n3AeJIEyPhSzkOob+GqtO22nbYf6AATFMAw==
dependencies:
"@babel/core" "^7.18.5"
"@sentry/babel-plugin-component-annotate" "4.6.2"
"@sentry/babel-plugin-component-annotate" "4.8.0"
"@sentry/cli" "^2.57.0"
dotenv "^16.3.1"
find-up "^5.0.0"
Expand Down Expand Up @@ -7196,28 +7215,28 @@
"@sentry/cli-win32-i686" "2.58.4"
"@sentry/cli-win32-x64" "2.58.4"

"@sentry/rollup-plugin@^4.6.2":
version "4.6.2"
resolved "https://registry.yarnpkg.com/@sentry/rollup-plugin/-/rollup-plugin-4.6.2.tgz#e03a835e52c4613b2c856ff3cb411f5683176c78"
integrity sha512-sTgh24KfV8iJhv1zESZi6atgJEgOPpwy1W/UqOdmKPyDW5FkX9Zp9lyMF+bbJDWBqhACUJBGsIbE3MAonLX3wQ==
"@sentry/rollup-plugin@^4.7.0":
version "4.7.0"
resolved "https://registry.yarnpkg.com/@sentry/rollup-plugin/-/rollup-plugin-4.7.0.tgz#92f9a5ed6b27de382ece4e973d9854099f62c1af"
integrity sha512-G928V05BLAIAIky42AN6zTDIKwfTYzWQ/OivSBTY3ZFJ2Db3lkB5UFHhtRsTjT9Hy/uZnQQjs397rixn51X3Vg==
dependencies:
"@sentry/bundler-plugin-core" "4.6.2"
"@sentry/bundler-plugin-core" "4.7.0"
unplugin "1.0.1"

"@sentry/vite-plugin@^4.6.2":
version "4.6.2"
resolved "https://registry.yarnpkg.com/@sentry/vite-plugin/-/vite-plugin-4.6.2.tgz#e4d4321c089af8bf2bc20b8e9ee467881154d267"
integrity sha512-hK9N50LlTaPlb2P1r87CFupU7MJjvtrp+Js96a2KDdiP8ViWnw4Gsa/OvA0pkj2wAFXFeBQMLS6g/SktTKG54w==
"@sentry/vite-plugin@^4.7.0":
version "4.7.0"
resolved "https://registry.yarnpkg.com/@sentry/vite-plugin/-/vite-plugin-4.7.0.tgz#2d819ff0cc40d6a85503e86f834e358bad2cdde5"
integrity sha512-eQXDghOQLsYwnHutJo8TCzhG4gp0KLNq3h96iqFMhsbjnNnfYeCX1lIw1pJEh/az3cDwSyPI/KGkvf8hr0dZmQ==
dependencies:
"@sentry/bundler-plugin-core" "4.6.2"
"@sentry/bundler-plugin-core" "4.7.0"
unplugin "1.0.1"

"@sentry/webpack-plugin@^4.6.2":
version "4.6.2"
resolved "https://registry.yarnpkg.com/@sentry/webpack-plugin/-/webpack-plugin-4.6.2.tgz#371c00cc5ce7654e34c123accd471f55b6ce4ed4"
integrity sha512-uyb4nAqstVvO6ep86TQRlSxuynYhFec/HYfrA8wN5qYLx31gJQsOiuAeEzocJ2GGrhJq/ySH9nYfcnpjgk4J2w==
"@sentry/webpack-plugin@^4.7.0":
version "4.8.0"
resolved "https://registry.yarnpkg.com/@sentry/webpack-plugin/-/webpack-plugin-4.8.0.tgz#f3c1f5756cb889df4e4e5e69316080160c5680d0"
integrity sha512-x4gayRA/J8CEcowrXWA2scaPZx+hd18squORJElHZKC46PGYRKvQfAWQ7qRCX6gtJ2v53x9264n9D8f3b9rp9g==
dependencies:
"@sentry/bundler-plugin-core" "4.6.2"
"@sentry/bundler-plugin-core" "4.8.0"
unplugin "1.0.1"
uuid "^9.0.0"

Expand Down
Loading