react-jsonschema-form v2.0.0-alpha.1 Release Notes

Release Date: 2019-11-09 // 4 days ago
  • 🛠 Alpha version of v2.0.0 is out! It's in alpha so we can iron out bug fixes and still add some other breaking changes if need be. Please check it out and give feedback!

    💥 Breaking changes

    • React 16+ is now a peer dependency (#1408)
    • 👍 We no longer actively support Node version < 8 (#1462)
    • ✂ Removed setState, setImmediate, safeRenderCompletion helpers/hacks (#1454)
    • 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)

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

Previous changes from v1.8.0

  • 🆕 New features

    • 👍 Allow restriction of accepted filetypes in file widget (#1246)
    • 👌 Support adding items to an array at any position, instead of always at the end (#1352)

    🛠 Fixes

    • 🔄 Change inclusion of lodash dependencies to fix errors when using Yarn (#1366)
    • 🛠 Fix dependency defaults when using Form as an uncontrolled component (#1371)
    • 👕 Reformat tests (#1372) and fix linting (#1373)
    • 👉 Use the Monaco editor component in the playground instead of CodeMirror (#1374, #1379)
    • ➕ Add missing space in playground (#1384)
    • ➕ Add Bootstrap version to playground (#1386)
    • 🛠 Fix bug with trying to enter numbers such as "0.1" (#1360)
    • 🛠 Fix bug where user editing of additionalProperties names was erased (#1401)
    • Playground now records whether "live" was set (#1403)
    • 🛠 Fix bug in omitData where data was always cast into an object, even if it should have remained an array (#1406)
    • 👌 Support $ref in additionalProperties (#1402)
    • 🛠 Fix bug where data was being omitted incorrectly (#1419)