From ddd9ba829433fb7e41acc5f6ccb9c34b8bfe0217 Mon Sep 17 00:00:00 2001 From: renovate Date: Tue, 28 Jan 2025 22:04:14 +0000 Subject: [PATCH] fix(deps): update dependency @sentry/react to v8.52.0 (#63) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@sentry/react](https://github.com/getsentry/sentry-javascript/tree/master/packages/react) ([source](https://github.com/getsentry/sentry-javascript)) | dependencies | minor | [`8.51.0` -> `8.52.0`](https://renovatebot.com/diffs/npm/@sentry%2freact/8.51.0/8.52.0) | --- ### Release Notes
getsentry/sentry-javascript (@​sentry/react) ### [`v8.52.0`](https://github.com/getsentry/sentry-javascript/releases/tag/8.52.0) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/8.51.0...8.52.0) ##### Important Changes - **feat(solidstart): Add `withSentry` wrapper for SolidStart config ([#​15135](https://github.com/getsentry/sentry-javascript/pull/15135))** To enable the SolidStart SDK, wrap your SolidStart Config with `withSentry`. The `sentrySolidStartVite` plugin is now automatically added by `withSentry` and you can pass the Sentry build-time options like this: ```js import { defineConfig } from '@​solidjs/start/config'; import { withSentry } from '@​sentry/solidstart'; export default defineConfig( withSentry( { /* Your SolidStart config options... */ }, { // Options for setting up source maps org: process.env.SENTRY_ORG, project: process.env.SENTRY_PROJECT, authToken: process.env.SENTRY_AUTH_TOKEN, }, ), ); ``` With the `withSentry` wrapper, the Sentry server config should not be added to the `public` directory anymore. Add the Sentry server config in `src/instrument.server.ts`. Then, the server config will be placed inside the server build output as `instrument.server.mjs`. Now, there are two options to set up the SDK: 1. **(recommended)** Provide an `--import` CLI flag to the start command like this (path depends on your server setup): `node --import ./.output/server/instrument.server.mjs .output/server/index.mjs` 2. Add `autoInjectServerSentry: 'top-level-import'` and the Sentry config will be imported at the top of the server entry (comes with tracing limitations) ```js withSentry( { /* Your SolidStart config options... */ }, { // Optional: Install Sentry with a top-level import autoInjectServerSentry: 'top-level-import', }, ); ``` ##### Other Changes - feat(v8/core): Add client outcomes for breadcrumbs buffer ([#​15149](https://github.com/getsentry/sentry-javascript/pull/15149)) - feat(v8/core): Improve error formatting in ZodErrors integration ([#​15155](https://github.com/getsentry/sentry-javascript/pull/15155)) - fix(v8/bun): Ensure instrumentation of `Bun.serve` survives a server reload ([#​15157](https://github.com/getsentry/sentry-javascript/pull/15157)) - fix(v8/core): Pass `module` into `loadModule` ([#​15139](https://github.com/getsentry/sentry-javascript/pull/15139)) ([#​15166](https://github.com/getsentry/sentry-javascript/issues/15166)) Work in this release was contributed by [@​jahands](https://github.com/jahands), [@​jrandolf](https://github.com/jrandolf), and [@​nathankleyn](https://github.com/nathankleyn). Thank you for your contributions! #### Bundle size 📦 | Path | Size | | ---------------------------------------------------------------- | ----------------- | | [@​sentry/browser](https://github.com/sentry/browser) | 23.32 KB | | [@​sentry/browser](https://github.com/sentry/browser) - with treeshaking flags | 23.2 KB | | [@​sentry/browser](https://github.com/sentry/browser) (incl. Tracing) | 35.88 KB | | [@​sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay) | 73.23 KB | | [@​sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay) - with treeshaking flags | 66.7 KB | | [@​sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay with Canvas) | 77.54 KB | | [@​sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay, Feedback) | 89.47 KB | | [@​sentry/browser](https://github.com/sentry/browser) (incl. Feedback) | 39.53 KB | | [@​sentry/browser](https://github.com/sentry/browser) (incl. sendFeedback) | 27.94 KB | | [@​sentry/browser](https://github.com/sentry/browser) (incl. FeedbackAsync) | 32.73 KB | | [@​sentry/react](https://github.com/sentry/react) | 26 KB | | [@​sentry/react](https://github.com/sentry/react) (incl. Tracing) | 38.71 KB | | [@​sentry/vue](https://github.com/sentry/vue) | 27.6 KB | | [@​sentry/vue](https://github.com/sentry/vue) (incl. Tracing) | 37.74 KB | | [@​sentry/svelte](https://github.com/sentry/svelte) | 23.49 KB | | CDN Bundle | 24.52 KB | | CDN Bundle (incl. Tracing) | 37.59 KB | | CDN Bundle (incl. Tracing, Replay) | 72.87 KB | | CDN Bundle (incl. Tracing, Replay, Feedback) | 78.24 KB | | CDN Bundle - uncompressed | 72.01 KB | | CDN Bundle (incl. Tracing) - uncompressed | 111.51 KB | | CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.76 KB | | CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.86 KB | | [@​sentry/nextjs](https://github.com/sentry/nextjs) (client) | 38.96 KB | | [@​sentry/sveltekit](https://github.com/sentry/sveltekit) (client) | 36.39 KB | | [@​sentry/node](https://github.com/sentry/node) | 162.87 KB | | [@​sentry/node](https://github.com/sentry/node) - without tracing | 99.18 KB | | [@​sentry/aws-serverless](https://github.com/sentry/aws-serverless) | 126.69 KB |
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Reviewed-on: https://git.tristess.app/alexandresoro/ouca-web/pulls/63 Reviewed-by: Alexandre Soro Co-authored-by: renovate Co-committed-by: renovate --- bun.lock | 16 ++++++++-------- package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/bun.lock b/bun.lock index 08e58974..82a0b383 100644 --- a/bun.lock +++ b/bun.lock @@ -8,7 +8,7 @@ "@fontsource/carter-one": "5.1.1", "@headlessui/react": "2.2.0", "@hookform/resolvers": "3.10.0", - "@sentry/react": "8.51.0", + "@sentry/react": "8.52.0", "@styled-icons/boxicons-regular": "10.47.0", "@styled-icons/boxicons-solid": "10.47.0", "@turf/bbox": "7.2.0", @@ -327,17 +327,17 @@ "@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.31.0", "https://npm.tristess.app/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.31.0.tgz", { "os": "win32", "cpu": "x64" }, "sha512-ul8rnCsUumNln5YWwz0ted2ZHFhzhRRnkpBZ+YRuHoRAlUji9KChpOUOndY7uykrPEPXVbHLlsdo6v5yXo/TXw=="], - "@sentry-internal/browser-utils": ["@sentry-internal/browser-utils@8.51.0", "https://npm.tristess.app/@sentry-internal/browser-utils/-/browser-utils-8.51.0.tgz", { "dependencies": { "@sentry/core": "8.51.0" } }, "sha512-r94yfRK17zNJER0hgQE4qOSy5pWzsnFcGTJQSqhSEKUcC4KK37qSfoPrPejFxtIqXhqlkd/dTWKvrMwXWcn0MQ=="], + "@sentry-internal/browser-utils": ["@sentry-internal/browser-utils@8.52.0", "https://npm.tristess.app/@sentry-internal/browser-utils/-/browser-utils-8.52.0.tgz", { "dependencies": { "@sentry/core": "8.52.0" } }, "sha512-ojFldpRpGrgacIQMbbMZeqLYetNJJ61n+Pz29FpggaIRrbkq84ocoy4FCy+9BuLo6ywgxtUFrjOXD9pPRcZtUA=="], - "@sentry-internal/feedback": ["@sentry-internal/feedback@8.51.0", "https://npm.tristess.app/@sentry-internal/feedback/-/feedback-8.51.0.tgz", { "dependencies": { "@sentry/core": "8.51.0" } }, "sha512-VgfxSZWLYUPKDnkt2zG+Oe5ccv8U3WPM6Mo4kfABIJT3Ai4VbZB7+vb2a4pm6lUCF9DeOPXHb5o9Tg17SHDAHw=="], + "@sentry-internal/feedback": ["@sentry-internal/feedback@8.52.0", "https://npm.tristess.app/@sentry-internal/feedback/-/feedback-8.52.0.tgz", { "dependencies": { "@sentry/core": "8.52.0" } }, "sha512-r62Ufg4uGlvQsQ+nRSiq9y0ieVFRlZvUaoT/zMjmPuMg29O9rRAMdPJuiCpBH4++x8KJoJ9c2HBRizn6/3uc5Q=="], - "@sentry-internal/replay": ["@sentry-internal/replay@8.51.0", "https://npm.tristess.app/@sentry-internal/replay/-/replay-8.51.0.tgz", { "dependencies": { "@sentry-internal/browser-utils": "8.51.0", "@sentry/core": "8.51.0" } }, "sha512-lkm7id3a2n3yMZeF5socCVQUeEeShNOGr7Wtsmb5RORacEnld0z+NfbMTilo1mDwiWBzI5OYBjm62eglm1HFsQ=="], + "@sentry-internal/replay": ["@sentry-internal/replay@8.52.0", "https://npm.tristess.app/@sentry-internal/replay/-/replay-8.52.0.tgz", { "dependencies": { "@sentry-internal/browser-utils": "8.52.0", "@sentry/core": "8.52.0" } }, "sha512-b4hQPni1G2tcV5XuAPSV4RTX3vqPXO9RfUXLuTBzOTNzBHDoj8nQv0yVvcysGy5tBAuVRo5ya5A+PG/iC6FA9A=="], - "@sentry-internal/replay-canvas": ["@sentry-internal/replay-canvas@8.51.0", "https://npm.tristess.app/@sentry-internal/replay-canvas/-/replay-canvas-8.51.0.tgz", { "dependencies": { "@sentry-internal/replay": "8.51.0", "@sentry/core": "8.51.0" } }, "sha512-ERXIbwdULkdtIQnfkMLRVfpoGV2rClwySGRlTPepFKeLxlcXo9o09cPu+qbukiDnGK0cgEgRnrV961hMg21Bmw=="], + "@sentry-internal/replay-canvas": ["@sentry-internal/replay-canvas@8.52.0", "https://npm.tristess.app/@sentry-internal/replay-canvas/-/replay-canvas-8.52.0.tgz", { "dependencies": { "@sentry-internal/replay": "8.52.0", "@sentry/core": "8.52.0" } }, "sha512-4ES2uCUb9yEO1cbg15UBqiYU/syQYj5GviI+TvYvnPX3I8K2mK941ZRqfHh2HpFMhMxLgfX4jDqDGizNhXWdqg=="], "@sentry/babel-plugin-component-annotate": ["@sentry/babel-plugin-component-annotate@3.1.0", "https://npm.tristess.app/@sentry/babel-plugin-component-annotate/-/babel-plugin-component-annotate-3.1.0.tgz", {}, "sha512-G6DHlFVNPzUW8ox2YUADwJsXDgT0EF8HA68MpIcoO87eYC8aJLbDU4tHGs/ZLk7gvhNBFEJzaKjNKeLUQ9f36A=="], - "@sentry/browser": ["@sentry/browser@8.51.0", "https://npm.tristess.app/@sentry/browser/-/browser-8.51.0.tgz", { "dependencies": { "@sentry-internal/browser-utils": "8.51.0", "@sentry-internal/feedback": "8.51.0", "@sentry-internal/replay": "8.51.0", "@sentry-internal/replay-canvas": "8.51.0", "@sentry/core": "8.51.0" } }, "sha512-1kbbyVfBBAx5Xyynp+lC5lLnAHo0qJ2r4mtmdT6koPjesvoOocEK0QQnouQBmdUbm3L0L/bPI1SgXjbeJyhzHQ=="], + "@sentry/browser": ["@sentry/browser@8.52.0", "https://npm.tristess.app/@sentry/browser/-/browser-8.52.0.tgz", { "dependencies": { "@sentry-internal/browser-utils": "8.52.0", "@sentry-internal/feedback": "8.52.0", "@sentry-internal/replay": "8.52.0", "@sentry-internal/replay-canvas": "8.52.0", "@sentry/core": "8.52.0" } }, "sha512-7JpJ9zpInozBzy61eJf/6RPHoKUCFcoFuKd9rttkN1gyY9xkU1cQK+x1f0deiIHnF9ydftmDtXW+kGFI/+xqtw=="], "@sentry/bundler-plugin-core": ["@sentry/bundler-plugin-core@3.1.0", "https://npm.tristess.app/@sentry/bundler-plugin-core/-/bundler-plugin-core-3.1.0.tgz", { "dependencies": { "@babel/core": "^7.18.5", "@sentry/babel-plugin-component-annotate": "3.1.0", "@sentry/cli": "2.39.1", "dotenv": "^16.3.1", "find-up": "^5.0.0", "glob": "^9.3.2", "magic-string": "0.30.8", "unplugin": "1.0.1" } }, "sha512-4BmgU95tVjsiOvbHwVrtTV2P8M78N9zsWjSBHoRcjmTCp8HY+Q3Ok+/SJb+KaPuRpHe1A6zknl3qdjSUv0BXhA=="], @@ -357,9 +357,9 @@ "@sentry/cli-win32-x64": ["@sentry/cli-win32-x64@2.39.1", "https://npm.tristess.app/@sentry/cli-win32-x64/-/cli-win32-x64-2.39.1.tgz", { "os": "win32", "cpu": "x64" }, "sha512-xv0R2CMf/X1Fte3cMWie1NXuHmUyQPDBfCyIt6k6RPFPxAYUgcqgMPznYwVMwWEA1W43PaOkSn3d8ZylsDaETw=="], - "@sentry/core": ["@sentry/core@8.51.0", "https://npm.tristess.app/@sentry/core/-/core-8.51.0.tgz", {}, "sha512-Go0KxCYLw+OBIlLSv5YsYX+x9NW43fNVcyB6rhkSp2Q5Zme3tAE6KtZFvyu4SO7G/903wisW5Q6qV6UuK/ee4A=="], + "@sentry/core": ["@sentry/core@8.52.0", "https://npm.tristess.app/@sentry/core/-/core-8.52.0.tgz", {}, "sha512-2j3B7IKmseTKFm6AyheJ+RSgXqIsx+3blFSuxpkdvsEt60Lbzva2uDkCENfBDOclioo1kvHgsyuXLfWW4A+wwA=="], - "@sentry/react": ["@sentry/react@8.51.0", "https://npm.tristess.app/@sentry/react/-/react-8.51.0.tgz", { "dependencies": { "@sentry/browser": "8.51.0", "@sentry/core": "8.51.0", "hoist-non-react-statics": "^3.3.2" }, "peerDependencies": { "react": "^16.14.0 || 17.x || 18.x || 19.x" } }, "sha512-Gqa6THfBJu3kagUr9B9kUWvOwzu7L2c1Wdvo7Wcy1yq6rcB2F2Ihxo9okNvb7cAez//UBtEYFebRJAaFKZqN0g=="], + "@sentry/react": ["@sentry/react@8.52.0", "https://npm.tristess.app/@sentry/react/-/react-8.52.0.tgz", { "dependencies": { "@sentry/browser": "8.52.0", "@sentry/core": "8.52.0", "hoist-non-react-statics": "^3.3.2" }, "peerDependencies": { "react": "^16.14.0 || 17.x || 18.x || 19.x" } }, "sha512-7tbRuTFOgKLM2fM5/TjrfDWbkqOOsxkb2QldnAUHTAcArIx77DpsurAgEx5L9lqn+UAhuw1X2IGbzk9fVV/ZDQ=="], "@sentry/vite-plugin": ["@sentry/vite-plugin@3.1.0", "https://npm.tristess.app/@sentry/vite-plugin/-/vite-plugin-3.1.0.tgz", { "dependencies": { "@sentry/bundler-plugin-core": "3.1.0", "unplugin": "1.0.1" } }, "sha512-N9fhLOFGSrb5pRg0vIcNX3r2SciTyxMfyHz/tdSSqVTeEA7i7RuHdL0k6ZYzsDY8QLrXygOS2JSpSSd2ni3eUw=="], diff --git a/package.json b/package.json index a8bcd6de..b1c475af 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@fontsource/carter-one": "5.1.1", "@headlessui/react": "2.2.0", "@hookform/resolvers": "3.10.0", - "@sentry/react": "8.51.0", + "@sentry/react": "8.52.0", "@styled-icons/boxicons-regular": "10.47.0", "@styled-icons/boxicons-solid": "10.47.0", "@turf/bbox": "7.2.0",