Releases: dxinteractive/dendriform
Releases · dxinteractive/dendriform
Add useDendriform() dependencies
- Add
useDendriform()
option fordependencies: []
to update from props
No breaking changes
Added LazyDerive
- Added
LazyDerive
/useLazyDerive
No breaking changes.
PluginSubmit API improvements
Breaking changes
PluginSubmit.previousForm
->PluginSubmit.previous
PluginSubmit.previous
->PluginSubmit.previous.value
PluginSubmit.usePrevious
->PluginSubmit.previous.useValue()
PluginSubmit.submittingForm
->PluginSubmit.submitting
PluginSubmit.submitting
->PluginSubmit.submitting.value
PluginSubmit.useSubmitting
->PluginSubmit.submitting.useValue()
PluginSubmit.dirty
->PluginSubmit.dirty.value
PluginSubmit.useDirty
->PluginSubmit.dirty.useValue()
Features
PluginSubmit
now stores most recent error state inPluginSubmit.error
PluginSubmit.previousForm added
PluginSubmit.previousForm
added to allow deriving off the previous form state
No breaking changes.
Plugin system, submit plugin
- Adds plugin system, addresses Feature: add a way of adding plugins to a form #16
- Adds submit plugin, addresses Plugin: add submit plugin, with failed request rollbacks #17
- Adds {go, replace, force} details to onChange()
- Returns details.patches as HistoryItem so that inverse patches are also present
No breaking changes (unless you were using the undocumented details.patches
property).
Cancellable changes, es6 set support, diff changes
- Add cancel feature (
onDerive
s can throw a cancel to have a change cancelled) #50 - Add
diff
#51 - Add support for es6 Sets
- Let
branchAll()
andrenderAll()
work on objects, es6 maps and es6 sets - Add
.key
- Add details to change and derive callbacks
- Fix #45
- Chained change callbacks now all occur after derive
No breaking changes.
Release time
The first real version of Dendriform.