Skip to content

Releases: eclipsesource/jsonforms

v2.3.0-alpha.0

12 Jun 14:08
Compare
Choose a tag to compare
v2.3.0-alpha.0 Pre-release
Pre-release
  • [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.
  <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

26 Apr 12:28
Compare
Choose a tag to compare

[vanilla] Add delete button to vanilla array control (#1349)

NOTE: Please also pay attention to the changes in the previously released alpha & beta versions, changes include among other thiings:

  • major version update to redux 4, Angular 7 etc.
  • fields have been replaced by cells

v2.2.3-beta.1

26 Apr 12:27
Compare
Choose a tag to compare
v2.2.3-beta.1 Pre-release
Pre-release

[angular-material] Fix list with detail selection when editing label (#1345)

v2.2.3-beta.0

25 Apr 10:30
Compare
Choose a tag to compare
v2.2.3-beta.0 Pre-release
Pre-release

[core] Use JSON schema title property where appropriate (#1335)
[core] Improve toDataPath to handle occurrences of combinator keywords correctly (#1342)
[core] Make isObjectArray use deriveType (hence type keyword necessary anymore in those cases) (#1341)
[material] Pre-select tab in oneOf renderer based on validation state (#1273)
[material] Add a anyOf renderer for cases where input it either a string-based enum or some arbitrary text (#1327)
[dev] Update karma settings
[dev] Add common vscode config (#1331)

v2.2.3-alpha.2

25 Apr 10:24
Compare
Choose a tag to compare
v2.2.3-alpha.2 Pre-release
Pre-release
  • Update peer dependencies

v2.2.3-alpha.1

25 Apr 10:24
Compare
Choose a tag to compare
v2.2.3-alpha.1 Pre-release
Pre-release
  • Emit angular metadata (via ngc)

v2.2.3-alpha.0

18 Apr 13:28
Compare
Choose a tag to compare
v2.2.3-alpha.0 Pre-release
Pre-release
  • [all] Update dependends: Angular 7, redux 4, Ionic 4, rxjs 6,
  • [all] Breaking: fields sub-state has been renamed to cells (#1291)
  • [core] Improve type derivation for allOf (#1312)
  • [core] Make optionIs tester fail-safe against null/undefined (#1303)
  • [core] Improved performance (#1290, #1292)
  • [core] Correctly map error for anyOf (#1317)
  • [material] Remove custom styles from material-renderers (#1307)
  • [material] Register the radio control with custom tester (#1306)

v2.2.2

22 Mar 17:05
Compare
Choose a tag to compare

[react] Only set resolving flag if new schemas has refs in JsonForms component (#1310)
[material] Fix MUI related warnings (#1274 )
[material] Options and Rules don't work together (#1280, #1304)

NOTE: Please also pay attention to the changes in the previously released alpha & beta versions.

v2.2.2-beta.1

22 Mar 16:56
Compare
Choose a tag to compare
v2.2.2-beta.1 Pre-release
Pre-release

[react] Fix missing json-schema types dependency

v2.2.2-beta.0

22 Mar 16:56
Compare
Choose a tag to compare
v2.2.2-beta.0 Pre-release
Pre-release

[react] Support Schema references to other Schema files (#1210, #1302)