Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Nov 15, 2023

Bumps scripts/update-javascript.sh from 7.80.0 to 7.81.1.

Auto-generated by a dependency updater.

Changelog

7.81.1

  • fix(astro): Remove method from span op (#9603)
  • fix(deno): Make sure files get published (#9611)
  • fix(nextjs): Use globalThis instead of global in edge runtime (#9612)
  • fix(node): Improve error handling and shutdown handling for ANR (#9548)
  • fix(tracing-internal): Fix case when originalURL contain query params (#9531)

Work in this release contributed by powerfulyang, LubomirIgonda1, joshkel, and alexgleason. Thank you for your contributions!

7.81.0

Important Changes

- feat(nextjs): Add instrumentation utility for server actions (#9553)

This release adds a utility function withServerActionInstrumentation to the sentry/nextjs SDK for instrumenting your Next.js server actions with error and performance monitoring.

You can optionally pass form data and headers to record them, and configure the wrapper to record the Server Action responses:

import * as Sentry from "sentry/nextjs";
import { headers } from "next/headers";

export default function ServerComponent() {
  async function myServerAction(formData: FormData) {
    "use server";
    return await Sentry.withServerActionInstrumentation(
      "myServerAction", // The name you want to associate this Server Action with in Sentry
      {
        formData, // Optionally pass in the form data
        headers: headers(), // Optionally pass in headers
        recordResponse: true, // Optionally record the server action response
      },
      async () => {
        // ... Your Server Action code

        return { name: "John Doe" };
      }
    );
  }

  return (
    <form action={myServerAction}>
      <input type="text" name="some-input-value" />
      <button type="submit">Run Action</button>
    </form>
  );
}

Other Changes

  • docs(feedback): Example docs on sendFeedback (#9560)
  • feat(feedback): Add level and remove breadcrumbs from feedback event (#9533)
  • feat(vercel-edge): Add fetch instrumentation (#9504)
  • feat(vue): Support Vue 3 lifecycle hooks in mixin options (#9578)
  • fix(nextjs): Download CLI binary if it can't be found (#9584)
  • ref: Deprecate extractTraceParentData from sentry/core & downstream packages (#9158)
  • ref(replay): Add further logging to network body parsing (#9566)

Work in this release contributed by snoozbuster. Thank you for your contribution!

7.80.1

  • fix(astro): Adjust Vite plugin config to upload server source maps (#9541)
  • fix(nextjs): Add tracing extensions in all serverside wrappers (#9537)
  • fix(nextjs): Fix serverside transaction names on Windows (#9526)
  • fix(node): Fix tRPC middleware typing (#9540)
  • fix(replay): Add additional safeguards for capturing network bodies (#9506)
  • fix(tracing): Update prisma span to be db.prisma (#9512)

@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Nov 15, 2023
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch from 2550273 to 6effdc3 Compare November 15, 2023 03:03
@github-actions
Copy link
Contributor Author

github-actions bot commented Nov 15, 2023

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 454.20 ms 480.30 ms 26.10 ms
Size 17.73 MiB 19.84 MiB 2.11 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
e5c9b8b 409.02 ms 426.66 ms 17.64 ms
d0bf494+dirty 375.37 ms 395.14 ms 19.77 ms
575f9da 415.26 ms 422.98 ms 7.72 ms
0db0c72 372.12 ms 386.00 ms 13.88 ms
e73f4ed+dirty 332.96 ms 354.33 ms 21.37 ms
acadc0f+dirty 373.24 ms 381.51 ms 8.27 ms
8900e1a+dirty 430.68 ms 456.13 ms 25.44 ms
3ffcddd 302.92 ms 315.80 ms 12.88 ms
d361d38 354.10 ms 381.69 ms 27.59 ms
f06c879 408.41 ms 424.54 ms 16.13 ms

App size

Revision Plain With Sentry Diff
e5c9b8b 17.73 MiB 19.83 MiB 2.10 MiB
d0bf494+dirty 17.73 MiB 19.75 MiB 2.02 MiB
575f9da 17.73 MiB 19.83 MiB 2.10 MiB
0db0c72 17.73 MiB 19.75 MiB 2.02 MiB
e73f4ed+dirty 17.73 MiB 20.04 MiB 2.31 MiB
acadc0f+dirty 17.73 MiB 19.75 MiB 2.01 MiB
8900e1a+dirty 17.73 MiB 19.75 MiB 2.01 MiB
3ffcddd 17.73 MiB 19.75 MiB 2.02 MiB
d361d38 17.73 MiB 19.81 MiB 2.08 MiB
f06c879 17.73 MiB 19.85 MiB 2.12 MiB

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

Startup times

Revision Plain With Sentry Diff
ac92119 437.77 ms 465.12 ms 27.35 ms
dd975cb 365.80 ms 365.90 ms 0.10 ms
6750c69+dirty 393.45 ms 434.06 ms 40.62 ms
d70b1d5 370.98 ms 385.73 ms 14.75 ms
de7c573 349.67 ms 369.54 ms 19.87 ms
6f9eae7 353.08 ms 360.29 ms 7.21 ms
45b1e94 405.26 ms 420.76 ms 15.50 ms
2f190d7 607.78 ms 643.92 ms 36.14 ms
8a5e51c 340.25 ms 347.10 ms 6.85 ms
0e781a5 323.60 ms 347.85 ms 24.26 ms

App size

Revision Plain With Sentry Diff
ac92119 17.73 MiB 19.86 MiB 2.12 MiB
dd975cb 17.73 MiB 19.84 MiB 2.10 MiB
6750c69+dirty 17.73 MiB 20.05 MiB 2.32 MiB
d70b1d5 17.73 MiB 19.83 MiB 2.10 MiB
de7c573 17.73 MiB 19.83 MiB 2.09 MiB
6f9eae7 17.73 MiB 19.76 MiB 2.02 MiB
45b1e94 17.73 MiB 19.85 MiB 2.12 MiB
2f190d7 17.73 MiB 19.85 MiB 2.12 MiB
8a5e51c 17.73 MiB 19.80 MiB 2.07 MiB
0e781a5 17.73 MiB 19.80 MiB 2.07 MiB

@github-actions
Copy link
Contributor Author

github-actions bot commented Nov 15, 2023

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 343.02 ms 383.42 ms 40.40 ms
Size 7.15 MiB 8.11 MiB 983.79 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
d0bf494+dirty 253.73 ms 308.23 ms 54.49 ms
3853f43+dirty 278.12 ms 338.72 ms 60.60 ms
e73f4ed+dirty 262.98 ms 311.02 ms 48.04 ms
9c48b2c+dirty 270.82 ms 321.12 ms 50.30 ms
27ef4ee+dirty 296.71 ms 351.00 ms 54.29 ms
6e8584e+dirty 383.37 ms 400.84 ms 17.47 ms
acadc0f+dirty 259.04 ms 304.67 ms 45.63 ms
8900e1a+dirty 371.40 ms 377.70 ms 6.31 ms
e2b64fe+dirty 258.82 ms 304.26 ms 45.44 ms
e5c9b8b+dirty 335.40 ms 360.06 ms 24.67 ms

App size

Revision Plain With Sentry Diff
d0bf494+dirty 7.15 MiB 8.04 MiB 910.85 KiB
3853f43+dirty 7.15 MiB 8.08 MiB 959.34 KiB
e73f4ed+dirty 7.15 MiB 8.09 MiB 965.94 KiB
9c48b2c+dirty 7.15 MiB 8.07 MiB 947.16 KiB
27ef4ee+dirty 7.15 MiB 8.08 MiB 959.49 KiB
6e8584e+dirty 7.15 MiB 8.13 MiB 1002.18 KiB
acadc0f+dirty 7.15 MiB 8.03 MiB 903.20 KiB
8900e1a+dirty 7.15 MiB 8.03 MiB 901.79 KiB
e2b64fe+dirty 7.15 MiB 8.07 MiB 947.16 KiB
e5c9b8b+dirty 7.15 MiB 8.10 MiB 980.41 KiB

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

Startup times

Revision Plain With Sentry Diff
45b1e94+dirty 337.71 ms 358.25 ms 20.54 ms
6750c69+dirty 277.10 ms 322.10 ms 45.00 ms
6f9eae7+dirty 346.26 ms 417.65 ms 71.40 ms
ac92119+dirty 361.96 ms 387.59 ms 25.63 ms
0e781a5+dirty 267.70 ms 357.64 ms 89.94 ms
d70b1d5+dirty 351.40 ms 383.04 ms 31.64 ms
de7c573+dirty 276.68 ms 349.70 ms 73.02 ms
8a5e51c+dirty 264.02 ms 308.77 ms 44.75 ms
60ceb06+dirty 282.59 ms 328.73 ms 46.14 ms
04349b0+dirty 333.83 ms 366.86 ms 33.02 ms

App size

Revision Plain With Sentry Diff
45b1e94+dirty 7.15 MiB 8.12 MiB 997.81 KiB
6750c69+dirty 7.15 MiB 8.10 MiB 971.75 KiB
6f9eae7+dirty 7.15 MiB 8.04 MiB 913.76 KiB
ac92119+dirty 7.15 MiB 8.13 MiB 1001.74 KiB
0e781a5+dirty 7.15 MiB 8.07 MiB 946.50 KiB
d70b1d5+dirty 7.15 MiB 8.10 MiB 979.85 KiB
de7c573+dirty 7.15 MiB 8.09 MiB 970.82 KiB
8a5e51c+dirty 7.15 MiB 8.07 MiB 947.35 KiB
60ceb06+dirty 7.15 MiB 8.05 MiB 923.49 KiB
04349b0+dirty 7.15 MiB 8.10 MiB 977.92 KiB

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch from 6effdc3 to 3f9d8eb Compare November 16, 2023 03:03
@github-actions
Copy link
Contributor Author

github-actions bot commented Nov 16, 2023

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1264.86 ms 1282.34 ms 17.48 ms
Size 2.36 MiB 2.87 MiB 519.72 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
d0bf494+dirty 1289.40 ms 1298.40 ms 9.00 ms
3853f43+dirty 1221.82 ms 1242.64 ms 20.82 ms
e73f4ed+dirty 1243.27 ms 1244.52 ms 1.25 ms
9c48b2c+dirty 1246.96 ms 1255.73 ms 8.77 ms
27ef4ee+dirty 1293.52 ms 1296.08 ms 2.56 ms
6e8584e+dirty 1274.50 ms 1296.82 ms 22.32 ms
acadc0f+dirty 1264.38 ms 1290.06 ms 25.68 ms
8900e1a+dirty 1210.27 ms 1218.66 ms 8.39 ms
e2b64fe+dirty 1232.22 ms 1255.20 ms 22.98 ms
e5c9b8b+dirty 1258.57 ms 1267.32 ms 8.75 ms

App size

Revision Plain With Sentry Diff
d0bf494+dirty 2.36 MiB 2.83 MiB 481.15 KiB
3853f43+dirty 2.36 MiB 2.85 MiB 499.81 KiB
e73f4ed+dirty 2.36 MiB 2.82 MiB 469.44 KiB
9c48b2c+dirty 2.36 MiB 2.85 MiB 495.77 KiB
27ef4ee+dirty 2.36 MiB 2.85 MiB 500.03 KiB
6e8584e+dirty 2.36 MiB 2.88 MiB 533.17 KiB
acadc0f+dirty 2.36 MiB 2.83 MiB 480.37 KiB
8900e1a+dirty 2.36 MiB 2.83 MiB 479.25 KiB
e2b64fe+dirty 2.36 MiB 2.85 MiB 495.80 KiB
e5c9b8b+dirty 2.36 MiB 2.87 MiB 520.43 KiB

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

Startup times

Revision Plain With Sentry Diff
45b1e94+dirty 1247.84 ms 1262.72 ms 14.88 ms
6750c69+dirty 1242.69 ms 1256.00 ms 13.31 ms
6f9eae7+dirty 1266.06 ms 1271.48 ms 5.42 ms
ac92119+dirty 1251.82 ms 1264.60 ms 12.78 ms
0e781a5+dirty 1244.59 ms 1256.72 ms 12.13 ms
d70b1d5+dirty 1246.45 ms 1271.20 ms 24.75 ms
de7c573+dirty 1263.92 ms 1268.14 ms 4.22 ms
8a5e51c+dirty 1275.38 ms 1307.88 ms 32.49 ms
60ceb06+dirty 1230.88 ms 1250.42 ms 19.54 ms
04349b0+dirty 1273.22 ms 1281.90 ms 8.68 ms

App size

Revision Plain With Sentry Diff
45b1e94+dirty 2.36 MiB 2.88 MiB 530.45 KiB
6750c69+dirty 2.36 MiB 2.83 MiB 477.50 KiB
6f9eae7+dirty 2.36 MiB 2.84 MiB 489.62 KiB
ac92119+dirty 2.36 MiB 2.88 MiB 532.98 KiB
0e781a5+dirty 2.36 MiB 2.85 MiB 495.46 KiB
d70b1d5+dirty 2.36 MiB 2.87 MiB 520.36 KiB
de7c573+dirty 2.36 MiB 2.86 MiB 512.62 KiB
8a5e51c+dirty 2.36 MiB 2.85 MiB 495.71 KiB
60ceb06+dirty 2.36 MiB 2.85 MiB 495.35 KiB
04349b0+dirty 2.36 MiB 2.83 MiB 480.92 KiB

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch from 3f9d8eb to df16bc9 Compare November 17, 2023 09:11
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v7.80.1 chore(deps): update JavaScript SDK to v7.81.0 Nov 21, 2023
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch from df16bc9 to 9fe0be7 Compare November 21, 2023 03:03
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v7.81.0 chore(deps): update JavaScript SDK to v7.81.1 Nov 21, 2023
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch from 9fe0be7 to 1f1b4c8 Compare November 21, 2023 15:12
Copy link
Contributor

@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 3931899 into main Nov 21, 2023
@krystofwoldrich krystofwoldrich deleted the deps/scripts/update-javascript.sh branch November 21, 2023 15:15
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.

3 participants