Releases: eclipsesource/jsonforms
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)
v2.2.3-beta.0
[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
- Update peer dependencies
v2.2.3-alpha.1
- Emit angular metadata (via ngc)
v2.2.3-alpha.0
- [all] Update dependends: Angular 7, redux 4, Ionic 4, rxjs 6,
- [all] Breaking:
fields
sub-state has been renamed tocells
(#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
v2.2.2-beta.1
[react] Fix missing json-schema types dependency