Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 31, 2024

This PR contains the following updates:

Package Change Age Confidence
@generouted/react-router ^1.18.4 -> ^1.20.0 age confidence

Release Notes

oedotme/generouted (@​generouted/react-router)

v1.20.0

Compare Source

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: oedotme/generouted@v1.19.11...v1.20.0

v1.19.11

Compare Source

Commits

Changelog: oedotme/generouted@v1.19.10...v1.19.11

v1.19.10

Compare Source

Commits

Changelog: oedotme/generouted@v1.19.9...v1.19.10

v1.19.9

Compare Source

Commits

Changelog: oedotme/generouted@v1.19.8...v1.19.9

v1.19.8

Compare Source

Commits

Changelog: oedotme/generouted@v1.19.7...v1.19.8

v1.19.7

Compare Source

Commits

Changelog: oedotme/generouted@v1.19.6...v1.19.7

v1.19.6

Compare Source

Commits

Changelog: oedotme/generouted@v1.19.5...v1.19.6

v1.19.5

Compare Source

Commits

Changelog: oedotme/generouted@v1.19.4...v1.19.5

v1.19.4

Compare Source

Commits

Changelog: oedotme/generouted@v1.19.3...v1.19.4

v1.19.3

Compare Source

Commits

Changelog: oedotme/generouted@v1.19.2...v1.19.3

v1.19.2

Compare Source

Commits

Changelog: oedotme/generouted@v1.19.1...v1.19.2

v1.19.1

Compare Source

Commits

Changelog: oedotme/generouted@v1.19.0...v1.19.1

v1.19.0

Compare Source

Breaking Changes 🚨

Modals export is now removed from the following integrations:

  • @generouted/react-router
  • @generouted/react-router/lazy
  • @generouted/solid-router
  • @generouted/solid-router/lazy
<Modals /> component is now included internally within the <Routes /> component by default

This export was usually used at the highest available layout route src/pages/_app.tsx (as it requires the router context) but it was causing initialization/circular errors as the _app.tsx file is imported by the file that exports Modals component. This is reproducible by triggering HMR updates when _app.tsx is modified. Also in some cases it cause kind of infinite revalidation triggered by this error.

-import { Modals } from '@&#8203;generouted/react-router'
-import { Modals } from '@&#8203;generouted/react-router/lazy'
-import { Modals } from '@&#8203;generouted/solid-router'
-import { Modals } from '@&#8203;generouted/solid-router/lazy'

export default function App() {
  return (
    <section>
      <main>...</main>

-      <Modals />
    </section>
  )
}

Commits

Changelog: oedotme/generouted@v1.18.8...v1.19.0

v1.18.8

Compare Source

Commits

Changelog: oedotme/generouted@v1.18.7...v1.18.8

v1.18.7

Compare Source

Commits

Changelog: oedotme/generouted@v1.18.6...v1.18.7

v1.18.6

Compare Source

Commits

Changelog: oedotme/generouted@v1.18.5...v1.18.6

v1.18.5

Compare Source

Commits

Changelog: oedotme/generouted@v1.18.4...v1.18.5


Configuration

📅 Schedule: Branch creation - On day 1 of the month, every 12 months ( * * 1 */12 * ) in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 31, 2024
@renovate renovate bot force-pushed the renovate/generouted-react-router-1.x branch from 5068695 to 58688e8 Compare January 12, 2025 17:20
@renovate renovate bot changed the title build(deps): update dependency @generouted/react-router to ^1.19.9 build(deps): update dependency @generouted/react-router to ^1.19.10 Jan 12, 2025
@renovate renovate bot changed the title build(deps): update dependency @generouted/react-router to ^1.19.10 build(deps): update dependency @generouted/react-router to ^1.19.11 Feb 7, 2025
@renovate renovate bot force-pushed the renovate/generouted-react-router-1.x branch from 58688e8 to 03b9aac Compare February 7, 2025 13:03
@renovate renovate bot changed the title build(deps): update dependency @generouted/react-router to ^1.19.11 build(deps): update dependency @generouted/react-router to ^1.20.0 Feb 7, 2025
@renovate renovate bot force-pushed the renovate/generouted-react-router-1.x branch 3 times, most recently from bef7050 to 50b48fc Compare February 12, 2025 08:00
@renovate renovate bot force-pushed the renovate/generouted-react-router-1.x branch from 50b48fc to bc4fe7f Compare September 11, 2025 10:26
@renovate renovate bot force-pushed the renovate/generouted-react-router-1.x branch from bc4fe7f to 4d5128e Compare October 21, 2025 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant