Releases: eclipsesource/jsonforms
v2.4.1
[all] Add label support for enums (#1591)
[all] Use existing Ajv instance in all places (#1624)
[core] Make sure resolveData throws no exception (#1616)
[core] Fix AJV error when modifying schemas with ids (#1620)
[core, react] Add global readonly flag to react and core (#1594) (#1628)
[angular, core, react] Introduce validation mode (#1611)
[material] Add enum autocomplete renderers (#1593) (#1598) (#1600) (#1609)
[material] Remove TrimmableInputLabel (#1629)
[react] Move @types/* dependencies of react package to dev dependencies (#1618)
[react] Cache generated schema and ui schema (#1644)
[vanilla] Fix Vanilla example app crash (#1640)
[angular] Improve change detection for angular (#1614) (#1617)
[angular] Angular renderer for object arrays (#1615) (#1636) (#1646)
[example] Add control options example (#1602)
[example] Enhance categorization example (#1599)
[example] Add show/hide data to rule example (#1606)
Special thanks to @DBosley for their great contributions!
v2.4.0
[all] Add keywords to important packages (#1534)
[all] Consistently handle 'renderers' and 'cells' props (#1545)
[core] Handle undefined as initial data prop (#1577)
[core, react] Rework JsonFormsStateProvider (#1583)
[material] Fix sorting buttons width for tablet devices (#1528)
[material, react, vanilla] Fix performance of rendering lots of fields in React (#1559)
[material] Fix crash in MaterialTableControl (#1563)
[material] Don't cut off labels in MaterialInputControl (#1585)
[material] Hide 'clear' adornment when data is undefined (#1585)
[material, example] Support showNavButtons on categorization stepper (#1580)
[react] Update ContextToProps to handle enums correctly (#1549)
[react] Shallow compare schema and uischema props (#1559)
[react] Offer config customization in Standalone Renderer (#1583)
[vanilla] Fix styling support for vanilla cells (#1544)
[vanilla] Export vanilla renderer actions (#1544)
[vanilla] Adjust enum cells type and vanilla usage (#1544)
[vanilla] Add tests for vanilla cell CSS classes (#1544)
[angular] Remove Redux from Angular packages (#1531)
[angular] Move to Angular 9 (#1532)
[angular] Add responsive support to angular horizontallayout (#1554)
[angular] Import renderers explicitly in angular module (#1556)
[angular] Fix dispatch call in angular master (#1558)
[angular] Fix rule visibility for enum renderer (#1573)
[angular] Expose state as an observable and let consumer import browser animation module (#1569)
[angular] Add hint to show description on controls (#1572)
[angular] Use ChangeDetectionStrategy in Angular (#1582)
[angular] Implement form-wide configuration for Angular (#1584)
[example] Fix type error in example app (#1556)
[ionic] Extract ionic renderer set into its own repository (#1530)
[webcomponent] Extract webcomponent into its own repository (#1552)
[material-tree-renderer] Extract material tree renderer into its own repository (#1552)
Special thanks to @nowells, @zRosenthal and @chavalipraveen for their great contributions!
v2.3.2
[all] Update core / react / material and vanilla dependencies (#1526)
[all] Add layout enable/disable feature (#1506)
[core] Remove duplicate definition of StatePropsOfCell (#1523)
[core, react] Generate (ui)schema in JsonForms component (#1515)
[material] Fix too much padding on table cell with add icon (#1494)
[material] Fix time field not being disabled (#1502)
[material] Hide clear button via visibility instead of 'Hidden' (#1513)
[material] Restyle MaterialArrayLayout (#1521)
[material] Allow configuring array child label (#1522)
[example] Add sorting option to Array example (#1496)
[react] Fix array rendering in standalone application (#1511)
[angular] Remove angular private package information (#1493)
Special thanks to @iluuu1994 for their great contributions!
v2.3.1
[all] Add hideRequiredAsterisk option (#1445)
[core, material] Fix rule in categorization (#1484)
[material] Move MUI to peer deps & update webpack config (#1470)
[material] Improve layouting of buttons in ExpandPanelRenderer (#1471)
[material] Update material-ui dependencies (#1482)
[material, vanilla] Consistent use of config (#1465)
[material, react] Add disabled option for tables (#1485)
[react] Add dependencies to useEffect in JsonFormxContext (#1468)
[react] Export JsonFormsReactProps interface (#1466)
[example] Ajv i18n example (#1457)
[angular] Fix Angular number render issues (#1490)
Special thanks to @Lily418 for their great contributions!
v2.3.0
[core] Add error updating action (#1450)
[react] Update React version to 16.8.x
[material] Improve performance of some MUI components (#1449)
[examples] Fix rule example (#1459)
NOTE: Please also pay attention to the changes in the previously released alpha & beta versions as those are not re-listed here
v2.3.0-beta.0
[all] Update dependencies and tests (#1431, #1443)
[core] Add enum to structuralKeywords (#1435)
[core] Add minItems to array layout props (#1444)
[react] Use mapStateToEnumControlProps for enum controls (#1436)
[react] Add onChange
props to React forms (#1448)
[material] Export unwrapped material controls (#1418)
[material] Use config in MaterialIntegerControl
(#1422)
[material] Use createStyles
in ValidationIcon.tsx
(#1429)
[material] Support additional props for MuiInputText
(#1430)
[material] No alert when oneOf is empty object (#1432)
[material] Fix performance issues (#1439)
[dev] Extend 'Huge' Example (#1441)
[dev] Use setupMockStore in angular material tests (#1447)
Thanks to all contributors!
Special thanks to @Lily418 for many great contributions to the JSONForms project!
v2.3.0-alpha.1
[core] Add direction
property to StatePropsOfLayout
(#1404)
[core] Add config option for displaying unfocused description (#1414)
[core] Use hasType in schemaSubPathMatches (#1421)
[react] Add ajv
and refParserOptions
to JsonFormsInitStateProps
(#1408)
[react] Fix performance issues related to introduction of context-based API (#1407)
[material] MuiCheckbox checked
value should be boolean (#1412)
[material] Group labels use path instead of label (#1403)
[material] Seperate FormHelperText
into description and errors (#1415)
[material] Text-based controls feature an unset button (#1193, #1360)
[material] Combinator renderers, object renderer query UI schema registry before generating one (#1363)
[angular] Add simple table renderer (#1369)
Thanks to all contributors!
v2.3.0-alpha.0
- [react/material] BREAKING Provide context-based API (#1329)
- The original
JsonForms
component used for dispatching has been renamed toJsonFormsDispatch
. - A new
JsonForms
component allows usage of JSON Forms without redux. This allows for truly isolated forms, e.g.
- The original
<JsonForms
data={{ foo: '' }}
uischema={{ type: 'Control', scope: '#/properties/foo' }}
schema={schema1}
renderers={[{ tester: () => 3, renderer: customRenderer1 }]}
/>
<JsonForms
data={{ bar: 0 }}
schema={schema2}
uischema={{ type: 'Control', scope: '#/properties/bar' }}
renderers={[{ tester: () => 3, renderer: customRenderer2 }]}
/>
If using redux, you need to wrap the entry point with a new component called JsonFromsReduxContext
, the typical usage in this case is as follows:
<Provider store={store}>
<JsonFormsReduxContext>
<JsonFormsDispatch />
</JsonFormsReduxContext>
</Provider>
NOTE: as this is still a alpha the naming is not yet final
As redux is not mandatory anymore you don't need to connect
your custom renderers anymore. Instead use the withXXX
HOCs from @jsonforms/react
.
- [core] Add support for
const
(#1254) - [material] Update to 4.0.1 (#1394)
- [material] Add option for enabling move up/down buttons in array layout renderer (#1378)
- [material] Zero value not displaying in 'number' fields (#1351)
- [material] Decimals lower than 0.1 are unsupported in 'number' fields (#1352)
- [react] Export
UnknownRenderer
(#1361) - [core, material]
schemaTypeIs
tester derives type instead of relying on type keywords, increase ranks of AllOf/AnyOf renderers to 3 (#1354) - [angular] Fix object renderer by passing the path property correctly down the component hierarchy (#1366)
- [angular] Fix l10n support of number renderer (#1365)
- [angular] No UI schema is generated for objects anymore (#1368)
- [core, angular] Support for read-only forms (#1371)
- [dev] Configure and fix linting errors (#1392)
v2.2.3
v2.2.3-beta.1
[angular-material] Fix list with detail selection when editing label (#1345)