Skip to content

Commit 0712f23

Browse files
authored
Merge pull request #19085 from getsentry/prepare-release/10.38.0
meta(changelog): Update changelog for 10.38.0
2 parents e43243e + 717399f commit 0712f23

File tree

115 files changed

+5769
-3576
lines changed

Some content is hidden

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

115 files changed

+5769
-3576
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
name: add-cdn-bundle
3+
description: Create a new CDN bundle for the browser package with specified features
4+
argument-hint: <feature-combo> (e.g., replay.logs.metrics, tracing.logs, tracing.replay.feedback.logs.metrics)
5+
---
6+
7+
# Add CDN Bundle Skill
8+
9+
This skill creates a new CDN bundle for the browser package that includes a specific combination of features.
10+
11+
## Input
12+
13+
The user provides a feature combination using dot notation:
14+
15+
- `logs.metrics` - Bundle with logs and metrics
16+
- `replay.logs.metrics` - Bundle with replay, logs, and metrics
17+
- `tracing.replay.logs` - Bundle with tracing, replay, and logs
18+
- `tracing.replay.feedback.logs.metrics` - Full featured bundle
19+
20+
**Feature order in bundle names:** `tracing``replay``feedback``logs``metrics`
21+
22+
## Instructions
23+
24+
Follow the detailed guide at [docs/adding-cdn-bundle.md](../../../docs/adding-cdn-bundle.md) to create the bundle.
25+
26+
### Quick Reference - Naming Conventions
27+
28+
Given a feature combination, derive these variants:
29+
30+
| Placeholder | Example (`replay.logs.metrics`) |
31+
| ------------------------------- | ------------------------------- |
32+
| `{FEATURE_COMBO}` | `replay.logs.metrics` |
33+
| `{feature_combo}` | `replay_logs_metrics` |
34+
| `{featureCombo}` | `replayLogsMetrics` |
35+
| `{Human Readable Features}` | `Replay, Logs, Metrics` |
36+
| `{Human Readable Feature List}` | `Replay, Logs, and Metrics` |
37+
38+
### Quick Reference - Files to Create/Modify
39+
40+
1. **Create** `packages/browser/src/index.bundle.{FEATURE_COMBO}.ts`
41+
2. **Create** `packages/browser/test/index.bundle.{FEATURE_COMBO}.test.ts`
42+
3. **Modify** `packages/browser/rollup.bundle.config.mjs`
43+
4. **Modify** `.size-limit.js`
44+
5. **Modify** `dev-packages/browser-integration-tests/package.json`
45+
6. **Modify** `dev-packages/browser-integration-tests/utils/generatePlugin.ts`
46+
7. **Modify** `.github/workflows/build.yml`
47+
48+
### Verification Steps
49+
50+
After making changes:
51+
52+
```bash
53+
yarn lint
54+
cd packages/browser && yarn build:dev
55+
cd packages/browser && yarn test
56+
```

.cursor/commands/add_cdn_bundle.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Add CDN Bundle for `{FEATURE_COMBO}`
2+
3+
Create a new CDN bundle for the browser package that includes `{FEATURE_COMBO}` (e.g., `replay.logs.metrics`, `tracing.logs`, etc.).
4+
5+
## Instructions
6+
7+
Follow the detailed guide at [docs/adding-cdn-bundle.md](../../docs/adding-cdn-bundle.md) to create the bundle.
8+
9+
## Quick Reference - Naming Conventions
10+
11+
| Placeholder | Example (`replay.logs.metrics`) |
12+
| ------------------------------- | ------------------------------- |
13+
| `{FEATURE_COMBO}` | `replay.logs.metrics` |
14+
| `{feature_combo}` | `replay_logs_metrics` |
15+
| `{featureCombo}` | `replayLogsMetrics` |
16+
| `{Human Readable Features}` | `Replay, Logs, Metrics` |
17+
| `{Human Readable Feature List}` | `Replay, Logs, and Metrics` |
18+
19+
## Quick Reference - Files to Create/Modify
20+
21+
1. **Create** `packages/browser/src/index.bundle.{FEATURE_COMBO}.ts`
22+
2. **Create** `packages/browser/test/index.bundle.{FEATURE_COMBO}.test.ts`
23+
3. **Modify** `packages/browser/rollup.bundle.config.mjs`
24+
4. **Modify** `.size-limit.js`
25+
5. **Modify** `dev-packages/browser-integration-tests/package.json`
26+
6. **Modify** `dev-packages/browser-integration-tests/utils/generatePlugin.ts`
27+
7. **Modify** `.github/workflows/build.yml`
28+
29+
## Verification Steps
30+
31+
After making changes:
32+
33+
1. Run `yarn lint` to check for linting issues
34+
2. Run `cd packages/browser && yarn build:dev` to verify TypeScript compilation
35+
3. Run `cd packages/browser && yarn test` to run the unit tests

