Never miss a release that matters

AI-powered summaries of every GitHub release.

AI Summaries

Changelogs condensed into clear, actionable insights.

Always Free

Track up to 5 packages at no cost, forever.

Weekly Digest

A curated summary of every release, delivered weekly.

Get Started Free
react-routerv6.x
68 releases

TL;DR

React Router now supports createMemoryRouter for testing and server rendering without a history object (a browser's session history).

Fixes Worth Knowing

  • Resolved an issue where useLoaderData would re-render on every route change when using createBrowserHistory.
  • Fixed a bug causing incorrect URL parsing with nested routes and URLSearchParams.

Before You Upgrade

If you are using createBrowserHistory and experiencing excessive re-renders with useLoaderData, no action is needed – this release resolves that issue.

Mar 31, 2022
v6.2.2
Feb 28, 2022
v6.2.1v6.2.1
Dec 17, 2021
v6.2.0v6.2.0
Dec 17, 2021
v6.1.1v6.1.1
Dec 11, 2021
v6.1.0v6.1.0
Dec 10, 2021
v6.0.2v6.0.2
Nov 9, 2021
v6.0.1
Nov 5, 2021
v6.0.0
Nov 3, 2021
react-routerv7.x
46 releases

TL;DR

React Router now supports data loaders returning promises that reject, allowing for more robust error handling during data fetching (data loading).

Breaking

  • useLoaderData now throws errors when a data loader promise rejects (previously logged to console).
  • createBrowserRouter now requires a function for the action prop, not just an object (for consistent behavior).

New

  • Data loaders can now return rejected promises to signal errors, improving error boundary integration.
  • useLoaderData now accepts an optional select function to transform loader data.

Fixes Worth Knowing

  • Fixed an issue where nested routes with index loaders would not render correctly.
  • Improved type definitions for better developer experience (TypeScript).
react-routerv5.x
12 releases

TL;DR

React Router now avoids peer dependency warnings with React 18 by bundling a necessary context module internally.

Breaking

  • None

New

None

Fixes Worth Knowing

Resolved peer dependency warnings when using React Router with React 18 (JavaScript library for building UIs).

Before You Upgrade

No action needed. This change resolves a warning and requires no code modification.

v5.3.4v5.3.4
Oct 2, 2022
v5.3.3v5.3.3
May 18, 2022
v5.3.2v5.3.2
May 17, 2022
v5.3.1
Apr 17, 2022
v5.3.0v5.3.0
Sep 3, 2021
v5.2.1v5.2.1
Aug 27, 2021
v5.2.0v5.2.0
May 11, 2020
v5.1.2v5.1.2
Sep 30, 2019
v5.1.1v5.1.1
Sep 27, 2019
v5.1.0v5.1.0
Sep 24, 2019
v5.0.1v5.0.1
Jun 4, 2019
v5.0.0v5.0.0
Mar 18, 2019
react-routerv1.x
5 releases

TL;DR

React Router v6.4 is now powered by @remix-run/router, offering improved data loading and mutation capabilities for more robust web applications.

Breaking

  • Directly using @remix-run/router is now the intended approach for building routing libraries (for library authors only).

New

  • Enhanced data loading and mutation support via @remix-run/router (improves app responsiveness).

Fixes Worth Knowing

  • None.

Before You Upgrade

  • If you are not building a routing library, no action is needed. Continue using react-router.
Sep 13, 2022
v1.0.3v1.0.3
Dec 23, 2015
v1.0.2v1.0.2
Dec 9, 2015
v1.0.1v1.0.1
Dec 6, 2015
v1.0.0v1.0.0
Nov 10, 2015
react-routerv6.xprerelease
56 releases

TL;DR

React Router v6 is shifting router creation and management to userland, requiring you to explicitly create and pass a router instance to the <RouterProvider>. This simplifies testing and improves compatibility with React 18’s useSyncExternalStore.

Breaking

  • <DataMemoryRouter>, <DataBrowserRouter>, <DataHashRouter>, <DataRouterProvider>, and <DataRouter> are removed. (Previous router components)
  • createMemoryRouter, createBrowserRouter, and createHashRouter are now in react-router/react-router-dom. (Router creation functions)

New

  • <RouterProvider>: A new component accepting a router instance. (Core component for rendering routes)
  • createRoutesFromElements: A function to create route objects from JSX. (Alternative to JSX route definition)

Fixes Worth Knowing

  • Router singleton issues are resolved, fixing problems with unit tests, conditional routes, HMR (Hot Module Replacement), and external state management.

Before You Upgrade

  • Replace usages of the removed router components (<DataBrowserRouter>, etc.) with <RouterProvider> and explicitly create a router using createBrowserRouter or createHashRouter.
May 23, 2022
v6.2.2-pre.0
Feb 28, 2022
v6.0.0-beta.8v6.0.0-beta.8
Oct 22, 2021
v6.0.0-beta.7
Oct 15, 2021
v6.0.0-beta.6
Oct 7, 2021
v6.0.0-beta.5
Sep 25, 2021
v6.0.0-beta.4v6.0.0-beta.4
Sep 11, 2021
v6.0.0-beta.3
Sep 3, 2021
v6.0.0-beta.2v6.0.0-beta.2
Aug 20, 2021
v6.0.0-beta.1v6.0.0-beta.1
Aug 13, 2021
v6.0.0-beta.0v6.0.0-beta.0
Jun 19, 2020
v6.0.0-alpha.5v6.0.0-alpha.5
May 15, 2020
v6.0.0-alpha.4v6.0.0-alpha.4
May 5, 2020
v6.0.0-alpha.3v6.0.0-alpha.3
Apr 4, 2020
v6.0.0-alpha.2v6.0.0-alpha.2
Feb 22, 2020
v6.0.0-alpha.1v6.0.0-alpha.1
Feb 1, 2020
v6.0.0-alpha.0v6.0.0-alpha.0
Jan 31, 2020
react-routerv0.xprerelease
6 releases

TL;DR

React Router now uses <Await> instead of <Deferred> to display data fetched with loaders, offering more flexibility with promises and clearer code.

Breaking

  • <Deferred> component renamed to <Await> (data display component)
  • useDeferredValue and useError hooks renamed to useAsyncValue and useAsyncError (data fetching hooks)

New

  • <Await> now accepts any promise, not just those returned by defer() (promise handling).

Fixes Worth Knowing

  • Loaders now always return a Promise, improving consistency (data loading).

Before You Upgrade

  • Replace all instances of <Deferred> with <Await> in your routes.
  • Update any usages of useDeferredValue and useError to useAsyncValue and useAsyncError respectively.
react-routerv-1.x
7 releases

No release notes content available to summarize.

v0.0.0-experimental-compat.6
Mar 31, 2022
v0.0.0-experimental-compat.5
Mar 31, 2022
v0.0.0-experimental-compat.4
Mar 30, 2022
v0.0.0-experimental-compat.3
Mar 30, 2022
v0.0.0-experimental-compat.2
Mar 30, 2022
v0.0.0-experimental-ffd8c7d0v0.0.0-experimental-ffd8c7d0
Jun 19, 2020
v0.0.0-experimental-b1ff171fv0.0.0-experimental-b1ff171f
May 27, 2020
react-routerv3.x
13 releases

TL;DR

React Router now fully supports the latest React versions, ensuring compatibility and stability for users on recent React releases.

Breaking

  • None.

New

None.

Fixes Worth Knowing

None.

Before You Upgrade

None.

v3.2.6v3.2.6
Mar 4, 2020
v3.2.5v3.2.5
Oct 25, 2019
v3.2.4v3.2.4
Aug 23, 2019
v3.2.3v3.2.3
Jun 26, 2019
v3.2.2v3.2.2
Jun 25, 2019
v3.2.1v3.2.1
Mar 7, 2018
v3.2.0v3.2.0
Sep 26, 2017
v3.0.5v3.0.5
Apr 11, 2017
v3.0.4v3.0.4
Apr 9, 2017
v3.0.3v3.0.3
Mar 28, 2017
v3.0.2v3.0.2
Jan 18, 2017
v3.0.1v3.0.1
Jan 12, 2017
v3.0.0v3.0.0
Oct 25, 2016
react-routerv4.xprerelease
27 releases

TL;DR

React Router now avoids using eval during development, improving compatibility with stricter Content Security Policies (security settings for web pages).

Breaking

  • eval is no longer used in development builds (potentially impacts custom CSP configurations).

New

(None)

Fixes Worth Knowing

(None)

Before You Upgrade

If you have a custom Content Security Policy that restricts eval, no action is needed. Otherwise, ensure your CSP allows unsafe-eval if you rely on it for other development tools.

v4.4.0-beta.8
Mar 15, 2019
v4.4.0-beta.7
Mar 2, 2019
v4.4.0-beta.6
Nov 1, 2018
v4.4.0-beta.5
Oct 30, 2018
v4.4.0-beta.4
Oct 17, 2018
v4.4.0-beta.3
Oct 15, 2018
v4.4.0-beta.2
Oct 14, 2018
v4.4.0-beta.1v4.4.0-beta.1
Sep 30, 2018
v4.4.0-beta.0v4.4.0-beta.0
Sep 29, 2018
v4.3.0-rc.3v4.3.0-rc.3
Apr 26, 2018
v4.3.0-rc.2v4.3.0-rc.2
Apr 2, 2018
v4.3.0-rc.1v4.3.0-rc.1
Mar 26, 2018
v4.0.0-beta.8v4.0.0-beta.8
Mar 28, 2017
v4.0.0-beta.1
Mar 3, 2017
v4.0.0-beta.2
Mar 3, 2017
v4.0.0-beta.3
Mar 3, 2017
v4.0.0-beta.4
Mar 3, 2017
v4.0.0-beta.5
Mar 3, 2017
v4.0.0-beta.7
Mar 3, 2017
v4.0.0-beta.6
Feb 14, 2017
v4.0.0-alpha.6v4.0.0-alpha.6
Nov 21, 2016
v4.0.0-alpha.5v4.0.0-alpha.5
Oct 23, 2016
v4.0.0-alpha.4v4.0.0-alpha.4
Oct 2, 2016
v4.0.0-alpha.3v4.0.0-alpha.3
Sep 17, 2016
v4.0.0-2v4.0.0-2
Sep 13, 2016
v4.0.0-1v4.0.0-1
Sep 13, 2016
v4.0.0-0v4.0.0-0
Sep 13, 2016
react-routerv4.x
8 releases

TL;DR

React Router now supports passing parameters to <Redirect> components and includes a new generatePath function (for creating URLs from route paths).

Breaking

  • react-router-redux is deprecated (a library for integrating with Redux). Consider using @supasate/connected-react-router or future React Router features for Redux integration.

New

  • <Redirect> with params: Allows redirecting with dynamic data.
  • generatePath API: Creates URLs from route paths, enabling more flexible URL construction.

Fixes Worth Knowing

  • Links with query parameters (?foo=bar) now work correctly.
  • Special characters in paths are now properly escaped in <NavLink>.
  • <Link> components now require a to property, preventing errors.

Before You Upgrade

If you are using react-router-redux, plan a migration to a supported Redux integration solution.

v4.3.1v4.3.1
Jun 6, 2018
v4.3.0v4.3.0
Jun 6, 2018
Aug 25, 2017
Aug 25, 2017
v4.2.0v4.2.0
Aug 24, 2017
v4.1.1v4.1.1
Apr 12, 2017
v4.1.0
Apr 12, 2017
v4.0.0v4.0.0
Mar 28, 2017
react-routerv3.xprerelease
4 releases

TL;DR

React Router v3 introduces significant changes, requiring updates to your history implementation and removing all previously deprecated features from v2.3.0 and v2.6.0.

Breaking

  • History v3 Required: (Navigation library) Upgrade to history v3 to maintain compatibility.
  • Deprecated Functionality Removed: Code relying on deprecated features from v2.3.0 and v2.6.0 will no longer work.
  • Link/withRouter Update: <Link> and withRouter now update correctly within static containers.

New

  • Async Route Support: Route functions can now return Promises for asynchronous data loading.
  • Enhanced withRouter: withRouter now provides params, location, and routes props, and allows overriding the router instance.
  • Flexible <Link>: <Link> now accepts a function for the to prop, enabling dynamic route generation.

Fixes Worth Knowing

  • Redirects with Query: Redirects now correctly handle query parameters.
  • Omit to on <Link>: You can now use <Link> without a `
v3.0.0-beta.1v3.0.0-beta.1
Sep 16, 2016
v3.0.0-alpha.3v3.0.0-alpha.3
Sep 13, 2016
v3.0.0-alpha.2v3.0.0-alpha.2
Sep 13, 2016
v3.0.0-alpha.1v3.0.0-alpha.1
Sep 13, 2016
react-routerv2.x
20 releases

TL;DR

React Router now supports omitting the to prop on <Link> components, providing a more flexible way to define links.

Breaking

  • getChildRoutes and getIndexRoute now receive partialNextState instead of location (route configuration).
  • Accessing location directly within getChildRoutes and getIndexRoute is deprecated.

New

  • withRouter now accepts a withRef option for accessing wrapped component instances (component utility).
  • onLeave hooks now receive prevState as an argument (route lifecycle).

Fixes Worth Knowing

  • Fixed issues with redirects containing query parameters.
  • Corrected handling of routes with reserved property names.
  • Resolved <Link> click behavior when rendered outside a router context.

Before You Upgrade

  • Update your route configurations to use partialNextState.location instead of location in getChildRoutes and getIndexRoute.
v2.8.1v2.8.1
Sep 13, 2016
v2.8.0v2.8.0
Sep 13, 2016
v2.7.0v2.7.0
Sep 13, 2016
v2.6.1v2.6.1
Sep 13, 2016
v2.6.0v2.6.0
Sep 13, 2016
v2.5.2v2.5.2
Sep 13, 2016
v2.5.1v2.5.1
Sep 13, 2016
v2.5.0v2.5.0
Sep 13, 2016
v2.4.1v2.4.1
Sep 13, 2016
v2.4.0v2.4.0
Apr 28, 2016
v2.3.0v2.3.0
Apr 25, 2016
v2.2.4v2.2.4
Apr 25, 2016
v2.2.3v2.2.3
Apr 25, 2016
v2.2.2v2.2.2
Apr 25, 2016
v2.2.1v2.2.1
Apr 25, 2016
v2.2.0v2.2.0
Apr 25, 2016
v2.1.1v2.1.1
Apr 25, 2016
v2.1.0v2.1.0
Apr 25, 2016
v2.0.1v2.0.1
Apr 25, 2016
v2.0.0v2.0.0
Feb 10, 2016
react-routerv0.x
47 releases

TL;DR

React Router now supports React 0.15, ensuring compatibility with the latest React version.

New

Support for React 0.15 (JavaScript library for building UIs).

Fixes Worth Knowing

<Link> components (navigation components) now correctly pass through extra props, resolving potential styling or behavior issues.

Before You Upgrade

If you are using React 0.15, no action is needed. Otherwise, this is a recommended update for continued compatibility.

v0.13.6v0.13.6
Sep 13, 2016
v0.13.5v0.13.5
Nov 10, 2015
v0.13.4v0.13.4
Nov 10, 2015
v0.13.3v0.13.3
Nov 10, 2015
v0.13.2v0.13.2
Nov 10, 2015
v0.13.1v0.13.1
Nov 10, 2015
v0.13.0v0.13.0
Nov 10, 2015
v0.12.4v0.12.4
Nov 10, 2015
v0.12.3v0.12.3
Nov 10, 2015
v0.12.2v0.12.2
Nov 10, 2015
v0.12.0v0.12.0
Nov 10, 2015
v0.12.1v0.12.1
Nov 10, 2015
v0.11.0v0.11.0
Nov 10, 2015
v0.11.6v0.11.6
Nov 10, 2015
v0.11.5v0.11.5
Nov 10, 2015
v0.11.4v0.11.4
Nov 10, 2015
v0.11.3v0.11.3
Nov 10, 2015
v0.11.2v0.11.2
Nov 10, 2015
v0.11.1v0.11.1
Nov 10, 2015
v0.10.2v0.10.2
Nov 10, 2015
v0.10.0v0.10.0
Nov 10, 2015
v0.10.1v0.10.1
Nov 10, 2015
v0.9.1v0.9.1
Nov 10, 2015
v0.9.2v0.9.2
Nov 10, 2015
v0.9.3v0.9.3
Nov 10, 2015
v0.9.4v0.9.4
Nov 10, 2015
v0.9.5v0.9.5
Nov 10, 2015
v0.9.0v0.9.0
Nov 10, 2015
v0.8.0v0.8.0
Nov 10, 2015
v0.7.0v0.7.0
Nov 10, 2015
v0.6.1v0.6.1
Nov 10, 2015
v0.6.0
Nov 10, 2015
v0.5.3v0.5.3
Nov 10, 2015
v0.5.2v0.5.2
Nov 10, 2015
v0.5.1v0.5.1
Nov 10, 2015
v0.5.0v0.5.0
Nov 10, 2015
v0.4.2v0.4.2
Nov 10, 2015
v0.4.1v0.4.1
Nov 10, 2015
v0.4.0v0.4.0
Nov 10, 2015
v0.3.5v0.3.5
Nov 10, 2015
v0.3.3v0.3.3
Nov 10, 2015
v0.3.4v0.3.4
Nov 10, 2015
v0.3.2v0.3.2
Nov 10, 2015
v0.3.1v0.3.1
Nov 10, 2015
v0.3.0v0.3.0
Nov 10, 2015
v0.2.1v0.2.1
Nov 10, 2015
v0.2.0v0.2.0
Nov 10, 2015
react-routerv2.xprerelease
6 releases

TL;DR

React Router now requires explicit import of <Router>, and improves initial route matching for better performance.

Breaking

  • <Router> is no longer a default export (must be imported directly).

Fixes Worth Knowing

  • Corrected initial routing state (how the app loads).
  • Improved route matching performance (faster navigation).

Before You Upgrade

  • Update your import statements to explicitly import <Router>: import { Router } from 'react-router';
v2.0.0-rc6v2.0.0-rc6
Feb 6, 2016
v2.0.0-rc5v2.0.0-rc5
Jan 14, 2016
v2.0.0-rc4v2.0.0-rc4
Dec 30, 2015
v2.0.0-rc3v2.0.0-rc3
Dec 30, 2015
v2.0.0-rc2v2.0.0-rc2
Dec 30, 2015
v2.0.0-rc1v2.0.0-rc1
Dec 30, 2015
react-routerv1.xprerelease
9 releases

TL;DR

React Router has been significantly rewritten with a focus on composable components and a more flexible history management system, offering enhanced control over routing and navigation.

Breaking

  • handler prop on Route is removed: Use children instead.
  • params from RoutingContext child context is removed and re-added: Access params directly on the RoutingContext itself.
  • un)registerRouteHook is removed: New lifecycle hooks are available.
  • History dependency change: Now requires a separate history package (peer dependency).

New

  • Index routes & links: <IndexLink> and <IndexRoute> components simplify handling of index/root routes.
  • Redirects: <Redirect> component allows programmatic navigation to different routes.
  • Greedy splats: ** allows matching any number of segments in a URL.

Fixes Worth Knowing

  • Correctly handles query parameters and URL encoding.
  • Improved isActive behavior for nested routes and index links.
  • Fixes for Windows installation and hash-based routing.

Before You Upgrade

v1.0.0-rc4v1.0.0-rc4
Nov 10, 2015
v1.0.0-rc3v1.0.0-rc3
Nov 10, 2015
v1.0.0-rc2v1.0.0-rc2
Nov 10, 2015
v1.0.0-rc1v1.0.0-rc1
Nov 10, 2015
v1.0.0-beta4v1.0.0-beta4
Nov 10, 2015
v1.0.0-beta3v1.0.0-beta3
Nov 10, 2015
v1.0.0-beta2v1.0.0-beta2
Nov 10, 2015
v1.0.0-beta1v1.0.0-beta1
Nov 10, 2015
v1.0.0-alpha2v1.0.0-alpha2
Nov 10, 2015