Skip to content

Releases: rjsf-team/react-jsonschema-form

v2.2.0

29 Jun 13:51
f64ca08

Choose a tag to compare

We've now released three more themes: @rjsf/antd, @rjsf/fluent-ui, and @rjsf/semantic-ui. 🎉

Thanks to @delyanr , @sramaswami11 , and @jacqueswho for doing a lot of the initial work to get these themes up and ready!

Also, welcome @stanlemon and @agustin107 as new maintainers!

@rjsf/core

  • Remove type from WidgetProps (#1826) (590b0f3)
  • additionalProperties: retain object title when renaming key (#1751) (75f734d)
  • make event optional for onDropIndexClick and onReorderClick, add onAddIndexClick type definition (#1 (b4824b9)
  • chore(deps-dev): bump babel-loader from 8.0.6 to 8.1.0 in /packages/core (#1837) (fa70039)
  • chore(deps-dev): bump cross-env from 2.0.1 to 7.0.2 in /packages/core (#1835) (7fe6629)
  • chore(deps-dev): bump sinon from 7.5.0 to 9.0.2 in /packages/core (#1834) (9e7e4c3)
  • chore(deps-dev): bump webpack-dev-middleware in /packages/core (#1836) (345788d)

@rjsf/core bootstrap theme

@rjsf/antd theme

  • Enable antd (ant-design) support (#1561) (959f9b3)
  • chore(deps-dev): bump @babel/preset-env in /packages/antd (#1846) (3ddd9c7)
  • chore(deps-dev): bump @babel/runtime-corejs2 in /packages/antd (#1839) (a3c5c4c)
  • chore(deps-dev): bump eslint-plugin-import in /packages/antd (#1851) (edd6f9a)
  • chore(deps-dev): bump rimraf from 2.7.1 to 3.0.2 in /packages/antd (#1849) (cea0646)
  • chore(deps): bump less from 3.11.1 to 3.11.3 (#1864) (9ce6a07)

@rjsf/fluent-ui theme

  • Add fluent-ui theme (#1792) (fd107fb)
  • chore(deps-dev): bump @babel/preset-react in /packages/fluent-ui (#1844) (e6e2515)
  • chore(deps-dev): bump @types/lodash from 4.14.152 to 4.14.157 (#1857) (0f46317)
  • chore(deps-dev): bump @types/react-dom in /packages/fluent-ui (#1847) (bd08315)
  • chore(deps-dev): bump @types/sinon from 9.0.0 to 9.0.4 (#1854) (86fc532)
  • chore(deps-dev): bump react in /packages/fluent-ui (#1848) (672c3d8)
  • chore(deps-dev): bump react-dom in /packages/fluent-ui (#1840) (f141e4b)
  • chore(deps-dev): bump tslib from 1.10.0 to 2.0.0 (#1869) (3457702)

@rjsf/material-ui theme

  • Support passing ui:label = false for Material UI (#1807) (c71d656)
  • Update RangeWidget to display value on hover (#1822) (13ea8f4)
  • chore(deps-dev): bump @types/sinon from 9.0.0 to 9.0.4 (#1854) (86fc532)
  • chore(deps-dev): bump tslib from 1.10.0 to 2.0.0 (#1869) (3457702)

@rjsf/semantic-ui theme

  • feature: add semantic ui theme form components (#1585) (eb8eda0)

Dev / docs / CI

v2.1.0

15 Jun 13:22

Choose a tag to compare

@rjsf/core

  • Add missing props to onChange call (#1804)

@rjsf/core bootstrap theme

No changes

@rjsf/material-ui theme

  • Add missing material theme string widgets (#1789)
  • Add material UI submit button to theme (#1806)
  • Fix anyOf up/down behavior (#1812)
  • Better consistency with Material UI patterns with usage of <TextField /> (#1790)

Dev / docs / CI

  • Fix link to ajv bug (#1803)
  • Fix broken themes link (#1808)

v2.0.2

05 Jun 16:09

Choose a tag to compare

@rjsf/core

  • Add rawErrors to WidgetProps interface (#1697)
  • Add registry to custom FieldTemplate (#1787)

@rjsf/core bootstrap theme

No changes

@rjsf/material-ui theme

  • Don't return empty divs in ArrayFieldTemplate; return null instead (#1777)
  • TextWidget fix: fix issue where widgets with a "0" value would show up as blank (#1795)

Dev / docs / CI

  • Update contributing and releasing docs (8c66278, a6589b1)
  • Fix dead link for definitely not compliant enumNames property (#1752)
  • Playground - Improve componentDidMount to load uiSchema well (#1785)
  • Add note about action prop being just for markup (#1800)
  • Create CODEOWNERS (#1797)

v2.0.1

17 May 20:14

Choose a tag to compare

@rjsf/core

  • Event in onAddClick is no longer mandatory (#1730)
  • Display changes in extraErrors when noValidate is true or liveValidate is false (#1528)

@rjsf/core bootstrap theme

  • Add accessibility aria-label attributes to array buttons (#1714)

@rjsf/material-ui theme

  • Point rootdir to ./src to avoid a deprecated usage of tsdx (#1733)

Dev / docs / CI

  • Fix docs build (#1729)
  • Build and deploy playground on CI (#1722)
  • Again add subthemes, fix blurring for new playground (#1723, bb53385)
  • Reorganize docs, add interactive codepen examples (#1691)
  • Fix anyOf typo in docs (#1753)

v2.0.0

25 Apr 14:51

Choose a tag to compare

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

v2.0.0-alpha.6

25 Apr 14:30

Choose a tag to compare

v2.0.0-alpha.6 Pre-release
Pre-release

No new changes - fix a publish issue from v2.0.0-alpha.5

v2.0.0-alpha.5

04 Apr 13:11

Choose a tag to compare

v2.0.0-alpha.5 Pre-release
Pre-release
  • Properly include types in the @rjsf/core package (#1676)
  • Update types to use the JSONSchema7 type instead of JSONSchema6 (#1676)
  • Add support for overriding UnsupportedField (#1660)
  • Fix vulnerabilities (#1669)

v2.0.0-alpha.4

22 Mar 20:30

Choose a tag to compare

v2.0.0-alpha.4 Pre-release
Pre-release

Hotfix release to fix issues with dependencies with the previous release:

  • make @babel/runtime-corejs2 a dependency, include lib folder (a085881)
  • update publish documentation (c8f60a3)

v2.0.0-alpha.3

22 Mar 20:17

Choose a tag to compare

v2.0.0-alpha.3 Pre-release
Pre-release

This will likely be the last prerelease before the v2.0.0 stable version.

Fixes

  • Allow references that don't start with #/definitions/ (#1506)
  • Don't crash when schema property is a non-object - show an error instead (#1582)
  • Expose findSchemaDefinition out of the utils lib (#1643)
  • Fix vulnerabilities (#1650)

Development changes

  • Playground and development environment fixes for Lerna, export typings from @rjsf/core (#1642)
  • Combine all themes into a single playground (#1539, #1607, #1623)
  • Add CI with GitHub Actions (#1657)
  • Move docs to root-level directory (#1617)
  • Add docs for contributing and clarify workflow with the new monorepo setup (#1639)
  • Document JSON schema version supported versions (#1603)

Individual theme changes

@rjsf/core

  • Make sure BooleanField supports an overridable DescriptionField (#1594)
  • Export typings (#1607)

@rjsf/material-ui

  • Fix package deployment so it can be actually used / imported (the v2.0.0.alpha.2 version didn't work)

v2.0.0-alpha.2

18 Feb 04:38

Choose a tag to compare

v2.0.0-alpha.2 Pre-release
Pre-release

This version includes the changes below. Notably, we now use a monorepo with Lerna and published two packages (@rjsf/core and @rjsf/material-ui) with this version number. Note that react-jsonschema-form has been renamed to @rjsf/core.

(Note: themes have not been fully integrated yet -- and we will switch to non-alpha versions once we add a playground with all themes (#1539) and extend test coverage to cover the theme packages)

Breaking changes

  • Remove ui:order console warning about extraneous properties (#1508)
  • 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.

Features

  • Monorepo with Lerna (#1501, #1531)
  • Allow the tagName prop to accept a React component (#1511)
  • Add allOf support (#1380, #1546)
  • Support for "examples" keyword (#1517)
  • Capitalized Yes and No defaults (#1395)
  • Add forwardRef to withTheme (#1498)

Fixes

  • Fix IE11 not able to submit (#1432)
  • Reduce bundle size by specifically importing from lodash (#1523)
  • Refactor some tests to assert on change events instead of internal state (#1525, #1535)
  • Fix: schema of type string shows defaults when cleared (#1505)
  • Fix vulnerabilities (#1530, #1556)
  • Document the onKeyChange prop for custom widgets (#1542)
  • Pass state formData to array field template (#1513)