jsonforms

Customizable JSON Schema-based forms with React, Angular and Vue support out of the box.

OTHER License

Downloads
799.7K
Stars
2.2K
Committers
88

Bot releases are hidden (Show)

jsonforms - v3.4.0

Published by lucas-koehler about 1 month ago

What's Changed

[all packages] memoize array translation (https://github.com/eclipsesource/jsonforms/pull/2358)

[core] feat: add support for disabling remove and add buttons (https://github.com/eclipsesource/jsonforms/pull/2344)
[core] refactor: resolve circular dependencies (https://github.com/eclipsesource/jsonforms/pull/2345)
[core] fix: matching required paths with slashes (https://github.com/eclipsesource/jsonforms/pull/2367)

[react-material] feat: support @mui/x-date-pickers v7 (https://github.com/eclipsesource/jsonforms/pull/2349)
[react-material] Reduce bundle size by fixing material-icon imports (https://github.com/eclipsesource/jsonforms/pull/2351)
[react-material] Add support for "multiple" prop on Select (fixes #2347) (https://github.com/eclipsesource/jsonforms/pull/2356)
[react-material] chore: remove 'matchMedia' mock (https://github.com/eclipsesource/jsonforms/pull/2370)
[react-material] Allow material ui ^6 as peer dependency (https://github.com/eclipsesource/jsonforms/pull/2376)

[react-vanilla] Disable vanilla array buttons when readonly (https://github.com/eclipsesource/jsonforms/pull/2303)

[vue-vanilla] fix: select element's id postfix should be '-input' not '-select' (https://github.com/eclipsesource/jsonforms/pull/2368)

[vue-vuetify] initial contribution for vue-vuetify renderer set (https://github.com/eclipsesource/jsonforms/pull/2341)

[ci] update ci actions (https://github.com/eclipsesource/jsonforms/pull/2359)
[ci] Update publish workflow pnpm setup action to v4 (https://github.com/eclipsesource/jsonforms/pull/2365)

[docs] Describe milestones in README (https://github.com/eclipsesource/jsonforms/pull/2352)

Many thanks to @adamskeeled, @changjung-kim, @eneufeld, @jchamberlain, @joefreeman, @LukasBoll, @seanparmelee, @semery-fractalev for their great contributions!

Special thanks to @kchobantonov for contributing the vue-vuetify renderer set!

Full Changelog: (https://github.com/eclipsesource/jsonforms/compare/v3.3.0...v3.4.0)

When updating from v3.3.0, no migration should be necessary. See the migration guide if upgrading from an older version.

jsonforms - v3.3.0

Published by lucas-koehler 5 months ago

What's Changed

[all packages] Use latest vue 3.4.21 & upgrade further dependencies (https://github.com/eclipsesource/jsonforms/pull/2318)
[all packages] fix: update ID on schema change (https://github.com/eclipsesource/jsonforms/pull/2307)

[core] feat: add hasOption tester (https://github.com/eclipsesource/jsonforms/pull/2287)
[core] Add context for array operation (https://github.com/eclipsesource/jsonforms/pull/2317) - Contributed on behalf of STMicroelectronics
[core, react-material] Allow the translation of enum value used for elementLabelProp in ExpandPanelRenderer (https://github.com/eclipsesource/jsonforms/pull/2289)
[core, react-material] Add translation fix and support of elementLabelProp to ListWithDetail (https://github.com/eclipsesource/jsonforms/pull/2304)

[angular, angular-material] Angular 18 Update (https://github.com/eclipsesource/jsonforms/pull/2340)

[!Note]
This drops support for Angular 16.
Angular 16 support is available until JSON Forms v3.3.0-beta.0.

[angular-material] Fix Angular Datepicker (https://github.com/eclipsesource/jsonforms/pull/2281)
[angular-material] Add autosize prop to mat-sidenav-container (https://github.com/eclipsesource/jsonforms/pull/2301)
[angular-material] Fix memory leak issue (https://github.com/eclipsesource/jsonforms/pull/2243)
[angular-material] feat: improve responsiveness of tablerenderer (https://github.com/eclipsesource/jsonforms/pull/2312)
[angular-material] fix: Export ArrayLayoutRenderer (https://github.com/eclipsesource/jsonforms/pull/2320)
[angular-material] fix: Revert deletion of hide css class in process of angular upgrade (https://github.com/eclipsesource/jsonforms/pull/2330)

[react-material] Disable auto select in MuiAutocomplete control (https://github.com/eclipsesource/jsonforms/pull/2276)
[react-material] Allow the translation of the No Data case for MaterialArrayLayout (https://github.com/eclipsesource/jsonforms/pull/2286)
[react-material] Add tooltip for remove, up and down button on MaterialArrayLayout and MaterialArrayControl (https://github.com/eclipsesource/jsonforms/pull/2295)
[react-material] MaterialEnumArrayRenderer - Add Form Label and description (https://github.com/eclipsesource/jsonforms/pull/2297)
[react-material] fix: open date dialog on mobile (https://github.com/eclipsesource/jsonforms/pull/2300)
[react-material] refactor: Replace Hidden component (https://github.com/eclipsesource/jsonforms/pull/2315)

[react-vanilla] Set type of <button>s in vanilla array renderer (https://github.com/eclipsesource/jsonforms/pull/2298)

[vue-vanilla] Enum Multi Selection for vue vanilla (https://github.com/eclipsesource/jsonforms/pull/2261)
[vue-vanilla] fix: Vue Vanilla CombinatorProperties in OneOfRenderer (https://github.com/eclipsesource/jsonforms/pull/2266)
[vue-vanilla] fix: add a style class to the vue vanilla OneOfRenderer (https://github.com/eclipsesource/jsonforms/pull/2272)
[vue-vanilla] feat: create own element for asterisk and add class in vue vanilla controlWrapper (https://github.com/eclipsesource/jsonforms/pull/2274)
[vue-vanilla] Show required asterisk in example app (https://github.com/eclipsesource/jsonforms/pull/2280)
[vue-vanilla] feat: add categorization renderer to Vue Vanilla (https://github.com/eclipsesource/jsonforms/pull/2270)

[dev] reverse push and publish operations (https://github.com/eclipsesource/jsonforms/pull/2259)
[dev] add simple grid layout to the dev app. save example name at location hash. show schema and uischema (https://github.com/eclipsesource/jsonforms/pull/2269)
[dev] use the given i18n from the current example in vue vanilla example app (https://github.com/eclipsesource/jsonforms/pull/2291)
[dev] Upgrade ESLint to ^8.56.0, regenerate pnpm-lock, consolidate vs code settings (https://github.com/eclipsesource/jsonforms/pull/2293)

[docs] chore: add contributing information (https://github.com/eclipsesource/jsonforms/pull/2323)
[docs] link contribution guidelines in root readme (https://github.com/eclipsesource/jsonforms/pull/2329)

Many thanks to @glengemann, @davewwww, @lukasf, @zaosoula, @Maxouwell, @joefreeman, @LukasBoll, @TheZoker, @howdyAnkit, @eneufeld, @stanisev, @laurentgrangier for their great contributions!

Full Changelog: https://github.com/eclipsesource/jsonforms/compare/v3.2.1...v3.3.0

Also see the migration guide on hints for breaking changes.

jsonforms - v3.2.1 Latest Release

Published by sdirix 9 months ago

This is a patch release to fix an inconsistency with the React Material UI variant defaults

jsonforms - v3.2.0

Published by sdirix 9 months ago

[all packages] feat: respect "default" values when creating new elements in an array (#2206) - Contributed on behalf of STMicroelectronics
[all packages] feat: introduce middleware support (#2220, #2246)
[all packages] fix: resolve refs in object renderer (#2202)

[core] feat: add a failWhenUndefined option to the SchemaBasedCondition (#2095)
[core] feat: pass resolved subschema to createLabel (#2165)
[core] feat: remove state slice when set as undefined (#2163)
[core] fix: generate UI Schema with Type Null (#2251)
[core] fix: disable schema caching in AJV instance (#2201)
[core] fix: generate a control for enums in generated uischema (#2189)
[core] fix: fenerate valid path segments when schemaPath contains 10 or more subschemas. (#2194)
[core] fix: removeItems for list renderers (#2181)
[core] fix: createRenderInfo TypeError in default title case (#2169)

[react-material] feat: add description to array renderer (#2227)
[react-material] feat: make material renderers aware of input variant in theme (#2182)
[react-material] feat: reset data in anyOfRenderer, if data types dont match (#2175)
[react-material] fix: datepicker validation (#2200)
[react-material] fix: always hide React Material multi enum when not visible (#2252)
[react-material] fix: orphaned labels on single select dropdown (#2199)
[react-material] fix: resolve refs in EnumArrayRenderer (#2204)
[react-material] chore: update peer dependency for mui/icons in material-renderers (#2186)
[react-material] chore: update @mui/icons-material depdency in material-renderers (#2218)

[react-vanilla] feat: vanilla textcell password support (#2254)
[react-vanilla] fix: avoid stale categories (#2120)
[react-vanilla] fix: store actual enum values instead of stringified versions (#2205)

[angular, angular-material] dev: build Angular packages with ng-packagr (#2236)
[angular, angular-material] feat: Angular 16 and Angular 17 support (#2229)
[angular, angular-material] feat: Angular 15 support. (#2212)

[!Note]
Angular 15 support is only available in JSON Forms 3.2.0-alpha.4.
The support for Angular 15 was dropped in favor of supporting Angular 16 and 17 for the stable release

[angular-material] fix: remove @jsonforms/angular-test peerDependency (#2230)
[angular-material] fix: remove unsupported operators in angular material object renderer (#2160)
[angular-material] fix: unfocused description display for number renderer (#2167)
[angular-material] dev: add Angular Material Autocomplete test (#2217)

[vue-vanilla] fix: element label in vue array renderer (#2191)
[vue-vanilla] feat: disable ArrayListRenderer add if control.data.length exceeds or is equal to maxItems (#2154)
[vue-vanilla] feat: add Object and OneOf renderer to vue3-vanilla (#2151)

[development] dev: move vue packages up to be directly contained in packages folder; smaller deps improvements (#2162)
[development] dev: use npm provenance (#2248)
[development] dev: typescript 4.9.5, TS target ES2021, TS module ES2020, typedoc ~0.25.3 (#2241)
[development] dev: adapt issue templates to vue 2 removal (#2240)
[development] dev: update Node version to 18.19+ (#2235)
[development] dev: implement GitHub Action for Publishing (#2223)
[development] dev: update and fix dev container (#2170)
[development] dev: enable and fix tests on MacOS CI (#2171)
[development] dev: change URLs to absolute paths in README files (#2155)
[development] dev: upgrade build stack to pnpm, Node 16, Lerna 6 (#2148)

Many thanks to @SaSteffen, @sebastianfrey, @devbydaniel, @sgober, @IhsenBen, @dholmes2409, @dchambers, @fuku710, @xou816, @clemens-msupply, @DrewHoo, @howdyAnkit, @Droxx, @butzist for their great contributions!

Super special thanks to @JBBianchi for several great contributions, significantly enhancing the Angular project.

jsonforms - v3.1.0

Published by sdirix over 1 year ago

Sponsored Development

Ongoing maintenance of the Vuetify renderer set

Funded by the Gordon and Betty Moore Foundation. (Grant Agreement #10485). Sponsored by Crossref, as part of our commitment to open scholarly infrastructure.

Detailed changes

[all packages] i18n Internationalizaton support (#2099, #2129, #2098, #2082)

[core] fix: properly match AJV paths with slashes (#2147)
[core] fix toDataPath function comment explaining correct functionality (#2061)
[core] fix duplicate error message (#2051)
[core] fix allOf in array (#2053)
[core] Fix percent char decoding (#2124)

[material] add readOnly functionality to array and list (#2040)
[material] Migrate @mui/x-date-pickers to v6 (#2139)
[material] Export all unwrapped React Material renderers (#2132)
[material] fix visibility of error-icon in array (#2037)
[material] check if index of category is out of range (#2121)
[material] Use aria-describedby on checkboxes with descriptions (#2079)
[material] Show description or tooltip on boolean controls (#2072)

[vue] fix vue onChange (#2084)
[vue] Fix vue2 control type (#2088)

[angular-material] propagate readOnly prop in Angular detail-List (#2062)
[angular-material] Fix category hiding in Angular Material (#2027)
[angular-material] Added add and remove icons to table renderer (#2021)
[angular-material] show hint onFocus (#2036)

[development] Replace TSLint with ESLint and Prettier (#2112)
[development] Improve internal example app(#2101, #2074, #2056)
[development] folder names should match package names (#2064, #2050, #248)
[development] Add JSON Forms version field to issue template (#2039)
[development] Use type only imports (#2076)

Many thanks to @sebastianfrey, @codefactor, @brockfanning,@wienczny, @jlarrubiaq and @Tarjei400 for their great contributions!

Special thanks to Crossref and @yaffol for the sponsorship!

jsonforms - v3.0.0

Published by sdirix about 2 years ago

Sponsored Development

  • i18n Internationalization feature
  • ongoing maintenance of the Vuetify renderer set

Funded by the Gordon and Betty Moore Foundation. (Grant Agreement #10485). Sponsored by Crossref, as part of our commitment to open scholarly infrastructure.

Detailed changes

[all packages] i18n Internationalizaton support (#2023, #1974, #1944, #1879, #1848, #1825, #1966, #1954, #1939)
[all packages] readOnly support (#2019, #1860, #1763)
[all packages] Provide additional tester context (#1975)
[all packages] Readme and documentation (#1875, #1793, #1764)
[all packages] Integrate external errors in form (#1937)
[all packages] Encode '/' in prop name (#1834)
[all packages] Improve reference resolving (#1829, #2001)
[all packages] Update ajv to version 8 (#1739, #1827)
[all packages] Deleting values instead of storing empty string (#1961, #1984)
[all packages] Properly determine UI Schemas (#1940)

[core] Add additional interfaces for Scoped, Labelable and Labeled ui elements. (#1935)
[core] allow other additional types besides 'string' when testing for format (#1925)
[core] Add support for 'then/else' paths (#1909)
[core] Recognize arrays with union type items as nested object arrays again (#2000)
[core] Move logic out of index files (#1766)
[core] Add support for const constraint in combinator mappings (#1788)

[angular, core, material, vanilla] Improve Time Pickers (#1792)
[core, react, vue] Various minor adjustments (#1932)

[react] Debounce emitted events in React (#1864)
[react] Add uischemas to dependency array (#1836)

[core, material, react, vanilla] Improve React.memo performance (#1814)

[material] Update MUI to version 5 (#1812, #1911)
[material] Add debounce for input material controls (#1813)
[material] Differentiate between sort buttons (#1955)
[material] Fix control mode of React Material radio group (#2009)
[material] Migrate material date- and time pickers from mui/lab to mui/x-date-pickers (#2002)
[material] Refactor MuiAutocomplete (#1950, #1982)
[material] Add default views for material date/time controls (#1960)
[material] Pass all props in the MaterialArrayLayoutRenderer (#1951)
[material] Pass through original values for invalid dates (#1949)
[material] Preserve enum labels in React Material enum array (#1904)
[material] Don't modify user-schemas in Material Object Renderer (#1871)
[material] Rename ExpansionPanel to Accordion as suggested by Material UI (#1776)
[material] reset state on prop change for detailList (#2006)
[material] Fix type-imports according to the release notes of TypeScript 3.8 (#1845)
[material] Use filtered categories in childProps (#1789)
[material] Add required prop to Inputs (#1798)
[material] Explicitly check for undefined and null (#1796)

[vanilla] Rework Vanilla Layout Arrray Control (#1957, #1990, #2011)
[vanilla] Fix React Vanilla time renderer format (#1962)
[vanilla] Fix Vanilla IntegerCell not rendering zero (#1916)
[vanilla] Add special className to style boolean cells (checkbox) in Vanilla package (#1865)
[vanilla] Use validationError classes defined in styles. This way this can be ovewriten by users (#1866)
[vanilla] Add customizable CSS classes to vanilla radio group (#1843)
[vanilla] Allow to pass as UISchema options placeholder attribute for TextCell and TextAreaCell cells (#1844)
[vanilla] Register RadioGroupControl in React Vanilla (#1791)
[vanilla] Remove redux vanilla (#1802)

[material, vanilla] Disable group elements on group disable rule (#1794)

[angular-material, angular] Update Angular packages (#1869)
[angular, angular-material] Compatibility with Angular 14 (#1979)
[angular-material] Update RXJS peer dependency version to include ^7.4.0 (#2015)
[angular-material, angular, core] Build ESM and CommonJS modules (#1858)
[angular, angular-material] Add JsonFormsAbstractControl to exported classes (#1785)
[angular-material] Improve label handling in MasterListComponent (#1786)

[vue] add binding for one enum cell elements (#1919)
[vue2] Remove composition-api plugin & upgrade to vue 2.7 (#1981)

[examples] Improve Vue Vanilla demo app (#1968)
[examples] Enhance example app (#1877)
[examples] Remove redux from example package (#1828)
[development] Remote container setup for VS-Code (#1809, #1941, #1945)

Many thanks to @rsoika, @marcianos, @kchobantonov, @sunnysingh, @wienczny, @jdwit, @nmaier95, @JoshuaFortriede, @nmay231, @rokiyama, @andresgutgon, @mirismaili, @awolokita, @larsw, @richturner, @onerzafer for their great contributions!

Special thanks to @kchobantonov for his amazing Vuetify renderer set contribution!

Very special thanks to CrossRef for the ongoing sponsoring!

jsonforms -

Published by sdirix over 3 years ago

[vue2] Change vue2 module system to commonjs (#1755)

jsonforms -

Published by sdirix over 3 years ago

[vue, vue-vanilla, vue2, vue2-vanilla, core] Add Vue Vanilla renderer sets (#1703, #1727, #1730, #1731, #1732, #1733)
[core] Added auto anyOf/oneOf/allOf resolving (#1702)
[core] Improve error filtering for anyOf, oneOf and allOf (#1714)
[core] Update data via lodash's fp/set (#1721)
[react] Indicate React 17 to be compatible with JSON Forms (#1740)
[core, material, react] Add MultiEnum renderer for enums and oneOf (#1709, #1736)
[material] Add React Material boolean toggle switch control and cell (#1693)
[material] Offer MuiInputText inputComponent customization (#1700)
[material] Fixes group's label being reformatted with startCase (#1701)
[angular, angular-material] Indicate compatibility with Angular 10 and 11 (#1749)
[angular-material] Fix resolving issues for nested categorizations (#1743)
[examples] Remove Redux dependency from examples package (#1708)

Special thanks to @sifthedog, @buryndin, @DavidHenri008 and @Felix-Puetz for their great contributions!

Big thanks also to headwire.com who partly sponsored the new Vue Vanilla renderer sets ❤️

jsonforms -

Published by sdirix over 3 years ago

[vue, vue2] Add JSON Forms Vue support (#1682)
[core, material, angular-material, example, react, vanilla] Remove redux dependencies from JSON Forms (#1649, #1653, #1664)
[core, react, material] React performance improvements (#1655)
[core, material] Support ui schema registry in React standalone (#1589)
[material, vanilla] Honor property titles in Table renderers (#1650)
[material] MaterialRadioGroupControl not used (#1642)
[material] Refactor "Clear input" button (#1648)
[material] Add radio group control for "oneOf" enums (#1654)
[angular] Improve dataChange emit (#1662)
[angular] Add error output to Angular component (#1663)
[angular, angular-material] Make Angular component consumable multiple times (#1657)
[angular, angular-material] Add Angular component config support (#1661)
[angular-material] Manually trigger changeDetector in Angular Master renderer (#1671)
[angular-material] Introduce 'useGrouping' option (#1672)
[vanilla] Add Vanilla JsonFormsStyleContext (#1652, #1665)
[vanilla] Automatically use default styles, remove redux style support, support style def merging (#1675)
[vanilla] Enhance VanillaRenderer customizable class names (#1679)
[vanilla] Show 0 in Vanilla NumberCell (#1658)

Special thanks to @sarahtrefethen and @JovanShandro for their great contributions!

Many thanks to headwire.com whose sponsoring made the Vue-based renderer sets possible. Among others they plan to power peregrine-cms.com with JSON Forms Vue and decided to contribute back to the OS community. ❤️

jsonforms -

Published by sdirix about 4 years ago

[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!

jsonforms -

Published by sdirix over 4 years ago

[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!

jsonforms -

Published by sdirix almost 5 years ago

[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!

jsonforms -

Published by sdirix almost 5 years ago

[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!

jsonforms - v2.3.0

Published by edgarmueller about 5 years ago

[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

jsonforms -

Published by sdirix about 5 years ago

[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!

jsonforms - v2.3.0-alpha.1

Published by edgarmueller over 5 years ago

[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!

jsonforms - v2.3.0-alpha.0

Published by edgarmueller over 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.
  <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)
jsonforms - v2.2.3

Published by edgarmueller over 5 years ago

[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
jsonforms - v2.2.3-beta.1

Published by edgarmueller over 5 years ago

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

jsonforms - v2.2.3-beta.0

Published by edgarmueller over 5 years ago

[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)