Skip to content

Releases: dxinteractive/dendriform

Add useDendriform() dependencies

15 Oct 04:10
Compare
Choose a tag to compare
  • Add useDendriform() option for dependencies: [] to update from props

No breaking changes

Added LazyDerive

11 Oct 22:20
Compare
Choose a tag to compare
  • Added LazyDerive / useLazyDerive

No breaking changes.

PluginSubmit API improvements

06 Oct 04:42
Compare
Choose a tag to compare

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 in PluginSubmit.error

PluginSubmit.previousForm added

05 Oct 04:07
Compare
Choose a tag to compare
  • PluginSubmit.previousForm added to allow deriving off the previous form state

No breaking changes.

Plugin system, submit plugin

01 Oct 09:31
Compare
Choose a tag to compare
  • 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

01 Oct 09:32
Compare
Choose a tag to compare
  • Add cancel feature (onDerives can throw a cancel to have a change cancelled) #50
  • Add diff #51
  • Add support for es6 Sets
  • Let branchAll() and renderAll() 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

01 Oct 09:33
Compare
Choose a tag to compare

The first real version of Dendriform.