Skip to content

Commit a4c3098

Browse files
authored
Merge branch 'develop' into onur/pinia-plugin
2 parents f244aba + 3f0926e commit a4c3098

File tree

105 files changed

+2477
-1529
lines changed

Some content is hidden

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

105 files changed

+2477
-1529
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
id: install_dependencies
153153

154154
- name: Check for Affected Nx Projects
155-
uses: dkhunt27/action-nx-affected-list@v5.3
155+
uses: dkhunt27/action-nx-affected-list@v6.1
156156
id: checkForAffected
157157
if: github.event_name == 'pull_request'
158158
with:
@@ -437,7 +437,7 @@ jobs:
437437
with:
438438
node-version-file: 'package.json'
439439
- name: Set up Deno
440-
uses: denoland/setup-deno@v1.4.1
440+
uses: denoland/setup-deno@v1.5.1
441441
with:
442442
deno-version: v1.38.5
443443
- name: Restore caches
@@ -931,6 +931,7 @@ jobs:
931931
'node-koa',
932932
'node-connect',
933933
'nuxt-3',
934+
'nuxt-4',
934935
'vue-3',
935936
'webpack-4',
936937
'webpack-5'

.github/workflows/external-contributors.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
- name: Create PR with changes
3939
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
4040
with:
41+
# This token is scoped to Daniel Griesser
42+
# If we used the default GITHUB_TOKEN, the resulting PR would not trigger CI :(
43+
token: ${{ secrets.REPO_SCOPED_TOKEN }}
4144
commit-message: "ref: Add external contributor to CHANGELOG.md"
4245
title: "ref: Add external contributor to CHANGELOG.md"
4346
branch: 'external-contributor/patch-${{ github.event.pull_request.user.login }}'

CHANGELOG.md

Lines changed: 55 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,56 @@
1010

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

