Skip to content

Conversation

thedanchez
Copy link
Contributor

@thedanchez thedanchez commented Sep 22, 2025

Summary

This PR adds support for TanStack Router Solid. It follows the same outline as the existing implementation of TanStack Router React for Sentry as both TanStack Router flavors are built on the same agnostic foundation.

@thedanchez thedanchez force-pushed the tanstack-router-solid branch from c097831 to 58e80ed Compare September 22, 2025 15:52
@andreiborza andreiborza self-assigned this Sep 23, 2025
@thedanchez thedanchez marked this pull request as ready for review September 24, 2025 14:43
@andreiborza
Copy link
Member

Hi @thedanchez, thanks for also contributing the docs. Will take a look after the corresponding PR.

@thedanchez
Copy link
Contributor Author

thedanchez commented Sep 26, 2025

Hi @andreiborza! Apologies for the delay. I was out of commission with an illness the past few days. Here is the companion docs PR for this feature

@thedanchez thedanchez force-pushed the tanstack-router-solid branch from 58e80ed to cf38998 Compare September 26, 2025 16:08
@thedanchez
Copy link
Contributor Author

Hi @andreiborza, any updates on this PR?

@andreiborza andreiborza changed the title feat: add support for TanStack Router Solid feat(solid): Add support for TanStack Router Solid Oct 1, 2025
@thedanchez
Copy link
Contributor Author

Hey @andreiborza , just a friendly nudge on this again. Are we able to get this reviewed? Really trying to integrate Sentry into my enterprise Solid app that uses TanStack Router Solid

@chargome
Copy link
Member

chargome commented Oct 8, 2025

Hey @thedanchez just chiming in here – thanks for the contribution! We'll need to ship some tests with this otherwise we can't just merge that in right now. Best would be to add a new test suite in dev-packages/e2e-tests that contains tanstack router for solid. Would you be able to contribute this or should we take your PR over?

EDIT: @andreiborza will take of landing the rest of this PR, but he's OOO this week!

@andreiborza
Copy link
Member

Hey @thedanchez, I reviewed the PR and it looks good to me. I just need to make some small adjustments. In the solid sdk, we can mark the router as an optional peer dep so we don't really have to vendor these types in probably. I'm traveling at the moment, I might not get to it until next week.

Thanks for the contribution!

@andreiborza andreiborza requested review from a team as code owners October 15, 2025 09:17
@andreiborza andreiborza force-pushed the tanstack-router-solid branch from 08a2b82 to f8c2df6 Compare October 15, 2025 09:41
@andreiborza andreiborza requested review from Lms24, RulaKhaled and chargome and removed request for a team October 15, 2025 09:41
Copy link
Member

@andreiborza andreiborza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Router itself LGTM, waiting for reviews from others for the other changes I made.

@andreiborza andreiborza force-pushed the tanstack-router-solid branch from f8c2df6 to 137ce94 Compare October 15, 2025 09:53
Copy link
Member

@chargome chargome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@andreiborza andreiborza merged commit e4e272b into getsentry:develop Oct 15, 2025
173 checks passed
chargome pushed a commit that referenced this pull request Oct 15, 2025
This PR adds the external contributor to the CHANGELOG.md file, so that
they are credited for their contribution. See #17735

---------

Co-authored-by: andreiborza <[email protected]>
timfish pushed a commit that referenced this pull request Oct 15, 2025
# Summary

This PR adds support for TanStack Router Solid. It follows the same
outline as the existing implementation of TanStack Router React for
Sentry as both TanStack Router flavors are built on the same agnostic
foundation.

---------

Co-authored-by: Andrei Borza <[email protected]>
timfish pushed a commit that referenced this pull request Oct 15, 2025
This PR adds the external contributor to the CHANGELOG.md file, so that
they are credited for their contribution. See #17735

---------

Co-authored-by: andreiborza <[email protected]>
andreiborza added a commit to getsentry/sentry-docs that referenced this pull request Oct 15, 2025
<!-- Use this checklist to make sure your PR is ready for merge. You may
delete any sections you don't need. -->

## DESCRIBE YOUR PR

This PR is the documentation complement to
getsentry/sentry-javascript#17735 which adds
support for TanStack Router Solid within Sentry.

## IS YOUR CHANGE URGENT?  

Help us prioritize incoming PRs by letting us know when the change needs
to go live.
- [x] Low: I can wait a week but I would love for this to be merged and
the `@sentry/solid` package to be updated + published as soon as
possible as I am building an enterprise application using Sentry +
TanStack Router Solid

## LEGAL BOILERPLATE

<!-- Sentry employees and contractors can delete or ignore this section.
-->

Look, I get it. The entity doing business as "Sentry" was incorporated
in the State of Delaware in 2015 as Functional Software, Inc. and is
gonna need some rights from me in order to utilize my contributions in
this here PR. So here's the deal: I retain all rights, title and
interest in and to my contributions, and by keeping this boilerplate
intact I confirm that Sentry can use, modify, copy, and redistribute my
contributions, under Sentry's choice of terms.

## EXTRA RESOURCES

- [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)

---------

Co-authored-by: Andrei <[email protected]>
@thedanchez
Copy link
Contributor Author

Amazing! Thank you all! @andreiborza @chargome would the @sentry/solid package get auto-bumped? Looks like I see that @sentry/react is getting auto-bumped with this change? 🤔

@thedanchez thedanchez deleted the tanstack-router-solid branch October 16, 2025 17:37
@andreiborza
Copy link
Member

@thedanchez this has been released with 10.20.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants