Skip to content

Merge the long-lived RJSF v5 branch to master #3055

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

Merged
merged 82 commits into from
Aug 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
a3f1a13
Packages/utils (#2863)
heath-freenome May 31, 2022
9ac0f3e
Packages/utils/schema (#2877)
heath-freenome Jun 24, 2022
67a828a
Refactored schema to support running schema tests from other packages…
heath-freenome Jul 1, 2022
188e038
Validator ajv6 (#2891)
heath-freenome Jul 1, 2022
704799f
Update utils based on core refactor and update package.jsons (#2903)
heath-freenome Jul 8, 2022
8fc91a3
Updated semantic-ui theme to use new @rjsf/utils and @rjsf/validator …
heath-freenome Jul 14, 2022
afc3066
Added ajvOptionsOverrides to support user-provided AJV options overri…
heath-freenome Jul 15, 2022
a159d6f
Optimized and updated imports in core package.json (#2931)
heath-freenome Jul 15, 2022
5239b9e
Added support for node 16, formatting and linting (validator-ajv6) (#…
heath-freenome Jul 20, 2022
7a7030c
Added support for node 16, formatting and linting (utils) (#2933)
heath-freenome Jul 20, 2022
3a74f0a
Added support for node 16, formatting and linting (bootstrap-4) (#2936)
heath-freenome Jul 20, 2022
7346cb8
Added support for node 16, formatting and linting (fluent-ui) (#2938)
heath-freenome Jul 20, 2022
28d3b1f
Added support for node 16, formatting and linting (semantic-ui) (#2939)
heath-freenome Jul 20, 2022
5cf731d
Added support for node 16, formatting and linting (#2937)
heath-freenome Jul 20, 2022
06577e4
Added support for node 16, formatting and linting (antd) (#2935)
heath-freenome Jul 20, 2022
2ec6d55
Updated the playground to allow a validator selection (#2941)
heath-freenome Jul 20, 2022
81ae0ff
Split out material-ui v5 theme as @rjsf/mui (#2948)
heath-freenome Jul 22, 2022
e0d32f4
Made @rjsf/material-ui only be for Material UI 4 (#2949)
heath-freenome Jul 22, 2022
fede7a0
Get node 16 build working, centralize lint configs and switch to dts-…
heath-freenome Jul 22, 2022
228f989
Bumped the dependencies for semantic-ui (#2972)
heath-freenome Jul 28, 2022
85cf841
Bump dependencies for both material-ui themes (#2971)
heath-freenome Jul 28, 2022
c3b3cd5
Bumped fluent-ui dependencies (#2970)
heath-freenome Jul 28, 2022
77f4006
Bumping dependencies for utils (#2969)
heath-freenome Jul 28, 2022
1f89230
Bumping dependencies for core (#2968)
heath-freenome Jul 28, 2022
d3758c2
Bumped the dependencies for bootstrap-4 (#2967)
heath-freenome Jul 28, 2022
ee03eba
Bumped some of the dependencies for chakra-ui (#2965)
heath-freenome Jul 28, 2022
bd48e3e
Upgraded to latest antd code (#2963)
heath-freenome Jul 28, 2022
d44538a
Switched playground to webpack 5 and other small fixes (#2958)
heath-freenome Jul 28, 2022
13dbc5f
Update package-locks (#2973)
heath-freenome Jul 28, 2022
f3834c1
Updated documentation for the v5 release (#2974)
heath-freenome Aug 1, 2022
090a6c4
Fix the docs for formElement in Form (#2983)
heath-freenome Aug 2, 2022
6825259
fix: core SubmitButton button option props
jacqueswho Aug 4, 2022
16458ea
chore: remove duplicate settings from semantic-ui package.json
jacqueswho Aug 4, 2022
0817205
fix: missing error class on semantic-ui fields
jacqueswho Aug 4, 2022
2b16bcf
Consolidate templates into a single location in registry (#2981)
heath-freenome Aug 4, 2022
4cd0594
Prepare utils and tests for upcoming BaseInputTemplate work (#2986)
heath-freenome Aug 5, 2022
ff7a929
Implement BaseInputTemplate in core (#2987)
heath-freenome Aug 5, 2022
c62b39c
Remove Node 12, use Node 16 as default engine, add Node 18 to build (…
jimmycallin Aug 6, 2022
8667661
Implement BaseInputTemplate in bootstrap-4 (#2990)
heath-freenome Aug 7, 2022
7c3f935
Implement BaseInputTemplate in chakra-ui (#2991)
heath-freenome Aug 7, 2022
83c13bc
Implement BaseInputTemplate in fluent-ui (#2992)
heath-freenome Aug 7, 2022
b03b51d
Implement BaseInputTemplate in material-ui (#2993)
heath-freenome Aug 7, 2022
273fdcc
Implement BaseInputTemplate in mui (#2994)
heath-freenome Aug 7, 2022
57c7a1e
Implement BaseInputTemplate in semantic-ui (#2995)
heath-freenome Aug 7, 2022
3146c1e
Implement BaseInputTemplate in antd (#2989)
heath-freenome Aug 7, 2022
7ff9914
Add precommit script to all packages missing it (#3004)
heath-freenome Aug 7, 2022
f58817b
Remove unnecessary lodash uses (#2997)
jimmycallin Aug 10, 2022
5a0070e
Refactored the ArrayFieldTemplate into 4 templates (#3001)
heath-freenome Aug 10, 2022
5335980
add nx to monorepo (#2998)
ahkhanjani Aug 11, 2022
2c37984
Migrate core widget folder to typescript (#3006)
jimmycallin Aug 12, 2022
f5d2090
fix : semantic-ui error class on fields (#3009)
jacqueswho Aug 12, 2022
a309668
Converted core fields to Typescript (#3007)
heath-freenome Aug 12, 2022
3a20e5f
Add getTemplate() function to utils (#3018)
heath-freenome Aug 13, 2022
8959603
Moved buttons into the registry.templates under ButtonTemplates (#3014)
heath-freenome Aug 17, 2022
4ded3bb
Bump dependencies in all packages (#3024)
heath-freenome Aug 18, 2022
bc5d036
fix(@rjsf/core): custom field that is any of displays twice (#2890)
truh Aug 19, 2022
e089743
Use ui:emptyValue for SelectWidget (#3026)
heath-freenome Aug 19, 2022
9430c42
Fixed Form and withTheme to properly merge ButtonTemplates (#3027)
heath-freenome Aug 19, 2022
97e0f14
fix(semantic-ui): update main field (#3022)
bluwy Aug 19, 2022
1f989fe
backport PR #2631 to take into account additionalProperties set to fa…
Lausselloic Aug 19, 2022
8d70b0e
Convert NullField and NumberField to functional components (#3030)
heath-freenome Aug 22, 2022
d4959c6
Migrate altdatewidget to functional component (#3013)
jimmycallin Aug 22, 2022
7d4272e
Migrate filewidget to functional component (#3017)
jimmycallin Aug 22, 2022
1ef14e2
Updated main package.json (#3033)
heath-freenome Aug 22, 2022
6eb083f
Setup react hooks linting (#3034)
jimmycallin Aug 22, 2022
f36c6ea
Improve performance by wrapping event handlers in useCallback in rjsf…
jimmycallin Aug 23, 2022
8cc975c
Implemented classNames in all theme where it was missing (#3032)
heath-freenome Aug 23, 2022
7d98082
Remove enumNames (#3031)
nickgros Aug 23, 2022
2cf1a44
Reimplement fix originally in #2199 (#3039)
heath-freenome Aug 24, 2022
98845f3
Fix #2962 to properly build esm version for antd (#3044)
heath-freenome Aug 25, 2022
63e1827
Fix hidden widget in several themes and SelectWidget in bootstrap-4 (…
heath-freenome Aug 25, 2022
e3bc6d9
Properly pass formContext to SchemaField (#3040)
heath-freenome Aug 25, 2022
84a5561
Revert removing enumnames (#3042)
nickgros Aug 26, 2022
c1e4123
Feature: Add new prop duplicateKeySuffixSeparator for additionalPrope…
nickgros Aug 26, 2022
c37a34b
Fixed #1596 by adapting the fix from #2002 into rjsf v5 (#3047)
heath-freenome Aug 26, 2022
9a15ea2
Restored uiSchema.classNames with deprecation warning (#3041)
heath-freenome Aug 26, 2022
2d35d8a
Reimplement #1755 and and #2460 in new Form.tsx (#3052)
heath-freenome Aug 27, 2022
737b3bf
Update documentation for template consolidation work (#3028)
heath-freenome Aug 27, 2022
3c686aa
Fixed a few warnings in material ui tests (#3054)
heath-freenome Aug 27, 2022
49cd078
Updated dependencies to latest in preparation for beta release (#3053)
heath-freenome Aug 27, 2022
609cc46
- Added `htmlType` to the `SubmitButton` in the `antd` theme to ensur…
heath-freenome Aug 27, 2022
5133140
- Adding back 12.x to the `ci.yml` to allow build to be made
heath-freenome Aug 27, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
34 changes: 34 additions & 0 deletions .eslintrc-javascript
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"extends": "eslint:recommended",
"parser": "@babel/eslint-parser",
"parserOptions": {
"babelOptions": {
"presets": ["@babel/preset-react"]
}
},
"rules": {
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 2,
"react/jsx-tag-spacing": [1, {
"beforeSelfClosing": "always"
}],
"curly": [2],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"comma-dangle": [0],
"no-unused-vars": [2, {
"vars": "all",
"args": "none",
"ignoreRestSiblings": true
}],
"no-console": [0],
"object-curly-spacing": [2, "always"],
"keyword-spacing": ["error"]
},
"env": {
"es6": true,
"browser": true,
"node": true
}
}
42 changes: 42 additions & 0 deletions .eslintrc-typescript
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended"
],
"rules": {
"react/prop-types": 0,
"react/no-find-dom-node": 0,
"react/display-name": 0,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 2,
"react/jsx-tag-spacing": [1, {
"beforeSelfClosing": "always"
}],
"curly": [2],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"comma-dangle": [0],
"@typescript-eslint/no-unused-vars": [2, {
"vars": "all",
"args": "none",
"ignoreRestSiblings": true
}],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"no-console": [0],
"object-curly-spacing": [2, "always"],
"keyword-spacing": ["error"],
"no-prototype-builtins": "warn",
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-var-requires": "warn"
},
"env": {
"es6": true,
"browser": true,
"node": true
}
}
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ name: CI

on:
push:
branches: [ master ]
branches: [ master, rjsf-v5 ]
pull_request:
branches: [ master ]
branches: [ master, rjsf-v5 ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x]
node-version: [12.x, 14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -22,7 +22,7 @@ jobs:
- run: npm ci
- run: npm run lint
- run: npm run cs-check

- name: Build with Netlify badge
if: github.ref != 'refs/heads/master'
run: npm run build
Expand All @@ -31,14 +31,14 @@ jobs:
- name: Build
if: github.ref == 'refs/heads/master'
run: npm run build
- if: matrix.node-version == '14.x'

- if: matrix.node-version == '16.x'
uses: actions/upload-artifact@v2
with:
name: dist
path: packages/playground/build
- run: npm test

deploy_preview:
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/master'
Expand All @@ -58,7 +58,7 @@ jobs:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}

deploy_playground:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
Expand All @@ -78,7 +78,7 @@ jobs:
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# deploy_canary:
# runs-on: ubuntu-latest
# if: github.ref == 'refs/heads/master'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 14.x
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 16.x
- run: npm ci
- run: npm run build
- run: npm test
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ $RECYCLE.BIN/

# Windows shortcuts
*.lnk
.rts2_**

# End of https://www.gitignore.io/api/osx,node,linux,windows

Expand All @@ -127,10 +128,12 @@ yarn.lock
.vscode
.idea
*.iml
.editorconfig

# Code coverage
coverage
.nyc_output

venv
*.orig
out/
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
# Hopefully this disables husky on github CI
[ -n "$CI" ] && exit 0
npm run pre-commit:husky
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
16
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
16
5 changes: 5 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bracketSameLine: false
trailingComma: es5
useTabs: false
semi: true
tabWidth: 2
95 changes: 93 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,98 @@ 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.

-->
# v5.0.0 (coming soon)
# v5.0.0-beta.1

## Global changes across all themes:
- Node 16 is now the default node engine for all packages, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2687)
- Refactored all themes to use the new `@rjsf/utils` library functions and types
- Refactored the individual theme forms to consolidate `templates` as part of the fix for https://github.com/rjsf-team/react-jsonschema-form/issues/2526
- All the work implementing the `BaseInputTemplate` should fix (https://github.com/rjsf-team/react-jsonschema-form/issues/2926, https://github.com/rjsf-team/react-jsonschema-form/issues/2889, https://github.com/rjsf-team/react-jsonschema-form/issues/2875, https://github.com/rjsf-team/react-jsonschema-form/issues/2223)
- Also made the display of `title` and `description` consistent across themes, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2481, https://github.com/rjsf-team/react-jsonschema-form/issues/2363, https://github.com/rjsf-team/react-jsonschema-form/issues/2219)
- This change also ensures that all templates are properly exported, resolving (https://github.com/rjsf-team/react-jsonschema-form/issues/2365)
- Bumped most devDependencies to the latest versions where possible
- Switched all repos `package.json` and `package-lock.json` files to be built and maintained by Node 16.
- Adding button templates help to change text for buttons (https://github.com/rjsf-team/react-jsonschema-form/issues/2082, https://github.com/rjsf-team/react-jsonschema-form/issues/2357)

## @rjsf/utils
- New package created by refactoring and converting to Typescript the `utils.js` file from `core` into independent functions.
- Resolves (https://github.com/rjsf-team/react-jsonschema-form/issues/1655, https://github.com/rjsf-team/react-jsonschema-form/issues/2480, https://github.com/rjsf-team/react-jsonschema-form/issues/2341)
- Updated `types` from `core` in `utils` to better match the implementation across all themes
- Included adding a bunch of new types for existing and new features
- The type updates should fix (https://github.com/rjsf-team/react-jsonschema-form/issues/2871, https://github.com/rjsf-team/react-jsonschema-form/issues/2673, https://github.com/rjsf-team/react-jsonschema-form/issues/2347, https://github.com/rjsf-team/react-jsonschema-form/issues/2186)
- Clear errors on `formData` change when `liveOmit=true` when "additionalProperties: false" [issue 1507](https://github.com/rjsf-team/react-jsonschema-form/issues/1507) (https://github.com/rjsf-team/react-jsonschema-form/pull/2631)

## @rjsf/validator-ajv6
- New package created by refactoring and converting to Typescript the `validator.js` file from `core` into independent functions as well as a class that implements the new `ValidatorType` interface.
- [#2693](https://github.com/rjsf-team/react-jsonschema-form/issues/2693).
- Added support for customizing the options passed to the creation of the `ajv` instance.

## @rjsf/validator-ajv6
- A **BREAKING CHANGE** to `toErrorList()` was made so that it takes `fieldPath: string[]` rather than `fieldName='root'` as part of the fix to (https://github.com/rjsf-team/react-jsonschema-form/issues/1596)
- The returned `errors` also now adds `property` from the `fieldPath` along with the proper path from the `property` to the `stack` message, making it consistent with the AJV errors.
- Previously the `stack` attribute would say `root: error message`; now it says `. error message`
- In addition, the extra information provided by AJV is no longer lost from the `errors` when merged with custom validation, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/1596).

## @rjsf/core
- Converted core to Typescript (https://github.com/rjsf-team/react-jsonschema-form/issues/583)
- `ui:emptyValue` now works with selects (https://github.com/rjsf-team/react-jsonschema-form/issues/1041)
- Refactoring `utils.js` into the new `@rjsf/utils` fixes (https://github.com/rjsf-team/react-jsonschema-form/issues/2719)
- **BREAKING CHANGE** Fix overriding core submit button className (https://github.com/rjsf-team/react-jsonschema-form/issues/2979)
- Fix `ui:field` with anyOf or oneOf no longer rendered twice (#2890)
- **BREAKING CHANGE** Fixed `anyOf` and `oneOf` getting incorrect, potentially duplicate ids when combined with array (https://github.com/rjsf-team/react-jsonschema-form/issues/2197)
- `formContext` is now passed properly to `SchemaField`, fixes (https://github.com/rjsf-team/react-jsonschema-form/issues/2394, https://github.com/rjsf-team/react-jsonschema-form/issues/2274)
- Added `ui:duplicateKeySuffixSeparator` to customize how duplicate object keys are renamed when using `additionalProperties`.
- The `extraErrors` are now consistently appended onto the end of the schema validation-based `errors` information that is returned via the `onErrors()` callback when submit fails.
- In addition, the extra information provided by AJV is no longer stripped from the `errors` during the merge process, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/1596).
- Fixed id generation for `RadioWidget` to no longer use random numbers fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2461)
- Correctly call the `onChange` handler in the new set of props if it changed, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/1708).
- Fixed race condition for `onChange` when `formData` is controlled prop, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/513),

## @rjsf/antd
- Fix esm build to use `@rollup/plugin-replace` to replace `antd/lib` and `rc-picker/lib` with `antd/es` and `rc-picker/es` respectively, fixing (https://github.com/rjsf-team/react-jsonschema-form/issues/2962)

## @rjsf/bootstrap-4
- Bootstrap-4 `withTheme` customizations should work properly now (https://github.com/rjsf-team/react-jsonschema-form/issues/2058)
- `ArrayFieldTemplate` refactor seems to have fixed https://github.com/rjsf-team/react-jsonschema-form/issues/2775
- Fix issues with `SelectField` (https://github.com/rjsf-team/react-jsonschema-form/issues/2616, https://github.com/rjsf-team/react-jsonschema-form/issues/2875)

## @rjsf/chakra-ui
- Properly handle the hidden field in this theme (https://github.com/rjsf-team/react-jsonschema-form/issues/2571)

## @rjsf/material-ui
- The theme for Material UI version 5 (i.e. `@rjsf/mui`) was split out of the theme for version 4 (i.e. `@rjsf/material-ui`) to resolve the following issues:
- [#2762](https://github.com/rjsf-team/react-jsonschema-form/issues/2762)
- [#2858](https://github.com/rjsf-team/react-jsonschema-form/issues/2858)
- [#2905](https://github.com/rjsf-team/react-jsonschema-form/issues/2905)
- [#2945](https://github.com/rjsf-team/react-jsonschema-form/issues/2945)
- [#2774](https://github.com/rjsf-team/react-jsonschema-form/issues/2774)
- Material-UI TextWidget now respects `inputType` in uiSchema (https://github.com/rjsf-team/react-jsonschema-form/issues/2057)
- Also respects `step` for `number` type (https://github.com/rjsf-team/react-jsonschema-form/issues/2488)
- Material-UI UpDownWidget now support min/max/step (https://github.com/rjsf-team/react-jsonschema-form/issues/2022)
- Properly handle the hidden field in this theme (https://github.com/rjsf-team/react-jsonschema-form/issues/2571)
- Select properly accepts true or false (https://github.com/rjsf-team/react-jsonschema-form/issues/2326)

## @rjsf/mui
- The theme for Material UI version 5 (i.e. `@rjsf/mui`) was split out of the theme for version 4 (i.e. `@rjsf/material-ui`) to resolve the following issues:
- [#2762](https://github.com/rjsf-team/react-jsonschema-form/issues/2762)
- [#2858](https://github.com/rjsf-team/react-jsonschema-form/issues/2858)
- [#2905](https://github.com/rjsf-team/react-jsonschema-form/issues/2905)
- [#2945](https://github.com/rjsf-team/react-jsonschema-form/issues/2945)
- [#2774](https://github.com/rjsf-team/react-jsonschema-form/issues/2774)
- Material-UI TextWidget now respects `inputType` in uiSchema (https://github.com/rjsf-team/react-jsonschema-form/issues/2057)
- Also respects `step` for `number` type (https://github.com/rjsf-team/react-jsonschema-form/issues/2488)
- Material-UI UpDownWidget now support min/max/step (https://github.com/rjsf-team/react-jsonschema-form/issues/2022)
- Properly handle the hidden field in this theme (https://github.com/rjsf-team/react-jsonschema-form/issues/2571)

## @rjsf/semantic-ui
- Fix missing error class on fields (https://github.com/rjsf-team/react-jsonschema-form/issues/2666)
- Fixed the `main` definition in `semantic-ui` to fix (https://github.com/withastro/astro/issues/4357)
- Properly handle the hidden field in this theme (https://github.com/rjsf-team/react-jsonschema-form/issues/2571)

## Dev / docs / playground
- Demonstrate use of `ui:field` with `anyOf` (#2890)
- Playground now uses webpack 5
- Corrected number field default (https://github.com/rjsf-team/react-jsonschema-form/issues/2358)

# 4.2.1
* fix typo by @epicfaace in https://github.com/rjsf-team/react-jsonschema-form/pull/2854
Expand Down Expand Up @@ -47,7 +138,7 @@ should change the heading of the (upcoming) version to include a major version b
- NOTE: `@rjsf/material-ui` was retained to avoid a breaking change, but using it will continue to cause bundler warnings
- See the `README.md` for the `@rjsf/material-ui` package for updated usage information
- Fixed (#2831) for `material-ui` by removing the `DefaultChildren` passed into the themes

## @rjsf/bootstrap-4
- SubmitButton widget to use new ui:submitButtonOptions on the submit button for forms (https://github.com/rjsf-team/react-jsonschema-form/pull/2640)

Expand Down
2 changes: 1 addition & 1 deletion docs/3.x upgrade guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Dropped support for Node 8, 9, 10. Minimum supported version of Node.js is now 1

### Help field IDs

IDs for [Help fields](https://react-jsonschema-form.readthedocs.io/en/latest/api-reference/uiSchema/#help) are now suffixed by `__help` so that the IDs are unique. Previously, their IDs would be nonexistent or the same as the fields that they were describing.
IDs for [Help fields](https://react-jsonschema-form.readthedocs.io/en/stable/api-reference/uiSchema/#help) are now suffixed by `__help` so that the IDs are unique. Previously, their IDs would be nonexistent or the same as the fields that they were describing.

### Bring your own polyfills

Expand Down
2 changes: 1 addition & 1 deletion docs/4.x upgrade guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ No longer actively supporting React version < 16.3. The minimum supported versio

### @rjsf/material-ui package - Minimum version of material-ui 4

If you are using the material-ui 4 theme, @material-ui/core and @material-ui/icons packages should be updated to the latest versions. The minimum versions supported for @material-ui/core and @material-ui/icons are 4.12.0 and 4.11.1 respectively. This change is required for [support for the material-ui version 5 theme](https://github.com/rjsf-team/react-jsonschema-form/tree/master/packages/material-ui)
If you are using the material-ui 4 theme, @material-ui/core and @material-ui/icons packages should be updated to the latest versions. The minimum versions supported for @material-ui/core and @material-ui/icons are 4.12.0 and 4.11.1 respectively. This change is required for [support for the material-ui version 5 theme](https://github.com/rjsf-team/react-jsonschema-form/tree/master/packages/material-ui)
Loading