13+
Work in this release was contributed by @trzeciak and @lizhiyao. Thank you for your contributions!
14+
15+
## 8.33.1
16+
17+
- fix(core): Update trpc middleware types ([#13859](https://github.com/getsentry/sentry-javascript/pull/13859))
18+
- fix(fetch): Fix memory leak when handling endless streaming
19+
([#13809](https://github.com/getsentry/sentry-javascript/pull/13809))
20+
21+
Work in this release was contributed by @soapproject. Thank you for your contribution!
22+
23+
## 8.33.0
24+
25+
### Important Changes
26+
27+
- **feat(nextjs): Support new async APIs (`headers()`, `params`, `searchParams`)
28+
([#13828](https://github.com/getsentry/sentry-javascript/pull/13828))**
29+
30+
Adds support for [new dynamic Next.js APIs](https://github.com/vercel/next.js/pull/68812).
31+
32+
- **feat(node): Add `lru-memoizer` instrumentation
33+
([#13796](https://github.com/getsentry/sentry-javascript/pull/13796))**
34+
35+
Adds integration for lru-memoizer using @opentelemetry/instrumentation-lru-memoizer.
36+
37+
- **feat(nuxt): Add `unstable_sentryBundlerPluginOptions` to module options
38+
([#13811](https://github.com/getsentry/sentry-javascript/pull/13811))**
39+
40+
Allows passing other options from the bundler plugins (vite and rollup) to Nuxt module options.
41+
42+
### Other Changes
43+
44+
- fix(browser): Ensure `wrap()` only returns functions
45+
([#13838](https://github.com/getsentry/sentry-javascript/pull/13838))
46+
- fix(core): Adapt trpc middleware input attachment
47+
([#13831](https://github.com/getsentry/sentry-javascript/pull/13831))
48+
- fix(core): Don't return trace data in `getTraceData` and `getTraceMetaTags` if SDK is disabled
49+
([#13760](https://github.com/getsentry/sentry-javascript/pull/13760))
50+
- fix(nuxt): Don't restrict source map assets upload
51+
([#13800](https://github.com/getsentry/sentry-javascript/pull/13800))
52+
- fix(nuxt): Use absolute path for client config ([#13798](https://github.com/getsentry/sentry-javascript/pull/13798))
53+
- fix(replay): Stop global event handling for paused replays
54+
([#13815](https://github.com/getsentry/sentry-javascript/pull/13815))
55+
- fix(sveltekit): add url param to source map upload options
56+
([#13812](https://github.com/getsentry/sentry-javascript/pull/13812))
57+
- fix(types): Add jsdocs to cron types ([#13776](https://github.com/getsentry/sentry-javascript/pull/13776))
58+
- fix(nextjs): Loosen @sentry/nextjs webpack peer dependency
59+
([#13826](https://github.com/getsentry/sentry-javascript/pull/13826))
60+
61+
Work in this release was contributed by @joshuajaco. Thank you for your contribution!
62+
1363
## 8.32.0
1464

1565
### Important Changes
@@ -1110,12 +1160,12 @@ with full support for ESM-based node apps using **Node.js 18.19.0 or higher**.
11101160
[**ES2018+**](https://caniuse.com/?feats=mdn-javascript_builtins_regexp_dotall,js-regexp-lookbehind,mdn-javascript_builtins_regexp_named_capture_groups,mdn-javascript_builtins_regexp_property_escapes,mdn-javascript_builtins_symbol_asynciterator,mdn-javascript_functions_method_definitions_async_generator_methods,mdn-javascript_grammar_template_literals_template_literal_revision,mdn-javascript_operators_destructuring_rest_in_objects,mdn-javascript_operators_destructuring_rest_in_arrays,promise-finally)
11111161
compatible browsers. New minimum browser versions:
11121162

1113-
- Chrome 63
1163+
- Chrome 71
11141164
- Edge 79
1115-
- Safari/iOS Safari 12
1116-
- Firefox 58
1117-
- Opera 50
1118-
- Samsung Internet 8.2
1165+
- Safari 12.1, iOS Safari 12.2
1166+
- Firefox 65
1167+
- Opera 58
1168+
- Samsung Internet 10
11191169

11201170
For more details, please see the
11211171
[version support section in our migration guide](./MIGRATION.md#1-version-support-changes).

MIGRATION.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,20 @@ higher. Lower versions may continue to work, but may not support all features (e
2424
applies to `@sentry/node` and all of our node-based server-side sdks (`@sentry/nextjs`, `@sentry/serverless`, etc.). We
2525
no longer test against Node 8, 10, or 12 and cannot guarantee that the SDK will work as expected on these versions.
2626

27-
**Browser**: Our browser SDKs (`@sentry/browser`, `@sentry/react`, `@sentry/vue`, etc.) now require ES2018+ compatible
28-
browsers. This means that we no longer support IE11 (end of an era). This also means that the Browser SDK requires the
29-
fetch API to be available in the environment.
27+
**Browser**: Our browser SDKs (`@sentry/browser`, `@sentry/react`, `@sentry/vue`, etc.) now require ES2018+
28+
compatibility plus support for
29+
[`globalThis`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis). This means
30+
that we no longer support IE11 (end of an era). This also means that the Browser SDK requires the fetch API to be
31+
available in the environment.
3032

3133
New minimum supported browsers:
3234

33-
- Chrome 63
35+
- Chrome 71
3436
- Edge 79
35-
- Safari/iOS Safari 12
36-
- Firefox 58
37-
- Opera 50
38-
- Samsung Internet 8.2
37+
- Safari 12.1, iOS Safari 12.2
38+
- Firefox 65
39+
- Opera 58
40+
- Samsung Internet 10
3941

4042
For IE11 support please transpile your code to ES5 using babel or similar and add required polyfills.
4143

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ package. Please refer to the README and instructions of those SDKs for more deta
6262
- [`@sentry/remix`](https://github.com/getsentry/sentry-javascript/tree/master/packages/remix): SDK for Remix
6363
- [`@sentry/aws-serverless`](https://github.com/getsentry/sentry-javascript/tree/master/packages/aws-serverless): SDK
6464
for AWS Lambda Functions
65-
- [`@sentry/google-cloud-serverless`](https://github.com/getsentry/sentry-javascript/tree/master/packages/google-cloud):
65+
- [`@sentry/google-cloud-serverless`](https://github.com/getsentry/sentry-javascript/tree/master/packages/google-cloud-serverless):
6666
SDK for Google Cloud Functions
6767
- [`@sentry/electron`](https://github.com/getsentry/sentry-electron): SDK for Electron with support for native crashes
6868
- [`@sentry/react-native`](https://github.com/getsentry/sentry-react-native): SDK for React Native with support for

dev-packages/browser-integration-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/browser-integration-tests",
3-
"version": "8.32.0",
3+
"version": "8.33.1",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {
@@ -43,7 +43,7 @@
4343
"@babel/preset-typescript": "^7.16.7",
4444
"@playwright/test": "^1.44.1",
4545
"@sentry-internal/rrweb": "2.11.0",
46-
"@sentry/browser": "8.32.0",
46+
"@sentry/browser": "8.33.1",
4747
"axios": "1.6.7",
4848
"babel-loader": "^8.2.2",
4949
"html-webpack-plugin": "^5.5.0",

dev-packages/bundle-analyzer-scenarios/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/bundle-analyzer-scenarios",
3-
"version": "8.32.0",
3+
"version": "8.33.1",
44
"description": "Scenarios to test bundle analysis with",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/dev-packages/bundle-analyzer-scenarios",

dev-packages/clear-cache-gh-action/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@sentry-internal/clear-cache-gh-action",
33
"description": "An internal Github Action to clear GitHub caches.",
4-
"version": "8.32.0",
4+
"version": "8.33.1",
55
"license": "MIT",
66
"engines": {
77
"node": ">=18"

dev-packages/e2e-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/e2e-tests",
3-
"version": "8.32.0",
3+
"version": "8.33.1",
44
"license": "MIT",
55
"private": true,
66
"scripts": {

dev-packages/e2e-tests/test-applications/nextjs-t3/src/server/api/trpc.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ export const createCallerFactory = t.createCallerFactory;
7070
*/
7171
export const createTRPCRouter = t.router;
7272

73-
const sentryMiddleware = Sentry.trpcMiddleware({
74-
attachRpcInput: true,
75-
});
76-
77-
export const publicProcedure = t.procedure.use(async opts => sentryMiddleware(opts));
73+
export const publicProcedure = t.procedure.use(
74+
Sentry.trpcMiddleware({
75+
attachRpcInput: true,
76+
}),
77+
);

0 commit comments

Comments
 (0)