Skip to content

Commit

Permalink
feat(react-hook-form): update version constraint from ^7.30.0 to `^…
Browse files Browse the repository at this point in the history
…7.43.5` (#6161)

Co-authored-by: Ali Emir Şen <[email protected]>
  • Loading branch information
ritute and aliemir authored Jul 26, 2024
1 parent f3e06e8 commit ff97537
Show file tree
Hide file tree
Showing 57 changed files with 133 additions and 120 deletions.
13 changes: 13 additions & 0 deletions .changeset/metal-eagles-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@refinedev/react-hook-form": minor
"@refinedev/inferencer": minor
"@refinedev/chakra-ui": minor
"@refinedev/codemod": minor
"@refinedev/mui": minor
---

feat(react-hook-form): update version constraint from `^7.30.0` to `^7.43.5`

Update react-hook-form version to address runtime subscribe error

[Fixes #6139](https://github.com/refinedev/refine/issues/6139)
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function ServerSideValidationChakraUi() {
"react-dom": "^18.0.0",
"react-router": "latest",
"react-router-dom": "^6.8.1",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
}}
startRoute="/products/create"
files={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function ServerSideValidationMui() {
"@mui/x-data-grid": "^6.6.0",
"react-router-dom": "latest",
"react-router": "latest",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
}}
startRoute="/products/create"
files={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function ServerSideValidationReactHookForm() {
"react-dom": "^18.0.0",
"react-router": "latest",
"react-router-dom": "^6.8.1",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
}}
startRoute="/products/create"
files={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function AuthPage() {
"react-dom": "^18.0.0",
"react-router": "latest",
"react-router-dom": "^6.8.1",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
}}
startRoute="/login"
files={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function BasicViews() {
"react-dom": "^18.0.0",
"react-router": "latest",
"react-router-dom": "^6.8.1",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
}}
startRoute="/products"
files={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function Example() {
"react-dom": "^18.0.0",
"react-router": "latest",
"react-router-dom": "^6.8.1",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
}}
startRoute="/products"
files={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function LayoutReactRouterDom() {
"react-dom": "^18.0.0",
"react-router": "latest",
"react-router-dom": "^6.8.1",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
}}
startRoute="/products"
files={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function Usage() {
"react-dom": "^18.0.0",
"react-router": "latest",
"react-router-dom": "^6.8.1",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
}}
startRoute="/products"
files={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function AuthPage() {
"@mui/x-data-grid": "^6.6.0",
"react-router-dom": "latest",
"react-router": "latest",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
}}
startRoute="/login"
files={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function BasicViews() {
"@mui/x-data-grid": "^6.6.0",
"react-router-dom": "latest",
"react-router": "latest",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
}}
startRoute="/products"
files={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default function Example() {
"@mui/x-data-grid": "^6.6.0",
"react-router-dom": "latest",
"react-router": "latest",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
}}
startRoute="/products"
files={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function LayoutReactRouterDom() {
"@mui/x-data-grid": "^6.6.0",
"react-router-dom": "latest",
"react-router": "latest",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
}}
startRoute="/products"
files={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function Usage() {
"@mui/x-data-grid": "^6.6.0",
"react-router-dom": "latest",
"react-router": "latest",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
}}
startRoute="/products"
files={{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function UsageNextjs() {
"@mui/material": "^5.14.2",
"@mui/system": "latest",
"@mui/x-data-grid": "^6.6.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"@refinedev/nextjs-router": "latest",
}}
// template="nextjs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function UsageReactRouterDom() {
"@mui/material": "^5.14.2",
"@mui/system": "latest",
"@mui/x-data-grid": "^6.6.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "latest",
"@refinedev/react-router-v6": "latest",
"react-router": "latest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function UsageRemix() {
"@mui/material": "^5.14.2",
"@mui/system": "latest",
"@mui/x-data-grid": "^6.6.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"@refinedev/remix-router": "latest",
}}
startRoute="/products"
Expand Down
2 changes: 1 addition & 1 deletion examples/base-material-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@uiw/react-md-editor": "^3.19.5",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-material-ui-datagrid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@refinedev/simple-rest": "^5.0.8",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1",
"styled-components": "^6.1.8"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-material-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"axios": "^1.6.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1",
"react-scripts": "^5.0.0",
"web-vitals": "^1.1.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-ra-chakra-tutorial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"axios": "^1.6.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-react-aria/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"react": "^18.0.0",
"react-aria": "^0.1.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1",
"react-scripts": "^5.0.0",
"react-stately": "^3.19.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-react-hook-dynamic-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"cross-env": "^7.0.3",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1",
"react-scripts": "^5.0.0",
"web-vitals": "^1.1.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-refine-mui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"i18next-xhr-backend": "^3.2.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-i18next": "^11.8.11",
"react-router-dom": "^6.8.1",
"recharts": "^2.1.9"
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-refine-nextui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"i18next-xhr-backend": "^3.2.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-i18next": "^11.8.11",
"react-router-dom": "^6.8.1",
"recharts": "^2.1.9"
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-refine-primereact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"primereact": "^9.6.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-refine-react-hook-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@refinedev/simple-rest": "^5.0.8",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1",
"web-vitals": "^1.1.1",
"yup": "^0.32.11"
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-win95/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@tanstack/react-table": "^8.2.6",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1",
"react95": "^4.0.0",
"styled-components": "^6.1.8"
Expand Down
2 changes: 1 addition & 1 deletion examples/customization-theme-material-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@refinedev/simple-rest": "^5.0.8",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/field-material-ui-use-autocomplete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@refinedev/simple-rest": "^5.0.8",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/finefoods-material-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"lodash": "^4.17.21",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-i18next": "^11.8.11",
"react-input-mask": "^2.0.4",
"react-router-dom": "^6.8.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/form-material-ui-mutation-mode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@refinedev/simple-rest": "^5.0.8",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/form-material-ui-use-drawer-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@refinedev/simple-rest": "^5.0.8",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/form-material-ui-use-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@refinedev/simple-rest": "^5.0.8",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/form-material-ui-use-modal-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@refinedev/simple-rest": "^5.0.8",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/form-material-ui-use-steps-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@refinedev/simple-rest": "^5.0.8",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/form-react-hook-form-use-steps-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"axios": "^1.6.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/inferencer-chakra-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"i18next-xhr-backend": "^3.2.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-i18next": "^11.8.11",
"react-router-dom": "^6.8.1"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/inferencer-material-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"i18next-xhr-backend": "^3.2.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-i18next": "^11.8.11",
"react-router-dom": "^6.8.1"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/mern-dashboard-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"react": "^18.0.0",
"react-apexcharts": "^1.4.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1",
"react-scripts": "^5.0.0",
"web-vitals": "^1.1.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@uiw/react-md-editor": "^3.19.5",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-fast-marquee": "^1.3.1",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-merge-refs": "^1.1.0",
"react-use-measure": "^2.1.1",
"tabbable": "^5.2.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/table-material-ui-advanced/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@uiw/react-md-editor": "^3.19.5",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-hook-form": "^7.30.0",
"react-hook-form": "^7.43.5",
"react-router-dom": "^6.8.1"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit ff97537

Please sign in to comment.