-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
meta(changelog): Update changelog for 10.32.1 #18578
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
8 commits
Select commit
Hold shift + click to select a range
063c4dc
Merge pull request #18562 from getsentry/ab/skip-ci-when-no-code-changes
andreiborza a538901
Merge pull request #18563 from getsentry/master
github-actions[bot] 3fda84d
fix(cloudflare): Add hono transaction name when error is thrown (#18529)
s1gr1d 12f3007
fix(ember): Make `implementation` field optional (`hash` routes) (#18…
s1gr1d d1dd308
chore(test): Remove `cloudflare-astro` e2e test (#18567)
Lms24 71384a2
chore(lint): prefer 'unknown' to 'any', fix lint warnings
isaacs 0d8547c
fix(vercelai): Fix input token count (#18574)
obostjancic a981a3d
meta(changelog): Update changelog for `10.32.1`
Lms24 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| module.exports = { | ||
| extends: ['../.eslintrc.js'], | ||
| rules: { | ||
| // tests often have just cause to do evil | ||
| '@typescript-eslint/no-explicit-any': 'off', | ||
| }, | ||
| }; |
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
33 changes: 33 additions & 0 deletions
33
dev-packages/cloudflare-integration-tests/suites/hono/basic/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,33 @@ | ||
| import * as Sentry from '@sentry/cloudflare'; | ||
| import { Hono } from 'hono'; | ||
|
|
||
| interface Env { | ||
| SENTRY_DSN: string; | ||
| } | ||
|
|
||
| const app = new Hono<{ Bindings: Env }>(); | ||
|
|
||
| app.get('/', c => { | ||
| return c.text('Hello from Hono on Cloudflare!'); | ||
| }); | ||
|
|
||
| app.get('/json', c => { | ||
| return c.json({ message: 'Hello from Hono', framework: 'hono', platform: 'cloudflare' }); | ||
| }); | ||
|
|
||
| app.get('/error', () => { | ||
| throw new Error('Test error from Hono app'); | ||
| }); | ||
|
|
||
| app.get('/hello/:name', c => { | ||
| const name = c.req.param('name'); | ||
| return c.text(`Hello, ${name}!`); | ||
| }); | ||
|
|
||
| export default Sentry.withSentry( | ||
| (env: Env) => ({ | ||
| dsn: env.SENTRY_DSN, | ||
| tracesSampleRate: 1.0, | ||
| }), | ||
| app, | ||
| ); |
53 changes: 53 additions & 0 deletions
53
dev-packages/cloudflare-integration-tests/suites/hono/basic/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,53 @@ | ||
| import { expect, it } from 'vitest'; | ||
| import { eventEnvelope } from '../../../expect'; | ||
| import { createRunner } from '../../../runner'; | ||
|
|
||
| it('Hono app captures errors', async ({ signal }) => { | ||
| const runner = createRunner(__dirname) | ||
| // First envelope: error event from Hono error handler | ||
| .expect( | ||
| eventEnvelope( | ||
| { | ||
| level: 'error', | ||
| transaction: 'GET /error', | ||
| exception: { | ||
| values: [ | ||
| { | ||
| type: 'Error', | ||
| value: 'Test error from Hono app', | ||
| stacktrace: { | ||
| frames: expect.any(Array), | ||
| }, | ||
| mechanism: { type: 'auto.faas.hono.error_handler', handled: false }, | ||
| }, | ||
| ], | ||
| }, | ||
| request: { | ||
| headers: expect.any(Object), | ||
| method: 'GET', | ||
| url: expect.any(String), | ||
| }, | ||
| }, | ||
| true, | ||
| ), | ||
| ) | ||
| // Second envelope: transaction event | ||
| .expect(envelope => { | ||
| const transactionEvent = envelope[1]?.[0]?.[1]; | ||
| expect(transactionEvent).toEqual( | ||
| expect.objectContaining({ | ||
| type: 'transaction', | ||
| transaction: 'GET /error', | ||
| contexts: expect.objectContaining({ | ||
| trace: expect.objectContaining({ | ||
| op: 'http.server', | ||
| status: 'internal_error', | ||
| }), | ||
| }), | ||
| }), | ||
| ); | ||
| }) | ||
| .start(signal); | ||
| await runner.makeRequest('get', '/error', { expectError: true }); | ||
| await runner.completed(); | ||
| }); |
7 changes: 7 additions & 0 deletions
7
dev-packages/cloudflare-integration-tests/suites/hono/basic/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,7 @@ | ||
| { | ||
| "name": "hono-basic-worker", | ||
| "compatibility_date": "2025-06-17", | ||
| "main": "index.ts", | ||
| "compatibility_flags": ["nodejs_compat"] | ||
| } | ||
|
|
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
21 changes: 0 additions & 21 deletions
21
dev-packages/e2e-tests/test-applications/cloudflare-astro/.gitignore
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
dev-packages/e2e-tests/test-applications/cloudflare-astro/astro.config.mjs
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
dev-packages/e2e-tests/test-applications/cloudflare-astro/package.json
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
dev-packages/e2e-tests/test-applications/cloudflare-astro/public/favicon.svg
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
dev-packages/e2e-tests/test-applications/cloudflare-astro/sentry.client.config.mjs
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
dev-packages/e2e-tests/test-applications/cloudflare-astro/sentry.server.mjs
This file was deleted.
Oops, something went wrong.
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.