Skip to content

Commit b627c15

Browse files
authored
Merge pull request #9730 from getsentry/prepare-release/7.85.0
meta(changelog): Update changelog for 7.85.0
2 parents 7c20640 + 1fd0b61 commit b627c15

File tree

93 files changed

+971
-311
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+971
-311
lines changed

.craft.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ targets:
2828
- name: npm
2929
id: '@sentry/opentelemetry'
3030
includeNames: /^sentry-opentelemetry-\d.*\.tgz$/
31+
## 1.7 Feedback package (browser only)
32+
- name: npm
33+
id: '@sentry-internal/feedback'
34+
includeNames: /^sentry-internal-feedback-\d.*\.tgz$/
3135

3236
## 2. Browser & Node SDKs
3337
- name: npm

.eslintrc.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,23 @@ module.exports = {
2323
'types/**',
2424
],
2525
overrides: [
26+
{
27+
files: ['*'],
28+
rules: {
29+
// Disabled because it's included with Biome's linter
30+
'no-control-regex': 'off',
31+
},
32+
},
2633
{
2734
files: ['*.ts', '*.tsx', '*.d.ts'],
2835
parserOptions: {
2936
project: ['tsconfig.json'],
3037
},
38+
rules: {
39+
// Disabled because it's included with Biome's linter
40+
'@typescript-eslint/no-unused-vars': 'off',
41+
'@typescript-eslint/no-loss-of-precision': 'off',
42+
},
3143
},
3244
{
3345
files: ['test/**/*.ts', 'test/**/*.tsx'],

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ local.log
3737
._*
3838
.Spotlight-V100
3939
.Trashes
40+
.nx
4041

4142
.rpt2_cache
4243

.size-limit.js

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
module.exports = [
22
// Main browser webpack builds
3+
{
4+
name: '@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped)',
5+
path: 'packages/browser/build/npm/esm/index.js',
6+
import: '{ init, Replay, BrowserTracing, Feedback }',
7+
gzip: true,
8+
limit: '90 KB',
9+
},
310
{
411
name: '@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)',
512
path: 'packages/browser/build/npm/esm/index.js',
613
import: '{ init, Replay, BrowserTracing }',
714
gzip: true,
8-
limit: '90 KB',
15+
limit: '75 KB',
916
},
1017
{
1118
name: '@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)',
1219
path: 'packages/browser/build/npm/esm/index.js',
1320
import: '{ init, Replay, BrowserTracing }',
1421
gzip: true,
15-
limit: '90 KB',
22+
limit: '75 KB',
1623
modifyWebpackConfig: function (config) {
1724
const webpack = require('webpack');
1825
config.plugins.push(
@@ -33,6 +40,13 @@ module.exports = [
3340
gzip: true,
3441
limit: '35 KB',
3542
},
43+
{
44+
name: '@sentry/browser (incl. Feedback) - Webpack (gzipped)',
45+
path: 'packages/browser/build/npm/esm/index.js',
46+
import: '{ init, Feedback }',
47+
gzip: true,
48+
limit: '50 KB',
49+
},
3650
{
3751
name: '@sentry/browser - Webpack (gzipped)',
3852
path: 'packages/browser/build/npm/esm/index.js',
@@ -42,11 +56,17 @@ module.exports = [
4256
},
4357

4458
// Browser CDN bundles (ES6)
59+
{
60+
name: '@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped)',
61+
path: 'packages/browser/build/bundles/bundle.tracing.replay.feedback.min.js',
62+
gzip: true,
63+
limit: '75 KB',
64+
},
4565
{
4666
name: '@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)',
4767
path: 'packages/browser/build/bundles/bundle.tracing.replay.min.js',
4868
gzip: true,
49-
limit: '90 KB',
69+
limit: '75 KB',
5070
},
5171
{
5272
name: '@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)',
@@ -96,7 +116,7 @@ module.exports = [
96116
path: 'packages/react/build/esm/index.js',
97117
import: '{ init, BrowserTracing, Replay }',
98118
gzip: true,
99-
limit: '90 KB',
119+
limit: '75 KB',
100120
},
101121
{
102122
name: '@sentry/react - Webpack (gzipped)',
@@ -126,6 +146,6 @@ module.exports = [
126146
path: 'packages/feedback/build/npm/esm/index.js',
127147
import: '{ Feedback }',
128148
gzip: true,
129-
limit: '35 KB',
149+
limit: '25 KB',
130150
},
131151
];

.vscode/settings.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,15 @@
2323
"yaml.schemas": {
2424
"https://json.schemastore.org/github-workflow.json": ".github/workflows/**.yml"
2525
},
26-
"eslint.packageManager": "yarn",
2726
"eslint.workingDirectories": [
2827
{
2928
"mode": "auto"
3029
}
3130
],
32-
"deno.enablePaths": ["packages/deno/test"]
31+
"deno.enablePaths": ["packages/deno/test"],
32+
"editor.codeActionsOnSave": {
33+
"source.organizeImports.biome": true,
34+
"quickfix.biome": true
35+
},
36+
"editor.defaultFormatter": "biomejs.biome"
3337
}

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44

55
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
66

7+
## 7.85.0
8+
9+
- feat(core): Add `addEventProcessor` method (#9554)
10+
- feat(crons): Add interface for heartbeat checkin (#9706)
11+
- feat(feedback): Include Feedback package in browser SDK (#9586)
12+
- fix(astro): Isolate request instrumentation in middleware (#9709)
13+
- fix(replay): Capture JSON XHR response bodies (#9623)
14+
- ref(feedback): Change form `box-shadow` to use CSS var (#9630)
15+
716
## 7.84.0
817

918
### Important Changes

MIGRATION.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ npx @sentry/migr8@latest
88

99
This will let you select which updates to run, and automatically update your code. Make sure to still review all code changes!
1010

11+
## Deprecate `addGlobalEventProcessor` in favor of `addEventProcessor`
12+
13+
Instead of using `addGlobalEventProcessor`, you should use `addEventProcessor` which does not add the event processor globally, but to the current client.
14+
15+
For the vast majority of cases, the behavior of these should be the same. Only in the case where you have multiple clients will this differ - but you'll likely want to add event processors per-client then anyhow, not globally.
16+
17+
In v8, we will remove the global event processors overall, as that allows us to avoid keeping global state that is not necessary.
18+
1119
## Deprecate `extractTraceParentData` export from `@sentry/core` & downstream packages
1220

1321
Instead, import this directly from `@sentry/utils`.

biome.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,20 @@
99
"enabled": true
1010
},
1111
"linter": {
12-
"enabled": false
12+
"enabled": true,
13+
"rules": {
14+
"recommended": false,
15+
"correctness": {
16+
"all": false,
17+
"noUnusedVariables": "error",
18+
"noPrecisionLoss": "error"
19+
},
20+
"suspicious": {
21+
"all": false,
22+
"noControlCharactersInRegex": "error"
23+
}
24+
},
25+
"ignore": [".vscode/*", "**/*.json"]
1326
},
1427
"files": {
1528
"ignoreUnknown": true
@@ -37,6 +50,9 @@
3750
"arrowParentheses": "asNeeded",
3851
"trailingComma": "all",
3952
"lineEnding": "lf"
53+
},
54+
"parser": {
55+
"unsafeParameterDecoratorsEnabled": true
4056
}
4157
},
4258
"json": {

packages/astro/src/index.server.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ import { handleRequest } from './server/middleware';
88

99
// Hence, we export everything from the Node SDK explicitly:
1010
export {
11+
// eslint-disable-next-line deprecation/deprecation
1112
addGlobalEventProcessor,
13+
addEventProcessor,
1214
addBreadcrumb,
1315
captureException,
1416
captureEvent,

0 commit comments

Comments
 (0)