Skip to content

Commit 94b54dc

Browse files
authored
Merge changes in main to rjsf-v6 (#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 (#3976) fix: #3961 resolve all recurse list for object properties (#3981) fix gap in outline when label is hidden (#3984) Fix: Expose the internal `ajv` variable in the validator implementation classes (#3991) Fixes: #3972 indirectly by exposing the `ajv` variable for use in the issue Fix: Change FormHelperText usage with @mui/material to render divs (#4032) Fixes #4031 by switching the render component for `FormHelperText` to be `div` fix: Added support for anyOf/oneOf in uiSchema (#4055) Fixes #4039 by updating `MultiSchemaField` to properly support `anyOf`/`oneOf` arrays in the `uiSchema` Fix checkbox with 0 as a value was unselectable in antd (#4068) Fixed #4067 by properly dealing with enums that have 0 as a value Fix potential XSS in the preview button of FileWidget (#4065) Fix: Make 'ui:rows' option work with chakra-ui for textarea elements #4070 (#4078) Fix typo in ErrorsListTemplate example (#4087) Fix #4080 by moving `base64` encoder/decoder from `@rjsf/utils` to playground (#4093) Fix: Error state not resetting when schema changes (#4079) (#4103) Fix noImplicitAny error (#4106) Fixes: [WARNING] Duplicate key "include" in object literal [duplicate-object-key] (#4114) Fixes: Warning: validateDOMNesting(...): <p> cannot appear as a descendant of <p>. (#4117) Fix documentation to add missing Form imports (#4131) Fix #4127 to add missing `Form` import in documentation Fix: filename should be bold (#4125) Fix: use correct ConfigProvider context by using named imports (#4132) Fix 4134 by filtering out bad DOM props (#4140) Fixes: #4134 by updating the spreading of props onto the `TextField` to remove bad DOM fields Fixed Programmatic submit not working properly in Firefox (#4150) Fix Maximum call stack size exceeded in findSchemaDefinition (#4123) fix typos in constants.ts, Form.tsx (#4185) Fix mui imports in docs (#4218) fix] Resetting number fields should check the entire string when deciding to leave the input text alone (#4202) (#4220) Fixed performance issue with large schema dependencies and oneOf (#4203) (#4204) Fixed performance issue #4203 fix(core): field ui-options higher priority (#4212) fix(antd): disabled property of options of antd theme (#4216) fix: omitExtraData on submit and on validateForm (#4228) Fix IdSchema and PathSchema types (#4196) fixes #4236 Fix #4197 in various themes by showing empty option in SelectWidget when appropriate (#4200) fix: xss when rendering schema errors (#4256) fix 4215 and 4260 by updating optionsList() to take a uiSchema (#4263) Fixes #4215 and #4260 by supporting alternate titles for enums and anyOf/oneOf lists via the uiSchema Fixed Changelog (#4269)
1 parent 0ff0afa commit 94b54dc

File tree

154 files changed

+7862
-2822
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+7862
-2822
lines changed

.github/workflows/codeql.yml

+79
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: "CodeQL"
13+
14+
on:
15+
push:
16+
branches: [ "main" ]
17+
pull_request:
18+
branches: [ "main" ]
19+
schedule:
20+
- cron: '19 2 * * 1'
21+
22+
jobs:
23+
analyze:
24+
name: Analyze (${{ matrix.language }})
25+
# Runner size impacts CodeQL analysis time. To learn more, please see:
26+
# - https://gh.io/recommended-hardware-resources-for-running-codeql
27+
# - https://gh.io/supported-runners-and-hardware-resources
28+
# - https://gh.io/using-larger-runners (GitHub.com only)
29+
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
30+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
31+
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
32+
permissions:
33+
# required for all workflows
34+
security-events: write
35+
36+
# required to fetch internal or private CodeQL packs
37+
packages: read
38+
39+
# only required for workflows in private repositories
40+
actions: read
41+
contents: read
42+
43+
strategy:
44+
fail-fast: false
45+
matrix:
46+
include:
47+
- language: javascript-typescript
48+
build-mode: none
49+
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
50+
# Use `c-cpp` to analyze code written in C, C++ or both
51+
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
52+
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
53+
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
54+
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
55+
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
56+
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
57+
steps:
58+
- name: Checkout repository
59+
uses: actions/checkout@v4
60+
61+
# Initializes the CodeQL tools for scanning.
62+
- name: Initialize CodeQL
63+
uses: github/codeql-action/init@v3
64+
with:
65+
languages: ${{ matrix.language }}
66+
build-mode: ${{ matrix.build-mode }}
67+
# If you wish to specify custom queries, you can do so here or in a config file.
68+
# By default, queries listed here will override any specified in a config file.
69+
# Prefix the list here with "+" to use these queries and those in the config file.
70+
71+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
72+
# queries: security-extended,security-and-quality
73+
74+
# If the analyze step fails for one of the languages you are analyzing with
75+
# "We were unable to automatically build your code", modify the matrix above
76+
# to set the build mode to "manual" for that language. Then modify this step
77+
# to build your code.
78+
# ℹ️ Command-line programs to run using the OS shell.
79+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

CHANGELOG.md

+169-26
Original file line numberDiff line numberDiff line change
@@ -15,59 +15,201 @@ it according to semantic versioning. For example, if your PR adds a breaking cha
1515
should change the heading of the (upcoming) version to include a major version bump.
1616
1717
-->
18-
# 6.0.0-beta.1
1918

20-
## @rjsf/bootstrap-4
19+
# 5.20.1
20+
21+
## Dev / docs / playground
22+
23+
- Updated the peer dependencies to `5.20.x` due to types and API changes in `@rjsf/utils`
24+
25+
# 5.20.0
26+
27+
## @rjsf/core
28+
29+
- Support allowing raising errors from within a custom Widget [#2718](https://github.com/rjsf-team/react-jsonschema-form/issues/2718)
30+
- Updated `ArrayField`, `BooleanField` and `StringField` to call `optionsList()` with the additional `UiSchema` parameter, fixing [#4215](https://github.com/rjsf-team/react-jsonschema-form/issues/4215) and [#4260](https://github.com/rjsf-team/react-jsonschema-form/issues/4260)
31+
32+
## @rjsf/utils
33+
34+
- Updated the `WidgetProps` type to add `es?: ErrorSchema<T>, id?: string` to the params of the `onChange` handler function
35+
- Updated `UIOptionsBaseType` to add the new `enumNames` prop to support an alternate way to provide labels for `enum`s in a schema, fixing [#4215](https://github.com/rjsf-team/react-jsonschema-form/issues/4215)
36+
- Updated `optionsList()` to take an optional `uiSchema` that is used to extract alternate labels for `enum`s or `oneOf`/`anyOf` in a schema, fixing [#4215](https://github.com/rjsf-team/react-jsonschema-form/issues/4215) and [#4260](https://github.com/rjsf-team/react-jsonschema-form/issues/4260)
37+
- NOTE: The generics for `optionsList()` were expanded from `<S extends StrictRJSFSchema = RJSFSchema>` to `<S extends StrictRJSFSchema = RJSFSchema, T = any, F extends FormContextType = any>` to support the `UiSchema`.
38+
39+
## Dev / docs / playground
40+
41+
- Update the `custom-widget-fields.md` to add documentation for how to raise errors from a custom widget or field
42+
43+
# 5.19.4
44+
45+
## @rjsf/core
46+
47+
- Fix XSS when rendering schema validation errors [#4254](https://github.com/rjsf-team/react-jsonschema-form/issues/2718)
48+
- NOTE: This will have potential consequences if you are using the [translateString](https://rjsf-team.github.io/react-jsonschema-form/docs/api-reference/form-props/#translatestring) feature and are trying to render HTML. Switching to [Markdown](https://www.markdownguide.org/) will solve your problems.
49+
50+
## @rjsf/utils
51+
52+
- Updated the `ValidatorType` interface to add an optional `reset?: () => void` prop that can be implemented to reset a validator back to initial constructed state
53+
- Updated the `ParserValidator` to provide a `reset()` function that clears the schema map
54+
- Also updated the default translatable string to use `Markdown` rather than HTML tags since we now render them with `Markdown`
55+
56+
## @rjsf/validator-ajv8
57+
58+
- Updated the `AJV8Validator` to implement the `reset()` function to remove cached schemas in the `ajv` instance
59+
60+
## Dev / docs / playground
61+
62+
- Updated the `Validator` dropdown to add `AJV8 (discriminator)` which sets the AJV validator [discriminator](https://ajv.js.org/json-schema.html#discriminator) option to `true` to support testing schemas with that option in them
63+
64+
# 5.19.3
65+
66+
## @rjsf/antd
67+
68+
- SelectWidget now displays an empty option when appropriate, fixing [#4197](https://github.com/rjsf-team/react-jsonschema-form/issues/4197)
2169

22-
- Package has been replaced with `@rjsf/react-bootstrap`. `react-boostrap` v1 / Bootstrap 4 are no longer supported in RJSF v6.
70+
## @rjsf/chakra-ui
71+
72+
- SelectWidget now displays an empty option when appropriate, fixing [#4197](https://github.com/rjsf-team/react-jsonschema-form/issues/4197)
73+
74+
## @rjsf/fluentui-rc
75+
76+
- SelectWidget now displays an empty option when appropriate, fixing [#4197](https://github.com/rjsf-team/react-jsonschema-form/issues/4197)
2377

2478
## @rjsf/material-ui
2579

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.
80+
- SelectWidget now displays an empty option when appropriate, fixing [#4197](https://github.com/rjsf-team/react-jsonschema-form/issues/4197)
2781

28-
## @rjsf/react-bootstrap
82+
## @rjsf/mui
2983

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
84+
- SelectWidget now displays an empty option when appropriate, fixing [#4197](https://github.com/rjsf-team/react-jsonschema-form/issues/4197)
3685

37-
# 5.15.1
86+
## @rjsf/semantic-ui
87+
88+
- SelectWidget now displays an empty option when appropriate, fixing [#4197](https://github.com/rjsf-team/react-jsonschema-form/issues/4197)
89+
90+
# 5.19.2
3891

3992
## @rjsf/core
4093

41-
- fix `getFieldNames`. Now correctly defines an array of primitives.
94+
- Removed `.only` on tests that was accidentally added in `5.19.0`
95+
96+
# 5.19.1
97+
98+
## Dev / docs / playground
99+
100+
- Bumped the peer dependencies to `5.19.x` due to use of new API in `5.19.0`
101+
102+
# 5.19.0
103+
104+
## @rjsf/antd
105+
106+
- Updated `AltDateWidget` to use the new `dateRangeOptions()` function in `utils` to support relative Years and reversing the order of the Year choices
107+
108+
## @rjsf/chakra-ui
109+
110+
- Updated `AltDateWidget` to use the new `dateRangeOptions()` function in `utils` to support relative Years and reversing the order of the Year choices
111+
112+
## @rjsf/core
113+
114+
- Fixed case where `readOnly` from a JSON Schema was not applied in SchemaField ([#4236](https://github.com/rjsf-team/react-jsonschema-form/issues/4236))
115+
- Updated `AltDateWidget` to use the new `dateRangeOptions()` function in `utils` to support relative Years and reversing the order of the Year choices
116+
117+
## @rjsf/utils
118+
119+
- Added a new `dateRangeOptions()` function to implement relative Years in (via negative ranges) and reversing the order of the Year choices
120+
121+
## Dev / docs / playground
122+
123+
- Added documentation for the new `dateRangeOptions()` function as well as showing examples of using relative Years and reversed Year ordering
124+
125+
# 5.18.6
126+
127+
## @rjsf/antd
128+
129+
- Fix disabled property of options in CheckboxesWidget and RadioWidget ([#4216](https://github.com/rjsf-team/react-jsonschema-form/pull/4216))
130+
131+
## @rjsf/core
132+
133+
- Fixed `omitExtraData` not working in `onSubmit` and `validateForm`; fixing [#4187](https://github.com/rjsf-team/react-jsonschema-form/issues/4187), [#4165](https://github.com/rjsf-team/react-jsonschema-form/issues/4165) and [#4109](https://github.com/rjsf-team/react-jsonschema-form/issues/4109)
134+
135+
## @rjsf/utils
136+
137+
- Fix IdSchema and PathSchema types ([#4196](https://github.com/rjsf-team/react-jsonschema-form/pull/4196))
42138

43139
## @rjsf/validator-ajv6
44140

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)
141+
- Fix IdSchema and PathSchema types ([#4196](https://github.com/rjsf-team/react-jsonschema-form/pull/4196))
46142

47143
## @rjsf/validator-ajv8
48144

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)
145+
- Fix IdSchema and PathSchema types ([#4196](https://github.com/rjsf-team/react-jsonschema-form/pull/4196))
50146

51-
## Dev / docs / playground
147+
# 5.18.5
52148

53-
- Updated the documentation to describe how to use the newly exposed `ajv` variable
149+
## @rjsf/antd
54150

55-
# 5.15.0
151+
- Updated widgets to handle undefined `target` in `onFocus` and `onBlur` handlers
152+
153+
## @rjsf/bootstrap4
154+
155+
- Updated widgets to handle undefined `target` in `onFocus` and `onBlur` handlers
156+
157+
## @rjsf/chakra-ui
158+
159+
- Updated widgets to handle undefined `target` in `onFocus` and `onBlur` handlers
160+
161+
## @rjsf/core
162+
163+
- Fix case where NumberField would not properly reset the field when using programmatic form reset (#4202)[https://github.com/rjsf-team/react-jsonschema-form/issues/4202]
164+
- Updated widgets to handle undefined `target` in `onFocus` and `onBlur` handlers
165+
- Fix field disable or readonly property can't cover globalOptions corresponding property (#4212)[https://github.com/rjsf-team/react-jsonschema-form/pull/4212]
166+
- Added support for `default` values in `additionalProperties` in [#4199](https://github.com/rjsf-team/react-jsonschema-form/issues/4199), fixing [#3195](https://github.com/rjsf-team/react-jsonschema-form/issues/3915)
167+
168+
## @rjsf/fluent-ui
169+
170+
- Updated widgets to handle undefined `target` in `onFocus` and `onBlur` handlers
171+
172+
## @rjsf/fluentui-rc
173+
174+
- Updated widgets to handle undefined `target` in `onFocus` and `onBlur` handlers
175+
176+
## @rjsf/material-ui
177+
178+
- Updated widgets to handle undefined `target` in `onFocus` and `onBlur` handlers
56179

57180
## @rjsf/mui
58181

59-
- fix gap in text and select widget outlines when `"ui:label": false` is specified.
182+
- Updated widgets to handle undefined `target` in `onFocus` and `onBlur` handlers
60183

61-
## @rjsf/utils
184+
## @rjsf/semantic-ui
62185

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)
186+
- Updated widgets to handle undefined `target` in `onFocus` and `onBlur` handlers
65187

66-
## Dev / playground
188+
## @rjsf/validator-ajv6
67189

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
190+
- Improved performance issues with large schema dependencies and oneOf conditions [#4203](https://github.com/rjsf-team/react-jsonschema-form/issues/4203).
70191

192+
## @rjsf/validator-ajv8
193+
194+
- Improved performance issues with large schema dependencies and oneOf conditions [#4203](https://github.com/rjsf-team/react-jsonschema-form/issues/4203).
195+
196+
# 5.18.4
197+
198+
## Dev / docs / playground
199+
200+
- Fixed typo in `constants.ts`, `Form.tsx`
201+
202+
# 5.18.3
203+
204+
## @rjsf/semantic-ui
205+
206+
- Added support for version 2 in the `peerDependencies`
207+
208+
## Dev / docs / playground
209+
210+
- Bumped devDependencies on `react` to `18.x`
211+
- Fixed typo in `custom-widgets-fields.md` in the documentation
212+
- Updated the `LICENSE.md` to include the proper copyright dates and owner
71213

72214
# 5.18.2
73215

@@ -82,6 +224,7 @@ should change the heading of the (upcoming) version to include a major version b
82224
# 5.18.0
83225

84226
## @rjsf/antd
227+
85228
- 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)
86229

87230
## @rjsf/core
@@ -120,7 +263,7 @@ should change the heading of the (upcoming) version to include a major version b
120263

121264
## Dev / docs / playground
122265

123-
- [#4080](https://github.com/rjsf-team/react-jsonschema-form/issues/4080) - Moved the `base64` encoder/decoder object to the Playground package.
266+
- [#4080](https://github.com/rjsf-team/react-jsonschema-form/issues/4080) - Moved the `base64` encoder/decoder object to the Playground package.
124267
- Added test configuration and script to the Playground.
125268

126269
# 5.17.0

CHANGELOG_v6.md

+69
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

0 commit comments

Comments
 (0)