Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from remix-run:main #3

Open
wants to merge 1,322 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
1322 commits
Select commit Hold shift + click to select a range
1752d84
Enter prerelease mode
brophdawg11 Dec 5, 2023
ddc2b94
chore: Update version for release (pre) (#11089)
github-actions[bot] Dec 5, 2023
ee5fcd5
Generate release notes
brophdawg11 Dec 5, 2023
1c6f3b3
fix typos
brophdawg11 Dec 5, 2023
558d793
Fix plumbing of future prop
brophdawg11 Dec 5, 2023
56b2944
chore: Update version for release (pre) (#11090)
github-actions[bot] Dec 5, 2023
f9d7ed6
Fix server future plumbing
brophdawg11 Dec 5, 2023
373b30c
chore: Update version for release (pre) (#11091)
github-actions[bot] Dec 5, 2023
1447eb0
Update release notes
brophdawg11 Dec 5, 2023
ed40ee9
Update release notes comparison link
brophdawg11 Dec 5, 2023
c47464c
Clarify relative="path" docs
brophdawg11 Dec 6, 2023
fe3c071
Slight refactor to partial hydration to leverage state.initialized pr…
brophdawg11 Dec 6, 2023
ea0ffee
chore: Update version for release (pre) (#11095)
github-actions[bot] Dec 6, 2023
a76ee41
Dedup relative path logic in resolveTo (#11097)
brophdawg11 Dec 7, 2023
54ec39e
Allow persisted fetchers unmounted during submit to revalidate (#11102)
brophdawg11 Dec 7, 2023
ffd4373
Exit prerelease mode
brophdawg11 Dec 13, 2023
69ba50e
chore: Update version for release (#11114)
github-actions[bot] Dec 13, 2023
5567158
Merge branch 'release-next'
brophdawg11 Dec 13, 2023
c292bdb
Merge branch 'release-next' into dev
brophdawg11 Dec 13, 2023
19e6398
Add v7_relativeSplatPath to createBrowserRouter docs
brophdawg11 Dec 13, 2023
87d5d61
Fix unit test (#11115)
brophdawg11 Dec 13, 2023
2ea19fa
docs: Add minor grammatical changes to `errorElement` docs for better…
Kakamotobi Dec 15, 2023
a4e91e0
chore: sort contributors list
remix-cla-bot[bot] Dec 15, 2023
abb23de
doc edited for unstable_useViewTransitionState (#11117)
eiffelwong1 Dec 15, 2023
f8c54a8
chore: format
remix-run-bot Dec 15, 2023
d9b36f6
Update useResolvedPath docs
brophdawg11 Dec 15, 2023
cc4436c
Update changelogs for useResolvedSplat example
brophdawg11 Dec 15, 2023
0f04d11
Fix issues with partial hydration combined with route.lazy (#11121)
brophdawg11 Dec 18, 2023
8bb3ffd
Fix typo in changeset
brophdawg11 Dec 18, 2023
ba99ec5
Merge branch 'main' into release-next
brophdawg11 Dec 21, 2023
a7ec1c5
Enter prerelease mode
brophdawg11 Dec 21, 2023
e5d73cf
chore: Update version for release (pre) (#11131)
github-actions[bot] Dec 21, 2023
c55f841
Update release notes
brophdawg11 Dec 21, 2023
14df5db
Exit prerelease mode
brophdawg11 Dec 21, 2023
08cda17
chore: Update version for release (#11132)
github-actions[bot] Dec 21, 2023
703892c
Merge branch 'release-next'
brophdawg11 Dec 21, 2023
e7ec540
Merge branch 'release-next' into dev
brophdawg11 Dec 21, 2023
e4f663c
Update create-routes-from-elements.md (#11143)
bobziroll Dec 27, 2023
06343d4
Sort contributors.yml as part of the format workflow (#11154)
brophdawg11 Jan 2, 2024
c951e7c
Sort contributors.yml as part of the format workflow
brophdawg11 Jan 2, 2024
4953b55
documentation fix: "Server-Side Rendering" link in loader.md redirect…
KaranRandhir Jan 4, 2024
ef0d0d7
chore: sort contributors list
remix-cla-bot[bot] Jan 4, 2024
d103537
Pick up dashes in dynamic parameter names (#11160)
brophdawg11 Jan 9, 2024
e0d106b
Leverage useId for internal fetcher keys when available (#11166)
brophdawg11 Jan 9, 2024
0ef1896
Do not attempt to deserialize empty json responses (#11164)
brophdawg11 Jan 9, 2024
03ce037
Merge branch 'main' into release-next
brophdawg11 Jan 9, 2024
5cd3a45
Enter prerelease mode
brophdawg11 Jan 9, 2024
c2c0826
chore: Update version for release (pre) (#11178)
github-actions[bot] Jan 9, 2024
038ad94
Add dates to prior releases in changelog
brophdawg11 Jan 9, 2024
cfce7e6
Unbold date
brophdawg11 Jan 9, 2024
f978021
Prep release notes
brophdawg11 Jan 9, 2024
c8742d4
Exit prerelease mode
brophdawg11 Jan 11, 2024
4e528c0
chore: Update version for release (#11182)
github-actions[bot] Jan 11, 2024
6be8e6c
Merge branch 'release-next'
brophdawg11 Jan 11, 2024
274027e
Fix date in changelog
brophdawg11 Jan 11, 2024
c418410
Merge branch 'release-next' into dev
brophdawg11 Jan 11, 2024
6837a11
Fix date in changelog
brophdawg11 Jan 11, 2024
04d653b
Copy remix script to remove prereleases from changelogs (#11183)
brophdawg11 Jan 12, 2024
552662a
Remove leftover `unstable_` prefix from `Blocker`/`BlockerFunction` t…
brophdawg11 Jan 12, 2024
b541b8d
Fix NavLink isPending with a basename (#11195)
brophdawg11 Jan 16, 2024
858f6f1
Merge branch 'main' into release-next
brophdawg11 Jan 16, 2024
84e5fb9
Enter prerelease mode
brophdawg11 Jan 16, 2024
b4bf927
chore: Update version for release (pre) (#11196)
github-actions[bot] Jan 16, 2024
8fc701a
Prep release notes
brophdawg11 Jan 16, 2024
1551285
Change release date
brophdawg11 Jan 18, 2024
82c4843
Exit prerelease mode
brophdawg11 Jan 18, 2024
44b391a
chore: Update version for release (#11203)
github-actions[bot] Jan 18, 2024
ee02f5d
Merge branch 'release-next'
brophdawg11 Jan 18, 2024
cc40394
Merge branch 'release-next' into dev
brophdawg11 Jan 18, 2024
fb0f1f9
fix up some PR links in the changelog
brophdawg11 Jan 18, 2024
462bb71
Add SSR notes on renderToString versus renderToPipeableStream
brophdawg11 Jan 23, 2024
b083600
Add note about useBlocker/usePrompt to v5 migration guide
brophdawg11 Jan 24, 2024
fdadc70
Update RR version for useBlocker example
timdorr Jan 24, 2024
c9f8a7b
Add future flag to throw request.signal.reason for aborted requests (…
brophdawg11 Jan 26, 2024
add6f8a
Respect the ErrorResponse status code if passed to getStaticContextFo…
brophdawg11 Jan 26, 2024
f5f7511
Add a window var for CWV Tech Report to look for (#11222)
brophdawg11 Jan 29, 2024
cecc9ce
Merge branch 'main' into release-next
brophdawg11 Jan 31, 2024
8e931b4
Enter prerelease mode
brophdawg11 Jan 31, 2024
109fb7d
chore: Update version for release (pre) (#11238)
github-actions[bot] Jan 31, 2024
a7baca2
Update link to CWV report
brookslybrand Jan 31, 2024
cd2daef
Update changelog
brophdawg11 Feb 1, 2024
10f9042
Exit prerelease mode
brophdawg11 Feb 1, 2024
3a66719
chore: Update version for release (#11242)
github-actions[bot] Feb 1, 2024
bb107c9
Merge branch 'release-next'
brophdawg11 Feb 1, 2024
7c0bfde
Merge branch 'release-next' into dev
brophdawg11 Feb 1, 2024
241f2d4
Fix issues with pre-encoded param names not being properly decoded (#…
brophdawg11 Feb 6, 2024
362115a
Update CI to node 20 and fix issue with build on experimental release…
brophdawg11 Feb 6, 2024
9f36087
Fix typo in loader.md (#11256)
jb-1980 Feb 6, 2024
135e8aa
Add note on relative:path starting point
brophdawg11 Feb 12, 2024
9aed7d0
docs: listen for close event on response, not request (#11249)
faergeek Feb 13, 2024
5d475a2
fix typo in faq.md (#11272)
adrianeanin Feb 16, 2024
c164837
chore: sort contributors list
remix-cla-bot[bot] Feb 16, 2024
b7e9836
Merge branch 'main' into release-next
brophdawg11 Feb 16, 2024
24685c9
Enter prerelease mode
brophdawg11 Feb 16, 2024
25d16db
chore: Update version for release (pre) (#11280)
github-actions[bot] Feb 16, 2024
671a966
Exit prerelease mode
brophdawg11 Feb 16, 2024
5f0cf32
chore: Update version for release (#11283)
github-actions[bot] Feb 16, 2024
56fbdb2
Update context provider link to point to React's new documentation si…
thepedroferrari Feb 20, 2024
13ac1b6
chore: sort contributors list
remix-cla-bot[bot] Feb 20, 2024
6b22f91
Preserve hydrated errors during partial hydration (#11305)
brophdawg11 Feb 26, 2024
74f8676
Merge branch 'release-next'
brophdawg11 Feb 27, 2024
95acd38
Merge branch 'release-next' into dev
brophdawg11 Feb 27, 2024
7f93b4b
Merge branch 'main' into release-next
brophdawg11 Feb 27, 2024
eec4ca9
Enter prerelease mode
brophdawg11 Feb 27, 2024
e1421be
chore: Update version for release (pre) (#11309)
github-actions[bot] Feb 27, 2024
e6b9e3b
Draft release notes
brophdawg11 Feb 27, 2024
cd2f69d
Update release date
brophdawg11 Feb 28, 2024
8f52cd2
Exit prerelease mode
brophdawg11 Feb 28, 2024
78c843b
chore: Update version for release (#11314)
github-actions[bot] Feb 28, 2024
428ab74
Merge branch 'release-next'
brophdawg11 Feb 28, 2024
8da1a23
Merge branch 'release-next' into dev
brophdawg11 Feb 28, 2024
98e7f7b
Add tests for SSR + route.lazy (#11323)
brophdawg11 Mar 4, 2024
05588d2
Don't run loaders below the boundary during partial hydration (#11324)
brophdawg11 Mar 5, 2024
48b29ba
Fix a partial hydration bug for routes with no loaders (#11325)
brophdawg11 Mar 5, 2024
4251b9a
Merge branch 'main' into release-next
brophdawg11 Mar 5, 2024
3cf2d1d
enter prerelease mode
brophdawg11 Mar 5, 2024
0c37f37
chore: Update version for release (pre) (#11327)
github-actions[bot] Mar 5, 2024
8e25911
Prep release notes
brophdawg11 Mar 5, 2024
1d1f3cb
Exit prerelease mode
brophdawg11 Mar 7, 2024
510c2c2
Update date on release notes
brophdawg11 Mar 7, 2024
67009e1
chore: Update version for release (#11329)
github-actions[bot] Mar 7, 2024
a04ae6b
Merge branch 'release-next'
brophdawg11 Mar 7, 2024
4ac3a2c
Merge branch 'release-next' into dev
brophdawg11 Mar 7, 2024
c7dd3d3
Data Strategy Configuration (#11098)
jacob-ebey Mar 11, 2024
9e7486b
docs: Fix use-navigate.md example output in section on using useLocat…
acusti Mar 13, 2024
12afb2e
Migrate to pnpm (#11358)
markdalgleish Mar 21, 2024
7bdef76
Add changelog doc
brookslybrand Mar 26, 2024
9eb52e9
Merge pull request #11376 from remix-run/brooks/changelog-doc
brookslybrand Mar 26, 2024
00ffa36
chore: format
remix-run-bot Mar 26, 2024
1058a37
Minor updates for single fetch headers behavior (#11377)
brophdawg11 Mar 26, 2024
f2d6ff5
Fix experimental releases to work with pnpm
brophdawg11 Mar 26, 2024
b267a1c
Merge branch 'main' into release-next
brophdawg11 Mar 27, 2024
6a2a3f9
Enter prerelease mode
brophdawg11 Mar 27, 2024
f2e924e
Add docs for unstable_dataStrategy and unstable_skipActionErrorRevali…
brophdawg11 Mar 27, 2024
88ec71a
chore: Update version for release (pre) (#11379)
github-actions[bot] Mar 27, 2024
4562023
Prep release notes
brophdawg11 Mar 27, 2024
4cb3ae2
Update changelog TOC
brophdawg11 Mar 27, 2024
fa82b2f
Updates
brophdawg11 Mar 27, 2024
903b47f
Remove flags (#11384)
brophdawg11 Mar 29, 2024
8a20f32
chore: Update version for release (pre) (#11387)
github-actions[bot] Mar 29, 2024
792caa4
Docs updates
brophdawg11 Mar 29, 2024
e404ba0
[Docs] Update link.md (#11414)
saul-atomrigs Apr 8, 2024
3bd1948
Update link.md relative example (#11432)
kapilepatel Apr 9, 2024
8aa203c
chore: sort contributors list
remix-cla-bot[bot] Apr 9, 2024
89049ce
[docs] update `edit` page in getting-started (#11463)
mtliendo Apr 17, 2024
06953cc
Update docs
brophdawg11 Apr 23, 2024
4137aea
Exit prerelease mode
brophdawg11 Apr 23, 2024
82a3a77
chore: Update version for release (#11486)
github-actions[bot] Apr 23, 2024
ec03b12
Merge branch 'release-next'
brophdawg11 Apr 23, 2024
56969f2
Merge branch 'release-next' into dev
brophdawg11 Apr 23, 2024
dc786c9
Fix v6 data API migration guideline docs (#11492)
mlewando Apr 24, 2024
d2c4a12
Fix typo in loader.md (#11493)
dgrijuela Apr 24, 2024
eca6c0c
Update experimental release to be a workflow_dispatch
brophdawg11 Apr 26, 2024
2c8d437
Update create-browser-router.md (#11508)
ChristophP Apr 29, 2024
94f7fb7
chore: sort contributors list
remix-cla-bot[bot] Apr 29, 2024
e0b1db4
fix: allow undefined to be resolved with `<Await>` (#11513)
jacob-ebey Apr 29, 2024
fdff9dd
Fix react-router-dom/server index.ts import from pnpm migration (#11514)
brophdawg11 Apr 30, 2024
b579661
Support unstable_dataStrategy on staticHandler.queryRoute (#11515)
brophdawg11 Apr 30, 2024
b000b21
Merge branch 'main' into release-next
brophdawg11 Apr 30, 2024
fc0e2e4
Enter prerelease mode
brophdawg11 Apr 30, 2024
9651465
chore: Update version for release (pre) (#11516)
github-actions[bot] Apr 30, 2024
127e693
Fix useLocation to receive 0 instead of null when state is set to 0 (…
jungwoo3490 May 8, 2024
cbb6ac3
chore: format
remix-run-bot May 8, 2024
1fb5a67
docs: fix typos (#11538)
omahs May 8, 2024
031478d
Add defensive window.document check when checking for startViewTransi…
brophdawg11 May 9, 2024
26bc8e2
chore: Update version for release (pre) (#11545)
github-actions[bot] May 9, 2024
86b50d7
Update release notes
brophdawg11 May 10, 2024
884452a
Exit prerelease mode
brophdawg11 May 10, 2024
aef5c4a
chore: Update version for release (#11551)
github-actions[bot] May 10, 2024
9da733d
Merge branch 'release-next'
brophdawg11 May 10, 2024
58dcfbb
Merge branch 'release-next' into dev
brophdawg11 May 10, 2024
bfe6113
Add nightly release workflow (#11550)
brophdawg11 May 10, 2024
ef67804
doc: Update create-browser-router.md example snippet (#11557)
tony-sn May 16, 2024
9d42655
chore: format
remix-run-bot May 16, 2024
ddda0f0
docs: Replace `.` typo with `;` (#11561)
robinvdvleuten May 17, 2024
7759e8e
chore: format
remix-run-bot May 17, 2024
2ea836d
fix doc: edit data api router usage list with useblocker (#11562)
Nurai1 May 17, 2024
3a27b1f
chore: format
remix-run-bot May 17, 2024
0999f6f
Clarify necessary dependencies in tutorial (#11593)
ctnelson1997 May 28, 2024
84fa36e
docs: Update `create-browser-router.md` (#11595)
gesposito May 28, 2024
d876562
chore: format
remix-run-bot May 28, 2024
1c2dedb
Update CHANGELOG.md
ryanflorence May 30, 2024
28afc74
docs: added useBlocker to the data apis (#11600)
Geist5000 May 30, 2024
2ea1ac3
chore: sort contributors list
remix-cla-bot[bot] May 30, 2024
b191557
Fixed a typo in concepts.md (#11601)
OlegDev1 May 30, 2024
dac9d78
chore: sort contributors list
remix-cla-bot[bot] May 30, 2024
1260952
Update CHANGELOG.md
ryanflorence May 30, 2024
c41d6ec
add future flags guide (#11603)
ryanflorence May 30, 2024
2841936
fix diff highlight (#11605)
Armanio Jun 2, 2024
f240263
chore: sort contributors list
remix-cla-bot[bot] Jun 2, 2024
44fa9aa
Small typos and fixes to the tutorial (#11598)
gaspard Jun 2, 2024
5d66dbd
chore: format
remix-run-bot Jun 2, 2024
be8a259
Fix fetcher.submit types (#11631)
brophdawg11 Jun 13, 2024
4e85e98
Support lazy route discovery (fog of war) (#11626)
brophdawg11 Jun 14, 2024
5920ded
Merge branch 'main' into release-next
brophdawg11 Jun 14, 2024
e8eebbf
Enter prerelease mode
brophdawg11 Jun 14, 2024
a2f718b
chore: Update version for release (pre) (#11661)
github-actions[bot] Jun 14, 2024
1e766e7
Fix date in release notes
brophdawg11 Jun 15, 2024
d7356d2
docs: add Route import in createRoutesFromElements docs (#11665)
iamnishanth Jun 17, 2024
aacc2b9
Fix type definition of `Route.children` (#11672)
doytch Jun 17, 2024
d73c1f6
feat: export type NavLinkRenderProps (#11553)
zeromask1337 Jun 18, 2024
a4aaeed
chore: format
remix-run-bot Jun 18, 2024
4050bef
Fix #11629 (#11633)
mspiess Jun 18, 2024
54f3138
chore: format
remix-run-bot Jun 18, 2024
3b6abbb
Exit prerelease mode
brophdawg11 Jun 24, 2024
a569d76
chore: Update version for release (#11717)
github-actions[bot] Jun 24, 2024
23aa844
Merge branch 'release-next'
brophdawg11 Jun 24, 2024
fa25691
Merge branch 'release-next' into dev
brophdawg11 Jun 24, 2024
a6b8162
chore: format
remix-run-bot Jun 24, 2024
32ff05a
chore: format
remix-run-bot Jun 24, 2024
77fca6e
Update release notes
brophdawg11 Jun 24, 2024
14f352f
fix typo (#11732)
AhmadMayo Jun 25, 2024
2f25789
chore: sort contributors list
remix-cla-bot[bot] Jun 25, 2024
dd607e0
Remove polyfil.io reference from warning message (#11741)
brophdawg11 Jun 27, 2024
eb30a88
Trigger a new router.routes identity during fog of war route patching…
brophdawg11 Jun 27, 2024
ff041d1
Fix initial matching in fog of war when a splat route matches (#11759)
brophdawg11 Jul 1, 2024
647c3f6
Merge branch 'main' into release-next
brophdawg11 Jul 1, 2024
ed68cbd
Enter prerelease mode
brophdawg11 Jul 1, 2024
453e5f3
chore: Update version for release (pre) (#11760)
github-actions[bot] Jul 1, 2024
f8883e1
Update patchRoutesOnMiss docs to reflect index matching
brophdawg11 Jul 2, 2024
edd9666
Exit prerelease mode
brophdawg11 Jul 3, 2024
0a87644
chore: Update version for release (#11767)
github-actions[bot] Jul 3, 2024
801d125
Merge branch 'release-next'
brophdawg11 Jul 3, 2024
6def427
Merge branch 'release-next' into dev
brophdawg11 Jul 3, 2024
abfa786
Minor updates to release procedures docs
brophdawg11 Jul 3, 2024
03d6cf2
Fix bubbling of errors thrown from unstable_patchRoutesOnMiss (#11786)
brophdawg11 Jul 10, 2024
da65120
Fix useMatch undecoded params (#11789)
brophdawg11 Jul 10, 2024
9e1da44
Fix fog of war hydration in SSR apps that matched a splat route on th…
brophdawg11 Jul 10, 2024
7b22365
Stabilize future.unstable_skipActionErrorRevalidation (#11769)
brophdawg11 Jul 10, 2024
a94e237
Merge branch 'main' into release-next
brophdawg11 Jul 12, 2024
dcdcb57
Enter prerelease mode
brophdawg11 Jul 12, 2024
56ab11a
Update changeset to incude RR and RR Dom
brophdawg11 Jul 12, 2024
21b61c0
chore: Update version for release (pre) (#11800)
github-actions[bot] Jul 12, 2024
c5e7644
Exit prerelease mode
brophdawg11 Jul 16, 2024
8f3709c
Revert "Exit prerelease mode"
brophdawg11 Jul 16, 2024
b82c00f
Exit prerelease mode
brophdawg11 Jul 16, 2024
13dfa13
chore: Update version for release (#11807)
github-actions[bot] Jul 16, 2024
d75eed5
Merge branch 'release-next'
brophdawg11 Jul 16, 2024
6791fe5
Update nightly releases to run from dev instead of v7
brophdawg11 Jul 16, 2024
5d4e1ab
fix experimental release workflow in main
brophdawg11 Jul 16, 2024
f5608f0
Don't prompt for experimental releases
brophdawg11 Jul 16, 2024
bce8675
Align experimental releases with v7 approach
brophdawg11 Jul 16, 2024
79b952a
Fix logged warning in version script
brophdawg11 Jul 16, 2024
0f2b167
Patch in 6.25.1 changes from v6 branch
brophdawg11 Jul 17, 2024
55c18bf
Patch in 6.26.0 changes from v6 branch
brophdawg11 Aug 1, 2024
73fbcd1
docs: fix typo (#11880)
vitekzach Aug 10, 2024
4b1f73f
chore: sort contributors list
remix-cla-bot[bot] Aug 10, 2024
e3b796a
Patch in 6.26.1 changes from v6 branch
brophdawg11 Aug 15, 2024
9afac15
Update changelog TOC
brophdawg11 Aug 15, 2024
7372aff
Patch in 6.26.2 changes from v6 branch
brophdawg11 Sep 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 55 additions & 42 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,134 +13,136 @@ We manage release notes in this file instead of the paginated Github Releases Pa
<summary>Table of Contents</summary>

- [React Router Releases](#react-router-releases)
- [v6.21.2](#v6212)
- [v6.21.3](#v6213)
- [Patch Changes](#patch-changes)
- [v6.21.1](#v6211)
- [v6.21.2](#v6212)
- [Patch Changes](#patch-changes-1)
- [v6.21.1](#v6211)
- [Patch Changes](#patch-changes-2)
- [v6.21.0](#v6210)
- [What's Changed](#whats-changed)
- [`future.v7_relativeSplatPath`](#futurev7_relativesplatpath)
- [Partial Hydration](#partial-hydration)
- [Minor Changes](#minor-changes)
- [Patch Changes](#patch-changes-2)
- [v6.20.1](#v6201)
- [Patch Changes](#patch-changes-3)
- [v6.20.1](#v6201)
- [Patch Changes](#patch-changes-4)
- [v6.20.0](#v6200)
- [Minor Changes](#minor-changes-1)
- [Patch Changes](#patch-changes-4)
- [Patch Changes](#patch-changes-5)
- [v6.19.0](#v6190)
- [What's Changed](#whats-changed-1)
- [`unstable_flushSync` API](#unstable_flushsync-api)
- [Minor Changes](#minor-changes-2)
- [Patch Changes](#patch-changes-5)
- [Patch Changes](#patch-changes-6)
- [v6.18.0](#v6180)
- [What's Changed](#whats-changed-2)
- [New Fetcher APIs](#new-fetcher-apis)
- [Persistence Future Flag (`future.v7_fetcherPersist`)](#persistence-future-flag-futurev7_fetcherpersist)
- [Minor Changes](#minor-changes-3)
- [Patch Changes](#patch-changes-6)
- [Patch Changes](#patch-changes-7)
- [v6.17.0](#v6170)
- [What's Changed](#whats-changed-3)
- [View Transitions 🚀](#view-transitions-)
- [Minor Changes](#minor-changes-4)
- [Patch Changes](#patch-changes-7)
- [Patch Changes](#patch-changes-8)
- [v6.16.0](#v6160)
- [Minor Changes](#minor-changes-5)
- [Patch Changes](#patch-changes-8)
- [Patch Changes](#patch-changes-9)
- [v6.15.0](#v6150)
- [Minor Changes](#minor-changes-6)
- [Patch Changes](#patch-changes-9)
- [v6.14.2](#v6142)
- [Patch Changes](#patch-changes-10)
- [v6.14.1](#v6141)
- [v6.14.2](#v6142)
- [Patch Changes](#patch-changes-11)
- [v6.14.1](#v6141)
- [Patch Changes](#patch-changes-12)
- [v6.14.0](#v6140)
- [What's Changed](#whats-changed-4)
- [JSON/Text Submissions](#jsontext-submissions)
- [Minor Changes](#minor-changes-7)
- [Patch Changes](#patch-changes-12)
- [Patch Changes](#patch-changes-13)
- [v6.13.0](#v6130)
- [What's Changed](#whats-changed-5)
- [Minor Changes](#minor-changes-8)
- [Patch Changes](#patch-changes-13)
- [v6.12.1](#v6121)
- [Patch Changes](#patch-changes-14)
- [v6.12.1](#v6121)
- [Patch Changes](#patch-changes-15)
- [v6.12.0](#v6120)
- [What's Changed](#whats-changed-6)
- [`React.startTransition` support](#reactstarttransition-support)
- [Minor Changes](#minor-changes-9)
- [Patch Changes](#patch-changes-15)
- [v6.11.2](#v6112)
- [Patch Changes](#patch-changes-16)
- [v6.11.1](#v6111)
- [v6.11.2](#v6112)
- [Patch Changes](#patch-changes-17)
- [v6.11.1](#v6111)
- [Patch Changes](#patch-changes-18)
- [v6.11.0](#v6110)
- [Minor Changes](#minor-changes-10)
- [Patch Changes](#patch-changes-18)
- [Patch Changes](#patch-changes-19)
- [v6.10.0](#v6100)
- [What's Changed](#whats-changed-7)
- [Minor Changes](#minor-changes-11)
- [Patch Changes](#patch-changes-19)
- [Patch Changes](#patch-changes-20)
- [v6.9.0](#v690)
- [What's Changed](#whats-changed-8)
- [`Component`/`ErrorBoundary` route properties](#componenterrorboundary-route-properties)
- [Introducing Lazy Route Modules](#introducing-lazy-route-modules)
- [Minor Changes](#minor-changes-12)
- [Patch Changes](#patch-changes-20)
- [v6.8.2](#v682)
- [Patch Changes](#patch-changes-21)
- [v6.8.1](#v681)
- [v6.8.2](#v682)
- [Patch Changes](#patch-changes-22)
- [v6.8.1](#v681)
- [Patch Changes](#patch-changes-23)
- [v6.8.0](#v680)
- [Minor Changes](#minor-changes-13)
- [Patch Changes](#patch-changes-23)
- [Patch Changes](#patch-changes-24)
- [v6.7.0](#v670)
- [Minor Changes](#minor-changes-14)
- [Patch Changes](#patch-changes-24)
- [v6.6.2](#v662)
- [Patch Changes](#patch-changes-25)
- [v6.6.1](#v661)
- [v6.6.2](#v662)
- [Patch Changes](#patch-changes-26)
- [v6.6.1](#v661)
- [Patch Changes](#patch-changes-27)
- [v6.6.0](#v660)
- [What's Changed](#whats-changed-9)
- [Minor Changes](#minor-changes-15)
- [Patch Changes](#patch-changes-27)
- [Patch Changes](#patch-changes-28)
- [v6.5.0](#v650)
- [What's Changed](#whats-changed-10)
- [Minor Changes](#minor-changes-16)
- [Patch Changes](#patch-changes-28)
- [v6.4.5](#v645)
- [Patch Changes](#patch-changes-29)
- [v6.4.4](#v644)
- [v6.4.5](#v645)
- [Patch Changes](#patch-changes-30)
- [v6.4.3](#v643)
- [v6.4.4](#v644)
- [Patch Changes](#patch-changes-31)
- [v6.4.2](#v642)
- [v6.4.3](#v643)
- [Patch Changes](#patch-changes-32)
- [v6.4.1](#v641)
- [v6.4.2](#v642)
- [Patch Changes](#patch-changes-33)
- [v6.4.1](#v641)
- [Patch Changes](#patch-changes-34)
- [v6.4.0](#v640)
- [What's Changed](#whats-changed-11)
- [Remix Data APIs](#remix-data-apis)
- [Patch Changes](#patch-changes-34)
- [Patch Changes](#patch-changes-35)
- [v6.3.0](#v630)
- [Minor Changes](#minor-changes-17)
- [v6.2.2](#v622)
- [Patch Changes](#patch-changes-35)
- [v6.2.1](#v621)
- [Patch Changes](#patch-changes-36)
- [v6.2.1](#v621)
- [Patch Changes](#patch-changes-37)
- [v6.2.0](#v620)
- [Minor Changes](#minor-changes-18)
- [Patch Changes](#patch-changes-37)
- [v6.1.1](#v611)
- [Patch Changes](#patch-changes-38)
- [v6.1.1](#v611)
- [Patch Changes](#patch-changes-39)
- [v6.1.0](#v610)
- [Minor Changes](#minor-changes-19)
- [Patch Changes](#patch-changes-39)
- [v6.0.2](#v602)
- [Patch Changes](#patch-changes-40)
- [v6.0.1](#v601)
- [v6.0.2](#v602)
- [Patch Changes](#patch-changes-41)
- [v6.0.1](#v601)
- [Patch Changes](#patch-changes-42)
- [v6.0.0](#v600)

</details>
Expand All @@ -164,6 +166,17 @@ Date: YYYY-MM-DD
**Full Changelog**: [`v6.X.Y...v6.X.Y`](https://github.com/remix-run/react-router/compare/[email protected]@6.X.Y)
-->

## v6.21.3

Date: 2024-01-18

### Patch Changes

- Fix `NavLink` `isPending` when a `basename` is used ([#11195](https://github.com/remix-run/react-router/pull/11195))
- Remove leftover `unstable_` prefix from `Blocker`/`BlockerFunction` types ([#11187](https://github.com/remix-run/react-router/pull/11187))

**Full Changelog**: [`v6.21.2...v6.21.3`](https://github.com/remix-run/react-router/compare/[email protected]@6.21.3)

## v6.21.2

Date: 2024-01-11
Expand Down
3 changes: 1 addition & 2 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ You may need to make changes to a pre-release prior to publishing a final stable
- Wait for the release workflow to finish. The Changesets action in the workflow will open a PR that will increment all versions and generate the changelogs for the stable release.
- Review the updated `CHANGELOG` files and make any adjustments necessary.
- `find packages -name 'CHANGELOG.md' -mindepth 2 -maxdepth 2 -exec code {} \;`
- Remove the changelogs for all pre-releases
- [TODO: We should automate this]
- Our automated release process should have removed prerelease entries
- Finalize the release notes
- This should already be in pretty good shape in the root `CHANGELOG.md` file in the repo
- Do a quick double check that all iterated prerelease changesets got copied over
Expand Down
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"test": "jest",
"test:inspect": "node --inspect-brk ./node_modules/.bin/jest",
"changeset": "changeset",
"version": "changeset version",
"version": "changeset version && node ./scripts/remove-prerelease-changelogs.mjs",
"publish": "node scripts/publish.js",
"postversion": "node scripts/postversion.mjs",
"version:experimental": "node ./scripts/version experimental",
Expand All @@ -50,6 +50,7 @@
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@changesets/cli": "^2.26.2",
"@manypkg/get-packages": "1.1.3",
"@octokit/core": "^4.2.4",
"@octokit/graphql": "^4.8.0",
"@octokit/plugin-paginate-rest": "^2.21.3",
Expand Down Expand Up @@ -96,14 +97,19 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"remark-gfm": "3.0.1",
"remark-parse": "^10.0.1",
"remark-stringify": "^10.0.2",
"rollup": "^2.79.1",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-extensions": "^0.1.0",
"rollup-plugin-prettier": "^2.3.0",
"rollup-plugin-terser": "^7.0.2",
"semver": "^7.5.4",
"type-fest": "^2.19.0",
"typescript": "^5.1.6"
"typescript": "^5.1.6",
"unified": "^10.1.2",
"unist-util-remove": "^3.1.0"
},
"engines": {
"node": ">=14.0.0"
Expand Down
9 changes: 9 additions & 0 deletions packages/react-router-dom-v5-compat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# `react-router-dom-v5-compat`

## 6.21.3

### Patch Changes

- Remove leftover `unstable_` prefix from `Blocker`/`BlockerFunction` types ([#11187](https://github.com/remix-run/react-router/pull/11187))
- Updated dependencies:
- `[email protected]`
- `[email protected]`

## 6.21.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/react-router-dom-v5-compat/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ export type {
To,
URLSearchParamsInit,
UIMatch,
unstable_Blocker,
unstable_BlockerFunction,
Blocker,
BlockerFunction,
} from "./react-router-dom";
export {
AbortedDeferredError,
Expand Down
4 changes: 2 additions & 2 deletions packages/react-router-dom-v5-compat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-router-dom-v5-compat",
"version": "6.21.2",
"version": "6.21.3",
"description": "Migration path to React Router v6 from v4/5",
"keywords": [
"react",
Expand All @@ -24,7 +24,7 @@
"types": "./dist/index.d.ts",
"dependencies": {
"history": "^5.3.0",
"react-router": "6.21.2"
"react-router": "6.21.3"
},
"peerDependencies": {
"react": ">=16.8",
Expand Down
19 changes: 12 additions & 7 deletions packages/react-router-dom/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# `react-router-dom`

## 6.21.3

### Patch Changes

- Fix `NavLink` `isPending` when a `basename` is used ([#11195](https://github.com/remix-run/react-router/pull/11195))
- Remove leftover `unstable_` prefix from `Blocker`/`BlockerFunction` types ([#11187](https://github.com/remix-run/react-router/pull/11187))
- Updated dependencies:
- `[email protected]`

## 6.21.2

### Patch Changes
Expand Down Expand Up @@ -162,7 +171,7 @@

### Patch Changes

- Revert the `useResolvedPath` fix for splat routes due to a large number of applications that were relying on the buggy behavior (see https://github.com/remix-run/react-router/issues/11052#issuecomment-1836589329). We plan to re-introduce this fix behind a future flag in the next minor version. ([#11078](https://github.com/remix-run/react-router/pull/11078))
- Revert the `useResolvedPath` fix for splat routes due to a large number of applications that were relying on the buggy behavior (see <https://github.com/remix-run/react-router/issues/11052#issuecomment-1836589329>). We plan to re-introduce this fix behind a future flag in the next minor version. ([#11078](https://github.com/remix-run/react-router/pull/11078))
- Updated dependencies:
- `[email protected]`
- `@remix-run/[email protected]`
Expand Down Expand Up @@ -417,7 +426,7 @@

## 6.12.1

> [!WARNING]
> \[!WARNING]
> Please use version `6.13.0` or later instead of `6.12.1`. This version suffers from a `webpack`/`terser` minification issue resulting in invalid minified code in your resulting production bundles which can cause issues in your application. See [#10579](https://github.com/remix-run/react-router/issues/10579) for more details.

### Patch Changes
Expand Down Expand Up @@ -752,7 +761,7 @@

## 6.4.0

Whoa this is a big one! `6.4.0` brings all the data loading and mutation APIs over from Remix. Here's a quick high level overview, but it's recommended you go check out the [docs][rr-docs], especially the [feature overview][rr-feature-overview] and the [tutorial][rr-tutorial].
Whoa this is a big one! `6.4.0` brings all the data loading and mutation APIs over from Remix. Here's a quick high level overview, but it's recommended you go check out the [docs](https://reactrouter.com), especially the [feature overview](https://reactrouter.com/start/overview) and the [tutorial](https://reactrouter.com/start/tutorial).

**New APIs**

Expand All @@ -778,7 +787,3 @@ Whoa this is a big one! `6.4.0` brings all the data loading and mutation APIs ov
**Updated Dependencies**

- `[email protected]`

[rr-docs]: https://reactrouter.com
[rr-feature-overview]: https://reactrouter.com/start/overview
[rr-tutorial]: https://reactrouter.com/start/tutorial
40 changes: 40 additions & 0 deletions packages/react-router-dom/__tests__/nav-link-active-test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,46 @@ describe("NavLink using a data router", () => {
expect(screen.getByText("Link to Bar").className).toBe("");
expect(screen.getByText("Link to Baz").className).toBe("active");
});

it("applies the default 'active'/'pending' classNames when a basename is used", async () => {
let dfd = createDeferred();
let router = createBrowserRouter(
createRoutesFromElements(
<Route path="/" element={<Layout />}>
<Route path="foo" element={<p>Foo page</p>} />
<Route
path="bar"
loader={() => dfd.promise}
element={<p>Bar page</p>}
/>
</Route>
),
{
window: getWindow("/base/foo"),
basename: "/base",
}
);
render(<RouterProvider router={router} />);

function Layout() {
return (
<>
<NavLink to="/foo">Link to Foo</NavLink>
<NavLink to="/bar">Link to Bar</NavLink>
<Outlet />
</>
);
}

expect(screen.getByText("Link to Bar").className).toBe("");

fireEvent.click(screen.getByText("Link to Bar"));
expect(screen.getByText("Link to Bar").className).toBe("pending");

dfd.resolve(null);
await waitFor(() => screen.getByText("Bar page"));
expect(screen.getByText("Link to Bar").className).toBe("active");
});
});

describe("NavLink under a Routes with a basename", () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-dom/__tests__/use-blocker-test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from "react";
import * as ReactDOM from "react-dom/client";
import { act } from "react-dom/test-utils";
import type { unstable_Blocker as Blocker, RouteObject } from "../index";
import type { Blocker, RouteObject } from "../index";
import {
createMemoryRouter,
json,
Expand Down
Loading