Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump up @sentry/react version to v8 #6919

Merged
merged 1 commit into from
May 16, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 13, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/react (source) ^7.109.0 -> ^8.0.0 age adoption passing confidence

Release Notes

getsentry/sentry-javascript (@​sentry/react)

v8.0.0

Compare Source

Important Changes
  • feat(bun): Add Bun Global Unhandled Handlers (#​11960)

The Bun SDK will now capture global unhandled errors.

Other Changes
  • feat(node): Log process and thread info on initialisation (#​11972)
  • fix(aws-serverless): Include ESM artifacts in package (#​11973)
  • fix(browser): Only start http.client spans if there is an active parent span (#​11974)
  • fix(feedback): Improve CSS theme variable names and layout (#​11964)
  • fix(node): Ensure execArgv are not sent to worker threads (#​11963)
  • ref(feedback): Simplify feedback function params (#​11957)

v7.114.0

Compare Source

Important Changes
  • fix(browser/v7): Continuously record CLS (#​11935)

This release fixes a bug that caused the cumulative layout shift (CLS) web vital not to be reported in a majority of the
cases where it should have been reported. With this change, the CLS web vital should now always be reported for
pageloads with layout shift. If a pageload did not have layout shift, no CLS web vital should be reported.

Please note that upgrading the SDK to this version may cause data in your dashboards to drastically change.

Other Changes
  • build(aws-lambda/v7): Turn off lambda layer publishing (#​11875)
  • feat(v7): Add tunnel support to multiplexed transport (#​11851)
  • fix(opentelemetry-node): support HTTP_REQUEST_METHOD attribute (#​11929)
  • fix(react/v7): Fix react router v4/v5 span names (#​11940)

v7.113.0

Compare Source

Important Changes

This release adds support for Node 22! 🎉

It also adds prebuilt-binaries for Node 22 to @sentry/profiling-node.

Other Changes
  • feat(feedback): [v7] New feedback button design (#​11841)
  • feat(replay/v7): Upgrade rrweb packages to 2.15.0 (#​11752)
  • fix(ember/v7): Ensure unnecessary spans are avoided (#​11848)

v7.112.2

Compare Source

  • fix(nextjs|sveltekit): Ensure we can pass browserTracingIntegration (#​11765)

v7.112.1

Compare Source

  • fix(ember/v7): Do not create rendering spans without transaction (#​11750)

v7.112.0

Compare Source

Important Changes
  • feat: Export pluggable integrations from SDK packages (#​11723)

Instead of installing @sentry/integrations, you can now import the pluggable integrations directly from your SDK
package:

// Before
import * as Sentry fromv '@​sentry/browser';
import { dedupeIntegration } from '@​sentry/integrations';

Sentry.init({
  integrations: [dedupeIntegration()],
});

// After
import * as Sentry from '@​sentry/browser';

Sentry.init({
  integrations: [Sentry.dedupeIntegration()],
});

Note that only the functional integrations (e.g. xxxIntegration()) are re-exported.

Other Changes
  • feat(replay): Add "maxCanvasSize" option for replay canvases (#​11732)
  • fix(serverless): [v7] Check if cloud event callback is a function (#​11734)

Bundle size 📦

Path Size
@​sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.72 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.69 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.91 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.32 KB
@​sentry/browser (incl. Tracing) - Webpack (gzipped) 35.62 KB
@​sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.5 KB
@​sentry/browser (incl. Feedback) - Webpack (gzipped) 31.57 KB
@​sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.58 KB
@​sentry/browser - Webpack (gzipped) 22.78 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.9 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.27 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.02 KB
@​sentry/browser - ES6 CDN Bundle (gzipped) 25.28 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.25 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.01 KB
@​sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.79 KB
@​sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.3 KB
@​sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.18 KB
@​sentry/react - Webpack (gzipped) 22.81 KB
@​sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.01 KB
@​sentry/nextjs Client - Webpack (gzipped) 54.15 KB
@​sentry-internal/feedback - Webpack (gzipped) 17.32 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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label May 13, 2024
Copy link

graphite-app bot commented May 13, 2024

Your org has enabled the Graphite merge queue for merging into canary

Add the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

@github-actions github-actions bot added app:electron Related to electron app app:core labels May 13, 2024
Copy link

codecov bot commented May 13, 2024

Codecov Report

Attention: Patch coverage is 46.15385% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 66.64%. Comparing base (6d5d09b) to head (f37bbb0).

Files Patch % Lines
...d/server/src/fundamentals/metrics/opentelemetry.ts 62.50% 3 Missing ⚠️
.../components/affine/affine-error-boundary/index.tsx 0.00% 2 Missing ⚠️
...or-boundary/error-fallbacks/any-error-fallback.tsx 0.00% 1 Missing ⚠️
packages/frontend/core/src/router.tsx 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           canary    #6919      +/-   ##
==========================================
+ Coverage   66.57%   66.64%   +0.06%     
==========================================
  Files         582      582              
  Lines       27384    27389       +5     
  Branches     2572     2574       +2     
==========================================
+ Hits        18231    18253      +22     
+ Misses       8882     8864      -18     
- Partials      271      272       +1     
Flag Coverage Δ
server-test 77.43% <62.50%> (+0.09%) ⬆️
unittest 39.91% <20.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Brooooooklyn Brooooooklyn force-pushed the renovate/major-sentry-javascript-monorepo branch from 6d6324c to 262f149 Compare May 16, 2024 08:07
Copy link
Contributor Author

renovate bot commented May 16, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@Brooooooklyn Brooooooklyn force-pushed the renovate/major-sentry-javascript-monorepo branch from 262f149 to 7797ba9 Compare May 16, 2024 08:35
@Brooooooklyn Brooooooklyn force-pushed the renovate/major-sentry-javascript-monorepo branch 2 times, most recently from b1209d6 to c7d7dbd Compare May 16, 2024 09:42
Copy link

graphite-app bot commented May 16, 2024

Merge activity

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@sentry/react](https://togithub.com/getsentry/sentry-javascript/tree/master/packages/react) ([source](https://togithub.com/getsentry/sentry-javascript)) | [`^7.109.0` -> `^8.0.0`](https://renovatebot.com/diffs/npm/@sentry%2freact/7.111.0/8.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@sentry%2freact/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@sentry%2freact/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@sentry%2freact/7.111.0/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@sentry%2freact/7.111.0/8.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

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

### [`v8.0.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#800-rc3)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.114.0...8.0.0)

##### Important Changes

-   **feat(bun): Add Bun Global Unhandled Handlers ([#&#8203;11960](https://togithub.com/getsentry/sentry-javascript/issues/11960))**

The Bun SDK will now capture global unhandled errors.

##### Other Changes

-   feat(node): Log process and thread info on initialisation ([#&#8203;11972](https://togithub.com/getsentry/sentry-javascript/issues/11972))
-   fix(aws-serverless): Include ESM artifacts in package ([#&#8203;11973](https://togithub.com/getsentry/sentry-javascript/issues/11973))
-   fix(browser): Only start `http.client` spans if there is an active parent span ([#&#8203;11974](https://togithub.com/getsentry/sentry-javascript/issues/11974))
-   fix(feedback): Improve CSS theme variable names and layout ([#&#8203;11964](https://togithub.com/getsentry/sentry-javascript/issues/11964))
-   fix(node): Ensure `execArgv` are not sent to worker threads ([#&#8203;11963](https://togithub.com/getsentry/sentry-javascript/issues/11963))
-   ref(feedback): Simplify feedback function params ([#&#8203;11957](https://togithub.com/getsentry/sentry-javascript/issues/11957))

### [`v7.114.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.114.0)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.113.0...7.114.0)

##### Important Changes

-   **fix(browser/v7): Continuously record CLS ([#&#8203;11935](https://togithub.com/getsentry/sentry-javascript/issues/11935))**

This release fixes a bug that caused the cumulative layout shift (CLS) web vital not to be reported in a majority of the
cases where it should have been reported. With this change, the CLS web vital should now always be reported for
pageloads with layout shift. If a pageload did not have layout shift, no CLS web vital should be reported.

**Please note that upgrading the SDK to this version may cause data in your dashboards to drastically change.**

##### Other Changes

-   build(aws-lambda/v7): Turn off lambda layer publishing ([#&#8203;11875](https://togithub.com/getsentry/sentry-javascript/issues/11875))
-   feat(v7): Add `tunnel` support to multiplexed transport ([#&#8203;11851](https://togithub.com/getsentry/sentry-javascript/issues/11851))
-   fix(opentelemetry-node): support `HTTP_REQUEST_METHOD` attribute ([#&#8203;11929](https://togithub.com/getsentry/sentry-javascript/issues/11929))
-   fix(react/v7): Fix react router v4/v5 span names ([#&#8203;11940](https://togithub.com/getsentry/sentry-javascript/issues/11940))

### [`v7.113.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.113.0)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.2...7.113.0)

##### Important Changes

-   **feat(node): Support Node 22 ([#&#8203;11754](https://togithub.com/getsentry/sentry-javascript/issues/11754))**

This release adds support for Node 22! 🎉

It also adds prebuilt-binaries for Node 22 to `@sentry/profiling-node`.

##### Other Changes

-   feat(feedback): \[v7] New feedback button design ([#&#8203;11841](https://togithub.com/getsentry/sentry-javascript/issues/11841))
-   feat(replay/v7): Upgrade rrweb packages to 2.15.0 ([#&#8203;11752](https://togithub.com/getsentry/sentry-javascript/issues/11752))
-   fix(ember/v7): Ensure unnecessary spans are avoided ([#&#8203;11848](https://togithub.com/getsentry/sentry-javascript/issues/11848))

### [`v7.112.2`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.2)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.1...7.112.2)

-   fix(nextjs|sveltekit): Ensure we can pass `browserTracingIntegration` ([#&#8203;11765](https://togithub.com/getsentry/sentry-javascript/issues/11765))

### [`v7.112.1`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.1)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.112.0...7.112.1)

-   fix(ember/v7): Do not create rendering spans without transaction ([#&#8203;11750](https://togithub.com/getsentry/sentry-javascript/issues/11750))

### [`v7.112.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.112.0)

[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.111.0...7.112.0)

##### Important Changes

-   **feat: Export pluggable integrations from SDK packages ([#&#8203;11723](https://togithub.com/getsentry/sentry-javascript/issues/11723))**

Instead of installing `@sentry/integrations`, you can now import the pluggable integrations directly from your SDK
package:

```js
// Before
import * as Sentry fromv '@&#8203;sentry/browser';
import { dedupeIntegration } from '@&#8203;sentry/integrations';

Sentry.init({
  integrations: [dedupeIntegration()],
});

// After
import * as Sentry from '@&#8203;sentry/browser';

Sentry.init({
  integrations: [Sentry.dedupeIntegration()],
});
```

Note that only the functional integrations (e.g. `xxxIntegration()`) are re-exported.

##### Other Changes

-   feat(replay): Add "maxCanvasSize" option for replay canvases ([#&#8203;11732](https://togithub.com/getsentry/sentry-javascript/issues/11732))
-   fix(serverless): \[v7] Check if cloud event callback is a function ([#&#8203;11734](https://togithub.com/getsentry/sentry-javascript/issues/11734))

#### Bundle size 📦

| Path                                                                               | Size              |
| ---------------------------------------------------------------------------------- | ----------------- |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback) - Webpack (gzipped)              | 80.72 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped)                        | 71.69 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay with Canvas) - Webpack (gzipped)            | 75.91 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.32 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - Webpack (gzipped)                                | 35.62 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. browserTracingIntegration) - Webpack (gzipped)              | 35.5 KB   |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Feedback) - Webpack (gzipped)                               | 31.57 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. sendFeedback) - Webpack (gzipped)                           | 31.58 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) - Webpack (gzipped)                                                | 22.78 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped)       | 78.9 KB   |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)                 | 70.27 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (gzipped)                         | 36.02 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (gzipped)                                         | 25.28 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 221.25 KB |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)         | 109.01 KB |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (minified & uncompressed)                         | 75.79 KB  |
| [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES5 CDN Bundle (gzipped)                         | 39.3 KB   |
| [@&#8203;sentry/react](https://togithub.com/sentry/react) (incl. Tracing, Replay) - Webpack (gzipped)                          | 72.18 KB  |
| [@&#8203;sentry/react](https://togithub.com/sentry/react) - Webpack (gzipped)                                                  | 22.81 KB  |
| [@&#8203;sentry/nextjs](https://togithub.com/sentry/nextjs) Client (incl. Tracing, Replay) - Webpack (gzipped)                  | 90.01 KB  |
| [@&#8203;sentry/nextjs](https://togithub.com/sentry/nextjs) Client - Webpack (gzipped)                                          | 54.15 KB  |
| [@&#8203;sentry-internal/feedback](https://togithub.com/sentry-internal/feedback) - Webpack (gzipped)                                      | 17.32 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 these updates again.

---

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

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
@Brooooooklyn Brooooooklyn force-pushed the renovate/major-sentry-javascript-monorepo branch from 23617b1 to f37bbb0 Compare May 16, 2024 10:06
@graphite-app graphite-app bot merged commit f37bbb0 into canary May 16, 2024
32 checks passed
@graphite-app graphite-app bot deleted the renovate/major-sentry-javascript-monorepo branch May 16, 2024 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:core app:electron Related to electron app app:server dependencies Pull requests that update a dependency file
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

None yet

1 participant