Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge changes in main to rjsf-v6 #4276

Merged
merged 101 commits into from
Aug 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
c4b9e47
fix(utils): direct lodash function import to improve bundling on libr…
JonaszJestem Nov 27, 2023
a8d37b7
v5.14.3 (#3979)
heath-freenome Nov 27, 2023
bc16e29
add missing typescript project reference for utils in validator-ajv6 …
zxbodya Nov 28, 2023
ac6b3b0
fix: #3961 resolve all recurse list for object properties (#3981)
cwendtxealth Nov 28, 2023
d89367e
Add the ability to parse defaults from `allOf` schema (#3969)
benjdlambert Nov 30, 2023
c5c2b27
mui: fix gap in outline when label is hidden (#3984)
drbild Dec 1, 2023
297dac0
Release 5.15.0 (#3986)
heath-freenome Dec 1, 2023
daa687a
Make getFieldNames correctly defines array of primitives (#3990)
Ariqun Dec 5, 2023
2061ce6
Fix: Expose the internal `ajv` variable in the validator implementati…
heath-freenome Dec 6, 2023
e8aa9e8
v5.15.1 (#3997)
heath-freenome Dec 8, 2023
39f6451
feat: pass down indexed title from array field (#4002)
Rozamo Dec 14, 2023
1de339b
chore(deps): bump actions/download-artifact from 3 to 4
dependabot[bot] Jan 1, 2024
e475057
chore(deps): bump actions/setup-python from 3 to 5
dependabot[bot] Jan 5, 2024
cd486d0
chore(deps): bump actions/upload-artifact from 3 to 4
dependabot[bot] Jan 5, 2024
21d1c55
chore(deps-dev): bump vite from 4.4.9 to 4.4.12
dependabot[bot] Jan 5, 2024
accbd16
Feat: Implements #297 request (#4004)
Shubhcoder Jan 7, 2024
db146ff
chore: Bumped packages using `npm run bump-all-packages` (#4006)
heath-freenome Jan 8, 2024
8c685b7
Update Form.tsx and make submit method public (#4029)
popmanhe Jan 8, 2024
93e7021
Fix: Change FormHelperText usage with @mui/material to render divs (#…
heath-freenome Jan 10, 2024
1bc40b0
Support file deletion for data-url (#4030)
yuki-js Jan 10, 2024
4d347fd
Release 5.16.0 (#4037)
heath-freenome Jan 11, 2024
4f8d080
Release 5.16.1 (#4041)
heath-freenome Jan 11, 2024
f31bef1
Enhancement(Share): Enhancement base64 encoding/decoding using UTF-8 …
orange-guo Jan 18, 2024
53b3c57
fix: Added support for anyOf/oneOf in uiSchema (#4055)
heath-freenome Jan 23, 2024
d58775b
chore(deps-dev): bump vite from 4.5.1 to 4.5.2
dependabot[bot] Jan 23, 2024
0274b86
Fix checkbox with 0 as a value was unselectable in antd (#4068)
heath-freenome Jan 29, 2024
ee2ac9b
Fix potential XSS in the preview button of FileWidget (#4065)
yuki-js Jan 30, 2024
46501e5
docs: update link to markdown-to-jsx homepage (#4071)
bartvanandel Jan 30, 2024
0782878
Release 5.17.0 (#4073)
heath-freenome Feb 1, 2024
67f9c48
Fix: Make 'ui:rows' option work with chakra-ui for textarea elements …
ldirer Feb 16, 2024
f724820
Fix typo in ErrorsListTemplate example (#4087)
vstenvik Feb 16, 2024
e2e37b7
Fix #4080 by moving `base64` encoder/decoder from `@rjsf/utils` to pl…
nickgros Feb 19, 2024
ce05ea2
Pass errorSchema from ArrayField to ArrayFieldTemplate (#4094)
vstenvik Feb 19, 2024
79bd49c
v5.17.1 (#4096)
heath-freenome Feb 19, 2024
c8f9df2
Feat: don't assign a default value of an empty field. (#3880) (#4085)
abdalla-rko Feb 21, 2024
158fc22
chore(deps-dev): bump ip from 2.0.0 to 2.0.1
dependabot[bot] Feb 21, 2024
f118157
Fix: Error state not resetting when schema changes (#4079) (#4103)
abdalla-rko Mar 1, 2024
234af1d
Fix noImplicitAny error (#4106)
orenf Mar 1, 2024
9f668ec
Update validation docs with correct require statement (#4108)
mpenndev Mar 1, 2024
af8932a
Fixes: [WARNING] Duplicate key "include" in object literal [duplicate…
orenf Mar 4, 2024
e4b8c24
Fixes: Warning: validateDOMNesting(...): <p> cannot appear as a desce…
orenf Mar 14, 2024
c70d81f
give instructions for material ui 5, not 4 (#4126)
burnettk Mar 15, 2024
f0619f7
Fix documentation to add missing Form imports (#4131)
heath-freenome Mar 16, 2024
bb2093d
Fix: filename should be bold (#4125)
joachimhagheim Mar 21, 2024
baffbf1
Skip populate function proposal in Experimental_ArrayMinItems (#4121)
MarekBodingerBA Mar 21, 2024
88a9407
Fix: use correct ConfigProvider context by using named imports (#4132)
momesana Mar 22, 2024
2ac8e94
Fix 4134 by filtering out bad DOM props (#4140)
heath-freenome Mar 22, 2024
677690a
v5.18.0 (#4141)
heath-freenome Mar 23, 2024
5e42a19
chore(deps): bump follow-redirects from 1.15.5 to 1.15.6
dependabot[bot] Mar 23, 2024
294b9e3
Release 5.18.1 (#4145)
heath-freenome Mar 23, 2024
1b6376d
chore(deps-dev): bump vite from 4.5.2 to 4.5.3
dependabot[bot] Apr 4, 2024
fcaacb7
chore(deps): bump express from 4.18.2 to 4.19.2
dependabot[bot] Apr 4, 2024
3e784ff
chore(deps): bump webpack-dev-middleware from 5.3.3 to 5.3.4
dependabot[bot] Apr 4, 2024
b705399
#3121 Fixed Programmatic submit not working properly in Firefox (#4150)
abdalla-rko Apr 5, 2024
509ef2d
Fix Maximum call stack size exceeded in findSchemaDefinition (#4123)
MarttiR Apr 9, 2024
9b9f0e6
v5.18.2 (#4157)
heath-freenome Apr 10, 2024
0b7290c
Upgrades React (#4107)
orenf Apr 19, 2024
a487c72
Add support back for semantic version 1 via peerdependencies (#4169)
heath-freenome Apr 19, 2024
b8f700a
Create codeql.yml (#4170)
heath-freenome Apr 19, 2024
a8b0f56
Update LICENSE.md (#4174)
svdoever Apr 24, 2024
1e3acd9
Update custom-widgets-fields.md (#4171)
enzoferey Apr 25, 2024
ef5afed
chore(deps-dev): bump gh-pages from 3.2.3 to 5.0.0
dependabot[bot] Apr 25, 2024
e7b8277
Release 5.18.3 (#4175)
heath-freenome Apr 26, 2024
6f3a837
Add missing angle bracket (#4178)
skyf0l May 10, 2024
38f7d32
fix typos in constants.ts, Form.tsx (#4185)
HanJaeJoon May 17, 2024
f0d03e0
chore(deps): bump mkdocs from 1.5.3 to 1.6.0
dependabot[bot] May 17, 2024
e0f70a0
chore(deps-dev): bump ejs from 3.1.9 to 3.1.10
dependabot[bot] May 17, 2024
eec280a
v5.18.4 (#4195)
heath-freenome May 17, 2024
ec932db
feat: treat default field in additionalProperties (#4199)
tomatommy-bs May 24, 2024
42a7c1c
Passes missing uiSchema prop to Form component. (#4219)
ordinathorreur Jun 14, 2024
17f777b
Remove duplicate mention of hideError (#4211)
dzhus Jun 14, 2024
c19cf59
Fix mui imports in docs (#4218)
kachkaev Jun 21, 2024
6e9c668
[fix] Resetting number fields should check the entire string when dec…
nickgros Jun 21, 2024
76e57da
chore(deps): bump ws from 7.5.9 to 7.5.10
dependabot[bot] Jun 21, 2024
cbb8fe7
chore(deps): bump braces from 3.0.2 to 3.0.3
dependabot[bot] Jun 21, 2024
7bcfc4a
Bug: Fixed performance issue with large schema dependencies and oneOf…
abdalla-rko Jun 21, 2024
f8378c4
Handle undefined target in onBlur and onFocus handlers (#4227)
heath-freenome Jun 24, 2024
86048e3
fix(core): field ui-options higher priority (#4212)
shaddollxz Jun 25, 2024
40ea3c4
Release 5.18.5 (#4230)
heath-freenome Jun 26, 2024
3d851f4
fix(antd): disabled property of options of antd theme (#4216)
KingMario Jun 28, 2024
b1cf91d
fix: omitExtraData on submit and on validateForm (#4228)
helen-m-lin Jul 1, 2024
d08cf99
Fix IdSchema and PathSchema types (#4196)
solimant Jul 2, 2024
3fc9eba
SchemaField: Only use nullish coalescing with uiOptions when computin…
nickgros Jul 2, 2024
307a162
v5.18.6 (#4237)
heath-freenome Jul 2, 2024
ca89a64
(feature) Add new relative Years feature to AltDateWidget (#4239)
heath-freenome Jul 3, 2024
3aca5fa
v5.19.0 (#4240)
heath-freenome Jul 3, 2024
4f83fb8
Bumped peer dependencies to 5.19.x due to new API used from utils (#4…
heath-freenome Jul 3, 2024
659798f
Release 5.19.1 (#4242)
heath-freenome Jul 5, 2024
a2bd3eb
Removed .only on a core test (#4243)
heath-freenome Jul 5, 2024
1338ded
v5.19.2 (#4245)
heath-freenome Jul 5, 2024
b56da64
Fix #4197 in various themes by showing empty option in SelectWidget w…
nickgros Jul 8, 2024
7f54d45
Release 5.19.3 (#4247)
heath-freenome Jul 9, 2024
a2dc1cd
feature: Added better support for testing with AJV having discriminat…
heath-freenome Jul 27, 2024
67e5ee6
fix: xss when rendering schema errors (#4256)
davidli16 Jul 27, 2024
16b33c0
v5.19.4 (#4258)
heath-freenome Jul 27, 2024
4d3094c
Feat: Allow raising errors from within a custom whatever(#2718) (#4188)
abdalla-rko Aug 3, 2024
63a860e
fix 4215 and 4260 by updating optionsList() to take a uiSchema (#4263)
heath-freenome Aug 5, 2024
0e57358
v5.20.0 (#4264)
heath-freenome Aug 8, 2024
11fae12
Release 5.20.1 (#4268)
heath-freenome Aug 8, 2024
a7b25e8
Fixed Changelog (#4269)
heath-freenome Aug 9, 2024
49f07cf
Merge branch 'main' of https://github.com/rjsf-team/react-jsonschema-…
nickgros Aug 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 79 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '19 2 * * 1'

jobs:
analyze:
name: Analyze (${{ matrix.language }})
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
# required for all workflows
security-events: write

# required to fetch internal or private CodeQL packs
packages: read

# only required for workflows in private repositories
actions: read
contents: read

strategy:
fail-fast: false
matrix:
include:
- language: javascript-typescript
build-mode: none
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
# 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
steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# 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
# queries: security-extended,security-and-quality

# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
195 changes: 169 additions & 26 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,59 +15,201 @@ it according to semantic versioning. For example, if your PR adds a breaking cha
should change the heading of the (upcoming) version to include a major version bump.

-->
# 6.0.0-beta.1

## @rjsf/bootstrap-4
# 5.20.1

## Dev / docs / playground

- Updated the peer dependencies to `5.20.x` due to types and API changes in `@rjsf/utils`

# 5.20.0

## @rjsf/core

- Support allowing raising errors from within a custom Widget [#2718](https://github.com/rjsf-team/react-jsonschema-form/issues/2718)
- 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)

## @rjsf/utils

- Updated the `WidgetProps` type to add `es?: ErrorSchema<T>, id?: string` to the params of the `onChange` handler function
- 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)
- 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)
- 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`.

## Dev / docs / playground

- Update the `custom-widget-fields.md` to add documentation for how to raise errors from a custom widget or field

# 5.19.4

## @rjsf/core

- Fix XSS when rendering schema validation errors [#4254](https://github.com/rjsf-team/react-jsonschema-form/issues/2718)
- 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.

## @rjsf/utils

- Updated the `ValidatorType` interface to add an optional `reset?: () => void` prop that can be implemented to reset a validator back to initial constructed state
- Updated the `ParserValidator` to provide a `reset()` function that clears the schema map
- Also updated the default translatable string to use `Markdown` rather than HTML tags since we now render them with `Markdown`

## @rjsf/validator-ajv8

- Updated the `AJV8Validator` to implement the `reset()` function to remove cached schemas in the `ajv` instance

## Dev / docs / playground

- 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

# 5.19.3

## @rjsf/antd

- SelectWidget now displays an empty option when appropriate, fixing [#4197](https://github.com/rjsf-team/react-jsonschema-form/issues/4197)

- Package has been replaced with `@rjsf/react-bootstrap`. `react-boostrap` v1 / Bootstrap 4 are no longer supported in RJSF v6.
## @rjsf/chakra-ui

- SelectWidget now displays an empty option when appropriate, fixing [#4197](https://github.com/rjsf-team/react-jsonschema-form/issues/4197)

## @rjsf/fluentui-rc

- SelectWidget now displays an empty option when appropriate, fixing [#4197](https://github.com/rjsf-team/react-jsonschema-form/issues/4197)

## @rjsf/material-ui

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

## @rjsf/react-bootstrap
## @rjsf/mui

- Added new package to replace `@rjsf/bootstrap-4`
- `react-bootstrap` peer dependency bumped to `^2.0.0`, corresponding to Bootstrap 5
- CheckboxesWidget: Remove deprecated prop `custom`
- IconButton: Remove deprecated `block` prop
- RangeWidget: Use `FormRange` component
- SelectWidget: Use new FormSelect component, remove `bsPrefix` prop to achieve correct styling
- SelectWidget now displays an empty option when appropriate, fixing [#4197](https://github.com/rjsf-team/react-jsonschema-form/issues/4197)

# 5.15.1
## @rjsf/semantic-ui

- SelectWidget now displays an empty option when appropriate, fixing [#4197](https://github.com/rjsf-team/react-jsonschema-form/issues/4197)

# 5.19.2

## @rjsf/core

- fix `getFieldNames`. Now correctly defines an array of primitives.
- Removed `.only` on tests that was accidentally added in `5.19.0`

# 5.19.1

## Dev / docs / playground

- Bumped the peer dependencies to `5.19.x` due to use of new API in `5.19.0`

# 5.19.0

## @rjsf/antd

- Updated `AltDateWidget` to use the new `dateRangeOptions()` function in `utils` to support relative Years and reversing the order of the Year choices

## @rjsf/chakra-ui

- Updated `AltDateWidget` to use the new `dateRangeOptions()` function in `utils` to support relative Years and reversing the order of the Year choices

## @rjsf/core

- Fixed case where `readOnly` from a JSON Schema was not applied in SchemaField ([#4236](https://github.com/rjsf-team/react-jsonschema-form/issues/4236))
- Updated `AltDateWidget` to use the new `dateRangeOptions()` function in `utils` to support relative Years and reversing the order of the Year choices

## @rjsf/utils

- Added a new `dateRangeOptions()` function to implement relative Years in (via negative ranges) and reversing the order of the Year choices

## Dev / docs / playground

- Added documentation for the new `dateRangeOptions()` function as well as showing examples of using relative Years and reversed Year ordering

# 5.18.6

## @rjsf/antd

- Fix disabled property of options in CheckboxesWidget and RadioWidget ([#4216](https://github.com/rjsf-team/react-jsonschema-form/pull/4216))

## @rjsf/core

- 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)

## @rjsf/utils

- Fix IdSchema and PathSchema types ([#4196](https://github.com/rjsf-team/react-jsonschema-form/pull/4196))

## @rjsf/validator-ajv6

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

## @rjsf/validator-ajv8

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

## Dev / docs / playground
# 5.18.5

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

# 5.15.0
- Updated widgets to handle undefined `target` in `onFocus` and `onBlur` handlers

## @rjsf/bootstrap4

- Updated widgets to handle undefined `target` in `onFocus` and `onBlur` handlers

## @rjsf/chakra-ui

- Updated widgets to handle undefined `target` in `onFocus` and `onBlur` handlers

## @rjsf/core

- 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]
- Updated widgets to handle undefined `target` in `onFocus` and `onBlur` handlers
- Fix field disable or readonly property can't cover globalOptions corresponding property (#4212)[https://github.com/rjsf-team/react-jsonschema-form/pull/4212]
- 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)

## @rjsf/fluent-ui

- Updated widgets to handle undefined `target` in `onFocus` and `onBlur` handlers

## @rjsf/fluentui-rc

- Updated widgets to handle undefined `target` in `onFocus` and `onBlur` handlers

## @rjsf/material-ui

- Updated widgets to handle undefined `target` in `onFocus` and `onBlur` handlers

## @rjsf/mui

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

## @rjsf/utils
## @rjsf/semantic-ui

- Updated `resolveAllReferences()` to use own recurse list for each object properties, fixing [#3961](https://github.com/rjsf-team/react-jsonschema-form/issues/3961)
- 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)
- Updated widgets to handle undefined `target` in `onFocus` and `onBlur` handlers

## Dev / playground
## @rjsf/validator-ajv6

- add missing typescript project reference for `utils` in `validator-ajv6` and `validator-ajv8` packages tsconfigs
- Added a dropdown for changing the `experimental_defaultFormStateBehavior.allOf` behaviour in the playground
- Improved performance issues with large schema dependencies and oneOf conditions [#4203](https://github.com/rjsf-team/react-jsonschema-form/issues/4203).

## @rjsf/validator-ajv8

- Improved performance issues with large schema dependencies and oneOf conditions [#4203](https://github.com/rjsf-team/react-jsonschema-form/issues/4203).

# 5.18.4

## Dev / docs / playground

- Fixed typo in `constants.ts`, `Form.tsx`

# 5.18.3

## @rjsf/semantic-ui

- Added support for version 2 in the `peerDependencies`

## Dev / docs / playground

- Bumped devDependencies on `react` to `18.x`
- Fixed typo in `custom-widgets-fields.md` in the documentation
- Updated the `LICENSE.md` to include the proper copyright dates and owner

# 5.18.2

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

## @rjsf/antd

- 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)

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

## Dev / docs / playground

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

# 5.17.0
Expand Down
69 changes: 69 additions & 0 deletions CHANGELOG_v6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<!--

INSTRUCTIONS:

For each PR, add a changelog entry that describes what your PR does. Add it to the heading
for the appropriate package it modifies and include it in this format:
- [Description] ([Link to PR])

If your PR affects multiple packages, list it multiple times under headings for each package.
If it affects more general things such as dependency updates or non-package-specific changes,
add it under a "Dev / docs / playground" section.

You should also update the heading of the latest (upcoming) version if your PR change merits
it according to semantic versioning. For example, if your PR adds a breaking change, then you
should change the heading of the (upcoming) version to include a major version bump.

-->
# 6.0.0-beta.1

## @rjsf/bootstrap-4

- Package has been replaced with `@rjsf/react-bootstrap`. `react-boostrap` v1 / Bootstrap 4 are no longer supported in RJSF v6.

## @rjsf/material-ui

- 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.

## @rjsf/react-bootstrap

- Added new package to replace `@rjsf/bootstrap-4`
- `react-bootstrap` peer dependency bumped to `^2.0.0`, corresponding to Bootstrap 5
- CheckboxesWidget: Remove deprecated prop `custom`
- IconButton: Remove deprecated `block` prop
- RangeWidget: Use `FormRange` component
- SelectWidget: Use new FormSelect component, remove `bsPrefix` prop to achieve correct styling

# 5.15.1

## @rjsf/core

- fix `getFieldNames`. Now correctly defines an array of primitives.

## @rjsf/validator-ajv6

- 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)

## @rjsf/validator-ajv8

- 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)

## Dev / docs / playground

- Updated the documentation to describe how to use the newly exposed `ajv` variable

# 5.15.0

## @rjsf/mui

- fix gap in text and select widget outlines when `"ui:label": false` is specified.

## @rjsf/utils

- Updated `resolveAllReferences()` to use own recurse list for each object properties, fixing [#3961](https://github.com/rjsf-team/react-jsonschema-form/issues/3961)
- 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)

## Dev / playground

- add missing typescript project reference for `utils` in `validator-ajv6` and `validator-ajv8` packages tsconfigs
- Added a dropdown for changing the `experimental_defaultFormStateBehavior.allOf` behaviour in the playground
Loading