-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
meta(changelog): Update changelog for 10.7.0 #17471
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
16 commits
Select commit
Hold shift + click to select a range
12c2a6c
feat(deps): bump @sentry/cli from 2.51.1 to 2.52.0 (#17458)
dependabot[bot] 3efcb40
feat(deps): bump @opentelemetry/instrumentation-aws-sdk from 0.56.0 t…
dependabot[bot] fc233be
test(aws): Run E2E tests in all supported Node versions (#17446)
msonnb 5de1b47
feat(deps): bump @prisma/instrumentation from 6.13.0 to 6.14.0 (#17466)
dependabot[bot] 81108d3
feat(deps): bump @opentelemetry/instrumentation-mysql2 from 0.49.0 to…
dependabot[bot] 3048f84
feat(replay): Add option to skip `requestAnimationFrame` for canvas s…
billyvg 6cfb725
Merge branch 'develop' into manual-develop-sync
andreiborza 018db43
Merge pull request #17468 from getsentry/manual-develop-sync
andreiborza a7acc8f
feat(cloudflare): Add `instrumentPrototypeMethods` option to instrume…
andreiborza 2282ed3
feat(deps): bump @sentry/webpack-plugin from 4.1.0 to 4.1.1 (#17467)
dependabot[bot] 359610e
feat(deps): bump @sentry/rollup-plugin from 4.1.0 to 4.1.1 (#17456)
dependabot[bot] 647dbfe
feat(deps): bump @opentelemetry/instrumentation-kafkajs from 0.12.0 t…
dependabot[bot] 7303ab1
feat(aws): Add support for streaming handlers (#17463)
msonnb 6874fbe
feat(core): Stream responses Anthropic AI (#17460)
RulaKhaled dfc411b
feat(deps): bump @opentelemetry/instrumentation-dataloader from 0.21.…
dependabot[bot] 0496bbe
meta(changelog): Update changelog for 10.7.0
andreiborza 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
41 changes: 41 additions & 0 deletions
41
dev-packages/cloudflare-integration-tests/suites/tracing/durableobject/index.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,41 @@ | ||
import * as Sentry from '@sentry/cloudflare'; | ||
import { DurableObject } from 'cloudflare:workers'; | ||
|
||
interface Env { | ||
SENTRY_DSN: string; | ||
TEST_DURABLE_OBJECT: DurableObjectNamespace; | ||
} | ||
|
||
class TestDurableObjectBase extends DurableObject<Env> { | ||
public constructor(ctx: DurableObjectState, env: Env) { | ||
super(ctx, env); | ||
} | ||
|
||
// eslint-disable-next-line @typescript-eslint/explicit-member-accessibility | ||
async sayHello(name: string): Promise<string> { | ||
return `Hello, ${name}`; | ||
} | ||
} | ||
|
||
export const TestDurableObject = Sentry.instrumentDurableObjectWithSentry( | ||
(env: Env) => ({ | ||
dsn: env.SENTRY_DSN, | ||
tracesSampleRate: 1.0, | ||
instrumentPrototypeMethods: true, | ||
}), | ||
TestDurableObjectBase, | ||
); | ||
|
||
export default { | ||
async fetch(request: Request, env: Env): Promise<Response> { | ||
const id: DurableObjectId = env.TEST_DURABLE_OBJECT.idFromName('test'); | ||
const stub = env.TEST_DURABLE_OBJECT.get(id) as unknown as TestDurableObjectBase; | ||
|
||
if (request.url.includes('hello')) { | ||
const greeting = await stub.sayHello('world'); | ||
return new Response(greeting); | ||
} | ||
|
||
return new Response('Usual response'); | ||
}, | ||
}; |
27 changes: 27 additions & 0 deletions
27
dev-packages/cloudflare-integration-tests/suites/tracing/durableobject/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,27 @@ | ||
import { expect, it } from 'vitest'; | ||
import { createRunner } from '../../../runner'; | ||
|
||
it('traces a durable object method', async () => { | ||
const runner = createRunner(__dirname) | ||
.expect(envelope => { | ||
const transactionEvent = envelope[1]?.[0]?.[1]; | ||
expect(transactionEvent).toEqual( | ||
expect.objectContaining({ | ||
contexts: expect.objectContaining({ | ||
trace: expect.objectContaining({ | ||
op: 'rpc', | ||
data: expect.objectContaining({ | ||
'sentry.op': 'rpc', | ||
'sentry.origin': 'auto.faas.cloudflare_durableobjects', | ||
}), | ||
origin: 'auto.faas.cloudflare_durableobjects', | ||
}), | ||
}), | ||
transaction: 'sayHello', | ||
}), | ||
); | ||
}) | ||
.start(); | ||
await runner.makeRequest('get', '/hello'); | ||
await runner.completed(); | ||
}); |
23 changes: 23 additions & 0 deletions
23
dev-packages/cloudflare-integration-tests/suites/tracing/durableobject/wrangler.jsonc
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,23 @@ | ||
{ | ||
"name": "worker-name", | ||
"main": "index.ts", | ||
"compatibility_date": "2025-06-17", | ||
"migrations": [ | ||
{ | ||
"new_sqlite_classes": ["TestDurableObject"], | ||
"tag": "v1" | ||
} | ||
], | ||
"durable_objects": { | ||
"bindings": [ | ||
{ | ||
"class_name": "TestDurableObject", | ||
"name": "TEST_DURABLE_OBJECT" | ||
} | ||
] | ||
}, | ||
"compatibility_flags": ["nodejs_als"], | ||
"vars": { | ||
"SENTRY_DSN": "https://[email protected]/4509553159831552" | ||
} | ||
} |
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
4 changes: 3 additions & 1 deletion
4
dev-packages/e2e-tests/test-applications/aws-serverless/playwright.config.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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import { getPlaywrightConfig } from '@sentry-internal/test-utils'; | ||
|
||
export default getPlaywrightConfig(); | ||
export default getPlaywrightConfig(undefined, { | ||
timeout: 60 * 1000 * 3, // 3 minutes | ||
}); |
15 changes: 15 additions & 0 deletions
15
dev-packages/e2e-tests/test-applications/aws-serverless/pull-sam-image.sh
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,15 @@ | ||
#!/bin/bash | ||
|
||
# Script to pull the correct SAM docker image based on the NODE_VERSION environment variable. | ||
|
||
set -e | ||
|
||
if [[ -z "$NODE_VERSION" ]]; then | ||
echo "Error: NODE_VERSION not set" | ||
exit 1 | ||
fi | ||
|
||
echo "Pulling SAM Node $NODE_VERSION docker image..." | ||
docker pull "public.ecr.aws/sam/build-nodejs${NODE_VERSION}.x:latest" | ||
|
||
echo "Successfully pulled SAM Node $NODE_VERSION docker image" |
8 changes: 8 additions & 0 deletions
8
...e2e-tests/test-applications/aws-serverless/src/lambda-functions-layer/Streaming/index.mjs
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,8 @@ | ||
import * as Sentry from '@sentry/aws-serverless'; | ||
|
||
export const handler = awslambda.streamifyResponse(async (event, responseStream, context) => { | ||
Sentry.startSpan({ name: 'manual-span', op: 'test' }, async () => { | ||
responseStream.write('Hello, world!'); | ||
responseStream.end(); | ||
}); | ||
}); |
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
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.
This comment was marked as outdated.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.