-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
meta(changelog): Update changelog for 10.46.0 #19973
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
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
86f5dc8
fix(serverless): Add node to metadata (#19878)
nicohrubec 44fd627
Merge pull request #19882 from getsentry/master
github-actions[bot] 399df7c
test(astro): Re-enable server island tracing e2e test in Astro 6 (#19…
Lms24 8d14dea
fix(nestjs): Add `node` to nest metadata (#19875)
chargome ccf337a
fix(deps): bump socket.io-parser to 4.2.6 to fix CVE-2026-33151 (#19880)
chargome 02744f7
feat(deps): bump stacktrace-parser from 0.1.10 to 0.1.11 (#19887)
dependabot[bot] ffe7a6f
chore(deps): bump mongodb-memory-server-global from 10.1.4 to 11.0.1 …
dependabot[bot] ffe00a7
chore(node-integration-tests): Remove unnecessary `file-type` depende…
Lms24 0684e2d
handleCallbackErrors return type fix
s1gr1d da2ff20
with `has` object trap
s1gr1d b4c4bbf
remove proxy wrapping
s1gr1d bd451fc
add tracing unit tests
s1gr1d b978b79
clean up test cases
s1gr1d 7531ac4
remove throw error
s1gr1d 5e99593
fix: Copy properties onto Sentry-chained promises
isaacs e9bf658
chore(lint): resolve oxlint warnings
isaacs c167cf2
chore: avoid unnecessary sort to get smallest value
isaacs ddca82a
fix(cloudflare): Forward `ctx` argument to `Workflow.do` user callbac…
Lms24 c1a7b22
ref(sveltekit): Replace recast + @babel/parser with acorn (#19533)
roli-lpci 587cc6c
fix(core): Do not overwrite user provided conversation id in Vercel (…
nicohrubec 344b774
chore: Add external contributor to CHANGELOG.md (#19909)
javascript-sdk-gitflow[bot] ebcb517
chore(ci): Fix "Gatbsy" typo in issue package label workflow (#19905)
chargome 0d4feb2
fix(craft): Add missing mainDocsUrl for @sentry/effect SDK (#19860)
bc-sentry 94cb94f
fix(deps): bump next to 15.5.14 in nextjs-15 and nextjs-15-intl E2E t…
chargome ce11ba2
chore(deps-dev): bump @react-router/node from 7.13.0 to 7.13.1 (#19544)
dependabot[bot] cac4c46
chore(deps-dev): bump qunit-dom from 3.2.1 to 3.5.0 (#19546)
dependabot[bot] b4071ef
chore(remix): Replace glob with native recursive fs walk (#19531)
roli-lpci 8808ea1
chore: Add external contributor to CHANGELOG.md (#19925)
javascript-sdk-gitflow[bot] 70387b5
fix(cloudflare): Send correct events in local development (#19900)
JPeer264 8fc035a
fix(deps): bump fast-xml-parser to 5.5.8 in @azure/core-xml chain (#1…
chargome cf60d03
chore(claude): Enable Claude Code Intelligence (LSP) (#19930)
s1gr1d 232317c
chore(deps-dev): bump effect from 3.19.19 to 3.20.0 (#19926)
dependabot[bot] 3fafdb4
ref(nuxt): Extract handler patching to extra plugin for Nitro v2/v3 (…
s1gr1d b7f5d09
fix(core): Send `internal_error` as span status for Vercel error span…
nicohrubec 907d06c
ref(nuxt): Extract core logic for storage/database to prepare for Nux…
s1gr1d 66b48de
fix(deps): update lockfile to resolve h3@1.15.10 (#19933)
chargome 51e2cee
fix(core): Truncate content array format in Vercel (#19911)
nicohrubec 83cabf3
fix(core): Preserve .withResponse() on Anthropic instrumentation (#19…
nicohrubec c9812ae
test(cloudflare): Enable multi-worker tests for CF integration tests …
JPeer264 18a624e
feat(elysia): Elysia SDK (#19509)
logaretm 0156846
feat(nuxt): Conditionally use plugins based on Nitro version (v2/v3) …
s1gr1d a54de04
ref(core): Remove duplicate `buildMethodPath` utility from openai (#1…
nicohrubec 54abb35
refactor(elysia): drop @elysiajs/opentelemetry dependency (#19947)
logaretm 6f48cc4
meta(changelog): Update changelog for 10.46.0
nicohrubec 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| { | ||
| "env": { "ENABLE_LSP_TOOL": "1" }, | ||
| "permissions": { | ||
| "allow": [ | ||
| "Bash(find:*)", | ||
|
|
||
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
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
79 changes: 79 additions & 0 deletions
79
...wser-integration-tests/suites/public-api/startSpan/thenable-with-extra-methods/subject.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,79 @@ | ||
| /** | ||
| * Test that verifies thenable objects with extra methods (like jQuery's jqXHR) | ||
| * preserve those methods when returned from Sentry.startSpan(). | ||
| * | ||
| * Example case: | ||
| * const jqXHR = Sentry.startSpan({ name: "test" }, () => $.ajax(...)); | ||
| * jqXHR.abort(); // Should work and not throw an error because of missing abort() method | ||
| */ | ||
|
|
||
| // Load jQuery from CDN | ||
| const script = document.createElement('script'); | ||
| script.src = 'https://code.jquery.com/jquery-3.7.1.min.js'; | ||
| script.integrity = 'sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo='; | ||
| script.crossOrigin = 'anonymous'; | ||
cursor[bot] marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| script.onload = function () { | ||
| runTest(); | ||
| }; | ||
|
|
||
| script.onerror = function () { | ||
| window.jqXHRTestError = 'Failed to load jQuery'; | ||
| window.jqXHRMethodsPreserved = false; | ||
| }; | ||
|
|
||
| document.head.appendChild(script); | ||
|
|
||
| async function runTest() { | ||
| window.jqXHRAbortCalled = false; | ||
| window.jqXHRAbortResult = null; | ||
| window.jqXHRTestError = null; | ||
|
|
||
| try { | ||
| if (!window.jQuery) { | ||
| throw new Error('jQuery not loaded'); | ||
| } | ||
|
|
||
| const result = Sentry.startSpan({ name: 'test-jqxhr', op: 'http.client' }, () => { | ||
| // Make a real AJAX request with jQuery | ||
| return window.jQuery.ajax({ | ||
| url: 'https://httpbin.org/status/200', | ||
| method: 'GET', | ||
| timeout: 5000, | ||
| }); | ||
| }); | ||
|
|
||
| const hasAbort = typeof result.abort === 'function'; | ||
| const hasReadyState = 'readyState' in result; | ||
|
|
||
| if (hasAbort && hasReadyState) { | ||
| try { | ||
| result.abort(); | ||
| window.jqXHRAbortCalled = true; | ||
| window.jqXHRAbortResult = 'abort-successful'; | ||
| window.jqXHRMethodsPreserved = true; | ||
| } catch (e) { | ||
| console.log('abort() threw an error:', e); | ||
| window.jqXHRTestError = `abort() failed: ${e.message}`; | ||
| window.jqXHRMethodsPreserved = false; | ||
| } | ||
| } else { | ||
| window.jqXHRMethodsPreserved = false; | ||
| window.jqXHRTestError = 'jqXHR methods not preserved'; | ||
| } | ||
|
|
||
| // Since we aborted the request, it should be rejected | ||
| try { | ||
| await result; | ||
| window.jqXHRPromiseResolved = true; // Unexpected | ||
| } catch (err) { | ||
| // Expected: aborted request rejects | ||
| window.jqXHRPromiseResolved = false; | ||
| window.jqXHRPromiseRejected = true; | ||
| } | ||
| } catch (error) { | ||
| console.error('Test error:', error); | ||
| window.jqXHRTestError = error.message; | ||
| window.jqXHRMethodsPreserved = false; | ||
| } | ||
| } | ||
51 changes: 51 additions & 0 deletions
51
...browser-integration-tests/suites/public-api/startSpan/thenable-with-extra-methods/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,51 @@ | ||
| import { expect } from '@playwright/test'; | ||
| import { sentryTest } from '../../../../utils/fixtures'; | ||
| import { envelopeRequestParser, shouldSkipTracingTest, waitForTransactionRequest } from '../../../../utils/helpers'; | ||
|
|
||
| sentryTest('preserves extra methods on real jQuery jqXHR objects', async ({ getLocalTestUrl, page }) => { | ||
| if (shouldSkipTracingTest()) { | ||
| sentryTest.skip(); | ||
| } | ||
|
|
||
| const url = await getLocalTestUrl({ testDir: __dirname }); | ||
| const transactionPromise = waitForTransactionRequest(page); | ||
|
|
||
| await page.goto(url); | ||
|
|
||
| // Wait for jQuery to load | ||
| await page.waitForTimeout(1000); | ||
|
|
||
| const methodsPreserved = await page.evaluate(() => (window as any).jqXHRMethodsPreserved); | ||
| expect(methodsPreserved).toBe(true); | ||
|
|
||
| const abortCalled = await page.evaluate(() => (window as any).jqXHRAbortCalled); | ||
| expect(abortCalled).toBe(true); | ||
|
|
||
| const abortReturnValue = await page.evaluate(() => (window as any).jqXHRAbortResult); | ||
| expect(abortReturnValue).toBe('abort-successful'); | ||
|
|
||
| const testError = await page.evaluate(() => (window as any).jqXHRTestError); | ||
| expect(testError).toBeNull(); | ||
|
|
||
| const transaction = envelopeRequestParser(await transactionPromise); | ||
| expect(transaction.transaction).toBe('test-jqxhr'); | ||
| expect(transaction.spans).toBeDefined(); | ||
| }); | ||
|
|
||
| sentryTest('aborted request rejects promise correctly', async ({ getLocalTestUrl, page }) => { | ||
| if (shouldSkipTracingTest()) { | ||
| sentryTest.skip(); | ||
| } | ||
|
|
||
| const url = await getLocalTestUrl({ testDir: __dirname }); | ||
| await page.goto(url); | ||
|
|
||
| // Wait for jQuery to load | ||
| await page.waitForTimeout(1000); | ||
|
|
||
| const promiseRejected = await page.evaluate(() => (window as any).jqXHRPromiseRejected); | ||
| expect(promiseRejected).toBe(true); | ||
|
|
||
| const promiseResolved = await page.evaluate(() => (window as any).jqXHRPromiseResolved); | ||
| expect(promiseResolved).toBe(false); | ||
| }); |
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.