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

1,178 commits

Author SHA1 Message Date
Tanner Linsley
27fb5e6b7b release: v1.57.6 2024-09-10 05:44:17 +00:00
Christopher Horobin
0890710329
chore: support TS 5.6 and drop support for 5.0 (#2299) 2024-09-10 02:29:52 +02:00
Tanner Linsley
1704db9dfd release: v1.57.1 2024-09-09 23:06:43 +00:00
Manuel Schiller
ca9b4beb29
feat(create-router): added project generator to scaffold router projects (#2300) 2024-09-10 00:41:44 +02:00
Manuel Schiller
282f83a860
chore: run typecheck for examples after building (#2285) 2024-09-08 00:52:37 +02:00
Tanner Linsley
c572286f14 release: v1.56.5 2024-09-07 11:37:56 +00:00
Tanner Linsley
919bd13961 release: v1.56.4 2024-09-07 07:11:00 +00:00
Manuel Schiller
aeb35938f2
fix(router-generator): export generated interfaces (#2282) 2024-09-07 09:09:44 +02:00
Tanner Linsley
db346b8761 release: v1.56.3 2024-09-07 05:15:15 +00:00
ridwansameer
89f920941b
chore(start): add Start example with supabase for auth (#2277)
* Example: Add Supabase Auth example

* Docs: Add Supabase auth to docs config

* Fix: Remove extra files and rename supabase

* Fix: remove comment

* ci: apply automated fixes

* Refactor: Rename supabase client to not violate react hook rules

---------

Co-authored-by: Ridwan Sameer <ridsameer2000@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-09-07 15:13:00 +12:00
Zach
da78bd9fa7
chore(examples): update @clerk/tanstack-start to 0.3.5 (#2274)
* update clerk auth version

* ci: apply automated fixes

* style: eslint fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-09-07 12:51:43 +12:00
Tanner Linsley
0c04462f30 release: v1.56.2 2024-09-06 17:26:03 +00:00
Sean Cassiere
5fa21ad90e
chore(examples): regenerate route-tree files (#2272) 2024-09-06 13:59:33 +12:00
Tanner Linsley
05dc8bdaaf release: v1.56.1 2024-09-05 23:34:49 +00:00
Christopher Horobin
0482da561a
perf(react-router): constant editor performance regardless how large a file based route tree is (#2243) 2024-09-06 01:33:37 +02:00
Tanner Linsley
3ecffa39b9 release: v1.56.0 2024-09-05 21:23:14 +00:00
Manuel Schiller
f64587fe83
feat(router-generator): allow virtual subtree in file based routing (#2271) 2024-09-05 23:22:06 +02:00
Tanner Linsley
1f92ff086d release: v1.55.0 2024-09-05 11:24:03 +00:00
Tanner Linsley
b15d310fa7 release: v1.54.0 2024-09-04 21:38:14 +00:00
Manuel Schiller
a941696174
feat(router-generator): custom route tree configuration based on virtual file routes (#2265) 2024-09-04 23:37:02 +02:00
Tanner Linsley
0250d89721 release: v1.53.1 2024-09-04 09:21:12 +00:00
Tanner Linsley
10abfc747c release: v1.53.0 2024-09-03 21:50:23 +00:00
Tanner Linsley
2e6a54354f release: v1.52.5 2024-09-03 04:34:48 +00:00
Tanner Linsley
71c5ceae43 release: v1.52.4 2024-09-02 17:16:43 +00:00
Tanner Linsley
16ca2ac837 release: v1.52.3 2024-09-01 06:41:59 +00:00
Tanner Linsley
01d5efd1c2 release: v1.52.2 2024-09-01 00:54:32 +00:00
Tanner Linsley
a57398e1c4 release: v1.52.1 2024-08-31 21:10:34 +00:00
Tanner Linsley
5340eda583 release: v1.52.0 2024-08-31 20:40:37 +00:00
Tanner Linsley
7f51877da0 release: v1.51.9 2024-08-31 17:39:18 +00:00
Tanner Linsley
665e0bf7a6 release: v1.51.8 2024-08-31 13:37:12 +00:00
Tanner Linsley
e945089570 release: v1.51.7 2024-08-31 05:50:56 +00:00
Tom Ballinger
dc40904b44
Update convex version (#2232) 2024-08-30 14:13:34 -06:00
Lachlan Collins
46534e5b02
chore(deps): use ESLint v9 (#2228) 2024-08-30 18:36:46 +10:00
Tanner Linsley
513408927d release: v1.51.6 2024-08-29 23:01:07 +00:00
Sean Cassiere
0948389a78
chore: fix start-basic-auth example to pass playwright test (#2226) 2024-08-30 09:31:35 +12:00
Tanner Linsley
14b6042d61 examples: swap remix cookies for vinxi/http 2024-08-29 14:28:58 -06:00
Tanner Linsley
1dfd7d604b release: v1.51.5 2024-08-29 19:31:48 +00:00
Tanner Linsley
823c4091fa release: v1.51.4 2024-08-29 17:59:13 +00:00
Lachlan Collins
c6a80d637c
chore(deps): update select dependencies (#2215)
* chore(deps): update select dependencies

* More updates

* More deps

* Sync vinxi
2024-08-29 17:06:35 +10:00
Tanner Linsley
1b0678f103 release: v1.51.3 2024-08-29 06:12:36 +00:00
Lachlan Collins
abf4d00994
chore: remove unused dependencies (#2214)
* chore: remove unused dependencies

* Sync vite-tsconfig-paths version
2024-08-29 16:11:20 +10:00
Tanner Linsley
c03819f6f0 release: v1.51.2 2024-08-27 21:03:37 +00:00
Tanner Linsley
4fa7ad8c50 release: v1.51.1 2024-08-27 20:36:33 +00:00
Tanner Linsley
8e61210183 release: v1.51.0 2024-08-27 07:47:47 +00:00
Tanner Linsley
21bf687b26
feat(start): add api routes (#2185)
* feat: partial work on file based api routes

* feat(router-generator,start): tsr config to support `apiBase`

* feat(router-generator): adding the route template

* feat(router-generator): smoke test to make sure no conflicting configurations are found

* chore(start-basic): cleanup to a workable state

* feat(router-generator): generate the manifest for api-routes

* feat(start): make sure requests are getting through

* fix(react-router,start): get the exports sorted

* refactor(router-generator): to use the same output as normal route files

* feat(start): piping the manifest to the api-handler

* chore(start): remove unused config option since the apiBase is being taken from tsr-generator

* fix(start): only add the api router to vinxi if its handler exists

* style(start): eslint

* test(router-generator): checking that the custom base is respected by the generator

* chore(start): add a dot notated api route and `console.debug` instead

* refactor(router-generator,start): normalize the capitalization of "API" across the generator and start

* fix(start): `createAPIHandler` to `createApiHandler`

* feat(router-generator,start): correctly output the api build chunks

* feat(start): 🎉 API-routes are working
now it just needs Tanner's multi-sort logic stuff added-in

* fix(start,router-generator): split the API stuff from the "server" export to its own "api"export

* feat(router-generator): handle updating the path `escapedPath` on API-Routes like we do for regular file-routes

* refactor(router-generator,start): rename functions

* feat(start): add logic for route matching with TSR routes

* feat(react-router,router-generator,start): remove the stuff to do with generating the "api-manifest". only the existing "route-manifest" remains. the additional tests have also been removed

* fix(start): filter out potential api-route mismatches before trying to begin the actually "find" process

* test: start-basic example with api routes

* chore: add a DEPLOY_URL field to better show that the user needs to supply this SSR

* test: start-basic-react-query example with api routes

* chore: rename "post" to "user"

* feat(start): allow the HTTP "HEAD" method

* feat(start): solution for code-based api-routes

* revert(start): undo the code-based approach since the production builds didn't work

* feat(start): add back the code-based approach

* chore(start): rename type "APIFileRouteReturnType" to "APIRouteReturnType"

* fix(start): path logic to make sure url segments cannot be less than route segments

* refactor(start): code-based approach to accept a an object of routes keyed under "routes"

* chore(start): add comments since

* refactor(router-generator,start): less exports and reuse make the fs-router extensible

* refactor(start): a more generic name

* refactor(start): generic naming again

* refactor(start): strongly type the api handlers

* docs(router): update the file-based routing to callout that `/api` routes will be ignored by router

* docs(router): callout how the `api_base can be changed`

---------

Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2024-08-27 19:46:20 +12:00
Tanner Linsley
07a6b72c12 release: v1.50.2 2024-08-26 10:57:21 +00:00
Tanner Linsley
8bebd3eba1 release: v1.50.1 2024-08-26 02:57:46 +00:00
Tanner Linsley
ff38d84777 release: v1.50.0 2024-08-23 23:05:35 +00:00
Christopher Horobin
00ab94253f
feat(react-router): allow narrowing of matches with useMatches (#2058)
* feat(react-router): add isMatch type predicate

* chore: add to example

* refactor: optimised types

* chore: use `constrain`

* fix: add a few fixes and tests

* chore: add experimental tag
2024-08-24 01:04:00 +02:00
Tanner Linsley
d1d608685d release: v1.49.8 2024-08-23 22:08:49 +00:00