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
Original file line number
Diff line number
Diff line change
@@ -868,6 +868,148 @@ should change the heading of the (upcoming) version to include a major version b
868
868
- add missing typescript project reference for `utils` in `validator-ajv6` and `validator-ajv8` packages tsconfigs
869
869
- Added a dropdown for changing the `experimental_defaultFormStateBehavior.allOf` behaviour in the playground
870
870
871
+
872
+
# 5.18.2
873
+
874
+
## @rjsf/core
875
+
876
+
- Fixed Programmatic submit not working properly in Firefox [#3121](https://github.com/rjsf-team/react-jsonschema-form/issues/3121)
877
+
878
+
## @rjsf/utils
879
+
880
+
-[#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))
881
+
882
+
# 5.18.0
883
+
884
+
## @rjsf/antd
885
+
- 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)
886
+
887
+
## @rjsf/core
888
+
889
+
- Fix Error state not resetting when schema changes [#4079](https://github.com/rjsf-team/react-jsonschema-form/issues/4079)
890
+
891
+
## @rjsf/mui
892
+
893
+
- 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)
894
+
895
+
## @rjsf/utils
896
+
897
+
- Added a new `skipEmptyDefault` option in `emptyObjectFields`, fixing [#3880](https://github.com/rjsf-team/react-jsonschema-form/issues/3880)
898
+
- 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).
899
+
- 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).
900
+
901
+
## Dev / docs / playground
902
+
903
+
- Updated the documentation to describe how to use the `skipEmptyDefault` option.
904
+
- Fixed missing import of `Form` in usage documentation - fixing [#4127](https://github.com/rjsf-team/react-jsonschema-form/issues/4127)
905
+
906
+
# 5.17.1
907
+
908
+
## @rjsf/chakra-ui
909
+
910
+
- Added support for `UiSchema``"ui:rows"` option for `textarea` elements, fixing [#4070](https://github.com/rjsf-team/react-jsonschema-form/issues/4070).
911
+
912
+
## @rjsf/core
913
+
914
+
-[#4091](https://github.com/rjsf-team/react-jsonschema-form/issues/4091) Added `errorSchema` to `ArrayFieldTemplate` props.
915
+
916
+
## @rjsf/utils
917
+
918
+
-[#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.
919
+
-[#4091](https://github.com/rjsf-team/react-jsonschema-form/issues/4091) Added `errorSchema` to the `ArrayFieldTemplateProps` type.
920
+
921
+
## Dev / docs / playground
922
+
923
+
-[#4080](https://github.com/rjsf-team/react-jsonschema-form/issues/4080) - Moved the `base64` encoder/decoder object to the Playground package.
924
+
- Added test configuration and script to the Playground.
925
+
926
+
# 5.17.0
927
+
928
+
## @rjsf/core
929
+
930
+
- Added support for `anyOf`/`oneOf` in `uiSchema`s in the `MultiSchemaField`, fixing [#4039](https://github.com/rjsf-team/react-jsonschema-form/issues/4039)
931
+
- Fix potential XSS vulnerability in the preview button of FileWidget, fixing [#4057](https://github.com/rjsf-team/react-jsonschema-form/issues/4057)
932
+
933
+
## @rjsf/utils
934
+
935
+
-[#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.
936
+
- 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)
937
+
- Changes the way of parsing the data URL, to fix [#4057](https://github.com/rjsf-team/react-jsonschema-form/issues/4057)
938
+
939
+
## Dev / docs / playground
940
+
941
+
-[#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`.
942
+
- Updated the `uiSchema.md` documentation to describe how to use the new `anyOf`/`oneOf` support
943
+
944
+
# 5.16.1
945
+
946
+
## Dev / docs / playground
947
+
948
+
- Bumped peer dependencies due to new utils function
949
+
950
+
# 5.16.0
951
+
952
+
## @rjsf/core
953
+
954
+
- Pass indexed title from array into its items, adding enhancement asked in [#3983](https://github.com/rjsf-team/react-jsonschema-form/issues/3983)
955
+
- Removed `dateElementProps` function implementation, and replaced it with `getDateElementProps` from `@rjsf/utils`.
956
+
- Modify submit method to make it a public method, fixing [#4015](https://github.com/rjsf-team/react-jsonschema-form/issues/4015)
957
+
- Support file deletion for `format: "data-url"` in `FileWidget`, fixing [#3957](https://github.com/rjsf-team/react-jsonschema-form/issues/3957).
958
+
959
+
## @rjsf/antd
960
+
961
+
- Removed `dateElementProps` function implementation, and replaced it with `getDateElementProps` from `@rjsf/utils`.
962
+
963
+
## @rjsf/chakra-ui
964
+
965
+
- Removed `dateElementProps` function implementation, and replaced it with `getDateElementProps` from `@rjsf/utils`.
966
+
967
+
## @rjsf/mui
968
+
969
+
- 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)
970
+
971
+
## @rjsf/utils
972
+
973
+
- 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)
974
+
975
+
## Dev / docs / playground
976
+
977
+
- Updated docs and playground with the implementation guide of newly added date re-order feature.
978
+
979
+
# 5.15.1
980
+
981
+
## @rjsf/core
982
+
983
+
- fix `getFieldNames`. Now correctly defines an array of primitives.
984
+
985
+
## @rjsf/validator-ajv6
986
+
987
+
- 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)
988
+
989
+
## @rjsf/validator-ajv8
990
+
991
+
- 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)
992
+
993
+
## Dev / docs / playground
994
+
995
+
- Updated the documentation to describe how to use the newly exposed `ajv` variable
996
+
997
+
# 5.15.0
998
+
999
+
## @rjsf/mui
1000
+
1001
+
- fix gap in text and select widget outlines when `"ui:label": false` is specified.
1002
+
1003
+
## @rjsf/utils
1004
+
1005
+
- Updated `resolveAllReferences()` to use own recurse list for each object properties, fixing [#3961](https://github.com/rjsf-team/react-jsonschema-form/issues/3961)
1006
+
- 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)
1007
+
1008
+
## Dev / playground
1009
+
1010
+
- add missing typescript project reference for `utils` in `validator-ajv6` and `validator-ajv8` packages tsconfigs
1011
+
- 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
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