-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
7da1763
commit 1ced1ba
Showing
807 changed files
with
5,320 additions
and
10,793 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"@refinedev/react-router": major | ||
--- | ||
|
||
feat: Add `@refinedev/react-router` package. #6520 | ||
|
||
`@refinedev/react-router-v6` is renamed to `@refinedev/react-router` to support React Router v7. | ||
|
||
See the [migration guide React Router v6 to v7](https://refine.dev/docs/routing/integrations/react-router/migration-guide-v6-to-v7) for more information. | ||
|
||
Resolves [#6520](https://github.com/refinedev/refine/issues/6520) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
"@refinedev/chakra-ui": patch | ||
"@refinedev/mantine": patch | ||
"@refinedev/antd": patch | ||
"@refinedev/mui": patch | ||
"@refinedev/cli": patch | ||
"@refinedev/devtools": patch | ||
"@refinedev/devtools-internal": patch | ||
"@refinedev/devtools-server": patch | ||
"@refinedev/devtools-shared": patch | ||
"@refinedev/devtools-ui": patch | ||
"@refinedev/kbar": patch | ||
"@refinedev/nextjs-router": patch | ||
"@refinedev/react-hook-form": patch | ||
"@refinedev/react-table": patch | ||
"@refinedev/ui-tests": patch | ||
"@refinedev/inferencer": patch | ||
--- | ||
|
||
feat: React Router v7 support added. | ||
|
||
🚨 These packages are not dependent on `react-router`. However, they use the `react-router` package for testing purposes on [Jest](https://jestjs.io/) environment. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
"@refinedev/codemod": minor | ||
--- | ||
|
||
feat: React Router v6 to v7 codemod added. | ||
|
||
For `@refinedev/react-router-v6` to `@refinedev/react-router`: | ||
|
||
```bash | ||
npx @refinedev/codemod@latest refine-react-router-v6-to-refine-react-router | ||
``` | ||
|
||
```diff | ||
import routerProvider, { NavigateToResource, UnsavedChangesNotifier, DocumentTitleHandler } | ||
- from "@refinedev/react-router-v6"; | ||
import routerProvider, { NavigateToResource, UnsavedChangesNotifier, DocumentTitleHandler } | ||
+ from "@refinedev/react-router"; | ||
|
||
``` | ||
|
||
For `react-router-dom` to `react-router`: | ||
|
||
```bash | ||
npx @refinedev/codemod@latest react-router-dom-to-react-router" | ||
``` | ||
```diff | ||
-import { RouterProvider } from "react-router-dom"; | ||
+import { RouterProvider } from "react-router"; | ||
``` | ||
See the [migration guide React Router v6 to v7](https://refine.dev/docs/routing/integrations/react-router/migration-guide-v6-to-v7) for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.