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

fix(deps): update dependency @sentry/hub to v7.37.1 #2732

Merged
merged 1 commit into from
Feb 12, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 12, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/hub (source) 7.22.0 -> 7.37.1 age adoption passing confidence

Release Notes

getsentry/sentry-javascript

v7.37.1

Compare Source

  • fix(browser): Support async in stack frame urls (#​7131)
  • fix(nextjs): Make api route identifier stricter (#​7126)
  • fix(node): Don't rely on this in http integration (#​7135)
  • fix(replay): Fix missing fetch/xhr requests (#​7134)
  • fix(tracing): Export defaultStackParser from tracing CDN bundles (#​7116)

v7.37.0

Compare Source

  • feat: Add source map debug ids (#​7068)
  • feat(browser): Add IndexedDb offline transport store (#​6983)
  • feat(nextjs): Add auto-wrapping for server components (#​6953)
  • feat(nextjs): Improve client stack traces (#​7097)
  • feat(replay): Improve rrweb error ignoring (#​7087 & #​7094)
  • feat(replay): Send client_report when replay sending fails (#​7093)
  • fix(node): LocalVariables, Improve frame matching for ESM (#​7049)
  • fix(node): Add lru cache to http integration span map (#​7064)
  • fix(replay): Export Replay from Sentry namespace in full CDN bundle (#​7119)

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

v7.36.0

Compare Source

This Release re-introduces the accidentally removed but still deprecated maskInputOptions option for Session Replay.
Furthermore, replays are now stopped instead of paused when a rate limit is encountered.

  • feat(replay): Add back deprecated maskInputOptions (#​6981)
  • feat(replay): Stop recording when hitting a rate limit (#​7018)
  • fix(integrations): Report BaseClient integrations added after init (#​7011)
  • fix(replay): Don't mangle private rrweb property (#​7033)
  • fix(replay): Fix feature detection of PerformanceObserver (#​7029)

v7.35.0

Compare Source

Session Replay is deprecating privacy options in favor of a more streamlined API. Please see the Replay migration guide for further information.
Additionally, the following configuration options will no longer be configurable: slimDOMOptions, recordCanvas, inlineStylesheet, collectFonts, inlineImages.

  • feat(browser): Track if cdn or npm bundle (#​6976)
  • feat(core): Add aria label to breadcrumb attributes (#​6955)
  • feat(core): Add Offline Transport wrapper (#​6884)
  • feat(loader): Add SENTRY_SDK_SOURCE to track loader stats (#​6985)
  • feat(loader): Sync loader with Sentry template (#​7001)
  • feat(replay): Deprecate privacy options in favor of a new API, remove some recording options (#​6645)
  • feat(replay): Move sample rate tags into event context (#​6659)
  • fix(nextjs): Add isomorphic versions of ErrorBoundary, withErrorBoundary and showReportDialog (#​6987)
  • fix(nextjs): Don't modify require calls in wrapping loader (#​6979)
  • fix(nextjs): Don't share I/O resources in between requests (#​6980)
  • fix(nextjs): Inject client config into _app instead of main (#​7009)
  • fix(nextjs): Use Proxies to wrap to preserve static methods (#​7002)
  • fix(replay): Catch style mutation handling & null events in rrweb (#​7010)
  • fix(replay): Handle compression failures more robustly (#​6988)
  • fix(replay): Only call scope.getLastBreadcrumb if available (#​6969)
  • fix(utils): Account for null prototype during normalization (#​6925)
  • ref(replay): Log warning if sample rates are all undefined (#​6959)

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

v7.34.0

Compare Source

This release adds automatic injection of the Next.js SDK into serverside app directory bundles, allowing users to call the Sentry SDK in server components.

  • feat(nextjs): Add SDK to serverside app directory (#​6927)
  • fix(replay): Do not renew session in error mode (#​6948)
  • fix(replay): Handle compression worker errors more gracefully (#​6936)
  • fix(replay): fix path separator substitution to replay all \ (#​6932)
  • fix(replay): ignore errors in CSSStyleSheetObserver (getsentry/rrweb#​16)

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

v7.33.0

Compare Source

With this release, the sample rate for Session Replays will default to 0. We recommend explicitly setting the sample rate via the replaysSessionSampleRate and replaysOnErrorSampleRate options.

  • feat(replay): Remove default sample rates for replay (#​6878)
  • feat(replay): try/catch around stopRecording (#​6856)
  • fix(nextjs): Mark multiplexer targets as entrypoints (#​6919)

v7.32.1

Compare Source

  • fix(nextjs): Make SDK multiplexer more resilient (#​6905)

v7.32.0

Compare Source

  • build(replay): Stop preserving modules (#​6817)
  • feat(nextjs): Add browser SDK to app directory browser bundle (#​6812)
  • feat(node): Use includeLocalVariables option to enable LocalVariables integration (#​6874)
  • feat(node): Add option to capture local variables for caught exceptions via LocalVariables integration (#​6876)
  • feat(replay): Add flush method to integration (#​6776)
  • feat(replay): Handle worker loading errors (#​6827)
  • feat(replay): Lower the flush max delay from 15 seconds to 5 seconds (#​6761)
  • feat(tracing): Promote enableLongTask to option of BrowserTracing (#​6837)
  • fix(core): Fix replay client report data category (#​6891)
  • fix(nextjs): Fix SDK multiplexer loader on Windows (#​6866)
  • fix(otel): Use http/grpc status over span status (#​6879)
  • fix(react): Add children prop for Profiler (#​6828)
  • fix(react): Make wrapCreateBrowserRouter generic (#​6862)
  • fix(remix): Make sure the domain is created before running. (#​6852)
  • ref(nextjs): Remove NFT build time exclusions (#​6846)
  • ref(replay): Avoid duplicate debounce timers (#​6863)
  • ref(replay): Remove unused initialFlushDelay option (#​6867)
  • ref(replay): Send SDK version in Replay events (#​6814)

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

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!


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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@scopsy scopsy added this pull request to the merge queue Feb 12, 2023
Merged via the queue into next with commit b8f1a6c Feb 12, 2023
@scopsy scopsy deleted the renovate/sentry-javascript-monorepo branch February 12, 2023 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant