Skip to content

Commit 693f1ce

Browse files
nickgrosheath-freenomeAbdallah Al-SoqatriburnettkMarekBodinger
authored andcommitted
Merge changes in main to rjsf-v6 (rjsf-team#4276)
Co-authored-by: Heath C <[email protected]> Co-authored-by: Abdallah Al-Soqatri <[email protected]> Co-authored-by: Kevin Burnett <[email protected]> Co-authored-by: Marek Bodinger <[email protected]> Co-authored-by: Mehdi Salem <[email protected]> Co-authored-by: Nick Grosenbacher <[email protected]> Co-authored-by: Abdallah Al-Soqatri <[email protected]> Co-authored-by: Jonasz Wiącek <[email protected]> Co-authored-by: Bogdan Savluk <[email protected]> Co-authored-by: Christian Wendt <[email protected]> Co-authored-by: Ben Lambert <[email protected]> Co-authored-by: David R. Bild <[email protected]> Co-authored-by: Ariqun <[email protected]> Co-authored-by: Shivam Anand Murmu <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Shubham Biswas <[email protected]> Co-authored-by: popmanhe <[email protected]> Co-authored-by: Yuki Aoki <[email protected]> Co-authored-by: Xiangcheng Kuo <[email protected]> Co-authored-by: Bart van Andel <[email protected]> Co-authored-by: Laurent Direr <[email protected]> Co-authored-by: Vegard Stenvik <[email protected]> Co-authored-by: Appie <[email protected]> Co-authored-by: Oren Forer <[email protected]> Co-authored-by: Marcus Penn <[email protected]> Co-authored-by: joachimhagheim <[email protected]> Co-authored-by: MarekBodingerBA <[email protected]> Co-authored-by: momesana <[email protected]> Co-authored-by: Martti Roitto <[email protected]> Co-authored-by: Serge van den Oever <[email protected]> Co-authored-by: Enzo Ferey <[email protected]> Co-authored-by: Skyf0l <[email protected]> Co-authored-by: Jaejoon Han <[email protected]> Co-authored-by: とまとみ <[email protected]> Co-authored-by: Daniel Todd <[email protected]> Co-authored-by: Dmitry Dzhus <[email protected]> Co-authored-by: Alexander Kachkaev <[email protected]> Co-authored-by: shaddollxz <[email protected]> Co-authored-by: Changyu Geng <[email protected]> Co-authored-by: Helen Lin <[email protected]> Co-authored-by: solimant <[email protected]> Co-authored-by: David Li <[email protected]> fix(utils): direct lodash function import to improve bundling on library client side (rjsf-team#3976) fix: rjsf-team#3961 resolve all recurse list for object properties (rjsf-team#3981) fix gap in outline when label is hidden (rjsf-team#3984) Fix: Expose the internal `ajv` variable in the validator implementation classes (rjsf-team#3991) Fixes: rjsf-team#3972 indirectly by exposing the `ajv` variable for use in the issue Fix: Change FormHelperText usage with @mui/material to render divs (rjsf-team#4032) Fixes rjsf-team#4031 by switching the render component for `FormHelperText` to be `div` fix: Added support for anyOf/oneOf in uiSchema (rjsf-team#4055) Fixes rjsf-team#4039 by updating `MultiSchemaField` to properly support `anyOf`/`oneOf` arrays in the `uiSchema` Fix checkbox with 0 as a value was unselectable in antd (rjsf-team#4068) Fixed rjsf-team#4067 by properly dealing with enums that have 0 as a value Fix potential XSS in the preview button of FileWidget (rjsf-team#4065) Fix: Make 'ui:rows' option work with chakra-ui for textarea elements rjsf-team#4070 (rjsf-team#4078) Fix typo in ErrorsListTemplate example (rjsf-team#4087) Fix rjsf-team#4080 by moving `base64` encoder/decoder from `@rjsf/utils` to playground (rjsf-team#4093) Fix: Error state not resetting when schema changes (rjsf-team#4079) (rjsf-team#4103) Fix noImplicitAny error (rjsf-team#4106) Fixes: [WARNING] Duplicate key "include" in object literal [duplicate-object-key] (rjsf-team#4114) Fixes: Warning: validateDOMNesting(...): <p> cannot appear as a descendant of <p>. (rjsf-team#4117) Fix documentation to add missing Form imports (rjsf-team#4131) Fix rjsf-team#4127 to add missing `Form` import in documentation Fix: filename should be bold (rjsf-team#4125) Fix: use correct ConfigProvider context by using named imports (rjsf-team#4132) Fix 4134 by filtering out bad DOM props (rjsf-team#4140) Fixes: rjsf-team#4134 by updating the spreading of props onto the `TextField` to remove bad DOM fields Fixed Programmatic submit not working properly in Firefox (rjsf-team#4150) Fix Maximum call stack size exceeded in findSchemaDefinition (rjsf-team#4123) fix typos in constants.ts, Form.tsx (rjsf-team#4185) Fix mui imports in docs (rjsf-team#4218) fix] Resetting number fields should check the entire string when deciding to leave the input text alone (rjsf-team#4202) (rjsf-team#4220) Fixed performance issue with large schema dependencies and oneOf (rjsf-team#4203) (rjsf-team#4204) Fixed performance issue rjsf-team#4203 fix(core): field ui-options higher priority (rjsf-team#4212) fix(antd): disabled property of options of antd theme (rjsf-team#4216) fix: omitExtraData on submit and on validateForm (rjsf-team#4228) Fix IdSchema and PathSchema types (rjsf-team#4196) fixes rjsf-team#4236 Fix rjsf-team#4197 in various themes by showing empty option in SelectWidget when appropriate (rjsf-team#4200) fix: xss when rendering schema errors (rjsf-team#4256) fix 4215 and 4260 by updating optionsList() to take a uiSchema (rjsf-team#4263) Fixes rjsf-team#4215 and rjsf-team#4260 by supporting alternate titles for enums and anyOf/oneOf lists via the uiSchema Fixed Changelog (rjsf-team#4269)
1 parent 54560d2 commit 693f1ce

File tree

2 files changed

+74
-4
lines changed

2 files changed

+74
-4
lines changed

CHANGELOG_v6.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<!--
2+
3+
INSTRUCTIONS:
4+
5+
For each PR, add a changelog entry that describes what your PR does. Add it to the heading
6+
for the appropriate package it modifies and include it in this format:
7+
- [Description] ([Link to PR])
8+
9+
If your PR affects multiple packages, list it multiple times under headings for each package.
10+
If it affects more general things such as dependency updates or non-package-specific changes,
11+
add it under a "Dev / docs / playground" section.
12+
13+
You should also update the heading of the latest (upcoming) version if your PR change merits
14+
it according to semantic versioning. For example, if your PR adds a breaking change, then you
15+
should change the heading of the (upcoming) version to include a major version bump.
16+
17+
-->
18+
# 6.0.0-beta.1
19+
20+
## @rjsf/bootstrap-4
21+
22+
- Package has been replaced with `@rjsf/react-bootstrap`. `react-boostrap` v1 / Bootstrap 4 are no longer supported in RJSF v6.
23+
24+
## @rjsf/material-ui
25+
26+
- Removed `@rjsf/material-ui` package. Material UI v4 (`@material-ui/core`) has been deprecated since September 2021. To use Material UI v5 (`@mui/core`) with RJSF, please use the `@rjsf/mui` theme instead.
27+
28+
## @rjsf/react-bootstrap
29+
30+
- Added new package to replace `@rjsf/bootstrap-4`
31+
- `react-bootstrap` peer dependency bumped to `^2.0.0`, corresponding to Bootstrap 5
32+
- CheckboxesWidget: Remove deprecated prop `custom`
33+
- IconButton: Remove deprecated `block` prop
34+
- RangeWidget: Use `FormRange` component
35+
- SelectWidget: Use new FormSelect component, remove `bsPrefix` prop to achieve correct styling
36+
37+
# 5.15.1
38+
39+
## @rjsf/core
40+
41+
- fix `getFieldNames`. Now correctly defines an array of primitives.
42+
43+
## @rjsf/validator-ajv6
44+
45+
- 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)
46+
47+
## @rjsf/validator-ajv8
48+
49+
- 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)
50+
51+
## Dev / docs / playground
52+
53+
- Updated the documentation to describe how to use the newly exposed `ajv` variable
54+
55+
# 5.15.0
56+
57+
## @rjsf/mui
58+
59+
- fix gap in text and select widget outlines when `"ui:label": false` is specified.
60+
61+
## @rjsf/utils
62+
63+
- Updated `resolveAllReferences()` to use own recurse list for each object properties, fixing [#3961](https://github.com/rjsf-team/react-jsonschema-form/issues/3961)
64+
- 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)
65+
66+
## Dev / playground
67+
68+
- add missing typescript project reference for `utils` in `validator-ajv6` and `validator-ajv8` packages tsconfigs
69+
- Added a dropdown for changing the `experimental_defaultFormStateBehavior.allOf` behaviour in the playground

