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

247 commits

Author SHA1 Message Date
Tanner Linsley
633d13b766 release: v1.112.3 2025-03-02 12:03:21 +00:00
Tanner Linsley
41cefb7982 release: v1.112.0 2025-02-27 22:55:32 +00:00
Tanner Linsley
847874648f release: v1.111.12 2025-02-26 10:18:00 +00:00
Tanner Linsley
0181ee4e25 release: v1.111.11 2025-02-25 23:35:22 +00:00
Sean Cassiere
74a3a06267
refactor: move routing documentation into its own section (#3567) 2025-02-26 12:33:22 +13:00
Tanner Linsley
e29545523f release: v1.111.7 2025-02-24 22:25:37 +00:00
Birk Skyum
4cb2531860
fix(router-core,router-plugin) use router-core in router-plugin (#3551) 2025-02-24 21:36:56 +01:00
Tanner Linsley
9e68c421dd release: v1.111.6 2025-02-24 18:38:10 +00:00
Tanner Linsley
b9babba8e6 release: v1.111.3 2025-02-23 22:20:12 +00:00
Tanner Linsley
7018daf2fd release: v1.109.2 2025-02-20 23:34:30 +00:00
Tanner Linsley
4d5c84548f release: v1.109.0 2025-02-20 21:54:36 +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
db9047c99c release: v1.106.0 2025-02-18 18:28:29 +00:00
Ben Durrant
3abf4c19f7
fix(start,router): Change DCE so it only affects *newly* dead code (#3422)
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-18 19:20:52 +01:00
Tanner Linsley
83b8ea9e37 release: v1.105.5 2025-02-18 16:44:03 +00:00
Tanner Linsley
c1c9e36475 release: v1.105.0 2025-02-14 22:20:39 +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
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
Sean Cassiere
e88b960702
refactor(router-plugin): code-splitting to be agnostic to support 'targets' (#3400) 2025-02-12 15:21:06 +13: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
f0f9e1074b release: v1.101.0 2025-02-09 01:11:42 +00:00
Sean Cassiere
cf693e7353
feat(router-plugin): configurable key-based code splitting (#3355) 2025-02-09 14:09:18 +13:00
Tanner Linsley
026ea55598 release: v1.100.0 2025-02-08 21:39:12 +00: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
Sean Cassiere
01f2cbe198
fix(router-plugin): handle "ConditionalExpression" when code-splitting (#3359) 2025-02-08 03:29:26 +13:00
Tanner Linsley
4914265927 release: v1.99.11 2025-02-07 10:45:30 +00:00
Sean Cassiere
323820b6f6
fix(router-plugin): reduce route-tree bundle size (#3354)
Currently, when using `automaticCodeSplitting`, as part of compiling the "reference" route, we add a component (named `TSRDummyComponent`) to aid with the HMR trickery.

In removing this component from the production bundle, it impacts the visitor by reducing the initial js bundle that wires the route-tree.
2025-02-07 23:42:56 +13:00
Tanner Linsley
c4b42ba543 release: v1.99.10 2025-02-07 03:40:37 +00:00
Carson Full
e8695e1177
fix: use top-level types in package.json for use in JetBrains IDEs (#3350) 2025-02-07 16:34:57 +13:00
Tanner Linsley
9fb4d601a3 release: v1.99.9 2025-02-06 21:52:20 +00:00
Tanner Linsley
a13f1a4021 release: v1.99.8 2025-02-06 05:38:24 +00:00
Tanner Linsley
648ad674c6 release: v1.99.7 2025-02-05 19:19:33 +00:00
Tanner Linsley
17998cae30 release: v1.99.6 2025-02-04 21:05:19 +00:00
Tanner Linsley
681a3cd173 release: v1.99.5 2025-02-04 19:09:18 +00:00
Carson Full
0b9cc078be
fix: peer dependencies (#3318) 2025-02-04 20:03:15 +01:00
Manuel Schiller
c636f9b825
fix(router-plugin): fix handling of import attributes (#3331) 2025-02-04 20:02:59 +01:00
Tanner Linsley
1ecab1e78d release: v1.99.3 2025-02-03 04:30:53 +00:00
Tanner Linsley
e69f08c78d release: v1.99.0 2025-02-01 11:02:45 +00:00
Tanner Linsley
d50d29194f release: v1.98.6 2025-01-31 05:51:29 +00:00