TheSoftwareHouse / react-starter-boilerplate

A highly scalable React SPA boilerplate focused on performance and best practices, written in TypeScript.
https://tsh.io/
MIT License
66 stars 19 forks source link

chore(deps): bump @sentry/browser from 7.110.0 to 8.7.0 #192

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 6 months ago

Bumps @sentry/browser from 7.110.0 to 8.7.0.

Release notes

Sourced from @​sentry/browser's releases.

8.7.0

Important Changes

  • feat(react): Add TanStack Router integration (#12095)

    This release adds instrumentation for TanStack router with a new tanstackRouterBrowserTracingIntegration in the @sentry/react SDK:

    import * as Sentry from '@sentry/react';
    import { createRouter } from '@tanstack/react-router';
    

    const router = createRouter({ // Your router options... });

    Sentry.init({ dsn: 'PUBLIC_DSN', integrations: [Sentry.tanstackRouterBrowserTracingIntegration(router)], tracesSampleRate: 1.0, });

Other Changes

  • fix(nextjs): Do not hide sourceMappingURL comment on client when nextConfig.productionBrowserSourceMaps: true is set (#12278)

8.6.0

8.6.0 did not release fully, so this 8.7.0 also includes changes from that release.

Important Changes

  • feat(metrics): Add timings method to metrics (#12226)

    This introduces a new method, metrics.timing(), which can be used in two ways:

    1. With a numeric value, to simplify creating a distribution metric. This will default to second as unit:
    Sentry.metrics.timing('myMetric', 100);
    
    1. With a callback, which will wrap the duration of the callback. This can accept a sync or async callback. It will create an inactive span around the callback and at the end emit a metric with the duration of the span in seconds:
    const returnValue = Sentry.metrics.timing('myMetric', measureThisFunction);
    

... (truncated)

Changelog

Sourced from @​sentry/browser's changelog.

8.7.0

Important Changes

  • feat(react): Add TanStack Router integration (#12095)

    This release adds instrumentation for TanStack router with a new tanstackRouterBrowserTracingIntegration in the @sentry/react SDK:

    import * as Sentry from '@sentry/react';
    import { createRouter } from '@tanstack/react-router';
    

    const router = createRouter({ // Your router options... });

    Sentry.init({ dsn: 'PUBLIC_DSN', integrations: [Sentry.tanstackRouterBrowserTracingIntegration(router)], tracesSampleRate: 1.0, });

Other Changes

  • fix(nextjs): Do not hide sourceMappingURL comment on client when nextConfig.productionBrowserSourceMaps: true is set (#12278)

8.6.0

Important Changes

  • feat(metrics): Add timings method to metrics (#12226)

    This introduces a new method, metrics.timing(), which can be used in two ways:

    1. With a numeric value, to simplify creating a distribution metric. This will default to second as unit:
    Sentry.metrics.timing('myMetric', 100);
    
    1. With a callback, which will wrap the duration of the callback. This can accept a sync or async callback. It will create an inactive span around the callback and at the end emit a metric with the duration of the span in seconds:
    const returnValue = Sentry.metrics.timing('myMetric', measureThisFunction);
    

... (truncated)

Commits
  • 41b8f79 release: 8.7.0
  • d4aaa3a Merge pull request #12280 from getsentry/prepare-release/8.7.0
  • 9b09cb2 Merge branch 'master' into prepare-release/8.7.0
  • 4aaaba7 meta: Add Changelog entry for 8.7.0
  • d9562b9 fix(nextjs): Do not hide sourceMappingURL comment on client when `nextConfi...
  • 0d1093d feat(react): Add TanStack Router integration (#12095)
  • bbe7be5 build: Remove @types/rimraf and some rimraf usage (#12276)
  • 81e0fd1 build: Bump node to 18.20.3 (#12271)
  • 264675d Merge pull request #12272 from getsentry/prepare-release/8.6.00
  • bf0a138 test(react): Update react-create-hash-router E2E test (#12262)
  • 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 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)
changeset-bot[bot] commented 6 months ago

⚠️ No Changeset found

Latest commit: 6e190bd9b1d9102522ee4512f1570751625db395

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

socket-security[bot] commented 6 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@sentry/browser@8.7.0 network +7 9.54 MB sentry-bot
npm/msw@2.2.13 environment, filesystem, shell +32 5.66 MB kettanaito

🚮 Removed packages: npm/@playwright/test@1.43.1, npm/@sentry/browser@7.110.0, npm/dotenv@16.4.5, npm/eslint-plugin-playwright@1.6.0, npm/http-server@14.1.1, npm/typescript@5.4.3

View full report↗︎

socket-security[bot] commented 6 months ago

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/msw@2.2.13
  • Install script: postinstall
  • Source: node -e "try{require('./config/scripts/postinstall')}catch(e){}"

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/msw@2.2.13
dependabot[bot] commented 5 months ago

Superseded by #195.