Skip to content

Releases: dxinteractive/dendriform

Fix to prevent multiple sibling .render() calls from same form from sharing React keys

18 Mar 02:03
Compare
Choose a tag to compare
  • Fix to prevent multiple sibling .render() calls from same form from sharing React keys

No breaking changes

Fix to disable auto-keying / patch optimisations for arrays containing primitives

17 Mar 04:55
Compare
Choose a tag to compare
  • Disable auto-keying / patch optimisations for arrays containing primitives, as this was occasionally causing incorrect transformations on the data during a .set()
  • Update docs to not use primitives in arrays (as not using primitives in arrays is by far the more normal use case)

No breaking changes

Add historySync()

01 Mar 01:05
Compare
Choose a tag to compare
  • Add historySync to supersede sync in a way that isn't disrupted by any added derivers #66
  • Deprecate sync. Will be removed next major version

Make branchAll() and renderAll() on non-iterable types consistent with branch() and render()

28 Feb 00:02
Compare
Choose a tag to compare
  • Make branchAll() and renderAll() on non-iterable types consistent with branch() and render()
    • No longer throw errors if branchAll() or renderAll() is called on a non-iterable form, instead returning an empty array.
  • Make returned forms from non-branchable types read-only
  • Fix docs that were incorrect at describing intended behaviour of branch() and render()
  • Define expected behaviour of branchAll() and renderAll(). As this was previously undefined behaviour according to the API this is regarded as a non-breaking change - and at this early stage its a very reasonable bet that nobody is relying on catching error messages from branchAll() and renderAll() for their apps to function

No breaking changes (if you aren't relying on the previously undocumented behaviour of requiring branchAll() and renderAll() throwing errors when called on non-iterable forms)

Fix .onDerive value to respect branching

27 Feb 19:46
Compare
Choose a tag to compare

Addresses #65

No breaking changes

Add .readonly()

27 Feb 06:05
Compare
Choose a tag to compare
  • Add readonly forms with form.readonly(), addresses #67

No breaking changes

Update docs and demos

24 Feb 05:04
Compare
Choose a tag to compare

No code changes. Only publishing to get improved documentation onto npm's pages.

Fix to remount Branch component if base form changes

10 Jan 04:54
Compare
Choose a tag to compare

Fix PluginSubmit dirty not changing to false after submit when containing an array

10 Jan 04:53
Compare
Choose a tag to compare

Add .branchable, fix submit non-branchable

15 Dec 05:44
Compare
Choose a tag to compare
  • feat: add form.branchable: boolean to check if a form can be branched
  • fix: allow non branchable forms to be submitted using PluginSubmit

No breaking changes