Skip to content

Releases: oedotme/generouted

v1.20.0

07 Feb 17:46
v1.20.0
ec147f5
Compare
Choose a tag to compare

Breaking changes - React Router integration ONLY

To avoid runtime errors due to React Router versions mismatch, it's now recommended to:

  1. Upgrade react-router-dom to v7+
  2. Replace react-router-dom package with react-router

Here are the upgrade steps from the upgrade guide to v7 at React Router docs:

  • Upgrade react-router-dom to v7+
npm install react-router-dom@latest
  • Replace react-router-dom with react-router
npm uninstall react-router-dom
npm install react-router@latest
  • Update imports
-import { useLocation } from 'react-router-dom'
+import { useLocation } from 'react-router'

Instead of manually updating imports, you can use this command. Make sure your git working tree is clean though so you can revert if it doesn't work as expected.

find ./path/to/src \( -name "*.tsx" -o -name "*.ts" -o -name "*.js" -o -name "*.jsx" \) -type f -exec sed -i '' 's|from "react-router-dom"|from "react-router"|g' {} +

If you have GNU sed installed (most Linux distributions), use this command instead:

find ./path/to/src \( -name "*.tsx" -o -name "*.ts" -o -name "*.js" -o -name "*.jsx" \) -type f -exec sed -i 's|from "react-router-dom"|from "react-router"|g' {} +

Commits

Changelog: v1.19.11...v1.20.0

v1.19.11

07 Feb 11:23
v1.19.11
cc299f0
Compare
Choose a tag to compare

Commits

Changelog: v1.19.10...v1.19.11

v1.19.10

12 Jan 15:21
v1.19.10
2f64c72
Compare
Choose a tag to compare

Commits

Changelog: v1.19.9...v1.19.10

v1.19.9

04 Nov 19:11
v1.19.9
9c61a5f
Compare
Choose a tag to compare

Commits

Changelog: v1.19.8...v1.19.9

v1.19.8

24 Oct 09:17
v1.19.8
606eda8
Compare
Choose a tag to compare

Commits

Changelog: v1.19.7...v1.19.8

v1.19.7

23 Oct 09:08
v1.19.7
567a352
Compare
Choose a tag to compare

Commits

Changelog: v1.19.6...v1.19.7

v1.19.6

08 Jul 16:33
v1.19.6
df3f33f
Compare
Choose a tag to compare

Commits

Changelog: v1.19.5...v1.19.6

v1.19.5

21 May 17:43
v1.19.5
1da6fb4
Compare
Choose a tag to compare

Commits

Changelog: v1.19.4...v1.19.5

v1.19.4

12 May 14:49
v1.19.4
5f6774d
Compare
Choose a tag to compare

Commits

Changelog: v1.19.3...v1.19.4

v1.19.3

13 Apr 15:51
v1.19.3
bea6a0e
Compare
Choose a tag to compare

Commits

Changelog: v1.19.2...v1.19.3