.github/dependabot.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@ updates:
1212
directory: '/'
1313
schedule:
1414
interval: 'weekly'
15-
allow:
16-
- dependency-name: '@sentry/*'
17-
- dependency-name: '@playwright/test'
18-
- dependency-name: '@opentelemetry/*'
1915
ignore:
2016
- dependency-name: '@opentelemetry/instrumentation'
2117
- dependency-name: '@opentelemetry/instrumentation-*'
18+
- dependency-name: 'typescript'
2219
groups:
2320
opentelemetry:
2421
patterns:
2522
- '@opentelemetry/*'
23+
remix:
24+
patterns:
25+
- '@remix-run/*'
2626
versioning-strategy: increase
2727
commit-message:
2828
prefix: feat
29-
prefix-development: feat
29+
prefix-development: chore
3030
include: scope
3131
exclude-paths:
32-
- 'dev-packages/e2e-tests/test-applications/'
32+
- 'dev-packages/e2e-tests/test-applications/**'

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,21 +566,24 @@ jobs:
566566
- esm
567567
- bundle
568568
- bundle_min
569+
- bundle_logs_metrics
569570
- bundle_replay
571+
- bundle_replay_logs_metrics
570572
- bundle_tracing
571573
- bundle_tracing_logs_metrics
572574
- bundle_tracing_replay
575+
- bundle_tracing_replay_logs_metrics
573576
- bundle_tracing_replay_feedback
574-
- bundle_tracing_replay_feedback_min
575577
- bundle_tracing_replay_feedback_logs_metrics
578+
- bundle_tracing_replay_feedback_logs_metrics_min
576579
project:
577580
- chromium
578581
include:
579582
# Only check all projects for full bundle
580583
# We also shard the tests as they take the longest
581-
- bundle: bundle_tracing_replay_feedback_min
584+
- bundle: bundle_tracing_replay_feedback_logs_metrics_min
582585
project: 'webkit'
583-
- bundle: bundle_tracing_replay_feedback_min
586+
- bundle: bundle_tracing_replay_feedback_logs_metrics_min
584587
project: 'firefox'
585588
- bundle: esm
586589
project: chromium

.github/workflows/external-contributors.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ jobs:
3737

3838
- name: Generate GitHub App token
3939
id: app-token
40-
uses: actions/create-github-app-token@v1
40+
uses: actions/create-github-app-token@v2
4141
with:
4242
app-id: ${{ vars.GITFLOW_APP_ID }}
4343
private-key: ${{ secrets.GITFLOW_APP_PRIVATE_KEY }}
4444

4545
- name: Create PR with changes
46-
uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725
46+
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0
4747
with:
4848
token: ${{ steps.app-token.outputs.token }}
4949
commit-message: 'chore: Add external contributor to CHANGELOG.md'

