You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+142Lines changed: 142 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1049,6 +1049,148 @@ should change the heading of the (upcoming) version to include a major version b
1049
1049
- add missing typescript project reference for `utils` in `validator-ajv6` and `validator-ajv8` packages tsconfigs
1050
1050
- Added a dropdown for changing the `experimental_defaultFormStateBehavior.allOf` behaviour in the playground
1051
1051
1052
+
1053
+
# 5.18.2
1054
+
1055
+
## @rjsf/core
1056
+
1057
+
- Fixed Programmatic submit not working properly in Firefox [#3121](https://github.com/rjsf-team/react-jsonschema-form/issues/3121)
1058
+
1059
+
## @rjsf/utils
1060
+
1061
+
-[#4116](https://github.com/rjsf-team/react-jsonschema-form/issues/4116) Fix Maximum call stack size exceeded when encountering circular definitions ([Link to PR](https://github.com/rjsf-team/react-jsonschema-form/pull/4123))
1062
+
1063
+
# 5.18.0
1064
+
1065
+
## @rjsf/antd
1066
+
- Fix issue where the theme provided by the ConfigProvider under antd v5 wasn't respected thereby rendering the form items unusable under dark themes [#4129](https://github.com/rjsf-team/react-jsonschema-form/issues/4129)
1067
+
1068
+
## @rjsf/core
1069
+
1070
+
- Fix Error state not resetting when schema changes [#4079](https://github.com/rjsf-team/react-jsonschema-form/issues/4079)
1071
+
1072
+
## @rjsf/mui
1073
+
1074
+
- Fixed the `SelectWidget` and `BaseInputTemplate` to filter out `errorSchema` and `autocomplete` from the `textFieldProps` being spread onto the `TextField`, fixing [#4134](https://github.com/rjsf-team/react-jsonschema-form/issues/4134)
1075
+
1076
+
## @rjsf/utils
1077
+
1078
+
- Added a new `skipEmptyDefault` option in `emptyObjectFields`, fixing [#3880](https://github.com/rjsf-team/react-jsonschema-form/issues/3880)
1079
+
- Added a new `computeSkipPopulate` option in `arrayMinItems`, allowing custom logic to skip populating arrays with default values, implementing [#4121](https://github.com/rjsf-team/react-jsonschema-form/pull/4121).
1080
+
- Fixed bug where the string `"\</strong>"` would get printed next to filenames when uploading files, and restored intended bolding of filenames fixing [#4120](https://github.com/rjsf-team/react-jsonschema-form/issues/4120).
1081
+
1082
+
## Dev / docs / playground
1083
+
1084
+
- Updated the documentation to describe how to use the `skipEmptyDefault` option.
1085
+
- Fixed missing import of `Form` in usage documentation - fixing [#4127](https://github.com/rjsf-team/react-jsonschema-form/issues/4127)
1086
+
1087
+
# 5.17.1
1088
+
1089
+
## @rjsf/chakra-ui
1090
+
1091
+
- Added support for `UiSchema``"ui:rows"` option for `textarea` elements, fixing [#4070](https://github.com/rjsf-team/react-jsonschema-form/issues/4070).
1092
+
1093
+
## @rjsf/core
1094
+
1095
+
-[#4091](https://github.com/rjsf-team/react-jsonschema-form/issues/4091) Added `errorSchema` to `ArrayFieldTemplate` props.
1096
+
1097
+
## @rjsf/utils
1098
+
1099
+
-[#4080](https://github.com/rjsf-team/react-jsonschema-form/issues/4080) - BREAKING CHANGE: Removed the `base64` object from the `@rjsf/utils` package. Note that this is a breaking change if you relied on the `base64` object exported by `@rjsf/utils`. Since this change caused [#4080](https://github.com/rjsf-team/react-jsonschema-form/issues/4080), and was only internally used by playground code, we are shipping this change in a patch release.
1100
+
-[#4091](https://github.com/rjsf-team/react-jsonschema-form/issues/4091) Added `errorSchema` to the `ArrayFieldTemplateProps` type.
1101
+
1102
+
## Dev / docs / playground
1103
+
1104
+
-[#4080](https://github.com/rjsf-team/react-jsonschema-form/issues/4080) - Moved the `base64` encoder/decoder object to the Playground package.
1105
+
- Added test configuration and script to the Playground.
1106
+
1107
+
# 5.17.0
1108
+
1109
+
## @rjsf/core
1110
+
1111
+
- Added support for `anyOf`/`oneOf` in `uiSchema`s in the `MultiSchemaField`, fixing [#4039](https://github.com/rjsf-team/react-jsonschema-form/issues/4039)
1112
+
- Fix potential XSS vulnerability in the preview button of FileWidget, fixing [#4057](https://github.com/rjsf-team/react-jsonschema-form/issues/4057)
1113
+
1114
+
## @rjsf/utils
1115
+
1116
+
-[#4024](https://github.com/rjsf-team/react-jsonschema-form/issues/4024) Added `base64` to support `encoding` and `decoding` using the `UTF-8` charset to support the characters out of the `Latin1` range.
1117
+
- Updated `enumOptionsValueForIndex()` to fix issue that filtered enum options with a value that was 0, fixing [#4067](https://github.com/rjsf-team/react-jsonschema-form/issues/4067)
1118
+
- Changes the way of parsing the data URL, to fix [#4057](https://github.com/rjsf-team/react-jsonschema-form/issues/4057)
1119
+
1120
+
## Dev / docs / playground
1121
+
1122
+
-[#4024](https://github.com/rjsf-team/react-jsonschema-form/issues/4024) Updated the base64 references from (`atob` and `btoa`) to invoke the functions from the new `base64` object in `@rjsf/utils`.
1123
+
- Updated the `uiSchema.md` documentation to describe how to use the new `anyOf`/`oneOf` support
1124
+
1125
+
# 5.16.1
1126
+
1127
+
## Dev / docs / playground
1128
+
1129
+
- Bumped peer dependencies due to new utils function
1130
+
1131
+
# 5.16.0
1132
+
1133
+
## @rjsf/core
1134
+
1135
+
- Pass indexed title from array into its items, adding enhancement asked in [#3983](https://github.com/rjsf-team/react-jsonschema-form/issues/3983)
1136
+
- Removed `dateElementProps` function implementation, and replaced it with `getDateElementProps` from `@rjsf/utils`.
1137
+
- Modify submit method to make it a public method, fixing [#4015](https://github.com/rjsf-team/react-jsonschema-form/issues/4015)
1138
+
- Support file deletion for `format: "data-url"` in `FileWidget`, fixing [#3957](https://github.com/rjsf-team/react-jsonschema-form/issues/3957).
1139
+
1140
+
## @rjsf/antd
1141
+
1142
+
- Removed `dateElementProps` function implementation, and replaced it with `getDateElementProps` from `@rjsf/utils`.
1143
+
1144
+
## @rjsf/chakra-ui
1145
+
1146
+
- Removed `dateElementProps` function implementation, and replaced it with `getDateElementProps` from `@rjsf/utils`.
1147
+
1148
+
## @rjsf/mui
1149
+
1150
+
- Updated the `FieldErrorTemplate` and `FieldHelpTemplate` to support html-based errors that cause `<xxxx> cannot appear as a descendant of <p>` browser warnings, fixing [#4031](https://github.com/rjsf-team/react-jsonschema-form/issues/4031)
1151
+
1152
+
## @rjsf/utils
1153
+
1154
+
- Added `getDateElementProps()` to refactor duplicate function in `core`, `antd` & `chakra-ui` AltDateWidget's source code. The same function, implements the feature requested in [#297](https://github.com/rjsf-team/react-jsonschema-form/issues/297)
1155
+
1156
+
## Dev / docs / playground
1157
+
1158
+
- Updated docs and playground with the implementation guide of newly added date re-order feature.
1159
+
1160
+
# 5.15.1
1161
+
1162
+
## @rjsf/core
1163
+
1164
+
- fix `getFieldNames`. Now correctly defines an array of primitives.
1165
+
1166
+
## @rjsf/validator-ajv6
1167
+
1168
+
- Updated the `AJV6Validator` class to expose the internal `ajv` object, allowing access to support a fix related to [#3972](https://github.com/rjsf-team/react-jsonschema-form/issues/3972)
1169
+
1170
+
## @rjsf/validator-ajv8
1171
+
1172
+
- Updated the `AJV8Validator` class to expose the internal `ajv` object, allowing access to support a fix related to [#3972](https://github.com/rjsf-team/react-jsonschema-form/issues/3972)
1173
+
1174
+
## Dev / docs / playground
1175
+
1176
+
- Updated the documentation to describe how to use the newly exposed `ajv` variable
1177
+
1178
+
# 5.15.0
1179
+
1180
+
## @rjsf/mui
1181
+
1182
+
- fix gap in text and select widget outlines when `"ui:label": false` is specified.
1183
+
1184
+
## @rjsf/utils
1185
+
1186
+
- Updated `resolveAllReferences()` to use own recurse list for each object properties, fixing [#3961](https://github.com/rjsf-team/react-jsonschema-form/issues/3961)
1187
+
- Added an experimental flag `allOf` to `experimental_defaultFormStateBehavior` for populating defaults when using `allOf` schemas [#3969](https://github.com/rjsf-team/react-jsonschema-form/pull/3969)
1188
+
1189
+
## Dev / playground
1190
+
1191
+
- add missing typescript project reference for `utils` in `validator-ajv6` and `validator-ajv8` packages tsconfigs
1192
+
- Added a dropdown for changing the `experimental_defaultFormStateBehavior.allOf` behaviour in the playground
Copy file name to clipboardExpand all lines: packages/docs/docs/usage/widgets.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,8 @@ It's also possible to remove the `Now` and `Clear` buttons with the `hideNowButt
96
96
97
97
You can also, customize the order in which date input fields are displayed by providing `format` property to `ui:options` in your uiSchema, available values are `YMD`(default), `MDY` and `DMY`.
98
98
99
+
You can also, customize the order in which date input fields are displayed by providing `format` property to `ui:options` in your uiSchema, available values are `YMD`(default), `MDY` and `DMY`.
0 commit comments