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

1,605 commits

Author SHA1 Message Date
Tanner Linsley
afe6af602d release: v1.92.13 2025-01-01 12:26:19 +00:00
Tanner Linsley
4cad52b3a5 release: v1.92.11 2024-12-29 14:17:56 +00:00
Tanner Linsley
61feda76cf release: v1.92.10 2024-12-28 23:01:28 +00:00
Tanner Linsley
45dbbd2ae8 release: v1.92.9 2024-12-28 14:14:30 +00:00
Tanner Linsley
8adbeb3e05 release: v1.92.7 2024-12-27 00:19:47 +00:00
Manuel Schiller
acbc3f23b1
fix: bump deps (#3077) 2024-12-27 01:18:19 +01:00
Tanner Linsley
67a9841502 release: v1.92.6 2024-12-26 22:45:44 +00:00
Tanner Linsley
233526c542 release: v1.92.5 2024-12-26 21:54:14 +00:00
Tanner Linsley
8ac15ca190 Add Netlify callouts 2024-12-24 10:49:18 -07:00
Tanner Linsley
5a6f4db9e2 release: v1.92.4 2024-12-23 19:03:04 +00:00
Tanner Linsley
405a60a4c5 release: v1.92.3 2024-12-23 06:27:48 +00:00
Tanner Linsley
b2ee838a8e release: v1.92.2 2024-12-22 20:58:48 +00:00
Tanner Linsley
3505a1ff22 release: v1.92.1 2024-12-21 23:54:12 +00:00
Tanner Linsley
dc3502ba39 release: v1.91.3 2024-12-19 02:32:54 +00:00
Tanner Linsley
dbdd43a71c release: v1.91.2 2024-12-17 10:55:09 +00:00
Tanner Linsley
9559b9cebe release: v1.91.1 2024-12-17 10:15:19 +00:00
Tanner Linsley
b13c6d7ce1 release: v1.91.0 2024-12-17 00:50:42 +00:00
Christopher Horobin
cb1b65e2b3
perf(react-router): improve resolve relative route and use intersections for checking path (#2425)
* perf(react-router): improve resolve relative route and use intersections for checking path

* perf(react-router): use a few more intersections

* fix: allow string to

* chore: work in progress

* chore: fix tests

* feat: add type primitives

* feat: add more type primitives

* ci: apply automated fixes

* chore: fix build

* refactor: rename to paths

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-12-16 23:41:29 +01:00
Manuel Schiller
f73b5ddeea
chore: removed unused dependencies (#3024) 2024-12-16 23:28:15 +01:00
Tanner Linsley
ac023b1c24 release: v1.90.1 2024-12-16 16:13:08 +00:00
Tanner Linsley
e2004c1428 release: v1.90.0 2024-12-15 09:37:44 +00:00
Tom Rehnström
f420670bf2
feat(react-router): update useBlocker hook to provide current and next location when conditionally blocking (#1790)
* chore: clean up changes

* feat: clean up work and address feedback

* feat: add backwards compat

* ci: apply automated fixes

* feat: give history action to subscribers via notify

* fix: provide go index to history subscribers

* docs: updated docs accourding to feedback

* fix: changed valid notify call

* rename to `type`

* remove non existing `pushstate`event

* cleanup

* typesafe API for shouldBlockFn

* feat: added blocking state to resolver and updated examples

* docs: updated useBlocker and navigation-blocking docs

* test: added type tests to blocker and changed type implementation of blocker

* test: added better unit tests for useBlocker hook

* test: added e2e tests for blocker and legacy blocker

* wip: stash files before merge

* fix: unstashed e2e file after merge

* fix lockfile

* docs

* typesafety for `<Block>`

* always return resolver to not break backwards compatibility

* fix: removed zod from navigation blocking example to fix build problem

* chore: update lock file

* finishing touches

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2024-12-15 10:32:16 +01:00
Tanner Linsley
4531b70d4c release: v1.89.2 2024-12-15 00:29:55 +00:00
Tanner Linsley
d4fe418a11 release: v1.89.1 2024-12-14 21:47:35 +00:00
Tanner Linsley
5b92314c03 release: v1.89.0 2024-12-14 08:03:35 +00:00
Josh Slate
92147140c8
feat(react-router): implement hash change "Scroll Into View" option (#2996)
* feat: implement hash change scrollIntoView option

* e2e tests for hash change scroll behavior

* update e2e tests to use data-testId

* address feedback

* remove accidental change to package.json

* add anchor link to example navigation

* ci: apply automated fixes

* handle when location transitions without commitLocation running

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-12-14 08:58:03 +01:00
Tanner Linsley
6e8967f419 release: v1.88.0 2024-12-13 11:30:57 +00:00
Tanner Linsley
ccf7972626 release: v1.87.14 2024-12-12 23:02:41 +00:00
Tanner Linsley
7190a61737 release: v1.87.13 2024-12-12 22:45:35 +00:00
Tanner Linsley
a91cfd9e29 release: v1.87.12 2024-12-12 18:59:36 +00:00
Tanner Linsley
a6dd6bfc18 release: v1.87.11 2024-12-12 07:50:46 +00:00
Tanner Linsley
f28eed0e25 release: v1.87.10 2024-12-12 06:58:37 +00:00
Tanner Linsley
35af575ab4 release: v1.87.9 2024-12-11 20:36:00 +00:00
Tanner Linsley
0751fc78e0 release: v1.87.8 2024-12-11 20:18:56 +00:00
Alex D'Elia
87a5c12809
fix serialization error caused by getting full clerk user object (#2976) 2024-12-11 20:12:53 +01:00
Tanner Linsley
fe8d7cbab1 release: v1.87.7 2024-12-10 20:30:13 +00:00
Tanner Linsley
fe6533f0be release: v1.87.6 2024-12-10 18:32:16 +00:00
Tanner Linsley
3b574247f1 release: v1.87.4 2024-12-10 00:49:19 +00:00
Tanner Linsley
bda3e0705a release: v1.87.3 2024-12-10 00:18:55 +00:00
renovate[bot]
3cd39dba4c
chore(deps): update all non-major dependencies (#2958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-09 20:09:23 +00:00
Tanner Linsley
304fdbd9f5 release: v1.87.2 2024-12-09 17:25:29 +00:00
Manuel Schiller
54dad5f872
fix(start): fix usage of use() with React 19 (#2963)
both router and react 19 were modifying the Promise object in a similar manner which caused a conflict.

See https://github.com/facebook/react/blob/v19.0.0/packages/react-reconciler/src/ReactFiberThenable.js#L162-L228 for how React 19 modifies the Promise object.

Both used an additional `status` property to track the Promise status, but router was using the value "success" and React was using the value "fulfilled" to mark a fulfilled Promise.

This change stores the router specific Promise tracking values using a symbol to avoid any potential collision.

fixes #2953
2024-12-09 18:24:04 +01:00
Tanner Linsley
ad3f277334 release: v1.87.1 2024-12-08 22:01:46 +00:00
Tanner Linsley
e9d4759ea1 release: v1.87.0 2024-12-07 22:27:33 +00:00
Tanner Linsley
0398fc0618 release: v1.86.1 2024-12-06 17:34:13 +00:00
Tanner Linsley
0a58c0fe27 release: v1.86.0 2024-12-06 09:59:45 +00:00
Tanner Linsley
b63d7ad5f4 release: v1.85.10 2024-12-06 02:20:14 +00:00
Tanner Linsley
9f49952c0a release: v1.85.9 2024-12-05 23:37:28 +00:00
Manuel Schiller
ef4a9498c0
fix: upgrade to vinxi 0.5 and vite 6 (#2923)
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-12-06 00:36:10 +01:00
Tanner Linsley
1a39728c31 release: v1.85.8 2024-12-05 20:53:41 +00:00