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

feat(deps): update dependency @sentry/node to v7.31.1 #627

Merged
merged 1 commit into from Jan 23, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 25, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/node (source) 7.20.0 -> 7.31.1 age adoption passing confidence

Release Notes

getsentry/sentry-javascript

v7.31.1

Compare Source

  • build(replay): Provide full browser+tracing+replay bundle (#​6793)
  • feat(nextjs): Disable NextJS perf monitoring when using otel (#​6820)
  • fix(nextjs): Add back browser field in package.json (#​6809)
  • fix(nextjs): Connect Edge API route errors to span (#​6806)
  • fix(nextjs): Correctly handle ts middleware files (#​6816)

v7.31.0

Compare Source

The Next.js SDK now supports error and performance monitoring for Next.js middleware and Edge API routes.
To set it up, add a sentry.edge.config.js or sentry.edge.config.ts file to the root of your project and initialize the SDK:

// sentry.edge.config.js or sentry.edge.config.ts

import * as Sentry from "@​sentry/nextjs";

const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN;

Sentry.init({
  dsn: SENTRY_DSN || "YOUR DSN HERE",
  tracesSampleRate: 1.0,
});

The Next.js will automatically instrument Edge API routes and middleware.
If you want to opt out of automatic instrumentation of middleware can use the autoInstrumentMiddleware option in the sentry object of your Next.js configuration:

const moduleExports = {
  sentry: {
    autoInstrumentMiddleware: false,
  },
};

Middleware can be manually instrumented by using the wrapMiddlewareWithSentry function.

  • feat(nextjs): Add Edge Runtime SDK (#​6752)
  • feat(nextjs): Add optional options argument to withSentryConfig as an alternative to the sentry property (#​6721)
  • feat(nextjs): Add edge route and middleware wrappers (#​6771)
  • feat(nextjs): Auto-wrap edge-routes and middleware (#​6746)
  • feat(replay): Update rrweb & rrweb-snapshot (#​6749)
  • feat(replay): Stop recording when retry fails (#​6765)
  • feat(replay): Stop without retry when receiving bad API response (#​6773)
  • feat(types): Add Trace Context type (#​6714)
  • fix(nextjs): Export isomorphic data fetching wrappers from client SDK (#​6790)
  • fix(nextjs): Make Next.js types isomorphic (#​6707)
  • fix(node): Handle node build without inspector in LocalVariables integration (#​6780)
  • fix(otel): Set trace context via Otel Span instead of Sentry span (#​6724)
  • fix(otel): Prevent baggage from being overwritten (#​6709)
  • fix(otel): Make sure we handle when sentry-trace is an empty array (#​6781)
  • fix(remix): Make remix SDK type exports isomorphic (#​6715)
  • fix(replay): Fix checkoutEveryNms (#​6722)
  • fix(replay): Fix incorrect uncompressed recording size due to encoding (#​6740)
  • fix(tracing): Attach request instrumentation span to active span instead of current transaction (#​6778)
  • ref(nextjs): Deprecate isBuild() and IS_BUILD (#​6727)

v7.30.0

Compare Source

  • feat(core): Add addIntegration method to client (#​6651)
  • feat(core): Add replay_event type for events (#​6481)
  • feat(gatsby): Support Gatsby v5 (#​6635)
  • feat(integrations): Add HTTPClient integration (#​6500)
  • feat(node): Add LocalVariables integration to capture local variables to stack frames (#​6478)
  • feat(node): Check for invalid url in node transport (#​6623)
  • feat(replay): Remove replayType from tags and into replay_event (#​6658)
  • feat(transport): Return result through Transport send (#​6626)
  • fix(nextjs): Don't wrap res.json and res.send (#​6674)
  • fix(nextjs): Don't write to res.end to fix next export (#​6682)
  • fix(nextjs): Exclude SDK from Edge runtime bundles (#​6683)
  • fix(replay): Allow Replay to be used in Electron renderers with nodeIntegration enabled (#​6644)
  • fix(utils): Ignore stack frames over 1kb (#​6627)
  • ref(angular) Add error-like objects handling (#​6446)
  • ref(nextjs): Remove instrumentSever (#​6592)

Work in this release contributed by @​rjoonas, @​Naddiseo, and @​theofidry. Thank you for your contributions!

v7.29.0

Compare Source

This update includes a change to the @sentry/nextjs SDK that may increase response times of requests in applications
deployed to Vercel or AWS lambdas to ensure that error events are sent consistently.
Additionally, Next.js applications deployed to Vercel or AWS lambdas may also see an uptick in sent transactions. (for
more information see #​6578)

  • feat(core): Add getSdkMetadata to Client (#​6643)
  • feat(nextjs): Send events consistently on platforms that don't support streaming (#​6578)
  • feat(replay): Use new prepareEvent util & ensure dropping replays works (#​6522)
  • feat(types): Upstream some replay types (#​6506)
  • fix(replay): Envelope send should be awaited in try/catch (#​6625)
  • fix(replay): Improve handling of maskAllText selector (#​6637)
  • fix(tracing): Don't finish React Router 6 pageload transactions early (#​6609)

v7.28.1

Compare Source

  • fix(replay): Do not mangle _metadata in client options (#​6600)
  • fix(replay): Cater for event processor returning null (#​6576)

v7.28.0

Compare Source

  • feat(nextjs): Check for Vercel Edge Function GA (#​6565)
  • feat(utils): Improved envelope parser (#​6580)
  • fix(nextjs): Export Replay from index.server.ts to avoid TS error (#​6577)
  • fix(nextjs): Pass this through wrappers (#​6572)
  • ref(types): Add undefined as possible event type (#​6584)

v7.27.0

Compare Source

This release exports the Session Replay integration via @sentry/browser and all framework SDKs building on top of it.
Going forward, the @sentry/replay package doesn't have to be installed explicitly to use Replay.
Furthermore, this release increases the maximim replay session duration from 30 minutes to 1 hour.

  • feat(browser): Export Replay integration from Browser SDK (#​6508)
  • feat(replay): Change MAX_SESSION_LIFE to 1 hour (#​6561)
  • feat(replay): Do not capture errors originating from rrweb (#​6521)
  • feat(replay): Flush immediately on DOM checkouts (#​6463)
  • fix(core): Make beforeSend handling defensive for different event types (#​6507)
  • fix(replay): Ensure lodash.debounce does not trigger next.js warning (#​6551)
  • fix(replay): Make maskAllText selector more specific (#​6544)
  • fix(replay): Send dsn in envelope header if tunneling is active (#​6568)
  • fix(utils): Don't attach context lines to stack frames without line number (#​6549)
  • ref(replay): Send SDK's name in replay event (#​6514)

Work in this release contributed by @​theofidry. Thank you for your contribution!

v7.26.0

Compare Source

  • feat(browser): Export event builder methods for use in other SDKs (#​6515)
  • feat(types): Add threads to Event (#​6516)
  • feat(nextjs): Add option to automatically tunnel events (#​6425)
  • fix(nextjs): Fix automatic release value discovery (#​6513)
  • ref(nextjs): Use generic loader to inject global values (#​6484)

Work in this release contributed by @​theofidry. Thank you for your contribution!

v7.25.0

Compare Source

  • feat(core): Add scope.getLastBreadcrumb() (#​6495)
  • feat(replay): Allow to opt-in to capture replay exceptions (#​6482)
  • feat(tracing): Add interaction transaction as an experiment (#​6210)
  • feat(types): Add profile envelope item type (#​6468)
  • fix(replay): Replace _waitForError with recordingMode (#​6489)
  • ref(replay): Inline lodash dependency into build (#​6483)
  • build(core): Do not mangle private methods used by Replay (#​6493)

v7.24.2

Compare Source

  • fix(replay): Add missing rrweb type declarations (#​6464)
  • fix(tracing): Check for otel before loading db module (#​6461)
  • fix(tracing): Deprecate and remove reportAllChanges option (#​6456)
  • ref(replay): Extract integration to clarify public API (#​6457)

v7.24.1

Compare Source

This patch corrects an oversight on our end which caused the Sentry Replay integration CDN bundles to be ignored when uploading bundles to our CDN.
If you want to use the Replay CDN bundles, please use version 7.24.1 or newer.

  • fix(react): Add type for React Router's encodeLocation method (#​6439)
  • fix(replay): Add CDN bundle path to release artifacts (#​6452)
  • fix(tracing): Instrument cursors returned from MongoDB operations. (#​6437)
  • ref(angular): Extract zonejs error unwrapper into a dedicated function (#​6443)

Work in this release contributed by @​theofidry. Thank you for your contribution!

v7.24.0

Compare Source

This release bumps the @sentry/replay package from version 0.x to 7.24.0.
Along with this version bump, we're introducing a few breaking changes.
Take a look at the Replay migration guide for further information.
The Replay version bump is the result of moving the package into the Sentry JavaScript SDK monorepo which aligns the version with our other JS SDK packages.
Important: If you're using Replay with version 7.24.x or newer, make sure to also upgrade your other @sentry/* packages to this version.

  • feat(browser): Support dom.maxStringLength configuration (#​6311)
  • feat(nextjs): Don't init SDK on Vercel Edge Runtime (#​6408)
  • feat(nextjs): Parameterize prefix loader values (#​6377)
  • feat(nextjs): Support assetPrefix option (#​6388)
  • fix(nextjs): Inject SDK in dev mode (#​6368)
  • fix(nextjs): Use basePath for assetPrefix if needed (#​6424)
  • fix(node): Move profilesSampleRate into BaseNodeOptions (#​6409)
  • ref(nextjs): Clean up client-side integrations code (#​6382)
  • ref(nextjs): Use loader for rather than webpack plugin for injecting release (#​6404)
  • ref(remix): Do not fail silently if getClientIpAddress throws error. (#​6400)

Work in this release contributed by @​tomgrossman and @​ZachGawlik. Thank you for your contributions!

v7.23.0

Compare Source

  • feat(browser): Add __SENTRY_RELEASE__ magic string (#​6322)
  • fix(node): Add profilesSampleRate (#​6318)
  • fix(otel): Account for number status code (#​6345)
  • fix(otel): Add trace info to error events (#​6364)
  • fix(otel): Set root transaction name to be route (#​6334)
  • ref(core): Move sentry breadcrumb logic into integration (#​6195)
  • ref(tracing): Remove sentry_reportAllChanges tag (#​6360)

Work in this release contributed by @​zhiyan114. Thank you for your contributions!

v7.22.0

Compare Source

  • feat(core): Pass event as third argument to recordDroppedEvent (#​6289)
  • fix(nextjs): Apply Webpack configuration in dev mode (#​6291)
  • fix(react): Relax React Router 6 RouteObject typing. (#​6274)
  • fix(remix): Prevent crashes from failed normalizeRemixRequest calls. (#​6296)
  • fix(remix): Attempt to extract user IP from request headers. (#​6263)
  • fix(remix): Pass transaction name as route to RequestData. (#​6276)

v7.21.1

Compare Source

  • fix(nextjs): Stop excluding withSentryConfig from serverless bundles (#​6267)

v7.21.0

Compare Source

  • feat(react): Add tracing support for React Router 6.4 createBrowserRouter. (#​6172)
  • fix(core): Add guard against scope.getAttachments (#​6258)
  • fix(core): Only generate eventIds in client (#​6247)
  • fix(express): Support multiple routers with common paths. (#​6253)
  • fix(tracing): Pass tracePropagationTargets to instrumentOutgoingRequests (#​6259)

v7.20.1

Compare Source

  • fix(angular): Set <unknown> component name default in TraceDirective (#​6222)
  • fix(core): Include _sdkProcessingMetadata when cloning scope (#​6218)
  • fix(tracing): Make shouldAttachHeaders not fall back to default values (#​6238)
  • ref(vue): Check if SDK is initialized before app is mounted (#​6227)

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 🚦 automerge Synced by reviewflow for merge/automerge label Nov 25, 2022
@reviewflow
Copy link
Contributor

reviewflow bot commented Nov 25, 2022

Progress

☑️ Step 1: ✏️ Write code
☑️ Step 2: 💚 Checks
☑️ Step 3: 👌 Code Review
☑️ Step 4: 🚦 Merge Pull Request

Options:

  • 🚦 automerge: Automatically merge when this PR is ready and has no failed statuses. When the repository requires branches to be up to date before merging, it merges default branch, with a queue per repo to prevent multiple merges when several PRs are ready. A fail job prevents the merge.
  • 🚦 skip-ci: Add [skip ci] on merge commit when merge is done with autoMerge.

Actions:

  • 🐛 Force updating reviewflow checks for this PR. Use this to try to fix reviewflow checks that are still missing/pending, which might happen if webhook failed or something bad happened when reviewflow tried to send the status check to github.
  • 🔄 update branch: Merge base branch in this PR's branch. Only works if merging is possible without conflicts.

@reviewflow reviewflow bot added the 👌 code/needs-review Synced by reviewflow for code/needs-review label Nov 25, 2022
@codecov
Copy link

codecov bot commented Nov 25, 2022

Codecov Report

Base: 65.95% // Head: 65.95% // No change to project coverage 👍

Coverage data is based on head (7fc95d6) compared to base (c9b6c34).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #627   +/-   ##
=======================================
  Coverage   65.95%   65.95%           
=======================================
  Files          18       18           
  Lines         561      561           
  Branches      166      166           
=======================================
  Hits          370      370           
  Misses        191      191           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@renovate renovate bot force-pushed the renovate/sentry-javascript-monorepo branch from c3ee0e0 to 43e3acd Compare November 26, 2022 20:54
@renovate renovate bot changed the title fix(deps): update dependency @sentry/node to v7.20.1 feat(deps): update dependency @sentry/node to v7.21.0 Nov 26, 2022
@renovate renovate bot force-pushed the renovate/sentry-javascript-monorepo branch from 43e3acd to 0d4044c Compare November 27, 2022 13:28
@renovate renovate bot changed the title feat(deps): update dependency @sentry/node to v7.21.0 feat(deps): update dependency @sentry/node to v7.21.1 Nov 27, 2022
@renovate renovate bot force-pushed the renovate/sentry-javascript-monorepo branch 2 times, most recently from 3aeb5e6 to a7003f0 Compare December 3, 2022 14:32
@renovate renovate bot changed the title feat(deps): update dependency @sentry/node to v7.21.1 feat(deps): update dependency @sentry/node to v7.22.0 Dec 3, 2022
@renovate renovate bot force-pushed the renovate/sentry-javascript-monorepo branch from a7003f0 to 5d1af42 Compare December 5, 2022 19:56
@renovate renovate bot changed the title feat(deps): update dependency @sentry/node to v7.22.0 feat(deps): update dependency @sentry/node to v7.23.0 Dec 5, 2022
@renovate renovate bot force-pushed the renovate/sentry-javascript-monorepo branch from 5d1af42 to a682212 Compare December 11, 2022 10:58
@renovate renovate bot changed the title feat(deps): update dependency @sentry/node to v7.23.0 feat(deps): update dependency @sentry/node to v7.24.0 Dec 11, 2022
@renovate renovate bot force-pushed the renovate/sentry-javascript-monorepo branch from a682212 to b68857a Compare December 11, 2022 15:21
@renovate renovate bot changed the title feat(deps): update dependency @sentry/node to v7.24.0 feat(deps): update dependency @sentry/node to v7.24.1 Dec 11, 2022
@renovate renovate bot force-pushed the renovate/sentry-javascript-monorepo branch from b68857a to 29da692 Compare December 11, 2022 20:31
@renovate renovate bot changed the title feat(deps): update dependency @sentry/node to v7.24.1 feat(deps): update dependency @sentry/node to v7.24.2 Dec 11, 2022
@renovate renovate bot force-pushed the renovate/sentry-javascript-monorepo branch from 29da692 to f376533 Compare December 16, 2022 13:01
@renovate renovate bot changed the title feat(deps): update dependency @sentry/node to v7.24.2 feat(deps): update dependency @sentry/node to v7.25.0 Dec 16, 2022
@renovate renovate bot changed the title feat(deps): update dependency @sentry/node to v7.25.0 Update dependency @sentry/node to v7.25.0 Dec 17, 2022
@renovate renovate bot force-pushed the renovate/sentry-javascript-monorepo branch from f376533 to 4f22c51 Compare December 17, 2022 17:11
@renovate renovate bot changed the title Update dependency @sentry/node to v7.25.0 Update dependency @sentry/node to v7.26.0 Dec 17, 2022
@renovate renovate bot changed the title Update dependency @sentry/node to v7.26.0 feat(deps): update dependency @sentry/node to v7.26.0 Dec 17, 2022
@renovate renovate bot force-pushed the renovate/sentry-javascript-monorepo branch from 4f22c51 to 52b8634 Compare December 20, 2022 12:48
@renovate renovate bot changed the title feat(deps): update dependency @sentry/node to v7.26.0 feat(deps): update dependency @sentry/node to v7.27.0 Dec 20, 2022
@renovate renovate bot force-pushed the renovate/sentry-javascript-monorepo branch from 52b8634 to 300b3ba Compare December 24, 2022 17:34
@renovate renovate bot changed the title feat(deps): update dependency @sentry/node to v7.27.0 feat(deps): update dependency @sentry/node to v7.28.0 Dec 24, 2022
@reviewflow reviewflow bot added 💚 checks/passed Synced by reviewflow for checks/passed 💚 checks/in-progress and removed 💚 checks/passed Synced by reviewflow for checks/passed 💚 checks/in-progress labels Jan 22, 2023
@reviewflow reviewflow bot added 👌 code/approved Synced by reviewflow for code/approved 💚 checks/passed Synced by reviewflow for checks/passed and removed 👌 code/needs-review Synced by reviewflow for code/needs-review 💚 checks/in-progress labels Jan 22, 2023
@reviewflow reviewflow bot merged commit f83e11f into main Jan 23, 2023
@reviewflow reviewflow bot deleted the renovate/sentry-javascript-monorepo branch January 23, 2023 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💚 checks/passed Synced by reviewflow for checks/passed 👌 code/approved Synced by reviewflow for code/approved 🚦 automerge Synced by reviewflow for merge/automerge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant