Open renovate[bot] opened 3 months ago
This analysis was generated by the Next.js Bundle Analysis action. 🤖
The following pages changed size from the code in this PR compared to its base branch:
Page | Size (compressed) | First Load | % of Budget (350 KB ) |
---|---|---|---|
/[page] |
52.82 KB |
255.1 KB | 72.89% (+/- <0.01%) |
/_error |
6.04 KB |
208.32 KB | 59.52% (🟡 +0.01%) |
/friends |
58.16 KB |
260.44 KB | 74.41% (🟡 +0.01%) |
/notes/[id] |
75.67 KB |
277.95 KB | 79.42% (+/- <0.01%) |
/posts/[category]/[slug] |
80 KB |
282.27 KB | 80.65% (🟡 +0.01%) |
/preview |
56.66 KB |
258.94 KB | 73.98% (🟡 +0.01%) |
/projects/[id] |
51.98 KB |
254.26 KB | 72.65% (+/- <0.01%) |
/recently |
97.26 KB |
299.53 KB | 85.58% (🟡 +0.01%) |
Only the gzipped size is provided here based on an expert tip.
First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link
is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.
Any third party scripts you have added directly to your app using the <script>
tag are not accounted for in this analysis
The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.
This PR contains the following updates:
7.74.1
->7.77.0
GitHub Vulnerability Alerts
CVE-2023-46729
Impact
An unsanitized input of Next.js SDK tunnel endpoint allows sending HTTP requests to arbitrary URLs and reflecting the response back to the user. This could open door for other attack vectors:
This issue only affects users who have Next.js SDK tunneling feature enabled.
Patches
The problem has been fixed in sentry/nextjs@7.77.0
Workarounds
Disable tunneling by removing the
tunnelRoute
option from Sentry Next.js SDK config —next.config.js
ornext.config.mjs
.References
Credits
Release Notes
getsentry/sentry-javascript (@sentry/nextjs)
### [`v7.77.0`](https://redirect.github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7770) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/7.76.0...7.77.0) - feat: Move LinkedErrors integration to [@sentry/core](https://redirect.github.com/sentry/core) ([#9404](https://redirect.github.com/getsentry/sentry-javascript/issues/9404)) - feat(remix): Update sentry-cli version to ^2.21.2 ([#9401](https://redirect.github.com/getsentry/sentry-javascript/issues/9401)) - feat(replay): Allow to treeshake & configure compression worker URL ([#9409](https://redirect.github.com/getsentry/sentry-javascript/issues/9409)) - fix(angular-ivy): Adjust package entry points to support Angular 17 with SSR config ([#9412](https://redirect.github.com/getsentry/sentry-javascript/issues/9412)) - fix(feedback): Fixing feedback import ([#9403](https://redirect.github.com/getsentry/sentry-javascript/issues/9403)) - fix(nextjs): Match only numbers as orgid in tunnelRoute ([#9416](https://redirect.github.com/getsentry/sentry-javascript/issues/9416)) - fix(nextjs): Strictly validate tunnel target parameters ([#9415](https://redirect.github.com/getsentry/sentry-javascript/issues/9415)) - fix(utils): Avoid keeping a reference of last used event ([#9387](https://redirect.github.com/getsentry/sentry-javascript/issues/9387)) ### [`v7.76.0`](https://redirect.github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7760) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/7.75.1...7.76.0) ##### Important Changes - **feat(core): Add cron monitor wrapper helper ([#9395](https://redirect.github.com/getsentry/sentry-javascript/issues/9395))** This release adds `Sentry.withMonitor()`, a wrapping function that wraps a callback with a cron monitor that will automatically report completions and failures: ```ts import * as Sentry from '@sentry/node'; // withMonitor() will send checkin when callback is started/finished // works with async and sync callbacks. const result = Sentry.withMonitor( 'dailyEmail', () => { // withCheckIn return value is same return value here return sendEmail(); }, // Optional upsert options { schedule: { type: 'crontab', value: '0 * * * *', }, // 🇨🇦🫡 timezone: 'Canada/Eastern', }, ); ``` ##### Other Changes - chore(angular-ivy): Allow Angular 17 in peer dependencies ([#9386](https://redirect.github.com/getsentry/sentry-javascript/issues/9386)) - feat(nextjs): Instrument SSR page components ([#9346](https://redirect.github.com/getsentry/sentry-javascript/issues/9346)) - feat(nextjs): Trace errors in page component SSR ([#9388](https://redirect.github.com/getsentry/sentry-javascript/issues/9388)) - fix(nextjs): Instrument route handlers with `jsx` and `tsx` file extensions ([#9362](https://redirect.github.com/getsentry/sentry-javascript/issues/9362)) - fix(nextjs): Trace with performance disabled ([#9389](https://redirect.github.com/getsentry/sentry-javascript/issues/9389)) - fix(replay): Ensure `replay_id` is not added to DSC if session expired ([#9359](https://redirect.github.com/getsentry/sentry-javascript/issues/9359)) - fix(replay): Remove unused parts of pako from build ([#9369](https://redirect.github.com/getsentry/sentry-javascript/issues/9369)) - fix(serverless): Don't mark all errors as unhandled ([#9368](https://redirect.github.com/getsentry/sentry-javascript/issues/9368)) - fix(tracing-internal): Fix case when middleware contain array of routes with special chars as @ ([#9375](https://redirect.github.com/getsentry/sentry-javascript/issues/9375)) - meta(nextjs): Bump peer deps for Next.js 14 ([#9390](https://redirect.github.com/getsentry/sentry-javascript/issues/9390)) Work in this release contributed by [@LubomirIgonda1](https://redirect.github.com/LubomirIgonda1). Thank you for your contribution! ### [`v7.75.1`](https://redirect.github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7751) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/7.75.0...7.75.1) - feat(browser): Allow collecting of pageload profiles ([#9317](https://redirect.github.com/getsentry/sentry-javascript/issues/9317)) - fix(browser): Correct timestamp on pageload profiles ([#9350](https://redirect.github.com/getsentry/sentry-javascript/issues/9350)) - fix(nextjs): Use webpack plugin release value to inject release ([#9348](https://redirect.github.com/getsentry/sentry-javascript/issues/9348)) ### [`v7.75.0`](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/7.75.0) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/7.74.1...7.75.0) ##### Important Changes - **feat(opentelemetry): Add new `@sentry/opentelemetry` package ([#9238](https://redirect.github.com/getsentry/sentry-javascript/issues/9238))** This release publishes a new package, `@sentry/opentelemetry`. This is a runtime agnostic replacement for `@sentry/opentelemetry-node` and exports a couple of useful utilities which can be used to use Sentry together with OpenTelemetry. You can read more about [@sentry/opentelemetry in the Readme](https://redirect.github.com/getsentry/sentry-javascript/tree/develop/packages/opentelemetry). - **feat(replay): Allow to treeshake rrweb features ([#9274](https://redirect.github.com/getsentry/sentry-javascript/issues/9274))** Starting with this release, you can configure the following build-time flags in order to reduce the SDK bundle size: - `__RRWEB_EXCLUDE_CANVAS__` - `__RRWEB_EXCLUDE_IFRAME__` - `__RRWEB_EXCLUDE_SHADOW_DOM__` You can read more about [tree shaking in our docs](https://docs.sentry.io/platforms/javascript/configuration/tree-shaking/). ##### Other Changes - build(deno): Prepare Deno SDK for release on npm ([#9281](https://redirect.github.com/getsentry/sentry-javascript/issues/9281)) - feat: Remove tslib ([#9299](https://redirect.github.com/getsentry/sentry-javascript/issues/9299)) - feat(node): Add abnormal session support for ANR ([#9268](https://redirect.github.com/getsentry/sentry-javascript/issues/9268)) - feat(node): Remove `lru_map` dependency ([#9300](https://redirect.github.com/getsentry/sentry-javascript/issues/9300)) - feat(node): Vendor `cookie` module ([#9308](https://redirect.github.com/getsentry/sentry-javascript/issues/9308)) - feat(replay): Share performance instrumentation with tracing ([#9296](https://redirect.github.com/getsentry/sentry-javascript/issues/9296)) - feat(types): Add missing Profiling types (macho debug image, profile measurements, stack frame properties) ([#9277](https://redirect.github.com/getsentry/sentry-javascript/issues/9277)) - feat(types): Add statsd envelope types ([#9304](https://redirect.github.com/getsentry/sentry-javascript/issues/9304)) - fix(astro): Add integration default export to types entry point ([#9337](https://redirect.github.com/getsentry/sentry-javascript/issues/9337)) - fix(astro): Convert SDK init file import paths to POSIX paths ([#9336](https://redirect.github.com/getsentry/sentry-javascript/issues/9336)) - fix(astro): Make `Replay` and `BrowserTracing` integrations tree-shakeable ([#9287](https://redirect.github.com/getsentry/sentry-javascript/issues/9287)) - fix(integrations): Fix transaction integration ([#9334](https://redirect.github.com/getsentry/sentry-javascript/issues/9334)) - fix(nextjs): Restore `autoInstrumentMiddleware` functionality ([#9323](https://redirect.github.com/getsentry/sentry-javascript/issues/9323)) - fix(nextjs): Guard for case where `getInitialProps` may return undefined ([#9342](https://redirect.github.com/getsentry/sentry-javascript/issues/9342)) - fix(node-experimental): Make node-fetch support optional ([#9321](https://redirect.github.com/getsentry/sentry-javascript/issues/9321)) - fix(node): Check buffer length when attempting to parse ANR frame ([#9314](https://redirect.github.com/getsentry/sentry-javascript/issues/9314)) - fix(replay): Fix xhr start timestamps ([#9341](https://redirect.github.com/getsentry/sentry-javascript/issues/9341)) - fix(tracing-internal): Remove query params from urls with a trailing slash ([#9328](https://redirect.github.com/getsentry/sentry-javascript/issues/9328)) - fix(types): Remove typo with CheckInEnvelope ([#9303](https://redirect.github.com/getsentry/sentry-javascript/issues/9303)) #### Bundle size 📦 | Path | Size | | ---------------------------------------------------------------------------------- | ----------------- | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped) | 82.66 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 71.77 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing) - Webpack (gzipped) | 30.94 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) - Webpack (gzipped) | 21.26 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 73.03 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (gzipped) | 28.93 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) - ES6 CDN Bundle (gzipped) | 21.09 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 233.81 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 87.77 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) - ES6 CDN Bundle (minified & uncompressed) | 62.76 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing) - ES5 CDN Bundle (gzipped) | 31.71 KB | | [@sentry/react](https://redirect.github.com/sentry/react) (incl. Tracing, Replay) - Webpack (gzipped) | 83.05 KB | | [@sentry/react](https://redirect.github.com/sentry/react) - Webpack (gzipped) | 21.29 KB | | [@sentry/nextjs](https://redirect.github.com/sentry/nextjs) Client (incl. Tracing, Replay) - Webpack (gzipped) | 99.43 KB | | [@sentry/nextjs](https://redirect.github.com/sentry/nextjs) Client - Webpack (gzipped) | 47.83 KB |Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.