-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
meta(changelog): Update changelog for 10.35.0 #18886
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+2,584
−182
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
4d66d52
Merge pull request #18821 from getsentry/master
github-actions[bot] 9e9174c
feat(core): Add `ignored` client report event drop reason (#18815)
Lms24 f3097a3
chore(Tracing): Comment out Error tests in langchain (#18837)
RulaKhaled 7640856
fix(Tracing): Check for AI operation id to detect a vercelai span (#1…
RulaKhaled 350909d
chore(deps): Bump bundler plugins to ^4.6.2 (#18822)
nicohrubec 6e42f4f
feat(logs): Add `Log` exports to browser and node packages (#18857)
chargome a3276e4
chore(ci): Use javascript-sdk-gitflow app instead of personal token (…
oioki 70a309f
chore(deps): Bump `@sveltejs/kit` devDependency to `2.49.5` (#18848)
Lms24 6c655db
feat(node-core,bun): Export processSessionIntegration from node-core …
andreiborza 7006293
chore(test): Bump svelte dependencies (#18850)
Lms24 8f98fbe
fix(ember): Use ES5 syntax in inline vendor scripts (#18858)
rreckonerr 8cbb84a
chore: Add external contributor to CHANGELOG.md (#18861)
javascript-sdk-gitflow[bot] 656c5f5
feat(browser): Add CDN bundle for `tracing.replay.feedback.logs.metri…
chargome 7401795
feat(tanstackstart-react): Add sentryTanstackStart vite plugin to man…
nicohrubec e50b75c
feat(browser): Add shim package for logs (#18831)
chargome 32d8fda
fix(fetch): Shallow-clone fetch options to prevent mutation (#18867)
s1gr1d d353444
chore(deps): bump hono from 4.10.3 to 4.11.4 in /dev-packages/e2e-tes…
dependabot[bot] cef02b8
test(e2e): Add testing app for User Feedback (#18877)
chargome df0bff8
test(fastify): Verify if upstream error is fixed and won't regress (#…
JPeer264 75b183d
feat(cloudflare): Automatically set the release id when CF_VERSION_ME…
JPeer264 d2df7f6
fix(core): Find the correct IP address regardless their case (#18880)
JPeer264 d503a8d
meta(changelog): Fix entry for tanstack start vite plugin (#18883)
nicohrubec 8160ada
meta(changelog): Update changelog for 10.35.0
JPeer264 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
.../browser-integration-tests/suites/public-api/logger/consoleLoggingIntegrationShim/init.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| import * as Sentry from '@sentry/browser'; | ||
|
|
||
| window.Sentry = Sentry; | ||
|
|
||
| // consoleLoggingIntegration should not actually work, but still not error out | ||
| Sentry.init({ | ||
| dsn: 'https://public@dsn.ingest.sentry.io/1337', | ||
| sampleRate: 1, | ||
| integrations: [Sentry.consoleLoggingIntegration()], | ||
| }); |
37 changes: 37 additions & 0 deletions
37
.../browser-integration-tests/suites/public-api/logger/consoleLoggingIntegrationShim/test.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| import { expect } from '@playwright/test'; | ||
| import { sentryTest } from '../../../../utils/fixtures'; | ||
|
|
||
| sentryTest('exports a shim consoleLoggingIntegration for non-logs bundles', async ({ getLocalTestUrl, page }) => { | ||
| const bundle = process.env.PW_BUNDLE; | ||
|
|
||
| // Only run this for CDN bundles that do NOT include logs | ||
| // Skip minified bundles because DEBUG_BUILD is false and warnings won't appear | ||
| if (!bundle?.startsWith('bundle') || bundle.includes('logs') || bundle.includes('min')) { | ||
| sentryTest.skip(); | ||
| } | ||
|
|
||
| const consoleMessages: string[] = []; | ||
| page.on('console', msg => consoleMessages.push(msg.text())); | ||
|
|
||
| let requestCount = 0; | ||
| await page.route(/^https:\/\/dsn\.ingest\.sentry\.io\//, route => { | ||
| requestCount++; | ||
| return route.fulfill({ | ||
| status: 200, | ||
| contentType: 'application/json', | ||
| body: JSON.stringify({ id: 'test-id' }), | ||
| }); | ||
| }); | ||
|
|
||
| const url = await getLocalTestUrl({ testDir: __dirname, skipDsnRouteHandler: true }); | ||
|
|
||
| await page.goto(url); | ||
|
|
||
| // Wait a bit to ensure no requests are made | ||
| await page.waitForTimeout(500); | ||
|
|
||
| expect(requestCount).toBe(0); | ||
| expect(consoleMessages).toEqual([ | ||
| 'You are using consoleLoggingIntegration() even though this bundle does not include logs.', | ||
| ]); | ||
| }); |
18 changes: 18 additions & 0 deletions
18
dev-packages/browser-integration-tests/suites/public-api/logger/loggerShim/init.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| import * as Sentry from '@sentry/browser'; | ||
|
|
||
| window.Sentry = Sentry; | ||
|
|
||
| Sentry.init({ | ||
| dsn: 'https://public@dsn.ingest.sentry.io/1337', | ||
| sampleRate: 1, | ||
| }); | ||
|
|
||
| // These should not actually work, but still not error out | ||
| Sentry.logger.trace('test trace'); | ||
| Sentry.logger.debug('test debug'); | ||
| Sentry.logger.info('test info'); | ||
| Sentry.logger.warn('test warn'); | ||
| Sentry.logger.error('test error'); | ||
| Sentry.logger.fatal('test fatal'); | ||
| const testVar = 'test'; | ||
| Sentry.logger.info(Sentry.logger.fmt`formatted ${testVar}`); |
37 changes: 37 additions & 0 deletions
37
dev-packages/browser-integration-tests/suites/public-api/logger/loggerShim/test.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| import { expect } from '@playwright/test'; | ||
| import { sentryTest } from '../../../../utils/fixtures'; | ||
|
|
||
| sentryTest('exports a shim logger for non-logs bundles', async ({ getLocalTestUrl, page }) => { | ||
| const bundle = process.env.PW_BUNDLE; | ||
|
|
||
| // Only run this for CDN bundles that do NOT include logs | ||
| // Skip minified bundles because DEBUG_BUILD is false and warnings won't appear | ||
| if (!bundle?.startsWith('bundle') || bundle.includes('logs') || bundle.includes('min')) { | ||
| sentryTest.skip(); | ||
| } | ||
|
|
||
| const consoleMessages: string[] = []; | ||
| page.on('console', msg => consoleMessages.push(msg.text())); | ||
|
|
||
| let requestCount = 0; | ||
| await page.route(/^https:\/\/dsn\.ingest\.sentry\.io\//, route => { | ||
| requestCount++; | ||
| return route.fulfill({ | ||
| status: 200, | ||
| contentType: 'application/json', | ||
| body: JSON.stringify({ id: 'test-id' }), | ||
| }); | ||
| }); | ||
|
|
||
| const url = await getLocalTestUrl({ testDir: __dirname, skipDsnRouteHandler: true }); | ||
|
|
||
| await page.goto(url); | ||
|
|
||
| // Wait a bit to ensure no requests are made | ||
| await page.waitForTimeout(500); | ||
|
|
||
| expect(requestCount).toBe(0); | ||
|
|
||
| expect(consoleMessages).toContain('You are using Sentry.logger.* even though this bundle does not include logs.'); | ||
| expect(consoleMessages).toContain('You are using Sentry.logger.fmt even though this bundle does not include logs.'); | ||
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/.gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
|
||
| # dependencies | ||
| /node_modules | ||
| /.pnp | ||
| .pnp.js | ||
|
|
||
| # testing | ||
| /coverage | ||
|
|
||
| # next.js | ||
| /.next/ | ||
| /out/ | ||
|
|
||
| # production | ||
| /build | ||
|
|
||
| # misc | ||
| .DS_Store | ||
| *.pem | ||
|
|
||
| # debug | ||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
| .pnpm-debug.log* | ||
|
|
||
| # local env files | ||
| .env*.local | ||
|
|
||
| # vercel | ||
| .vercel | ||
|
|
||
| # typescript | ||
| *.tsbuildinfo | ||
| next-env.d.ts | ||
|
|
||
| !*.d.ts | ||
|
|
||
| # Sentry | ||
| .sentryclirc | ||
|
|
||
| .vscode | ||
|
|
||
| test-results | ||
| event-dumps | ||
|
|
||
| .tmp_dev_server_logs |
4 changes: 4 additions & 0 deletions
4
dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/.npmrc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| @sentry:registry=http://127.0.0.1:4873 | ||
| @sentry-internal:registry=http://127.0.0.1:4873 | ||
| public-hoist-pattern[]=*import-in-the-middle* | ||
| public-hoist-pattern[]=*require-in-the-middle* |
18 changes: 18 additions & 0 deletions
18
dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # Next.js 16 User Feedback E2E Tests | ||
|
|
||
| This test application verifies the Sentry User Feedback SDK functionality with Next.js 16. | ||
|
|
||
| ## Tests | ||
|
|
||
| The tests cover various feedback APIs: | ||
|
|
||
| - `attachTo()` - Attaching feedback to custom buttons | ||
| - `createWidget()` - Creating/removing feedback widget triggers | ||
| - `createForm()` - Creating feedback forms with custom labels | ||
| - `captureFeedback()` - Programmatic feedback submission | ||
| - ThumbsUp/ThumbsDown sentiment tagging | ||
| - Dialog cancellation | ||
|
|
||
| ## Credits | ||
|
|
||
| Shoutout to [Ryan Albrecht](https://github.com/ryan953) for the underlying [testing app](https://github.com/ryan953/nextjs-test-feedback)! |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.