-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Comparing changes
Open a pull request
base repository: getsentry/sentry-javascript
base: develop@{1day}
head repository: getsentry/sentry-javascript
compare: develop
- 14 commits
- 112 files changed
- 11 contributors
Commits on Jan 14, 2026
-
Configuration menu - View commit details
-
Copy full SHA for ecb4111 - Browse repository at this point
Copy the full SHA ecb4111View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c08507 - Browse repository at this point
Copy the full SHA 5c08507View commit details
Commits on Jan 21, 2026
-
fix(core): Sanitize data URLs in
http.clientspans (#18896)Our `http.client` span instrumentations currently treat data URLs (blobs or base64 encoded data) like regular raw URLs. While this is in general fine, the problem is that this leads to incredibly long span names and attribute values, especially because the URL is sent in up to three different attributes per span. This makes Relay reject the the sent events due to exceeding size limits. This patch extracts the already existing stack trace URL sanitization logic for data URLs and apply it to `http.client` spans and attributes
Configuration menu - View commit details
-
Copy full SHA for 4695148 - Browse repository at this point
Copy the full SHA 4695148View commit details -
feat(node): Add Prisma v7 support (#18908)
Upgrades `@prisma/instrumentation` from `6.19.0` to `7.2.0`. The instrumentation should be backwards compatible with v5 and v6 (we have integration tests for v5 and v6). I also added integration tests for v7. Closes: #18876
Configuration menu - View commit details
-
Copy full SHA for 65afa6a - Browse repository at this point
Copy the full SHA 65afa6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d9a7f7 - Browse repository at this point
Copy the full SHA 6d9a7f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f66969d - Browse repository at this point
Copy the full SHA f66969dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba390df - Browse repository at this point
Copy the full SHA ba390dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for d185952 - Browse repository at this point
Copy the full SHA d185952View commit details -
meta(changelog): Update changelog for 10.36.0 (#18915)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Tim Fish <tim@timfish.uk> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Abdelrahman Awad <abdelrahman.awad@sentry.io> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JPeer264 <jan.peer@sentry.io> Co-authored-by: Lukas Stracke <lukas.stracke@sentry.io>
Configuration menu - View commit details
-
Copy full SHA for d4660db - Browse repository at this point
Copy the full SHA d4660dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21ec8f1 - Browse repository at this point
Copy the full SHA 21ec8f1View commit details -
Merge branch 'release/10.36.0'
getsentry-bot committedJan 21, 2026 Configuration menu - View commit details
-
Copy full SHA for 922b587 - Browse repository at this point
Copy the full SHA 922b587View commit details -
Merge pull request #18924 from getsentry/master
[Gitflow] Merge master into develop
Configuration menu - View commit details
-
Copy full SHA for e29ac20 - Browse repository at this point
Copy the full SHA e29ac20View commit details -
feat(core): simplify truncation logic to only keep the newest message (…
…#18906) **Changes** - This simplifies AI message truncation to always keep only the last message and truncate it if needed. Previously we dropped oldest messages one by one until we fit within the limit. - Set embeddings input as a separate attribute `gen_ai.embeddings.input` and do not truncate that. - Also added support for truncating plain string arrays. Not sure if we need that at the moment, since we no longer truncate embeddings, but shouldn't hurt. **Test Updates** - Updated all node integration and unit tests to work with the new logic. - Extended the node integration suite to always test the two main scenarios (keep the large message and then either truncate if the last message is large or leave it as is if it is small). - Removed the embeddings truncation tests and instead added a new embeddings scenario that checks that embeddings inputs are all kept (even if an array with multiple entries is passed). Closes #18916
Configuration menu - View commit details
-
Copy full SHA for 1b2eea3 - Browse repository at this point
Copy the full SHA 1b2eea3View commit details -
feat(tanstackstart-react): Auto-instrument global middleware (#18844)
This PR adds automatic instrumentation for global request and function middleware in TanStack Start applications. **Overview** The sentryTanstackStart Vite plugin now automatically wraps requestMiddleware and functionMiddleware arrays in `createStart()` with Sentry instrumentation. This is done via a source code transformation during the build that converts: ``` createStart({ requestMiddleware: [myMiddleware], functionMiddleware: [anotherMiddleware], }); ``` into: ``` import { wrapMiddlewaresWithSentry } from '@sentry/tanstackstart-react'; createStart({ requestMiddleware: wrapMiddlewaresWithSentry({ myMiddleware }), functionMiddleware: wrapMiddlewaresWithSentry({ anotherMiddleware }), }); ``` **Usage** Auto-instrumentation is enabled by default. To explicitly disable it: ``` // vite.config.ts import { sentryTanstackStart } from '@sentry/tanstackstart-react'; export default defineConfig({ plugins: [ sentryTanstackStart({ org: 'your-org', project: 'your-project', autoInstrumentMiddleware: false, // Disable auto-instrumentation }), ], }); ``` This should give users flexibility in case things go wrong. **Implementation Details** - Uses a regex-based approach to transform source files containing `createStart()` - Skips transformation if the user has already manually wrapped middlewares with `wrapMiddlewaresWithSentry` - Only handles simple identifier arrays (e.g., [foo, bar]), not complex expressions **Testing** - Updated E2E tests to use auto-instrumentation for global middleware - Updated unit tests for the `sentryTanstackStart` plugin - Added unit tests for `autoInstrumentMiddleware` **Follow-ups** Future PRs will add support for non-global request/function middleware. This PR focuses on global middleware to make it a bit easier to review. I also want to give users a bit more control by allowing them to disable auto-instrumentation on a file-level, but this doesn't make sense yet since the current implementation only patches a single file anyways. Closes #18845Configuration menu - View commit details
-
Copy full SHA for 80b4705 - Browse repository at this point
Copy the full SHA 80b4705View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff develop@{1day}...develop