Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 10, 2023

Bumps @sentry/node from 7.57.0 to 7.62.0.

Release notes

Sourced from @​sentry/node's releases.

7.62.0

Important Changes

  • feat(integrations): Add ContextLines integration for html-embedded JS stack frames (#8699)

This release adds the ContextLines integration as an optional integration for the Browser SDKs to @sentry/integrations.

This integration adds source code from inline JavaScript of the current page's HTML (e.g. JS in <script> tags) to stack traces of captured errors. It can't collect source code from assets referenced by your HTML (e.g. <script src="..." />).

The ContextLines integration is useful when you have inline JS code in HTML pages that can't be accessed by Sentry's backend, for example, due to a login-protected page.

import { ContextLines } from "@sentry/integrations";
Sentry.init({
// ...
integrations: [
new ContextLines({
// The number of lines to collect before and after each stack frame's line number
// Defaults to 7
frameContextLines: 7,
}),
],
});

Other Changes

  • fix(nextjs): Make all wrappers isomorphic and available in all runtimes (#8743)
  • fix(replay): Cancel debounce when replay is too short/long (#8742)
  • fix(utils): dirname and basename should handle Windows paths (#8737)
  • ref: Hoist flush, close, and lastEventId into @sentry/core (#8731)
  • ref(node): Don't call JSON.stringify on prisma client when logging (#8745)

Bundle size 📦

Path Size
@​sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 74.96 KB
@​sentry/browser (incl. Tracing) - Webpack (gzipped) 31.11 KB
@​sentry/browser - Webpack (gzipped) 21.81 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.58 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.15 KB
@​sentry/browser - ES6 CDN Bundle (gzipped) 20.17 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 219.29 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 84.67 KB
@​sentry/browser - ES6 CDN Bundle (minified & uncompressed) 59.83 KB
@​sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.02 KB
@​sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.16 KB

... (truncated)

Changelog

Sourced from @​sentry/node's changelog.

7.62.0

Important Changes

  • feat(integrations): Add ContextLines integration for html-embedded JS stack frames (#8699)

This release adds the ContextLines integration as an optional integration for the Browser SDKs to @sentry/integrations.

This integration adds source code from inline JavaScript of the current page's HTML (e.g. JS in <script> tags) to stack traces of captured errors. It can't collect source code from assets referenced by your HTML (e.g. <script src="..." />).

The ContextLines integration is useful when you have inline JS code in HTML pages that can't be accessed by Sentry's backend, for example, due to a login-protected page.

import { ContextLines } from "@sentry/integrations";
Sentry.init({
// ...
integrations: [
new ContextLines({
// The number of lines to collect before and after each stack frame's line number
// Defaults to 7
frameContextLines: 7,
}),
],
});

Other Changes

  • fix(nextjs): Make all wrappers isomorphic and available in all runtimes (#8743)
  • fix(replay): Cancel debounce when replay is too short/long (#8742)
  • fix(utils): dirname and basename should handle Windows paths (#8737)
  • ref: Hoist flush, close, and lastEventId into @sentry/core (#8731)
  • ref(node): Don't call JSON.stringify on prisma client when logging (#8745)

7.61.1

  • feat(nextjs): Add AsyncLocalStorage async context strategy to edge SDK (#8720)
  • fix(core): Filter internal API frames for synthetic frames (#8710)
  • fix(integrations): Capture exception if any arg to console method is an error (#8671)
  • fix(node-experimental): Update auto integration lookup & readme (#8690)
  • fix(node): Add availablility check on current hub to Node ContextLines integration (#8715)
  • fix(replay): Ensure buffer sessions end after capturing an error (#8713)
  • fix(replay): Ensure buffer->session switch is reliable (#8712)
  • fix(replay): Ensure we debounce flush if replay too short (#8716)
  • fix(replay): Improve capture of errorIds/traceIds (#8678)
  • fix(tracing): Set correct parent span id on fetch sentry-trace header (#8687)
  • fix(utils): Avoid pre_context and context_line overlap if frame lineno is out of bounds (#8722)
  • ref(replay): Improve status logging (#8709)

... (truncated)

Commits
  • ba03f87 release: 7.62.0
  • 61cdc72 Merge pull request #8763 from getsentry/prepare-release/7.62.0
  • b114002 Merge branch 'master' into prepare-release/7.62.0
  • 51159b7 chore(publish): Remove status provider setting from Craft config (#8762)
  • 4804882 chore(publish): Try different status provider context (#8755)
  • b986eae Merge pull request #8754 from getsentry/prepare-release/7.62.0
  • 9070e3e add ContextLines description, apply feedback
  • 8a0a33c meta: Update CHANGELOG for version 7.62.0
  • 22a8add chore(ci): Add job_required_jobs_passed as a status provider context (#8752)
  • 672e56c chore(ci): Make "Required Tests passed" job depend on artifact upload and oth...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 7.57.0 to 7.62.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](getsentry/sentry-javascript@7.57.0...7.62.0)

---
updated-dependencies:
- dependency-name: "@sentry/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from supalarry as a code owner August 10, 2023 10:02
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 10, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 11, 2023

Superseded by #55.

@dependabot dependabot bot closed this Aug 11, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/sentry/node-7.62.0 branch August 11, 2023 10:05
@adaptly-bot-dev
Copy link

ℹ️  Breaking Changes in the Dependency's Changelog. Check breaking changes and run /adaptly go to continue checking next versions.

Package: @sentry/node
Version: 7.58.0

 Breaking changes
1: Performance Monitoring not required for Distributed Tracing

This release adds support for distributed tracing without requiring performance monitoring to be active on the JavaScript SDKs (browser and node). This means even if there is no sampled transaction/span, the SDK will still propagate traces to downstream services. Distributed Tracing can be configured with the tracePropagationTargets option, which controls what requests to attach the sentry-trace and baggage HTTP headers to (which is what propagates tracing information).

- Sentry.init({
-   tracesSampleRate: 0,
- });

+ Sentry.init({
+   tracePropagationTargets: ["third-party-site.com", /^https:\/\/yourserver\.io\/api/],
+ });
2: Support AggregateErrors in LinkedErrors integration

This release adds support for AggregateErrors. AggregateErrors are considered as Exception Groups by Sentry, and will be visualized and grouped differently. See the Exception Groups Changelog Post for more details.

Exception Group support requires Self-Hosted Sentry version 23.5.1 or newer.

3: Add a new option networkDetailDenyUrls

This release adds a new option networkDetailDenyUrls to the Replay integration. This option allows you to specify a list of URLs that should not be captured by the Replay integration, which can be used alongside the existing networkDetailAllowUrls for finely grained control of which URLs should have network details captured.

Sentry.init({
  integrations: [
    new Sentry.Integrations.Replay({
+      networkDetailDenyUrls: [/^http:\/\/example\.com\/test$/],
    }),
  ],
});

1 / 10 versions between 7.57.0 and 7.62.0 checked

@adaptly-bot-dev
Copy link

ℹ️  Breaking Changes in the Dependency's Changelog. Check breaking changes and run /adaptly go to continue checking next versions.

Package: @sentry/node
Version: 7.60.0

 Breaking changes
1: feat(replay): Ensure min/max duration when flushing (#8596)

Replays that are less than 5 seconds long will no longer be sent. Added safeguards to avoid overly long replays (>1 hour).

6 / 10 versions between 7.57.0 and 7.62.0 checked

@adaptly-bot-dev
Copy link

⚠️   @sentry/node@7.58.0

 Breaking changes
1: Performance Monitoring not required for Distributed Tracing

This release adds support for distributed tracing without requiring performance monitoring to be active on the JavaScript SDKs (browser and node). This means even if there is no sampled transaction/span, the SDK will still propagate traces to downstream services. Distributed Tracing can be configured with the tracePropagationTargets option, which controls what requests to attach the sentry-trace and baggage HTTP headers to (which is what propagates tracing information).

- Sentry.init({
-   tracesSampleRate: 0,
- });

+ Sentry.init({
+   tracePropagationTargets: ["third-party-site.com", /^https:\/\/yourserver\.io\/api/],
+ });
2: Support AggregateErrors in LinkedErrors integration

This release adds support for AggregateErrors. AggregateErrors are considered as Exception Groups by Sentry, and will be visualized and grouped differently. See the Exception Groups Changelog Post for more details.

Exception Group support requires Self-Hosted Sentry version 23.5.1 or newer.

3: Add a new option networkDetailDenyUrls

This release adds a new option networkDetailDenyUrls to the Replay integration. This option allows you to specify a list of URLs that should not be captured by the Replay integration, which can be used alongside the existing networkDetailAllowUrls for finely grained control of which URLs should have network details captured.

Sentry.init({
  integrations: [
    new Sentry.Integrations.Replay({
+      networkDetailDenyUrls: [/^http:\/\/example\.com\/test$/],
    }),
  ],
});

1 / 10 versions between 7.57.0 and 7.62.0 checked

@adaptly-bot-dev
Copy link

⚠️   @sentry/node@7.60.0

 Breaking changes
1: feat(replay): Ensure min/max duration when flushing (#8596)

Replays that are less than 5 seconds long will no longer be sent. Added safeguards to avoid overly long replays (>1 hour).

6 / 10 versions between 7.57.0 and 7.62.0 checked

@adaptly-bot-dev
Copy link

⚠️  @sentry/node@7.58.0

 Breaking changes
1: Performance Monitoring not required for Distributed Tracing

This release adds support for distributed tracing without requiring performance monitoring to be active on the JavaScript SDKs (browser and node). This means even if there is no sampled transaction/span, the SDK will still propagate traces to downstream services. Distributed Tracing can be configured with the tracePropagationTargets option, which controls what requests to attach the sentry-trace and baggage HTTP headers to (which is what propagates tracing information).

- Sentry.init({
-   tracesSampleRate: 0,
- });

+ Sentry.init({
+   tracePropagationTargets: ["third-party-site.com", /^https:\/\/yourserver\.io\/api/],
+ });
2: Support AggregateErrors in LinkedErrors integration

This release adds support for AggregateErrors. AggregateErrors are considered as Exception Groups by Sentry, and will be visualized and grouped differently. See the Exception Groups Changelog Post for more details.

Exception Group support requires Self-Hosted Sentry version 23.5.1 or newer.

3: Add a new option networkDetailDenyUrls

This release adds a new option networkDetailDenyUrls to the Replay integration. This option allows you to specify a list of URLs that should not be captured by the Replay integration, which can be used alongside the existing networkDetailAllowUrls for finely grained control of which URLs should have network details captured.

Sentry.init({
  integrations: [
    new Sentry.Integrations.Replay({
+      networkDetailDenyUrls: [/^http:\/\/example\.com\/test$/],
    }),
  ],
});

@adaptly-bot-dev
Copy link

⚠️  @sentry/node@7.60.0

 Breaking changes
1: feat(replay): Ensure min/max duration when flushing (#8596)

Replays that are less than 5 seconds long will no longer be sent. Added safeguards to avoid overly long replays (>1 hour).

@adaptly-bot-dev
Copy link

⚠️  @sentry/node@7.60.0

 Breaking changes
1: feat(replay): Ensure min/max duration when flushing (#8596)

The replay feature will no longer send replays that are less than 5 seconds long. This is a breaking change if your application relies on short replays. You can configure the minimum replay duration, but it is capped at 15 seconds maximum. Refactor your code as follows if needed:

- new Replay({})
+ new Replay({ minReplayDuration: 10000 }) // in ms

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.

0 participants