Manuel Schiller
f73b5ddeea
chore: removed unused dependencies ( #3024 )
2024-12-16 23:28:15 +01:00
Chris Hudson
fb016b8115
docs: clarify server functions cannot be called from Api Routes; capitalize API Routes as they are a noun and consistency with API Routes page. ( #3021 )
2024-12-16 23:26:06 +01:00
Tanner Linsley
ac023b1c24
release: v1.90.1
v1.90.1
2024-12-16 16:13:08 +00:00
Manuel Schiller
24217f84d5
fix(start): try/catch around renderToPipeableStream for React 19 ( #3020 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-12-16 17:10:27 +01:00
reihwald
f063b49b41
docs: Slightly improve navigation-blocking.md to avoid confusion ( #3015 )
2024-12-15 14:42:24 +01:00
Manuel Schiller
437fb7457a
docs(react-router): fix blocker doc
2024-12-15 11:21:21 +01:00
Tanner Linsley
e2004c1428
release: v1.90.0
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
v1.89.2
2024-12-15 00:29:55 +00:00
Tyler Jones
6e4ff67640
fix(react-router): use correct type for TRouter generic ( #2998 )
2024-12-15 01:25:17 +01:00
Tanner Linsley
d4fe418a11
release: v1.89.1
v1.89.1
2024-12-14 21:47:35 +00:00
Manuel Schiller
f355ae1ed4
fix(react-router): useMatch returns union of matches when strict = false ( #3013 )
2024-12-14 22:46:14 +01:00
Tanner Linsley
5b92314c03
release: v1.89.0
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
Josh Kelley
e5f7a8cc16
Update React Router 7 bundle size ( #3006 )
...
As of React Router 7, [everything is in the `react-router` package](https://reactrouter.com/upgrading/v6#upgrade-to-v7 ), and `react-router-dom` just re-exports `react-router` for compatibility.
2024-12-13 21:06:08 +01:00
Tanner Linsley
6e8967f419
release: v1.88.0
v1.88.0
2024-12-13 11:30:57 +00:00
Manuel Schiller
5ad95cf3f7
feat(react-router): allow to redirect to external targets, add reloadDocument option ( #3004 )
...
* feat(react-router): allow to redirect to external targets, add `reloadDocument` option
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-12-13 12:29:33 +01:00
Tanner Linsley
ccf7972626
release: v1.87.14
v1.87.14
2024-12-12 23:02:41 +00:00
Manuel Schiller
739f4ed7f1
fix(start-vite-plugin): correctly generate source maps
2024-12-12 23:56:31 +01:00
Tanner Linsley
7190a61737
release: v1.87.13
v1.87.13
2024-12-12 22:45:35 +00:00
Manuel Schiller
48c13d3fc6
fix(router-plugin): correctly generate source maps for automatic code splitting ( #2997 )
2024-12-12 23:41:51 +01:00
Tanner Linsley
a91cfd9e29
release: v1.87.12
v1.87.12
2024-12-12 18:59:36 +00:00
Christopher Horobin
ec50a80237
fix(react-router): allow union when assigning ( #2994 )
2024-12-12 19:58:09 +01:00
David Turissini
a36589640b
tests: awaiting toMatchFileSnapshot and .rejects statements in vitest files ( #2984 )
...
Co-authored-by: David Turissini <davidturissini@Melissas-Air.home>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-12-12 09:26:59 +01:00
Tanner Linsley
a6dd6bfc18
release: v1.87.11
v1.87.11
2024-12-12 07:50:46 +00:00
Tanner Linsley
1c772baf49
fix: don't output debug ast
2024-12-12 00:45:32 -07:00
Tanner Linsley
f28eed0e25
release: v1.87.10
v1.87.10
2024-12-12 06:58:37 +00:00
Tanner Linsley
22ba755b2a
fix: improve babel parsing/generation reliability
...
* fix: attempt fix DCE
* fix: clean up babel parsing and generation, upgrade deps, adding debug
* fix: remove unnecessary test
2024-12-11 23:55:26 -07:00
Tanner Linsley
35af575ab4
release: v1.87.9
v1.87.9
2024-12-11 20:36:00 +00:00
Tanner Linsley
8d2bf10763
Merge branch 'main' of https://github.com/TanStack/router
2024-12-11 13:31:43 -07:00
Tanner Linsley
8306ea921b
fix: better _TSR_ check
2024-12-11 13:30:51 -07:00
Tanner Linsley
0751fc78e0
release: v1.87.8
v1.87.8
2024-12-11 20:18:56 +00:00
Tanner Linsley
7bafba1652
Merge branch 'main' of https://github.com/TanStack/router
2024-12-11 13:13:15 -07:00
Tanner Linsley
7851238e64
fix: ensure _TSR_ before cleaning scripts
2024-12-11 13:13:09 -07: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
v1.87.7
2024-12-10 20:30:13 +00:00
David Turissini
62c02862d8
refactor: remove hardcoded references to tsr.config.json ( #2975 )
...
* removing hard coded references to tsc.config.json
* ci: apply automated fixes
---------
Co-authored-by: David Turissini <davidturissini@Melissas-Air.home>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-12-11 09:20:36 +13:00
Tanner Linsley
fe6533f0be
release: v1.87.6
v1.87.6
2024-12-10 18:32:16 +00:00
Manuel Schiller
050da1facf
fix: release
...
RELEASE_ALL
2024-12-10 19:29:35 +01:00
Tanner Linsley
41ee340f24
Update comparison.md
2024-12-10 10:24:12 -07:00
Manuel Schiller
8dae0ca305
fix(start): do not interfere with deferred promise resolution ( #2974 )
...
* fix(start): do not interfere with deferred promise resolution
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-12-10 18:21:09 +01:00
Tanner Linsley
3b574247f1
release: v1.87.4
v1.87.4
2024-12-10 00:49:19 +00:00
Sean Cassiere
f9448c2004
fix(router-plugin): generation for rspack/webpack builds should use the beforeRun compiler hook ( #2971 )
...
* fix(router-plugin): rsbuild to await generation using compiler hooks
* fix(router-plugin): webpack to await generation using compiler hooks
2024-12-10 13:39:27 +13:00
Tanner Linsley
bda3e0705a
release: v1.87.3
v1.87.3
2024-12-10 00:18:55 +00:00
Manuel Schiller
caffc5ef61
fix(router-generator): do not register tsx import, instead use its API ( #2970 )
...
fixes #2968
2024-12-10 01:03:20 +01:00
Manuel Schiller
359ab154d1
fix(react-router): fix transitions ( #2969 )
...
* fix(react-router): fix transitions
fixes #2631
fixes #2082
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-12-10 00:12:22 +01:00
Sean Cassiere
950b80fe66
test(e2e): add rsbuild based sandboxed to the end-to-end testing suite ( #2965 )
...
* test(e2e): add rspack basic-file-based sandbox
* test(e2e): add rspack basic-virtual-named-export-config-file-based sandbox
* chore: checkin lockfile
* chore(e2e): switch to referencing the workspace versions
* chore(examples): upgrade rsbuild dependencies to latest
* chore(e2e): remove playwright test results from git history
* chore(root): fix lockfile
* chore(e2e): log out the port being mapped
2024-12-10 09:29:11 +13: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
Ben Durrant
ba80869ada
Remove variable check for createIsomorphicFn and envOnly functions. ( #2960 )
2024-12-09 19:30:43 +01:00
Ben Durrant
586cc7dbdb
golf json even harder ( #2961 )
2024-12-09 19:30:34 +01:00