getsentry/sentry-javascript (@sentry/node)
### [`v8.7.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#870)
##### Important Changes
- **feat(react): Add TanStack Router integration ([#12095](https://togithub.com/getsentry/sentry-javascript/issues/12095))**
This release adds instrumentation for TanStack router with a new `tanstackRouterBrowserTracingIntegration` in the
`@sentry/react` SDK:
```javascript
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](https://togithub.com/getsentry/sentry-javascript/issues/12278))
### [`v8.6.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#860)
##### Important Changes
- **feat(metrics): Add `timings` method to metrics ([#12226](https://togithub.com/getsentry/sentry-javascript/issues/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:
```js
Sentry.metrics.timing('myMetric', 100);
```
2. 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:
```js
const returnValue = Sentry.metrics.timing('myMetric', measureThisFunction);
```
- **feat(react): Add `Sentry.reactErrorHandler` ([#12147](https://togithub.com/getsentry/sentry-javascript/issues/12147))**
This PR introduces `Sentry.reactErrorHandler`, which you can use in React 19 as follows:
```js
import * as Sentry from '@sentry/react';
import { hydrateRoot } from 'react-dom/client';
ReactDOM.hydrateRoot(
document.getElementById('root'),
,
{
onUncaughtError: Sentry.reactErrorHandler(),
onCaughtError: Sentry.reactErrorHandler((error, errorInfo) => {
// optional callback if users want custom config.
}),
},
);
```
For more details, take a look at [the PR](https://togithub.com/getsentry/sentry-javascript/pull/12147). Our
documentation will be updated soon!
##### Other Changes
- feat(sveltekit): Add request data to server-side events ([#12254](https://togithub.com/getsentry/sentry-javascript/issues/12254))
- fix(core): Pass in cron monitor config correctly ([#12248](https://togithub.com/getsentry/sentry-javascript/issues/12248))
- fix(nextjs): Don't capture suspense errors in server components ([#12261](https://togithub.com/getsentry/sentry-javascript/issues/12261))
- fix(tracing): Ensure sent spans are limited to 1000 ([#12252](https://togithub.com/getsentry/sentry-javascript/issues/12252))
- ref(core): Use versioned carrier on global object ([#12206](https://togithub.com/getsentry/sentry-javascript/issues/12206))
### [`v8.5.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#850)
[Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/8.4.0...8.5.0)
##### Important Changes
- **feat(react): Add React 19 to peer deps ([#12207](https://togithub.com/getsentry/sentry-javascript/issues/12207))**
This release adds support for React 19 in the `@sentry/react` SDK package.
- **feat(node): Add `@sentry/node/preload` hook ([#12213](https://togithub.com/getsentry/sentry-javascript/issues/12213))**
This release adds a new way to initialize `@sentry/node`, which allows you to use the SDK with performance
instrumentation even if you cannot call `Sentry.init()` at the very start of your app.
First, run the SDK like this:
```bash
node --require @sentry/node/preload ./app.js
```
Now, you can initialize and import the rest of the SDK later or asynchronously:
```js
const express = require('express');
const Sentry = require('@sentry/node');
const dsn = await getSentryDsn();
Sentry.init({ dsn });
```
For more details, head over to the
[PR Description of the new feature](https://togithub.com/getsentry/sentry-javascript/pull/12213). Our docs will be updated
soon with a new guide.
##### Other Changes
- feat(browser): Do not include metrics in base CDN bundle ([#12230](https://togithub.com/getsentry/sentry-javascript/issues/12230))
- feat(core): Add `startNewTrace` API ([#12138](https://togithub.com/getsentry/sentry-javascript/issues/12138))
- feat(core): Allow to pass custom scope to `captureFeedback()` ([#12216](https://togithub.com/getsentry/sentry-javascript/issues/12216))
- feat(core): Only allow `SerializedSession` in session envelope items ([#11979](https://togithub.com/getsentry/sentry-javascript/issues/11979))
- feat(nextjs): Use Vercel's `waitUntil` to defer freezing of Vercel Lambdas ([#12133](https://togithub.com/getsentry/sentry-javascript/issues/12133))
- feat(node): Ensure manual OTEL setup works ([#12214](https://togithub.com/getsentry/sentry-javascript/issues/12214))
- fix(aws-serverless): Avoid minifying `Module._resolveFilename` in Lambda layer bundle ([#12232](https://togithub.com/getsentry/sentry-javascript/issues/12232))
- fix(aws-serverless): Ensure lambda layer uses default export from `ImportInTheMiddle` ([#12233](https://togithub.com/getsentry/sentry-javascript/issues/12233))
- fix(browser): Improve browser extension error message check ([#12146](https://togithub.com/getsentry/sentry-javascript/issues/12146))
- fix(browser): Remove optional chaining in INP code ([#12196](https://togithub.com/getsentry/sentry-javascript/issues/12196))
- fix(nextjs): Don't report React postpone errors ([#12194](https://togithub.com/getsentry/sentry-javascript/issues/12194))
- fix(nextjs): Use global scope for generic event filters ([#12205](https://togithub.com/getsentry/sentry-javascript/issues/12205))
- fix(node): Add origin to redis span ([#12201](https://togithub.com/getsentry/sentry-javascript/issues/12201))
- fix(node): Change import of `@prisma/instrumentation` to use default import ([#12185](https://togithub.com/getsentry/sentry-javascript/issues/12185))
- fix(node): Only import `inspector` asynchronously ([#12231](https://togithub.com/getsentry/sentry-javascript/issues/12231))
- fix(replay): Update matcher for hydration error detection to new React docs ([#12209](https://togithub.com/getsentry/sentry-javascript/issues/12209))
- ref(profiling-node): Add warning when using non-LTS node ([#12211](https://togithub.com/getsentry/sentry-javascript/issues/12211))
typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
### [`v7.11.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#7110-2024-05-27)
[Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.10.0...v7.11.0)
##### 🚀 Features
- **eslint-plugin:** deprecate prefer-ts-expect-error in favor of ban-ts-comment
##### 🩹 Fixes
- **eslint-plugin:** \[consistent-type-assertions] prevent syntax errors on arrow functions
##### ❤️ Thank You
- Abraham Guo
- auvred
- Dom Armstrong
- Kirk Waiblinger
You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
typescript-eslint/typescript-eslint (@typescript-eslint/parser)
### [`v7.11.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7110-2024-05-27)
[Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.10.0...v7.11.0)
This was a version bump only for parser to align it with other projects, there were no code changes.
You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
discordjs/discord-api-types (discord-api-types)
### [`v0.37.86`](https://togithub.com/discordjs/discord-api-types/blob/HEAD/CHANGELOG.md#03786-2024-05-27)
[Compare Source](https://togithub.com/discordjs/discord-api-types/compare/0.37.85...0.37.86)
docker/login-action (docker/login-action)
### [`v3.2.0`](https://togithub.com/docker/login-action/releases/tag/v3.2.0)
[Compare Source](https://togithub.com/docker/login-action/compare/v3.1.0...v3.2.0)
- Improve missing username/password by [@Frankkkkk](https://togithub.com/Frankkkkk) in [https://github.com/docker/login-action/pull/706](https://togithub.com/docker/login-action/pull/706)
- Bump [@docker/actions-toolkit](https://togithub.com/docker/actions-toolkit) from 0.18.0 to 0.24.0 in [https://github.com/docker/login-action/pull/715](https://togithub.com/docker/login-action/pull/715) [https://github.com/docker/login-action/pull/721](https://togithub.com/docker/login-action/pull/721)
- Bump aws-sdk-dependencies to 3.583.0 in [https://github.com/docker/login-action/pull/720](https://togithub.com/docker/login-action/pull/720)
- Bump undici from 5.28.3 to 5.28.4 in [https://github.com/docker/login-action/pull/694](https://togithub.com/docker/login-action/pull/694)
**Full Changelog**: https://github.com/docker/login-action/compare/v3.1.0...v3.2.0
nodejs/node (node)
### [`v20.14.0`](https://togithub.com/nodejs/node/compare/v20.13.1...v20.14.0)
[Compare Source](https://togithub.com/nodejs/node/compare/v20.13.1...v20.14.0)
prettier/prettier (prettier)
### [`v3.3.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#330)
[Compare Source](https://togithub.com/prettier/prettier/compare/3.2.5...3.3.0)
[diff](https://togithub.com/prettier/prettier/compare/3.2.5...3.3.0)
🔗 [Release Notes](https://prettier.io/blog/2024/06/01/3.3.0.html)
Configuration
📅 Schedule: Branch creation - "before 12pm on Sunday" (UTC), 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.
This PR contains the following updates:
^8.4.0
->^8.7.0
^7.10.0
->^7.11.0
^7.10.0
->^7.11.0
^0.37.85
->^0.37.86
^0.37.85
->^0.37.86
v3.1.0
->v3.2.0
20.13.1
->20.14.0
^3.2.5
->^3.3.0
Release Notes
getsentry/sentry-javascript (@sentry/node)
### [`v8.7.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#870) ##### Important Changes - **feat(react): Add TanStack Router integration ([#12095](https://togithub.com/getsentry/sentry-javascript/issues/12095))** This release adds instrumentation for TanStack router with a new `tanstackRouterBrowserTracingIntegration` in the `@sentry/react` SDK: ```javascript 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](https://togithub.com/getsentry/sentry-javascript/issues/12278)) ### [`v8.6.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#860) ##### Important Changes - **feat(metrics): Add `timings` method to metrics ([#12226](https://togithub.com/getsentry/sentry-javascript/issues/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: ```js Sentry.metrics.timing('myMetric', 100); ``` 2. 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: ```js const returnValue = Sentry.metrics.timing('myMetric', measureThisFunction); ``` - **feat(react): Add `Sentry.reactErrorHandler` ([#12147](https://togithub.com/getsentry/sentry-javascript/issues/12147))** This PR introduces `Sentry.reactErrorHandler`, which you can use in React 19 as follows: ```js import * as Sentry from '@sentry/react'; import { hydrateRoot } from 'react-dom/client'; ReactDOM.hydrateRoot( document.getElementById('root'),typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
### [`v7.11.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#7110-2024-05-27) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.10.0...v7.11.0) ##### 🚀 Features - **eslint-plugin:** deprecate prefer-ts-expect-error in favor of ban-ts-comment ##### 🩹 Fixes - **eslint-plugin:** \[consistent-type-assertions] prevent syntax errors on arrow functions ##### ❤️ Thank You - Abraham Guo - auvred - Dom Armstrong - Kirk Waiblinger You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.typescript-eslint/typescript-eslint (@typescript-eslint/parser)
### [`v7.11.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#7110-2024-05-27) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v7.10.0...v7.11.0) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.discordjs/discord-api-types (discord-api-types)
### [`v0.37.86`](https://togithub.com/discordjs/discord-api-types/blob/HEAD/CHANGELOG.md#03786-2024-05-27) [Compare Source](https://togithub.com/discordjs/discord-api-types/compare/0.37.85...0.37.86)docker/login-action (docker/login-action)
### [`v3.2.0`](https://togithub.com/docker/login-action/releases/tag/v3.2.0) [Compare Source](https://togithub.com/docker/login-action/compare/v3.1.0...v3.2.0) - Improve missing username/password by [@Frankkkkk](https://togithub.com/Frankkkkk) in [https://github.com/docker/login-action/pull/706](https://togithub.com/docker/login-action/pull/706) - Bump [@docker/actions-toolkit](https://togithub.com/docker/actions-toolkit) from 0.18.0 to 0.24.0 in [https://github.com/docker/login-action/pull/715](https://togithub.com/docker/login-action/pull/715) [https://github.com/docker/login-action/pull/721](https://togithub.com/docker/login-action/pull/721) - Bump aws-sdk-dependencies to 3.583.0 in [https://github.com/docker/login-action/pull/720](https://togithub.com/docker/login-action/pull/720) - Bump undici from 5.28.3 to 5.28.4 in [https://github.com/docker/login-action/pull/694](https://togithub.com/docker/login-action/pull/694) **Full Changelog**: https://github.com/docker/login-action/compare/v3.1.0...v3.2.0nodejs/node (node)
### [`v20.14.0`](https://togithub.com/nodejs/node/compare/v20.13.1...v20.14.0) [Compare Source](https://togithub.com/nodejs/node/compare/v20.13.1...v20.14.0)prettier/prettier (prettier)
### [`v3.3.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#330) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.5...3.3.0) [diff](https://togithub.com/prettier/prettier/compare/3.2.5...3.3.0) 🔗 [Release Notes](https://prettier.io/blog/2024/06/01/3.3.0.html)Configuration
📅 Schedule: Branch creation - "before 12pm on Sunday" (UTC), 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.
This PR has been generated by Mend Renovate. View repository job log here.