.github/workflows/gitflow-sync-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: Generate GitHub App token
2929
id: app-token
30-
uses: actions/create-github-app-token@v1
30+
uses: actions/create-github-app-token@v2
3131
with:
3232
app-id: ${{ vars.GITFLOW_APP_ID }}
3333
private-key: ${{ secrets.GITFLOW_APP_PRIVATE_KEY }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,6 @@ packages/gatsby/gatsby-node.d.ts
6464

6565
#junit reports
6666
packages/**/*.junit.xml
67+
68+
# Local Claude Code settings that should not be committed
69+
.claude/settings.local.json

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ packages/browser/test/loader.js
22
packages/replay-worker/examples/worker.min.js
33
dev-packages/browser-integration-tests/fixtures
44
**/test.ts-snapshots/**
5+
6+
/.nx/cache
7+
/.nx/workspace-data

.size-limit.js

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,18 +186,36 @@ module.exports = [
186186
gzip: true,
187187
limit: '43 KB',
188188
},
189+
{
190+
name: 'CDN Bundle (incl. Logs, Metrics)',
191+
path: createCDNPath('bundle.logs.metrics.min.js'),
192+
gzip: true,
193+
limit: '29 KB',
194+
},
189195
{
190196
name: 'CDN Bundle (incl. Tracing, Logs, Metrics)',
191197
path: createCDNPath('bundle.tracing.logs.metrics.min.js'),
192198
gzip: true,
193199
limit: '44 KB',
194200
},
201+
{
202+
name: 'CDN Bundle (incl. Replay, Logs, Metrics)',
203+
path: createCDNPath('bundle.replay.logs.metrics.min.js'),
204+
gzip: true,
205+
limit: '69 KB',
206+
},
195207
{
196208
name: 'CDN Bundle (incl. Tracing, Replay)',
197209
path: createCDNPath('bundle.tracing.replay.min.js'),
198210
gzip: true,
199211
limit: '80 KB',
200212
},
213+
{
214+
name: 'CDN Bundle (incl. Tracing, Replay, Logs, Metrics)',
215+
path: createCDNPath('bundle.tracing.replay.logs.metrics.min.js'),
216+
gzip: true,
217+
limit: '81 KB',
218+
},
201219
{
202220
name: 'CDN Bundle (incl. Tracing, Replay, Feedback)',
203221
path: createCDNPath('bundle.tracing.replay.feedback.min.js'),
@@ -225,20 +243,41 @@ module.exports = [
225243
brotli: false,
226244
limit: '128 KB',
227245
},
246+
{
247+
name: 'CDN Bundle (incl. Logs, Metrics) - uncompressed',
248+
path: createCDNPath('bundle.logs.metrics.min.js'),
249+
gzip: false,
250+
brotli: false,
251+
limit: '86 KB',
252+
},
228253
{
229254
name: 'CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed',
230255
path: createCDNPath('bundle.tracing.logs.metrics.min.js'),
231256
gzip: false,
232257
brotli: false,
233258
limit: '130 KB',
234259
},
260+
{
261+
name: 'CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed',
262+
path: createCDNPath('bundle.replay.logs.metrics.min.js'),
263+
gzip: false,
264+
brotli: false,
265+
limit: '209 KB',
266+
},
235267
{
236268
name: 'CDN Bundle (incl. Tracing, Replay) - uncompressed',
237269
path: createCDNPath('bundle.tracing.replay.min.js'),
238270
gzip: false,
239271
brotli: false,
240272
limit: '245 KB',
241273
},
274+
{
275+
name: 'CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed',
276+
path: createCDNPath('bundle.tracing.replay.logs.metrics.min.js'),
277+
gzip: false,
278+
brotli: false,
279+
limit: '250 KB',
280+
},
242281
{
243282
name: 'CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed',
244283
path: createCDNPath('bundle.tracing.replay.feedback.min.js'),

CHANGELOG.md

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

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

7+
## 10.38.0
8+
9+
### Important Changes
10+
11+
- **feat(tanstackstart-react): Auto-instrument request middleware ([#18989](https://github.com/getsentry/sentry-javascript/pull/18989))**
12+
13+
The `sentryTanstackStart` Vite plugin now automatically instruments `middleware` arrays in `createFileRoute()`. This captures performance data without requiring manual wrapping with `wrapMiddlewaresWithSentry()`.
14+
15+
### Other Changes
16+
17+
- feat: Use v4.8.0 bundler plugins ([#18993](https://github.com/getsentry/sentry-javascript/pull/18993))
18+
- feat(browser): Add `logs.metrics` bundle ([#19020](https://github.com/getsentry/sentry-javascript/pull/19020))
19+
- feat(browser): Add `replay.logs.metrics` bundle ([#19021](https://github.com/getsentry/sentry-javascript/pull/19021))
20+
- feat(browser): Add `tracing.replay.logs.metrics` bundle ([#19039](https://github.com/getsentry/sentry-javascript/pull/19039))
21+
- feat(deps): bump import-in-the-middle from 2.0.1 to 2.0.6 ([#19042](https://github.com/getsentry/sentry-javascript/pull/19042))
22+
- feat(node): Add AI manual instrumentation exports to Node ([#19063](https://github.com/getsentry/sentry-javascript/pull/19063))
23+
- feat(wasm): initialised sentryWasmImages for webworkers ([#18812](https://github.com/getsentry/sentry-javascript/pull/18812))
24+
- fix(core): Classify custom `AggregateError`s as exception groups ([#19053](https://github.com/getsentry/sentry-javascript/pull/19053))
25+
- fix(nextjs): Turn off debugID injection if sourcemaps are explicitly disabled ([#19010](https://github.com/getsentry/sentry-javascript/pull/19010))
26+
- fix(react): Avoid `String(key)` to fix Symbol conversion error ([#18982](https://github.com/getsentry/sentry-javascript/pull/18982))
27+
- fix(react): Prevent lazy route handlers from updating wrong navigation span ([#18898](https://github.com/getsentry/sentry-javascript/pull/18898))
28+
29+
<details>
30+
<summary><strong>Internal Changes</strong></summary>
31+
- feat(deps-dev): bump @types/rsvp from 4.0.4 to 4.0.9 ([#19038](https://github.com/getsentry/sentry-javascript/pull/19038))
32+
- ci(build): Run full test suite on new bundle with logs+metrics ([#19065](https://github.com/getsentry/sentry-javascript/pull/19065))
33+
- ci(deps): bump actions/create-github-app-token from 1 to 2 ([#19028](https://github.com/getsentry/sentry-javascript/pull/19028))
34+
- ci(deps): bump peter-evans/create-pull-request from 8.0.0 to 8.1.0 ([#19029](https://github.com/getsentry/sentry-javascript/pull/19029))
35+
- chore: Add external contributor to CHANGELOG.md ([#19005](https://github.com/getsentry/sentry-javascript/pull/19005))
36+
- chore(aws-serverless): Fix local cache issues ([#19081](https://github.com/getsentry/sentry-javascript/pull/19081))
37+
- chore(dependabot): Allow all packages to update ([#19024](https://github.com/getsentry/sentry-javascript/pull/19024))
38+
- chore(dependabot): Update ignore patterns and add more groups ([#19037](https://github.com/getsentry/sentry-javascript/pull/19037))
39+
- chore(dependabot): Update ignore patterns and add more groups ([#19043](https://github.com/getsentry/sentry-javascript/pull/19043))
40+
- chore(deps-dev): bump @edge-runtime/types from 3.0.1 to 4.0.0 ([#19032](https://github.com/getsentry/sentry-javascript/pull/19032))
41+
- chore(deps-dev): bump @vercel/nft from 0.29.4 to 1.3.0 ([#19030](https://github.com/getsentry/sentry-javascript/pull/19030))
42+
- chore(deps): bump @actions/artifact from 2.1.11 to 5.0.3 ([#19031](https://github.com/getsentry/sentry-javascript/pull/19031))
43+
- chore(deps): bump hono from 4.11.4 to 4.11.7 in /dev-packages/e2e-tests/test-applications/cloudflare-hono ([#19009](https://github.com/getsentry/sentry-javascript/pull/19009))
44+
- chore(deps): bump next from 16.0.9 to 16.1.5 in /dev-packages/e2e-tests/test-applications/nextjs-16-cacheComponents ([#19012](https://github.com/getsentry/sentry-javascript/pull/19012))
45+
- chore(deps): Bump trpc v11 dependency in e2e test ([#19061](https://github.com/getsentry/sentry-javascript/pull/19061))
46+
- chore(deps): Bump wrangler to 4.61.0 ([#19023](https://github.com/getsentry/sentry-javascript/pull/19023))
47+
- chore(deps): Upgrade @remix-run deps to 2.17.4 ([#19040](https://github.com/getsentry/sentry-javascript/pull/19040))
48+
- chore(deps): Upgrade `next` versions 15 and 16 ([#19057](https://github.com/getsentry/sentry-javascript/pull/19057))
49+
- chore(deps): Upgrade Lerna to v8 ([#19050](https://github.com/getsentry/sentry-javascript/pull/19050))
50+
- chore(deps): Upgrade next to 14.2.35 ([#19055](https://github.com/getsentry/sentry-javascript/pull/19055))
51+
- chore(deps): Upgrade react-router, @react-router/node, @react-router/serve, @react-router/dev to 7.13.0 ([#19026](https://github.com/getsentry/sentry-javascript/pull/19026))
52+
- chore(llm): Add claude skill + cursor command for adding new cdn bundles ([#19048](https://github.com/getsentry/sentry-javascript/pull/19048))
53+
- chore(llm): Ignore local Claude settings ([#18893](https://github.com/getsentry/sentry-javascript/pull/18893))
54+
- chore(react): Update react-router-5 dev dependency to another than 5.0.0 ([#19047](https://github.com/getsentry/sentry-javascript/pull/19047))
55+
- chore(release): Add generate-changelog script ([#18999](https://github.com/getsentry/sentry-javascript/pull/18999))
56+
- chore(remix): Upgrade @remix-run/router to ^1.23.2 ([#19045](https://github.com/getsentry/sentry-javascript/pull/19045))
57+
- chore(solidstart): Bump peer dependencies of @solidjs/start ([#19051](https://github.com/getsentry/sentry-javascript/pull/19051))
58+
- chore(solidstart): Upgrade Vinxi to update h3 peer dependency ([#19018](https://github.com/getsentry/sentry-javascript/pull/19018))
59+
- chore(tests): Reject messages from unknown origins in integration tests ([#19016](https://github.com/getsentry/sentry-javascript/pull/19016))
60+
61+
</details>
62+
63+
Work in this release was contributed by @harshit078. Thank you for your contribution!
64+
765
## 10.37.0
866

967
### Important Changes

0 commit comments

Comments
 (0)