JSONForms v2.3.0-alpha.0 Release Notes

Release Date: 2019-06-12 // almost 5 years ago
    • ๐Ÿ’ฅ [react/material] BREAKING Provide context-based API (#1329)

      • The original JsonForms component used for dispatching has been renamed to JsonFormsDispatch.
      • A new JsonForms component allows usage of JSON Forms without redux. This allows for truly isolated forms, e.g.

      <JsonFormsdata={{ foo: '' }}uischema={{ type: 'Control', scope: '#/properties/foo' }}schema={schema1}renderers={[{ tester: () => 3, renderer: customRenderer1 }]} /> <JsonFormsdata={{ 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)