Skip to content

Commit 0f1171b

Browse files
authored
Merge pull request #19973 from getsentry/prepare-release/10.46.0
meta(changelog): Update changelog for 10.46.0
2 parents 955a317 + 6f48cc4 commit 0f1171b

File tree

202 files changed

+8057
-1087
lines changed

Some content is hidden

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

202 files changed

+8057
-1087
lines changed

.claude/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"env": { "ENABLE_LSP_TOOL": "1" },
23
"permissions": {
34
"allow": [
45
"Bash(find:*)",

.craft.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ targets:
9595
- name: npm
9696
id: '@sentry/bun'
9797
includeNames: /^sentry-bun-\d.*\.tgz$/
98+
- name: npm
99+
id: '@sentry/elysia'
100+
includeNames: /^sentry-elysia-\d.*\.tgz$/
98101
- name: npm
99102
id: '@sentry/hono'
100103
includeNames: /^sentry-hono-\d.*\.tgz$/
@@ -245,4 +248,11 @@ targets:
245248
name: 'Sentry Effect SDK'
246249
sdkName: 'sentry.javascript.effect'
247250
packageUrl: 'https://www.npmjs.com/package/@sentry/effect'
251+
mainDocsUrl: 'https://docs.sentry.io/platforms/javascript/guides/effect/'
248252
onlyIfPresent: /^sentry-effect-\d.*\.tgz$/
253+
'npm:@sentry/elysia':
254+
name: 'Sentry Elysia SDK'
255+
sdkName: 'sentry.javascript.elysia'
256+
packageUrl: 'https://www.npmjs.com/package/@sentry/elysia'
257+
mainDocsUrl: 'https://docs.sentry.io/platforms/javascript/guides/elysia/'
258+
onlyIfPresent: /^sentry-elysia-\d.*\.tgz$/

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ body:
4646
- '@sentry/cloudflare - hono'
4747
- '@sentry/deno'
4848
- '@sentry/effect'
49+
- '@sentry/elysia'
4950
- '@sentry/ember'
5051
- '@sentry/gatsby'
5152
- '@sentry/google-cloud-serverless'

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ jobs:
961961
with:
962962
node-version-file: 'dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}/package.json'
963963
- name: Set up Bun
964-
if: contains(fromJSON('["node-exports-test-app","nextjs-16-bun"]'), matrix.test-application)
964+
if: contains(fromJSON('["node-exports-test-app","nextjs-16-bun", "elysia-bun"]'), matrix.test-application)
965965
uses: oven-sh/setup-bun@v2
966966
- name: Set up AWS SAM
967967
if: matrix.test-application == 'aws-serverless'

.github/workflows/issue-package-label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
"label": "Ember"
5858
},
5959
"@sentry.gatsby": {
60-
"label": "Gatbsy"
60+
"label": "Gatsby"
6161
},
6262
"@sentry.google-cloud-serverless": {
6363
"label": "Google Cloud Functions"

.oxlintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"typescript/no-redundant-type-constituents": "off",
6767
"typescript/restrict-template-expressions": "off",
6868
"typescript/await-thenable": "warn",
69-
"typescript/no-base-to-string": "warn"
69+
"typescript/no-base-to-string": "off"
7070
}
7171
},
7272
{

.size-limit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ module.exports = [
148148
import: createImport('init', 'ErrorBoundary', 'reactRouterV6BrowserTracingIntegration'),
149149
ignore: ['react/jsx-runtime'],
150150
gzip: true,
151-
limit: '45 KB',
151+
limit: '45.1 KB',
152152
},
153153
// Vue SDK (ESM)
154154
{

AGENTS.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,19 @@ Monorepo with 40+ packages in `@sentry/*`, managed with Yarn workspaces and Nx.
99
- After cloning: `yarn install && yarn build`
1010
- Never change Volta, Yarn, or package manager versions unless explicitly asked
1111

12+
### Code Intelligence
13+
14+
Prefer LSP over Grep/Read for code navigation — it's faster, precise, and avoids reading entire files:
15+
16+
- `workspaceSymbol` to find where something is defined
17+
- `findReferences` to see all usages across the codebase
18+
- `goToDefinition` / `goToImplementation` to jump to source
19+
- `hover` for type info without reading the file
20+
21+
Use Grep only when LSP isn't available or for text/pattern searches (comments, strings, config).
22+
23+
After writing or editing code, check LSP diagnostics and fix errors before proceeding.
24+
1225
## Package Manager
1326

1427
Use **yarn**: `yarn install`, `yarn build:dev`, `yarn test`, `yarn lint`

CHANGELOG.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,75 @@
44

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

7+
## 10.46.0
8+
9+
### Important Changes
10+
11+
- **feat(elysia): `@sentry/elysia` - Alpha Release ([#19509](https://github.com/getsentry/sentry-javascript/pull/19509))**
12+
13+
New Sentry SDK for the [Elysia](https://elysiajs.com/) web framework, supporting both Bun and Node.js runtimes.
14+
15+
> **Note:** This is an alpha release. Please report any issues or feedback on [GitHub](https://github.com/getsentry/sentry-javascript/issues).
16+
17+
**Features**
18+
- **Automatic error capturing** — 5xx errors captured via global `onError` hook; 3xx/4xx ignored by default. Customizable with `shouldHandleError`.
19+
- **Automatic tracing** — Lifecycle spans for every Elysia phase (Request, Parse, Transform, BeforeHandle, Handle, AfterHandle, MapResponse, AfterResponse, Error) with parameterized route names (e.g. `GET /users/:id`).
20+
- **Distributed tracing**`sentry-trace` and `baggage` headers propagated automatically on incoming/outgoing requests.
21+
22+
**Usage**
23+
24+
```javascript
25+
import * as Sentry from '@sentry/elysia';
26+
import { Elysia } from 'elysia';
27+
28+
Sentry.init({ dsn: '__DSN__', tracesSampleRate: 1.0 });
29+
30+
const app = Sentry.withElysia(new Elysia());
31+
app.get('/', () => 'Hello World');
32+
app.listen(3000);
33+
```
34+
35+
### Other Changes
36+
37+
- feat(nuxt): Conditionally use plugins based on Nitro version (v2/v3) ([#19955](https://github.com/getsentry/sentry-javascript/pull/19955))
38+
- fix(cloudflare): Forward `ctx` argument to `Workflow.do` user callback ([#19891](https://github.com/getsentry/sentry-javascript/pull/19891))
39+
- fix(cloudflare): Send correct events in local development ([#19900](https://github.com/getsentry/sentry-javascript/pull/19900))
40+
- fix(core): Do not overwrite user provided conversation id in Vercel ([#19903](https://github.com/getsentry/sentry-javascript/pull/19903))
41+
- fix(core): Preserve `.withResponse()` on Anthropic instrumentation ([#19935](https://github.com/getsentry/sentry-javascript/pull/19935))
42+
- fix(core): Send `internal_error` as span status for Vercel error spans ([#19921](https://github.com/getsentry/sentry-javascript/pull/19921))
43+
- fix(core): Truncate content array format in Vercel ([#19911](https://github.com/getsentry/sentry-javascript/pull/19911))
44+
- fix(deps): bump fast-xml-parser to 5.5.8 in @azure/core-xml chain ([#19918](https://github.com/getsentry/sentry-javascript/pull/19918))
45+
- fix(deps): bump socket.io-parser to 4.2.6 to fix CVE-2026-33151 ([#19880](https://github.com/getsentry/sentry-javascript/pull/19880))
46+
- fix(nestjs): Add `node` to nest metadata ([#19875](https://github.com/getsentry/sentry-javascript/pull/19875))
47+
- fix(serverless): Add node to metadata ([#19878](https://github.com/getsentry/sentry-javascript/pull/19878))
48+
49+
<details>
50+
<summary> <strong>Internal Changes</strong> </summary>
51+
52+
- chore(ci): Fix "Gatbsy" typo in issue package label workflow ([#19905](https://github.com/getsentry/sentry-javascript/pull/19905))
53+
- chore(claude): Enable Claude Code Intelligence (LSP) ([#19930](https://github.com/getsentry/sentry-javascript/pull/19930))
54+
- chore(deps): bump mongodb-memory-server-global from 10.1.4 to 11.0.1 ([#19888](https://github.com/getsentry/sentry-javascript/pull/19888))
55+
- chore(deps-dev): bump @react-router/node from 7.13.0 to 7.13.1 ([#19544](https://github.com/getsentry/sentry-javascript/pull/19544))
56+
- chore(deps-dev): bump effect from 3.19.19 to 3.20.0 ([#19926](https://github.com/getsentry/sentry-javascript/pull/19926))
57+
- chore(deps-dev): bump qunit-dom from 3.2.1 to 3.5.0 ([#19546](https://github.com/getsentry/sentry-javascript/pull/19546))
58+
- chore(node-integration-tests): Remove unnecessary `file-type` dependency ([#19824](https://github.com/getsentry/sentry-javascript/pull/19824))
59+
- chore(remix): Replace glob with native recursive fs walk ([#19531](https://github.com/getsentry/sentry-javascript/pull/19531))
60+
- feat(deps): bump stacktrace-parser from 0.1.10 to 0.1.11 ([#19887](https://github.com/getsentry/sentry-javascript/pull/19887))
61+
- fix(craft): Add missing mainDocsUrl for @sentry/effect SDK ([#19860](https://github.com/getsentry/sentry-javascript/pull/19860))
62+
- fix(deps): bump next to 15.5.14 in nextjs-15 and nextjs-15-intl E2E test apps ([#19917](https://github.com/getsentry/sentry-javascript/pull/19917))
63+
- fix(deps): update lockfile to resolve h3@1.15.10 ([#19933](https://github.com/getsentry/sentry-javascript/pull/19933))
64+
- ref(core): Remove duplicate `buildMethodPath` utility from openai ([#19969](https://github.com/getsentry/sentry-javascript/pull/19969))
65+
- ref(elysia): Drop `@elysiajs/opentelemetry` dependency ([#19947](https://github.com/getsentry/sentry-javascript/pull/19947))
66+
- ref(nuxt): Extract core logic for storage/database to prepare for Nuxt v5 ([#19920](https://github.com/getsentry/sentry-javascript/pull/19920))
67+
- ref(nuxt): Extract handler patching to extra plugin for Nitro v2/v3 ([#19915](https://github.com/getsentry/sentry-javascript/pull/19915))
68+
- ref(sveltekit): Replace recast + @babel/parser with acorn ([#19533](https://github.com/getsentry/sentry-javascript/pull/19533))
69+
- test(astro): Re-enable server island tracing e2e test in Astro 6 ([#19872](https://github.com/getsentry/sentry-javascript/pull/19872))
70+
- test(cloudflare): Enable multi-worker tests for CF integration tests ([#19938](https://github.com/getsentry/sentry-javascript/pull/19938))
71+
72+
</details>
73+
74+
Work in this release was contributed by @roli-lpci. Thank you for your contributions!
75+
776
## 10.45.0
877

978
### Important Changes

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ package. Please refer to the README and instructions of those SDKs for more deta
7171
for native crashes
7272
- [`@sentry/effect`](https://github.com/getsentry/sentry-javascript/tree/master/packages/effect): SDK for Effect (Alpha)
7373
- [`@sentry/bun`](https://github.com/getsentry/sentry-javascript/tree/master/packages/bun): SDK for Bun
74+
- [`@sentry/elysia`](https://github.com/getsentry/sentry-javascript/tree/master/packages/elysia): SDK for Elysia
7475
- [`@sentry/deno`](https://github.com/getsentry/sentry-javascript/tree/master/packages/deno): SDK for Deno
7576
- [`@sentry/cloudflare`](https://github.com/getsentry/sentry-javascript/tree/master/packages/cloudflare): SDK for
7677
Cloudflare

0 commit comments

Comments
 (0)