Releases: dxinteractive/dendriform
Releases · dxinteractive/dendriform
Fix to prevent multiple sibling .render() calls from same form from sharing React keys
- 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
- 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()
- Add
historySync
to supersedesync
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()
- Make
branchAll()
andrenderAll()
on non-iterable types consistent with branch() and render()- No longer throw errors if
branchAll()
orrenderAll()
is called on a non-iterable form, instead returning an empty array.
- No longer throw errors if
- Make returned forms from non-branchable types read-only
- Fix docs that were incorrect at describing intended behaviour of
branch()
andrender()
- Define expected behaviour of
branchAll()
andrenderAll()
. 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 frombranchAll()
andrenderAll()
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
Addresses #65
No breaking changes
Add .readonly()
- Add readonly forms with
form.readonly()
, addresses #67
No breaking changes
Update docs and demos
No code changes. Only publishing to get improved documentation onto npm's pages.
Fix to remount Branch component if base form changes
No breaking changes
Fix PluginSubmit dirty not changing to false after submit when containing an array
Add .branchable, fix submit non-branchable
- 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