react-jsonschema-form v2.0.0 Release Notes
Release Date: 2020-04-25 // about 4 years ago-
v2 is finally out!
โก๏ธ Updates since v2.0.0-alpha.6:
- ๐ Fix vulnerabilities (#1689, #1690)
- โ Setup material-ui tests (#1641)
- โฌ๏ธ Upgrade lint-staged to the latest (#1696)
- โ Add ui:autocomplete attribute for @rjsf/core (#1705)
- โก๏ธ Update link for customArray (#1702)
- ๐ Make sure FieldTemplate only has one child (#1709)
- โ Remove safeRenderCompletion type (#1720)
๐ See the below for a full list of changes from v1:
๐ Changes from v1 -> v2
๐ฅ Breaking changes
- ๐ฆ We now officially support the @rjsf/material-ui theme. We use a monorepo with Lerna and have published two packages (@rjsf/core and @rjsf/material-ui) with this version number. Note that react-jsonschema-form has been renamed to @rjsf/core (#1642)
- Combine all themes into a single playground (#1539, #1607, #1623)
- โ Remove ui:order console warning about extraneous properties (#1508)
- 0๏ธโฃ Capitalized Yes and No defaults (#1395)
- Fix id of oneof and anyof select (#1212). The oneof select id is now suffixed by __oneof_select and the anyof select by __anyof_select.
- React 16+ is now a peer dependency (#1408)
- ๐ We no longer actively support Node version < 8 (#1462)
- โ Removed setState, setImmediate, safeRenderCompletion helpers/hacks (#1454, #1720)
- 0๏ธโฃ Inject defaults in arrays (#1499)
๐ Features
- โ Add material-ui theme in the main repo (#1420) (note: has not been fully integrated yet -- this will be fully integrated when we publish multiple packages with lerna - #1501)
- โ Add extraErrors prop for async validation (#1444)
- โ Add support for overriding UnsupportedField (#1660)
๐ Fixes
- ๐ Fix issue with false as formData on radio components (#1438)
- ๐ Security patches (#1458, #1459)
- Memo components in custom widgets and fields. (#1447)
- ๐ Introduce Form autoComplete attribute and deprecate autocomplete (#1483)
- ๐ Rewrite mergeSchemas to fix schema dependencies merging (#1476)
- โก๏ธ Update arrays correctly when changing index (#1485)
- โก๏ธ Update anyOf schema to correctly update items in an array (#1491)
- โก๏ธ Update schema to re-render when idschema changes (#1493)
- ๐ Make sure BooleanField supports an overridable DescriptionField (#1594)
- Export typings (#1607)