Skip to content

Commit

Permalink
fix(deps): update dependency @sentry/react to v8.52.0 (#63)
Browse files Browse the repository at this point in the history
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

<details>
<summary>getsentry/sentry-javascript (@&#8203;sentry/react)</summary>

### [`v8.52.0`](https://github.com/getsentry/sentry-javascript/releases/tag/8.52.0)

[Compare Source](getsentry/sentry-javascript@8.51.0...8.52.0)

##### Important Changes

-   **feat(solidstart): Add `withSentry` wrapper for SolidStart config ([#&#8203;15135](getsentry/sentry-javascript#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 '@&#8203;solidjs/start/config';
import { withSentry } from '@&#8203;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 ([#&#8203;15149](getsentry/sentry-javascript#15149))
-   feat(v8/core): Improve error formatting in ZodErrors integration ([#&#8203;15155](getsentry/sentry-javascript#15155))
-   fix(v8/bun): Ensure instrumentation of `Bun.serve` survives a server reload ([#&#8203;15157](getsentry/sentry-javascript#15157))
-   fix(v8/core): Pass `module` into `loadModule` ([#&#8203;15139](getsentry/sentry-javascript#15139)) ([#&#8203;15166](getsentry/sentry-javascript#15166))

Work in this release was contributed by [@&#8203;jahands](https://github.com/jahands), [@&#8203;jrandolf](https://github.com/jrandolf), and [@&#8203;nathankleyn](https://github.com/nathankleyn). Thank you for your contributions!

#### Bundle size 📦

| Path                                                             | Size              |
| ---------------------------------------------------------------- | ----------------- |
| [@&#8203;sentry/browser](https://github.com/sentry/browser)                                                  | 23.32 KB  |
| [@&#8203;sentry/browser](https://github.com/sentry/browser) - with treeshaking flags                         | 23.2 KB   |
| [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing)                                  | 35.88 KB  |
| [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay)                          | 73.23 KB  |
| [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay) - with treeshaking flags | 66.7 KB   |
| [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay with Canvas)              | 77.54 KB  |
| [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay, Feedback)                | 89.47 KB  |
| [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Feedback)                                 | 39.53 KB  |
| [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. sendFeedback)                             | 27.94 KB  |
| [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. FeedbackAsync)                            | 32.73 KB  |
| [@&#8203;sentry/react](https://github.com/sentry/react)                                                    | 26 KB     |
| [@&#8203;sentry/react](https://github.com/sentry/react) (incl. Tracing)                                    | 38.71 KB  |
| [@&#8203;sentry/vue](https://github.com/sentry/vue)                                                      | 27.6 KB   |
| [@&#8203;sentry/vue](https://github.com/sentry/vue) (incl. Tracing)                                      | 37.74 KB  |
| [@&#8203;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 |
| [@&#8203;sentry/nextjs](https://github.com/sentry/nextjs) (client)                                          | 38.96 KB  |
| [@&#8203;sentry/sveltekit](https://github.com/sentry/sveltekit) (client)                                       | 36.39 KB  |
| [@&#8203;sentry/node](https://github.com/sentry/node)                                                     | 162.87 KB |
| [@&#8203;sentry/node](https://github.com/sentry/node) - without tracing                                   | 99.18 KB  |
| [@&#8203;sentry/aws-serverless](https://github.com/sentry/aws-serverless)                                           | 126.69 KB |

</details>

---

### 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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMzguMiIsInVwZGF0ZWRJblZlciI6IjM5LjEzOC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Reviewed-on: https://git.tristess.app/alexandresoro/ouca-web/pulls/63
Reviewed-by: Alexandre Soro <[email protected]>
Co-authored-by: renovate <[email protected]>
Co-committed-by: renovate <[email protected]>
  • Loading branch information
renovate authored and alexandresoro committed Jan 28, 2025
1 parent e81d3e2 commit ddd9ba8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions bun.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -327,17 +327,17 @@

"@rollup/rollup-win32-x64-msvc": ["@rollup/[email protected]", "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/[email protected]", "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/[email protected]", "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=="],

Expand All @@ -357,9 +357,9 @@

"@sentry/cli-win32-x64": ["@sentry/[email protected]", "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/[email protected]", "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=="],

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ddd9ba8

Please sign in to comment.