packages/mui/test/__snapshots__/Array.test.tsx.snap

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2090,6 +2090,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-3:focus::-ms-input-p
20902090
onClick={[Function]}
20912091
>
20922092
<div
2093+
aria-controls=":r3:"
20932094
aria-expanded="false"
20942095
aria-haspopup="listbox"
20952096
aria-labelledby="root"
@@ -7118,7 +7119,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-4:focus::-ms-input-p
71187119
onClick={[Function]}
71197120
>
71207121
<div
7121-
aria-controls="mui-2"
7122+
aria-controls=":rc:"
71227123
aria-expanded="false"
71237124
aria-haspopup="listbox"
71247125
aria-labelledby="root-label root"
@@ -10471,7 +10472,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-4:focus::-ms-input-p
1047110472
onClick={[Function]}
1047210473
>
1047310474
<div
10474-
aria-controls="mui-4"
10475+
aria-controls=":ro:"
1047510476
aria-expanded="false"
1047610477
aria-haspopup="listbox"
1047710478
aria-labelledby="root-label root"
@@ -13824,7 +13825,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-4:focus::-ms-input-p
1382413825
onClick={[Function]}
1382513826
>
1382613827
<div
13827-
aria-controls="mui-3"
13828+
aria-controls=":ri:"
1382813829
aria-expanded="false"
1382913830
aria-haspopup="listbox"
1383013831
aria-labelledby="root-label root"
@@ -16908,7 +16909,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-4:focus::-ms-input-p
1690816909
onClick={[Function]}
1690916910
>
1691016911
<div
16911-
aria-controls="mui-5"
16912+
aria-controls=":ru:"
1691216913
aria-expanded="false"
1691316914
aria-haspopup="listbox"
1691416915
aria-labelledby="root-label root"

0 commit comments

Comments
 (0)