Releases: rjsf-team/react-jsonschema-form
v2.2.0
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
Dev / docs / CI
v2.1.0
@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
v2.0.2
v2.0.1
@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
v2.0.0
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
No new changes - fix a publish issue from v2.0.0-alpha.5
v2.0.0-alpha.5
v2.0.0-alpha.4
v2.0.0-alpha.3
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
@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
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)