chore(deps): update JavaScript SDK to v10.53.0#6139
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
fe359ad to
88fa3ed
Compare
Contributor
Author
Semver Impact of This PR⚪ None (no version bump detected) 📋 Changelog PreviewThis is how your changes will appear in the changelog.
🤖 This preview updates automatically when you update the PR. |
This was referenced May 12, 2026
antonis
reviewed
May 12, 2026
Contributor
antonis
left a comment
There was a problem hiding this comment.
Marking as blocked on getsentry/sentry-javascript#20835
Contributor
Author
JPeer264
pushed a commit
to getsentry/sentry-javascript
that referenced
this pull request
May 12, 2026
## Summary - Adds `browser.d.ts` and `server.d.ts` to the `files` list in `@sentry/core` `package.json` so they are included in the published npm tarball - Adds `typesVersions` entries for `browser` and `server` subpaths to support TypeScript < 5.0 ## Context PR [#20435](#20435) introduced `@sentry/core/browser` and `@sentry/core/server` subpath exports and added root-level `.d.ts` shim files for compatibility with TypeScript compilers that don't support the `exports` field (e.g. `moduleResolution: "node"`). However, the `.d.ts` shims were not added to the `files` list, so they were excluded from the published `10.53.0` tarball. This breaks downstream consumers like `@sentry/react-native` ([getsentry/sentry-react-native#6139](getsentry/sentry-react-native#6139)) — their TS compiler can't resolve `@sentry/core/browser`, causing `BaseTransportOptions` to become unresolvable and `ReactNativeTransportOptions` to fail the type constraint check: ``` error TS2344: Type 'ReactNativeTransportOptions' does not satisfy the constraint 'BaseTransportOptions'. Type 'ReactNativeTransportOptions' is missing the following properties from type 'BaseTransportOptions': url, recordDroppedEvent ``` ## Test plan - [ ] Verify `npm pack --dry-run` includes `browser.d.ts` and `server.d.ts` at the package root - [ ] Verify `@sentry/react-native` builds successfully against a patched `@sentry/core` 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Bumps scripts/update-javascript.sh from 10.52.0 to 10.53.0.
Auto-generated by a dependency updater.
Changelog
10.53.0
Important Changes
feat(core): Add
streamGenAiSpansoptions to stream gen_ai spans (#20785)Adds a new
streamGenAiSpansoption that controls howgen_aispans aresent to Sentry. When set, the SDK extracts all
gen_aispans out of atransaction and sends them as v2 envelope items.
Enable this option if gen_ai spans are being dropped because the transaction payload exceeds size limits.
Other Changes
addConsoleInstrumentationFilterutility (#20790)applicationKeytoBuildTimeOptionsBase(#20789)applicationKeyoption (#20794)sentry-internal/node-cpu-profilerto 2.4.0 (#20720)Internal Changes
Work in this release was contributed by dmmulroy and SAY-5. Thank you for your contributions!