0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
Commit graph

2,482 commits

Author SHA1 Message Date
Tanner Linsley
d372e99dd8 release: v1.110.0 2025-02-21 14:23:56 +00:00
Tanner Linsley
7018daf2fd release: v1.109.2 2025-02-20 23:34:30 +00:00
Tanner Linsley
7b215ba6e9 release: v1.109.1 2025-02-20 22:18:18 +00:00
Tanner Linsley
4d5c84548f release: v1.109.0 2025-02-20 21:54:36 +00:00
Christopher Horobin
16a9c9e2bb
feat(react-router): final type utilities (#3485)
* feat(react-router): final type utilities

* docs(react-router): add type utilities docs
2025-02-20 22:52:57 +01:00
Tanner Linsley
b720151c28 release: v1.108.1 2025-02-20 19:05:56 +00:00
Tanner Linsley
1340ccead8 release: v1.108.0 2025-02-20 16:18:10 +00:00
Birk Skyum
ad20a68491
feat(solid-router): Add a SolidJS driver for TanStack Router (#3276)
* copy react-router

* update

* Move forward branch

* cleanup

* cleanup

* add publish

* bump deps

* ci: apply automated fixes

* remove unused imports

* ci: apply automated fixes

* bump  vite plugin solid

* fix imports

* ci: apply automated fixes

* remove react lint from solid-router

* fix types

* ci: apply automated fixes

* add structuralSharing

* downgrade vite plugin solid

* fix scroll-restoration in solid-router

* fix Transitioner

* fix imports from ScrollRestoration

* Fix tests

* Fix more tests

* Remove the react $$typeof

* add accessors to useLocation

* add remountDeps

* cleanup

* remove tanstack/store

* format

* add missing call to setupScrollRestoration

* format

* add optional

* align match component

* make matches a signal

* Bump vite-plugin-solid to stable

* add missing await

* Fix unknown error

* Tweak the tests to call functions

* remove unused vars

* fix lockfile

* Down to 25 failures

* Remove .only

* call search()

* remove the structuralSharing

* fix type test

* fix structuralSharing

* comment out structured sharing validation check

* fix typings

* comment out serialization check

* comment out serialization check

* cleanup

* improve types of useSearch

* fix "when setting search params with 2 parallel navigate calls"

* fix useParams

* fix types

* fix useParams types

* cleanup debug

* fix link data loader

* fix data loader signal

* fix type test

* fix Link "when navigating away from a route with a loader that errors"

* setup on() simpler

* make initial load a createRenderEffect

* Fix some link preload tests

* add accessor to UseMatchRoute

* fix: when navigating to /posts with a beforeLoad that returns context

* call parentRouteId

* re-enable invariant

* fix when navigating from /invoices to ./invoiceId and the current route is /posts/$postId/details

* use memo for prev

* remove browserhistory  workaround

* fix  "after a navigation, should have emitted the "onResolved" event twice"

* skip remount

* add types to useSearch

* fix search middleware

* don't need a getter

* sync react-router

* solid kitchen sink

* add the example to workspace

* lockfile

* fix solid kitchensink name

* add solid template

* fix example

* rename react to solid

* work on example

* add accessor

* fix type tests

* Fix login in example

* Don't destructure

* Fix stuck on pending component

* Fix where loaderData can be undefined

* Use For component

* More refactor

* Hacky way to fix loading spinner

* Fix one test

* Better MatchRoute fix

* Down to 1 failing test

* Fix last test

* cleanup subscription

* lockfile

* eslint

* ci: apply automated fixes

* fix router-core lint

* ci: apply automated fixes

* add e2e test for solid-router

* ci: apply automated fixes

* work on solid-router e2e suites

* fix comment

* use solid-virtualizer

* work on scroll-restauration

* work on scroll-restauration

* skip react-specific useRenderEffect test

* fix errorcomponent being used before it's defined

* set solid target for esbuild

* ci: apply automated fixes

* fix rspack tests

* fix query tets

* add solid-query example

* use memo for post

* add memo for posts

* fix example

* add jsx compiler flags to esbuild commands

* add esbuild-plugin-solid

* Fix some e2e

* ci: apply automated fixes

* port #3423 from react-router

* fix useLoaderData test-d

* add codeSplitGroupings

* Scroll restoration fixes

* add asset headcontent script

* remove solid-router-copy

* fix react use

* fix scroll restoration test

* skip esbuild because it's broken in react-router

* wait for timeout

* update scroll-restoration to match react

* useLocation

* use on() in match

* align useNavigate with react-router

* lockfile

* fix Scripts test

* align __TSR_SSR__ in ScriptOnce

* remove solid-router from publish

* lint

* ci: apply automated fixes

* align to react-router

* port over "exclude props from state equality check to prevent history push for equal url and state"

* align with react-router

* add shouldThrow

* fix typePrimitives

* use searchStr to fix the search middleware

* ci: add solid-router to the labeler

* use patched vite-plugin-solid

* eslint

* ci: apply automated fixes

* use vite-plugin-solid 2.11.2

* remove only modifier

* move vite-plugin-solid peerDep to router-plugin

* use latest vite-plugin-solid

* move vitest to root

* bump vitest

* revert onRendered

* lint

* add to publish

* fix scroll restoration

* ci: apply automated fixes

* align version with react-router

* sync to react-router

* sync with react-router

* sync navigate tests to react-router

* ci: apply automated fixes

* use Solid.JSX.Element consistently instead of Solid.JSXElement

* remove irrelevant test

* ci: apply automated fixes

* remove unused suite

* lint

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Brenley Dueck <brenleydueck@gmail.com>
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-02-20 17:11:39 +01:00
Tanner Linsley
fb071895dd release: v1.107.0 2025-02-19 01:03:37 +00:00
Tanner Linsley
db9047c99c release: v1.106.0 2025-02-18 18:28:29 +00:00
Tanner Linsley
83b8ea9e37 release: v1.105.5 2025-02-18 16:44:03 +00:00
Christopher Horobin
2dd5b95a6a
refactor: remove clientAfter (#3426)
* refactor: remove clientAfter

* perf(start): add middleware types interface to avoid structural comparison

* docs(start): update to include inferring context from server to client
2025-02-18 17:37:56 +01:00
Julius Marminge
ea2c4add34
trpc queryoptions (#3464) 2025-02-17 18:04:15 -07:00
Tanner Linsley
bcfcc99aea release: v1.105.4 2025-02-17 23:58:13 +00:00
Tanner Linsley
7be247504a release: v1.105.3 2025-02-16 14:15:47 +00:00
Tanner Linsley
adcdde4d57 release: v1.105.2 2025-02-16 04:27:56 +00:00
Manuel Schiller
dfd583176a
tests: bump react in e2e tests (#3445) 2025-02-15 14:41:29 +01:00
Tanner Linsley
0943f29f1f release: v1.105.1 2025-02-15 00:05:24 +00:00
Tanner Linsley
c1c9e36475 release: v1.105.0 2025-02-14 22:20:39 +00:00
Manuel Schiller
4c7caeba94
feat: replace <Meta /> by <HeadContent /> and add dedicated headScripts (#3439) 2025-02-14 23:19:01 +01:00
Tanner Linsley
7d76812729 release: v1.104.3 2025-02-13 22:56:09 +00:00
Tanner Linsley
b5d14325b3 release: v1.104.2 2025-02-13 22:02:54 +00:00
Tanner Linsley
cea9019343 release: v1.104.1 2025-02-13 20:13:11 +00:00
Tanner Linsley
b406134b42 release: v1.104.0 2025-02-13 18:42:47 +00:00
Tanner Linsley
2a83af7b75 release: v1.103.1 2025-02-13 17:55:14 +00:00
Tanner Linsley
11d340abef release: v1.103.0 2025-02-12 23:28:38 +00:00
Tanner Linsley
2e74974c66
feat: static server functions (#3352)
* We're back baby!

fix: type: 'static', .type(type | () => type)

fix: allow customizing the serverFnStaticCache impl

fix: also allow for customizing the client side fetch, duh

* docs: static server function docs

* fix: remove unnecessary tuple option

* fix: createServerFnStaticCache import location

* fix: lockfile

* fix: types
2025-02-12 16:23:30 -07:00
Michal Malinowski
673ff1c3fd
fix: payload should be a data object (#3405) 2025-02-12 21:37:41 +01:00
Tanner Linsley
e6efc4fb86 release: v1.102.6 2025-02-12 19:18:06 +00:00
Tanner Linsley
e30d59a05f release: v1.102.5 2025-02-12 04:52:43 +00:00
Tanner Linsley
bb65fe44dd release: v1.102.4 2025-02-12 02:24:58 +00:00
Tanner Linsley
d626fb2831 release: v1.102.3 2025-02-11 23:45:29 +00:00
Tanner Linsley
4d74d55da8 release: v1.102.2 2025-02-10 23:19:33 +00:00
renovate[bot]
c1c943c5ef
chore(deps): update all non-major dependencies (#3379)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-10 02:03:23 +00:00
Tanner Linsley
397561969b release: v1.102.1 2025-02-09 23:17:35 +00:00
Tanner Linsley
0cef0bdc3e release: v1.102.0 2025-02-09 21:22:38 +00:00
Tanner Linsley
ddd84abd75 release: v1.101.2 2025-02-09 13:49:20 +00:00
Tanner Linsley
8d742e1c5c release: v1.101.1 2025-02-09 03:41:09 +00:00
Tanner Linsley
f0f9e1074b release: v1.101.0 2025-02-09 01:11:42 +00:00
Tanner Linsley
026ea55598 release: v1.100.0 2025-02-08 21:39:12 +00:00
Manuel Schiller
3b158d0ab0
feat(react-router): add shouldThrow option to useParams and useSearch (#3368) 2025-02-08 22:36:40 +01:00
Tanner Linsley
bd5d1992e2 release: v1.99.14 2025-02-07 22:19:02 +00:00
Tanner Linsley
38834b0133 release: v1.99.13 2025-02-07 18:21:05 +00:00
Tanner Linsley
675fdc0157 release: v1.99.12 2025-02-07 14:31:02 +00:00
Tanner Linsley
4914265927 release: v1.99.11 2025-02-07 10:45:30 +00:00
Tanner Linsley
c4b42ba543 release: v1.99.10 2025-02-07 03:40:37 +00:00
Tanner Linsley
9fb4d601a3 release: v1.99.9 2025-02-06 21:52:20 +00:00
Sean Cassiere
ece1575f6d
chore(examples): add .vscode/settings.json configuration (#3349) 2025-02-07 10:29:48 +13:00
Nicolas Beaussart
9adf45bc47
fix(examples): upgrade nx and remove implicitDependencies (#3346) 2025-02-06 20:03:16 +01:00
Tanner Linsley
a13f1a4021 release: v1.99.8 2025-02-06 05:38:24 +00:00