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

Merged
merged 6 commits into from
Sep 14, 2023

Conversation

github-actions[bot]
Copy link
Contributor

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

Bumps scripts/update-javascript.sh from 7.68.0 to 7.69.0.

Auto-generated by a dependency updater.

Changelog

7.69.0

Important Changes

  • New Performance APIs
    • feat: Update span performance API names (#8971)
    • feat(core): Introduce startSpanManual (#8913)

This release introduces a new set of top level APIs for the Performance Monitoring SDKs. These aim to simplify creating spans and reduce the boilerplate needed for performance instrumentation. The three new methods introduced are Sentry.startSpan, Sentry.startInactiveSpan, and Sentry.startSpanManual. These methods are available in the browser and node SDKs.

Sentry.startSpan wraps a callback in a span. The span is automatically finished when the callback returns. This is the recommended way to create spans.

// Start a span that tracks the duration of expensiveFunction
const result = Sentry.startSpan({ name: 'important function' }, () => {
  return expensiveFunction();
});

// You can also mutate the span wrapping the callback to set data or status
Sentry.startSpan({ name: 'important function' }, (span) => {
  // span is undefined if performance monitoring is turned off or if
  // the span was not sampled. This is done to reduce overhead.
  span?.setData('version', '1.0.0');
  return expensiveFunction();
});

If you don't want the span to finish when the callback returns, use Sentry.startSpanManual to control when the span is finished. This is useful for event emitters or similar.

// Start a span that tracks the duration of middleware
function middleware(_req, res, next) {
  return Sentry.startSpanManual({ name: 'middleware' }, (span, finish) => {
    res.once('finish', () => {
      span?.setHttpStatus(res.status);
      finish();
    });
    return next();
  });
}

Sentry.startSpan and Sentry.startSpanManual create a span and make it active for the duration of the callback. Any spans created while this active span is running will be added as a child span to it. If you want to create a span without making it active, use Sentry.startInactiveSpan. This is useful for creating parallel spans that are not related to each other.

const span1 = Sentry.startInactiveSpan({ name: 'span1' });

someWork();

const span2 = Sentry.startInactiveSpan({ name: 'span2' });

moreWork();

const span3 = Sentry.startInactiveSpan({ name: 'span3' });

evenMoreWork();

span1?.finish();
span2?.finish();
span3?.finish();

Other Changes

  • feat(core): Export BeforeFinishCallback type (#8999)
  • build(eslint): Enforce that ts-expect-error is used (#8987)
  • feat(integration): Ensure LinkedErrors integration runs before all event processors (#8956)
  • feat(node-experimental): Keep breadcrumbs on transaction (#8967)
  • feat(redux): Add 'attachReduxState' option (#8953)
  • feat(remix): Accept org, project and url as args to upload script (#8985)
  • fix(utils): Prevent iterating over VueViewModel (#8981)
  • fix(utils): uuidv4 fix for cloudflare (#8968)
  • fix(core): Always use event message and exception values for ignoreErrors (#8986)
  • fix(nextjs): Add new potential location for Next.js request AsyncLocalStorage (#9006)
  • fix(node-experimental): Ensure we only create HTTP spans when outgoing (#8966)
  • fix(node-experimental): Ignore OPTIONS & HEAD requests (#9001)
  • fix(node-experimental): Ignore outgoing Sentry requests (#8994)
  • fix(node-experimental): Require parent span for pg spans (#8993)
  • fix(node-experimental): Use Sentry logger as Otel logger (#8960)
  • fix(node-otel): Refactor OTEL span reference cleanup (#9000)
  • fix(react): Switch to props in useRoutes (#8998)
  • fix(remix): Add glob to Remix SDK dependencies. (#8963)
  • fix(replay): Ensure handleRecordingEmit aborts when event is not added (#8938)
  • fix(replay): Fully stop & restart session when it expires (#8834)

Work in this release contributed by Duncanxyz and malay44. Thank you for your contributions!

@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Aug 15, 2023
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch from 7b2b747 to a6b64c5 Compare August 15, 2023 03:03
@github-actions
Copy link
Contributor Author

github-actions bot commented Aug 15, 2023

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 393.92 ms 422.54 ms 28.62 ms
Size 17.73 MiB 19.83 MiB 2.10 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
e2b64fe 316.88 ms 330.23 ms 13.35 ms
86d6d2c+dirty 332.90 ms 352.45 ms 19.55 ms
d7401ac+dirty 375.20 ms 383.51 ms 8.31 ms
76d1baf+dirty 335.72 ms 355.52 ms 19.80 ms
dadc233+dirty 333.78 ms 343.94 ms 10.16 ms
3853f43 329.68 ms 346.32 ms 16.64 ms
3ffcddd 302.92 ms 315.80 ms 12.88 ms
e73f4ed+dirty 332.96 ms 354.33 ms 21.37 ms
0db0c72 372.12 ms 386.00 ms 13.88 ms
8900e1a+dirty 430.68 ms 456.13 ms 25.44 ms

App size

Revision Plain With Sentry Diff
e2b64fe 17.73 MiB 19.80 MiB 2.07 MiB
86d6d2c+dirty 17.73 MiB 20.04 MiB 2.31 MiB
d7401ac+dirty 17.73 MiB 19.75 MiB 2.02 MiB
76d1baf+dirty 17.73 MiB 20.04 MiB 2.31 MiB
dadc233+dirty 17.73 MiB 19.75 MiB 2.02 MiB
3853f43 17.73 MiB 19.81 MiB 2.08 MiB
3ffcddd 17.73 MiB 19.75 MiB 2.02 MiB
e73f4ed+dirty 17.73 MiB 20.04 MiB 2.31 MiB
0db0c72 17.73 MiB 19.75 MiB 2.02 MiB
8900e1a+dirty 17.73 MiB 19.75 MiB 2.01 MiB

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

Startup times

Revision Plain With Sentry Diff
98fe518+dirty 334.39 ms 349.35 ms 14.96 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
5eab2fa 334.02 ms 351.58 ms 17.56 ms
04349b0+dirty 347.00 ms 354.78 ms 7.78 ms
8a5e51c 340.25 ms 347.10 ms 6.85 ms
0e781a5 323.60 ms 347.85 ms 24.26 ms
60ceb06 329.83 ms 336.19 ms 6.36 ms
6f9eae7 353.08 ms 360.29 ms 7.21 ms

App size

Revision Plain With Sentry Diff
98fe518+dirty 17.73 MiB 19.75 MiB 2.02 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
5eab2fa 17.73 MiB 19.76 MiB 2.02 MiB
04349b0+dirty 17.73 MiB 20.06 MiB 2.32 MiB
8a5e51c 17.73 MiB 19.80 MiB 2.07 MiB
0e781a5 17.73 MiB 19.80 MiB 2.07 MiB
60ceb06 17.73 MiB 19.77 MiB 2.03 MiB
6f9eae7 17.73 MiB 19.76 MiB 2.02 MiB

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch 2 times, most recently from fe458cc to 9eb5a2a Compare August 18, 2023 09:55
@github-actions
Copy link
Contributor Author

github-actions bot commented Aug 18, 2023

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1239.55 ms 1251.20 ms 11.65 ms
Size 2.36 MiB 2.87 MiB 520.35 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
86d6d2c+dirty 1267.55 ms 1286.21 ms 18.66 ms
d7401ac+dirty 1252.38 ms 1275.04 ms 22.66 ms
76d1baf+dirty 1244.10 ms 1268.52 ms 24.42 ms
e2b64fe+dirty 1232.22 ms 1255.20 ms 22.98 ms
ad6c299+dirty 1244.76 ms 1260.10 ms 15.34 ms
dadc233+dirty 1223.20 ms 1236.88 ms 13.68 ms
27ef4ee+dirty 1293.52 ms 1296.08 ms 2.56 ms
3853f43+dirty 1221.82 ms 1242.64 ms 20.82 ms
9c48b2c+dirty 1246.96 ms 1255.73 ms 8.77 ms
e73f4ed+dirty 1243.27 ms 1244.52 ms 1.25 ms

App size

Revision Plain With Sentry Diff
86d6d2c+dirty 2.36 MiB 2.82 MiB 462.82 KiB
d7401ac+dirty 2.36 MiB 2.83 MiB 481.14 KiB
76d1baf+dirty 2.36 MiB 2.82 MiB 469.45 KiB
e2b64fe+dirty 2.36 MiB 2.85 MiB 495.80 KiB
ad6c299+dirty 2.36 MiB 2.84 MiB 488.85 KiB
dadc233+dirty 2.36 MiB 2.84 MiB 486.85 KiB
27ef4ee+dirty 2.36 MiB 2.85 MiB 500.03 KiB
3853f43+dirty 2.36 MiB 2.85 MiB 499.81 KiB
9c48b2c+dirty 2.36 MiB 2.85 MiB 495.77 KiB
e73f4ed+dirty 2.36 MiB 2.82 MiB 469.44 KiB

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

Startup times

Revision Plain With Sentry Diff
98fe518+dirty 1251.16 ms 1262.00 ms 10.84 ms
6750c69+dirty 1242.69 ms 1256.00 ms 13.31 ms
0e781a5+dirty 1244.59 ms 1256.72 ms 12.13 ms
5eab2fa+dirty 1241.82 ms 1242.70 ms 0.88 ms
04349b0+dirty 1273.22 ms 1281.90 ms 8.68 ms
6f9eae7+dirty 1266.06 ms 1271.48 ms 5.42 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

App size

Revision Plain With Sentry Diff
98fe518+dirty 2.36 MiB 2.83 MiB 481.64 KiB
6750c69+dirty 2.36 MiB 2.83 MiB 477.50 KiB
0e781a5+dirty 2.36 MiB 2.85 MiB 495.46 KiB
5eab2fa+dirty 2.36 MiB 2.84 MiB 490.39 KiB
04349b0+dirty 2.36 MiB 2.83 MiB 480.92 KiB
6f9eae7+dirty 2.36 MiB 2.84 MiB 489.62 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

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch from 9eb5a2a to 29016f4 Compare August 21, 2023 09:09
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch from 29016f4 to 4faec26 Compare August 28, 2023 10:52
@github-actions
Copy link
Contributor Author

github-actions bot commented Aug 28, 2023

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1252.78 ms 1254.52 ms 1.74 ms
Size 2.92 MiB 3.43 MiB 524.46 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
86d6d2c+dirty 1291.62 ms 1296.80 ms 5.18 ms
d7401ac+dirty 1288.10 ms 1289.54 ms 1.44 ms
76d1baf+dirty 1245.00 ms 1257.76 ms 12.76 ms
e2b64fe+dirty 1285.78 ms 1297.56 ms 11.78 ms
ad6c299+dirty 1248.50 ms 1248.88 ms 0.38 ms
dadc233+dirty 1266.52 ms 1282.55 ms 16.03 ms
27ef4ee+dirty 1236.41 ms 1244.90 ms 8.49 ms
3853f43+dirty 1271.74 ms 1278.04 ms 6.30 ms
9c48b2c+dirty 1253.39 ms 1256.30 ms 2.91 ms
e73f4ed+dirty 1282.90 ms 1309.30 ms 26.40 ms

App size

Revision Plain With Sentry Diff
86d6d2c+dirty 2.92 MiB 3.37 MiB 464.31 KiB
d7401ac+dirty 2.92 MiB 3.40 MiB 488.06 KiB
76d1baf+dirty 2.92 MiB 3.38 MiB 475.74 KiB
e2b64fe+dirty 2.92 MiB 3.41 MiB 499.97 KiB
ad6c299+dirty 2.92 MiB 3.40 MiB 494.12 KiB
dadc233+dirty 2.92 MiB 3.40 MiB 492.53 KiB
27ef4ee+dirty 2.92 MiB 3.41 MiB 503.72 KiB
3853f43+dirty 2.92 MiB 3.41 MiB 503.54 KiB
9c48b2c+dirty 2.92 MiB 3.41 MiB 499.97 KiB
e73f4ed+dirty 2.92 MiB 3.38 MiB 475.71 KiB

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

Startup times

Revision Plain With Sentry Diff
98fe518+dirty 1259.43 ms 1263.60 ms 4.17 ms
6750c69+dirty 1285.45 ms 1285.86 ms 0.41 ms
0e781a5+dirty 1268.86 ms 1269.18 ms 0.32 ms
5eab2fa+dirty 1284.29 ms 1306.68 ms 22.39 ms
04349b0+dirty 1241.88 ms 1258.20 ms 16.32 ms
6f9eae7+dirty 1256.06 ms 1278.59 ms 22.53 ms
d70b1d5+dirty 1276.94 ms 1282.92 ms 5.98 ms
de7c573+dirty 1238.06 ms 1242.26 ms 4.20 ms
8a5e51c+dirty 1259.88 ms 1269.09 ms 9.21 ms
60ceb06+dirty 1242.86 ms 1253.76 ms 10.90 ms

App size

Revision Plain With Sentry Diff
98fe518+dirty 2.92 MiB 3.40 MiB 488.60 KiB
6750c69+dirty 2.92 MiB 3.39 MiB 484.54 KiB
0e781a5+dirty 2.92 MiB 3.41 MiB 499.67 KiB
5eab2fa+dirty 2.92 MiB 3.40 MiB 495.21 KiB
04349b0+dirty 2.92 MiB 3.40 MiB 487.96 KiB
6f9eae7+dirty 2.92 MiB 3.40 MiB 494.93 KiB
d70b1d5+dirty 2.92 MiB 3.43 MiB 524.43 KiB
de7c573+dirty 2.92 MiB 3.42 MiB 516.27 KiB
8a5e51c+dirty 2.92 MiB 3.41 MiB 499.88 KiB
60ceb06+dirty 2.92 MiB 3.41 MiB 499.07 KiB

@github-actions
Copy link
Contributor Author

github-actions bot commented Aug 28, 2023

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 364.29 ms 389.04 ms 24.75 ms
Size 7.15 MiB 8.10 MiB 980.24 KiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
86d6d2c+dirty 267.21 ms 325.24 ms 58.04 ms
d7401ac+dirty 373.98 ms 394.08 ms 20.10 ms
76d1baf+dirty 339.02 ms 408.65 ms 69.63 ms
e2b64fe+dirty 258.82 ms 304.26 ms 45.44 ms
ad6c299+dirty 336.47 ms 362.89 ms 26.42 ms
dadc233+dirty 363.19 ms 370.37 ms 7.18 ms
27ef4ee+dirty 296.71 ms 351.00 ms 54.29 ms
3853f43+dirty 278.12 ms 338.72 ms 60.60 ms
9c48b2c+dirty 270.82 ms 321.12 ms 50.30 ms
e73f4ed+dirty 262.98 ms 311.02 ms 48.04 ms

App size

Revision Plain With Sentry Diff
86d6d2c+dirty 7.15 MiB 8.09 MiB 962.69 KiB
d7401ac+dirty 7.15 MiB 8.04 MiB 910.85 KiB
76d1baf+dirty 7.15 MiB 8.09 MiB 964.41 KiB
e2b64fe+dirty 7.15 MiB 8.07 MiB 947.16 KiB
ad6c299+dirty 7.15 MiB 8.04 MiB 912.17 KiB
dadc233+dirty 7.15 MiB 8.04 MiB 910.84 KiB
27ef4ee+dirty 7.15 MiB 8.08 MiB 959.49 KiB
3853f43+dirty 7.15 MiB 8.08 MiB 959.34 KiB
9c48b2c+dirty 7.15 MiB 8.07 MiB 947.16 KiB
e73f4ed+dirty 7.15 MiB 8.09 MiB 965.94 KiB

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

Startup times

Revision Plain With Sentry Diff
98fe518+dirty 334.79 ms 372.23 ms 37.44 ms
6750c69+dirty 277.10 ms 322.10 ms 45.00 ms
0e781a5+dirty 267.70 ms 357.64 ms 89.94 ms
5eab2fa+dirty 308.78 ms 331.98 ms 23.20 ms
04349b0+dirty 333.83 ms 366.86 ms 33.02 ms
6f9eae7+dirty 346.26 ms 417.65 ms 71.40 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

App size

Revision Plain With Sentry Diff
98fe518+dirty 7.15 MiB 8.04 MiB 911.30 KiB
6750c69+dirty 7.15 MiB 8.10 MiB 971.75 KiB
0e781a5+dirty 7.15 MiB 8.07 MiB 946.50 KiB
5eab2fa+dirty 7.15 MiB 8.04 MiB 913.81 KiB
04349b0+dirty 7.15 MiB 8.10 MiB 977.92 KiB
6f9eae7+dirty 7.15 MiB 8.04 MiB 913.76 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

@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v7.64.0 chore(deps): update JavaScript SDK to v7.65.0 Aug 29, 2023
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch from 4faec26 to 8f25e70 Compare August 29, 2023 03:04
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v7.65.0 chore(deps): update JavaScript SDK to v7.66.0 Aug 31, 2023
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch 3 times, most recently from 4611b02 to d552e9a Compare September 4, 2023 17:25
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v7.66.0 chore(deps): update JavaScript SDK to v7.67.0 Sep 5, 2023
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch 2 times, most recently from 57aa153 to 0686440 Compare September 6, 2023 10:15
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v7.67.0 chore(deps): update JavaScript SDK to v7.68.0 Sep 7, 2023
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch from 0686440 to cfb7041 Compare September 7, 2023 03:03
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch from cfb7041 to 4e1ab2e Compare September 12, 2023 12:49
@github-actions github-actions bot changed the title chore(deps): update JavaScript SDK to v7.68.0 chore(deps): update JavaScript SDK to v7.69.0 Sep 13, 2023
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch 2 times, most recently from ddf09b5 to 36efd1c Compare September 13, 2023 14:24
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch from 36efd1c to a271ad5 Compare September 13, 2023 14:27
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-javascript.sh branch from 4caca8a to 0c8e1a1 Compare September 14, 2023 14:15
@krystofwoldrich krystofwoldrich removed the request for review from marandaneto September 14, 2023 14:21
@krystofwoldrich krystofwoldrich enabled auto-merge (squash) September 14, 2023 14:24
@krystofwoldrich krystofwoldrich merged commit fba75ec into main Sep 14, 2023
41 of 43 checks passed
@krystofwoldrich krystofwoldrich deleted the deps/scripts/update-javascript.sh branch September 14, 2023 14:26
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