Skip to content

Commit f7c5466

Browse files
- Added ^ to peer deps
1 parent e316364 commit f7c5466

File tree

15 files changed

+87
-87
lines changed

15 files changed

+87
-87
lines changed

packages/antd/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
},
6464
"peerDependencies": {
6565
"@ant-design/icons": "^6.0.0",
66-
"@rjsf/core": "6.x",
67-
"@rjsf/utils": "6.x",
66+
"@rjsf/core": "^6.x",
67+
"@rjsf/utils": "^6.x",
6868
"antd": "^5.8.5",
6969
"dayjs": "^1.8.0",
7070
"react": ">=18"
@@ -77,10 +77,10 @@
7777
},
7878
"devDependencies": {
7979
"@ant-design/icons": "^6.1.0",
80-
"@rjsf/core": "6.x",
81-
"@rjsf/snapshot-tests": "6.x",
82-
"@rjsf/utils": "6.x",
83-
"@rjsf/validator-ajv8": "6.x",
80+
"@rjsf/core": "^6.x",
81+
"@rjsf/snapshot-tests": "^6.x",
82+
"@rjsf/utils": "^6.x",
83+
"@rjsf/validator-ajv8": "^6.x",
8484
"@rollup/plugin-replace": "^6.0.3",
8585
"antd": "^5.27.6",
8686
"atob": "^2.1.2",

packages/chakra-ui/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
},
6565
"peerDependencies": {
6666
"@chakra-ui/react": ">=3.16.1",
67-
"@rjsf/core": "6.x",
68-
"@rjsf/utils": "6.x",
67+
"@rjsf/core": "^6.x",
68+
"@rjsf/utils": "^6.x",
6969
"chakra-react-select": ">=6",
7070
"react": ">=18"
7171
},
@@ -86,10 +86,10 @@
8686
"@emotion/eslint-plugin": "^11.12.0",
8787
"@emotion/jest": "^11.13.0",
8888
"@emotion/react": "^11.14.0",
89-
"@rjsf/core": "6.x",
90-
"@rjsf/snapshot-tests": "6.x",
91-
"@rjsf/utils": "6.x",
92-
"@rjsf/validator-ajv8": "6.x",
89+
"@rjsf/core": "^6.x",
90+
"@rjsf/snapshot-tests": "^6.x",
91+
"@rjsf/utils": "^6.x",
92+
"@rjsf/validator-ajv8": "^6.x",
9393
"chakra-react-select": "^6.1.0",
9494
"eslint": "^8.57.1"
9595
},

