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(deps): update JavaScript SDK to v7.46.0 #2946

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

github-actions[bot]
Copy link
Contributor

Bumps scripts/update-javascript.sh from 7.45.0 to 7.46.0.

Auto-generated by a dependency updater.

Changelog

7.46.0

Important Changes

  • feat(sveltekit): Add Performance Monitoring for SvelteKit
    • feat(sveltekit): Add meta tag for backend -> frontend (#7574)
    • fix(sveltekit): Explicitly export Node SDK exports (#7644)
    • fix(sveltekit): Handle nested server calls in sentryHandle (#7598)
    • ref(sveltekit): Split up universal and server load wrappers (#7652)

This release adds support for Performance Monitoring in our SvelteKit SDK for the client/server. We've also changed how you should initialize your SDK. Please read our updated SvelteKit README instructions for more details.

  • feat(core): Add ignoreTransactions option (#7594)

You can now easily filter out certain transactions from being sent to Sentry based on their name.

Sentry.init({
  ignoreTransactions: ['/api/healthcheck', '/ping'],
})
  • feat(node): Undici integration (#7582)
    • feat(nextjs): Add Undici integration automatically (#7648)
    • feat(sveltekit): Add Undici integration by default (#7650)

We've added an integration that automatically instruments Undici and Node server side fetch. This supports Undici v4.7.0 or higher and requires Node v16.7.0 or higher. After adding the integration outgoing requests made by Undici will have associated spans and breadcrumbs in Sentry.

Sentry.init({
  integrations: [new Sentry.Integrations.Undici()],
})

In our Next.js and SvelteKit SDKs, this integration is automatically added.

  • feat(node): Add Sentry tRPC middleware (#7511)

We've added a new middleware for trpc that automatically adds TRPC information to Sentry transactions. This middleware is meant to be used in combination with a Sentry server integration (Next.js, Express, etc).

import { initTRPC } from 'trpc/server';
import * as Sentry from 'sentry/node';

const t = initTRPC.context().create();
const sentryMiddleware = t.middleware(
  Sentry.Handlers.trpcMiddleware({
    attachRpcInput: true,
  }),
);

const sentrifiedProcedure = t.procedure.use(sentryMiddleware);
  • feat(tracing): Remove requirement for sentry/tracing package

With 7.46.0 you no longer require the sentry/tracing package to use tracing and performance monitoring with the Sentry JavaScript SDKs. The sentry/tracing package will be removed in a future major release, but can still be used with no changes.

Please see the Migration docs for more details.

  • fix(node): Convert debugging code to callbacks to fix memory leak in LocalVariables integration (#7637)

This fixes a memory leak in the opt-in LocalVariables integration, which adds local variables to the stacktraces sent to Sentry. The minimum recommended version to use the LocalVariables is now 7.46.0.

Additional Features and Fixes

  • feat(node): Auto discovery only returns integrations where dependency loads (#7603)
  • feat(node): Sanitize URLs in Span descriptions and breadcrumbs (PII) (#7667)
  • feat(replay): Add responseStatus, decodedBodySize to perf entries (#7613)
  • feat(replay): Add experiment to capture request/response bodies (#7589)
  • feat(replay): Capture replay mutation breadcrumbs & add experiment (#7568)
  • feat(tracing): Ensure pageload transaction starts at timeOrigin (#7632)
  • fix(core): Remove abs_path from stack trace (reverting #7167) (#7623)
  • fix(nextjs): Add loading component type to server component wrapping (#7639)
  • fix(nextjs): Don't report NEXT_NOT_FOUND and NEXT_REDIRECT errors (#7642)
  • fix(nextjs): Rewrite abs_path frames (#7619)
  • fix(nextjs): Show errors and warnings only once during build (#7651)
  • fix(nextjs): Use Next.js internal AsyncStorage (#7630)
  • fix(nextjs): Gracefully handle undefined beforeFiles in rewrites (#7649)

Work in this release contributed by aldenquimby and bertho-zero. Thank you for your contributions!

@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Mar 31, 2023
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch from c2f6022 to 0e6b5f7 Compare March 31, 2023 03:04
@github-actions
Copy link
Contributor Author

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 366.70 ms 375.42 ms 8.72 ms
Size 17.73 MiB 19.75 MiB 2.01 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
e73f4ed+dirty 332.96 ms 354.33 ms 21.37 ms
8900e1a+dirty 430.68 ms 456.13 ms 25.44 ms
86d6d2c+dirty 332.90 ms 352.45 ms 19.55 ms
76d1baf+dirty 335.72 ms 355.52 ms 19.80 ms
9a3ca65+dirty 326.93 ms 330.14 ms 3.21 ms
52a8031+dirty 311.55 ms 321.37 ms 9.82 ms
70caa60+dirty 299.00 ms 321.02 ms 22.02 ms
15c80ab+dirty 336.27 ms 350.58 ms 14.31 ms
d197b5c+dirty 338.94 ms 354.87 ms 15.93 ms

App size

Revision Plain With Sentry Diff
e73f4ed+dirty 17.73 MiB 20.04 MiB 2.31 MiB
8900e1a+dirty 17.73 MiB 19.75 MiB 2.01 MiB
86d6d2c+dirty 17.73 MiB 20.04 MiB 2.31 MiB
76d1baf+dirty 17.73 MiB 20.04 MiB 2.31 MiB
9a3ca65+dirty 17.73 MiB 20.04 MiB 2.31 MiB
52a8031+dirty 17.73 MiB 20.04 MiB 2.31 MiB
70caa60+dirty 17.73 MiB 19.75 MiB 2.01 MiB
15c80ab+dirty 17.73 MiB 20.04 MiB 2.31 MiB
d197b5c+dirty 17.73 MiB 20.04 MiB 2.31 MiB

Previous results on branch: deps/scripts/update-javascript.sh

Startup times

Revision Plain With Sentry Diff
04349b0+dirty 347.00 ms 354.78 ms 7.78 ms
6750c69+dirty 393.45 ms 434.06 ms 40.62 ms

App size

Revision Plain With Sentry Diff
04349b0+dirty 17.73 MiB 20.06 MiB 2.32 MiB
6750c69+dirty 17.73 MiB 20.05 MiB 2.32 MiB

@github-actions
Copy link
Contributor Author

github-actions bot commented Mar 31, 2023

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 331.88 ms 348.53 ms 16.66 ms
Size 7.15 MiB 8.03 MiB 905.18 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
d197b5c+dirty 258.75 ms 313.61 ms 54.86 ms
acadc0f+dirty 259.04 ms 304.67 ms 45.63 ms
70caa60+dirty 308.83 ms 393.06 ms 84.23 ms
52a8031+dirty 330.72 ms 358.76 ms 28.03 ms
15c80ab+dirty 276.38 ms 327.54 ms 51.17 ms
9a3ca65+dirty 344.96 ms 358.92 ms 13.96 ms
76d1baf+dirty 339.02 ms 408.65 ms 69.63 ms
8900e1a+dirty 371.40 ms 377.70 ms 6.31 ms
e73f4ed+dirty 262.98 ms 311.02 ms 48.04 ms
86d6d2c+dirty 267.21 ms 325.24 ms 58.04 ms

App size

Revision Plain With Sentry Diff
d197b5c+dirty 7.15 MiB 8.09 MiB 962.72 KiB
acadc0f+dirty 7.15 MiB 8.03 MiB 903.20 KiB
70caa60+dirty 7.15 MiB 8.03 MiB 901.79 KiB
52a8031+dirty 7.15 MiB 8.09 MiB 965.95 KiB
15c80ab+dirty 7.15 MiB 8.09 MiB 966.13 KiB
9a3ca65+dirty 7.15 MiB 8.09 MiB 962.83 KiB
76d1baf+dirty 7.15 MiB 8.09 MiB 964.41 KiB
8900e1a+dirty 7.15 MiB 8.03 MiB 901.79 KiB
e73f4ed+dirty 7.15 MiB 8.09 MiB 965.94 KiB
86d6d2c+dirty 7.15 MiB 8.09 MiB 962.69 KiB

Previous results on branch: deps/scripts/update-javascript.sh

Startup times

Revision Plain With Sentry Diff
04349b0+dirty 333.83 ms 366.86 ms 33.02 ms
6750c69+dirty 277.10 ms 322.10 ms 45.00 ms

App size

Revision Plain With Sentry Diff
04349b0+dirty 7.15 MiB 8.10 MiB 977.92 KiB
6750c69+dirty 7.15 MiB 8.10 MiB 971.75 KiB

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch from 0e6b5f7 to ad1b1a3 Compare March 31, 2023 10:39
@github-actions
Copy link
Contributor Author

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1247.59 ms 1269.57 ms 21.98 ms
Size 2.92 MiB 3.40 MiB 488.12 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
d197b5c+dirty 1234.80 ms 1249.20 ms 14.40 ms
acadc0f+dirty 1271.12 ms 1272.28 ms 1.16 ms
70caa60+dirty 1279.08 ms 1281.54 ms 2.46 ms
52a8031+dirty 1255.96 ms 1273.00 ms 17.04 ms
15c80ab+dirty 1248.41 ms 1251.24 ms 2.83 ms
9a3ca65+dirty 1276.40 ms 1279.14 ms 2.74 ms
76d1baf+dirty 1245.00 ms 1257.76 ms 12.76 ms
8900e1a+dirty 1268.36 ms 1273.04 ms 4.68 ms
e73f4ed+dirty 1282.90 ms 1309.30 ms 26.40 ms
86d6d2c+dirty 1291.62 ms 1296.80 ms 5.18 ms

App size

Revision Plain With Sentry Diff
d197b5c+dirty 2.92 MiB 3.37 MiB 464.41 KiB
acadc0f+dirty 2.92 MiB 3.39 MiB 487.34 KiB
70caa60+dirty 2.92 MiB 3.39 MiB 486.04 KiB
52a8031+dirty 2.92 MiB 3.38 MiB 475.71 KiB
15c80ab+dirty 2.92 MiB 3.39 MiB 481.56 KiB
9a3ca65+dirty 2.92 MiB 3.37 MiB 464.32 KiB
76d1baf+dirty 2.92 MiB 3.38 MiB 475.74 KiB
8900e1a+dirty 2.92 MiB 3.39 MiB 485.96 KiB
e73f4ed+dirty 2.92 MiB 3.38 MiB 475.71 KiB
86d6d2c+dirty 2.92 MiB 3.37 MiB 464.31 KiB

Previous results on branch: deps/scripts/update-javascript.sh

Startup times

Revision Plain With Sentry Diff
04349b0+dirty 1241.88 ms 1258.20 ms 16.32 ms
6750c69+dirty 1285.45 ms 1285.86 ms 0.41 ms

App size

Revision Plain With Sentry Diff
04349b0+dirty 2.92 MiB 3.40 MiB 487.96 KiB
6750c69+dirty 2.92 MiB 3.39 MiB 484.54 KiB

Copy link
Member

@krystofwoldrich krystofwoldrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@krystofwoldrich krystofwoldrich merged commit 99d941d into main Mar 31, 2023
@krystofwoldrich krystofwoldrich deleted the deps/scripts/update-javascript.sh branch March 31, 2023 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants