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)