packages/core/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"node": ">=20"
6767
},
6868
"peerDependencies": {
69-
"@rjsf/utils": "6.x",
69+
"@rjsf/utils": "^6.x",
7070
"react": ">=18"
7171
},
7272
"dependencies": {
@@ -76,9 +76,9 @@
7676
"prop-types": "^15.8.1"
7777
},
7878
"devDependencies": {
79-
"@rjsf/snapshot-tests": "6.x",
80-
"@rjsf/utils": "6.x",
81-
"@rjsf/validator-ajv8": "6.x",
79+
"@rjsf/snapshot-tests": "^6.x",
80+
"@rjsf/utils": "^6.x",
81+
"@rjsf/validator-ajv8": "^6.x",
8282
"@testing-library/jest-dom": "^6.9.1",
8383
"@testing-library/react": "^16.3.0",
8484
"@testing-library/user-event": "^14.6.1",

packages/daisyui/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,16 @@
7171
"tailwindcss": "^4.1.12"
7272
},
7373
"peerDependencies": {
74-
"@rjsf/core": "6.x",
75-
"@rjsf/utils": "6.x",
74+
"@rjsf/core": "^6.x",
75+
"@rjsf/utils": "^6.x",
7676
"daisyui": "^5.0.29",
7777
"react": ">=18"
7878
},
7979
"devDependencies": {
80-
"@rjsf/core": "6.x",
81-
"@rjsf/snapshot-tests": "6.x",
82-
"@rjsf/utils": "6.x",
83-
"@rjsf/validator-ajv8": "6.x",
80+
"@rjsf/core": "^6.x",
81+
"@rjsf/snapshot-tests": "^6.x",
82+
"@rjsf/utils": "^6.x",
83+
"@rjsf/validator-ajv8": "^6.x",
8484
"@testing-library/dom": "^10.4.1",
8585
"@testing-library/jest-dom": "^6.9.1",
8686
"@testing-library/react": "^16.3.0",

packages/docs/docs/migration-guides/v6.x upgrade guide.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 6.x Upgrade Guide
1+
# ^6.x Upgrade Guide
22

33
## New packages
44

@@ -189,7 +189,7 @@ Interfaces with `formContext` removed:
189189

190190
The `onChange` handling for fields has been changed to fix a serious bug related to nearly simultaneous updates losing data.
191191
Previously in 5.x, data change handling worked by passing a complete `newFormData` object up to the `Form` from the underlying `Field`s.
192-
In 6.x, data change handling now works by passing just the changed `newValue` for a `Field` and the `path` array of the `Field` within the `formData`, with the `Form` itself being responsible for injecting the changed data into the `formData`.
192+
In ^6.x, data change handling now works by passing just the changed `newValue` for a `Field` and the `path` array of the `Field` within the `formData`, with the `Form` itself being responsible for injecting the changed data into the `formData`.
193193

194194
As a result, the `FieldProps` interface was updated with the following breaking change so that custom `Field` authors are forced to respond to this update:
195195

@@ -999,13 +999,13 @@ Because `liveValidate` and `liveOmit` can have serious performance impacts in th
999999
10001000
### Optional Data Controls
10011001

1002-
RJSF 6.x introduces a new feature that allows developers to provide a condensed UI for users who don't care to enter an optional list of array items or set of optional object fields.
1002+
RJSF ^6.x introduces a new feature that allows developers to provide a condensed UI for users who don't care to enter an optional list of array items or set of optional object fields.
10031003

10041004
See the documentation for [enableOptionalDataFieldForType](../api-reference/uiSchema.md#enableoptionaldatafieldfortype) for more information.
10051005

10061006
### Dynamic UI Schema for Array Items
10071007

1008-
RJSF 6.x introduces a new feature that allows dynamic UI schema generation for array items.
1008+
RJSF ^6.x introduces a new feature that allows dynamic UI schema generation for array items.
10091009
The `items` property in a `uiSchema` can now accept a function that returns a UI schema based on the array item's data, index, and form context.
10101010

10111011
```typescript
@@ -1027,10 +1027,10 @@ See the [Dynamic UI Schema Examples](../api-reference/dynamic-ui-schema-examples
10271027

10281028
### Custom field `name` generation
10291029

1030-
RJSF 6.x adds support for customizing how HTML `name` attributes are generated for form fields via the new [`nameGenerator`](../api-reference/form-props.md#namegenerator) prop. This enables proper form data submission to backend frameworks that expect specific naming conventions like bracket notation (`root[tasks][0][title]`) for PHP/Rails or dot notation (`root.tasks.0.title`) for other frameworks.
1030+
RJSF ^6.x adds support for customizing how HTML `name` attributes are generated for form fields via the new [`nameGenerator`](../api-reference/form-props.md#namegenerator) prop. This enables proper form data submission to backend frameworks that expect specific naming conventions like bracket notation (`root[tasks][0][title]`) for PHP/Rails or dot notation (`root.tasks.0.title`) for other frameworks.
10311031

10321032
The default behavior is unchanged if the prop is not provided.
10331033

10341034
### Opt-in Fallback UI for unsupported types
10351035

1036-
RJSF 6.x introduces a new `FallbackField` component that provides a user-friendly UI for unsupported or unrecognized schema types. This new functionality displays a selection box used to choose a JSON primitive type, and a field for the formData that matches the selected type. To use this new feature, which takes the place of the existing `UnsupportedField` component, set the new `useFallbackUiForUnsupportedType` prop to `true` on the `Form` component.
1036+
RJSF ^6.x introduces a new `FallbackField` component that provides a user-friendly UI for unsupported or unrecognized schema types. This new functionality displays a selection box used to choose a JSON primitive type, and a field for the formData that matches the selected type. To use this new feature, which takes the place of the existing `UnsupportedField` component, set the new `useFallbackUiForUnsupportedType` prop to `true` on the `Form` component.

packages/fluentui-rc/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,18 @@
6868
"@fluentui/react-components": "^9.63.0",
6969
"@fluentui/react-icons": "^2.0.298",
7070
"@fluentui/react-migration-v0-v9": "^9.3.10",
71-
"@rjsf/core": "6.x",
72-
"@rjsf/utils": "6.x",
71+
"@rjsf/core": "^6.x",
72+
"@rjsf/utils": "^6.x",
7373
"react": ">=18"
7474
},
7575
"devDependencies": {
7676
"@fluentui/react-components": "^9.72.3",
7777
"@fluentui/react-icons": "^2.0.313",
7878
"@fluentui/react-migration-v0-v9": "^9.6.11",
79-
"@rjsf/core": "6.x",
80-
"@rjsf/snapshot-tests": "6.x",
81-
"@rjsf/utils": "6.x",
82-
"@rjsf/validator-ajv8": "6.x",
79+
"@rjsf/core": "^6.x",
80+
"@rjsf/snapshot-tests": "^6.x",
81+
"@rjsf/utils": "^6.x",
82+
"@rjsf/validator-ajv8": "^6.x",
8383
"eslint": "^8.57.1"
8484
},
8585
"directories": {

packages/mantine/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
"@mantine/core": ">=8",
6565
"@mantine/dates": ">=8",
6666
"@mantine/hooks": ">=8",
67-
"@rjsf/core": "6.x",
68-
"@rjsf/utils": "6.x",
67+
"@rjsf/core": "^6.x",
68+
"@rjsf/utils": "^6.x",
6969
"react": ">=18"
7070
},
7171
"devDependencies": {
@@ -74,10 +74,10 @@
7474
"@mantine/hooks": "^8.3.6",
7575
"@restart/hooks": "^0.6.2",
7676
"@restart/ui": "^1.9.4",
77-
"@rjsf/core": "6.x",
78-
"@rjsf/snapshot-tests": "6.x",
79-
"@rjsf/utils": "6.x",
80-
"@rjsf/validator-ajv8": "6.x",
77+
"@rjsf/core": "^6.x",
78+
"@rjsf/snapshot-tests": "^6.x",
79+
"@rjsf/utils": "^6.x",
80+
"@rjsf/validator-ajv8": "^6.x",
8181
"eslint": "^8.57.1",
8282
"uncontrollable": "^9.0.0"
8383
},

packages/mui/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
"@emotion/styled": "^11.6.0",
6565
"@mui/icons-material": "^7.0.0",
6666
"@mui/material": "^7.0.0",
67-
"@rjsf/core": "6.x",
68-
"@rjsf/utils": "6.x",
67+
"@rjsf/core": "^6.x",
68+
"@rjsf/utils": "^6.x",
6969
"react": ">=18"
7070
},
7171
"devDependencies": {
@@ -74,10 +74,10 @@
7474
"@emotion/styled": "^11.14.1",
7575
"@mui/icons-material": "^7.3.4",
7676
"@mui/material": "^7.3.4",
77-
"@rjsf/core": "6.x",
78-
"@rjsf/snapshot-tests": "6.x",
79-
"@rjsf/utils": "6.x",
80-
"@rjsf/validator-ajv8": "6.x",
77+
"@rjsf/core": "^6.x",
78+
"@rjsf/snapshot-tests": "^6.x",
79+
"@rjsf/utils": "^6.x",
80+
"@rjsf/validator-ajv8": "^6.x",
8181
"eslint": "^8.57.1"
8282
},
8383
"publishConfig": {

packages/playground/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,16 @@
4242
"@mantine/dates": "^8.3.6",
4343
"@mantine/hooks": "^8.3.6",
4444
"@mui/material": "^7.3.4",
45-
"@rjsf/antd": "6.x",
46-
"@rjsf/chakra-ui": "6.x",
47-
"@rjsf/core": "6.x",
48-
"@rjsf/fluentui-rc": "6.x",
49-
"@rjsf/mui": "6.x",
50-
"@rjsf/primereact": "6.x",
51-
"@rjsf/react-bootstrap": "6.x",
52-
"@rjsf/semantic-ui": "6.x",
53-
"@rjsf/utils": "6.x",
54-
"@rjsf/validator-ajv8": "6.x",
45+
"@rjsf/antd": "^6.x",
46+
"@rjsf/chakra-ui": "^6.x",
47+
"@rjsf/core": "^6.x",
48+
"@rjsf/fluentui-rc": "^6.x",
49+
"@rjsf/mui": "^6.x",
50+
"@rjsf/primereact": "^6.x",
51+
"@rjsf/react-bootstrap": "^6.x",
52+
"@rjsf/semantic-ui": "^6.x",
53+
"@rjsf/utils": "^6.x",
54+
"@rjsf/validator-ajv8": "^6.x",
5555
"ajv": "^8.17.1",
5656
"ajv-i18n": "^4.2.0",
5757
"antd": "^5.27.6",

packages/primereact/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,17 @@
6161
"node": ">=20"
6262
},
6363
"peerDependencies": {
64-
"@rjsf/core": "6.x",
65-
"@rjsf/utils": "6.x",
64+
"@rjsf/core": "^6.x",
65+
"@rjsf/utils": "^6.x",
6666
"primeicons": ">=6.0.0",
6767
"primereact": ">=8.0.0",
6868
"react": ">=18"
6969
},
7070
"devDependencies": {
71-
"@rjsf/core": "6.x",
72-
"@rjsf/snapshot-tests": "6.x",
73-
"@rjsf/utils": "6.x",
74-
"@rjsf/validator-ajv8": "6.x",
71+
"@rjsf/core": "^6.x",
72+
"@rjsf/snapshot-tests": "^6.x",
73+
"@rjsf/utils": "^6.x",
74+
"@rjsf/validator-ajv8": "^6.x",
7575
"@rollup/plugin-replace": "^6.0.3",
7676
"eslint": "^8.57.1",
7777
"primeflex": "^4.0.0",

0 commit comments

Comments
 (0)