Skip to content

Releases: vigetlabs/microcosm

Version 12.14.0

26 Jun 15:11
Compare
Choose a tag to compare
  • Added a confirm property to ActionForm and ActionButton. This is a predicate that controls whether or not an action should be dispatched; useful for confirming destructive actions and other user confirmations.

Version 0.0.5

12 Jun 13:22
Compare
Choose a tag to compare
  • Fixed text width calculation on tree nodes

Microcosm Devtools 0.0.4

12 Jun 12:53
Compare
Choose a tag to compare
  • Added workaround for a bug in the JSON tree view component

v12.13.3

09 Nov 13:06
Compare
Choose a tag to compare
  • Upstream repo.parallel fix from 12.12.x

v12.13.2

09 Nov 13:06
Compare
Choose a tag to compare
  • Fixed bad release. ReactDOM was not properly externalized, preventing ActionForm from bundling

v12.13.1

08 Nov 16:57
Compare
Choose a tag to compare
  • Fix issue where refs passed to ActionForm would raise warning in React

v12.12.3

08 Nov 16:57
Compare
Choose a tag to compare
  • Fix issue where refs passed to ActionForm would raise warning in React

12.13.0

12 Sep 15:54
Compare
Choose a tag to compare
  • In batching mode, Presenter model updates are asynchronous.
  • Warn when a non-POJO is passed as effect/domain options
  • Added lifecycle method for when a Presenter model changes: modelDidUpdate. See the docs for more information.

v12.12.0

28 Aug 12:21
Compare
Choose a tag to compare
  • Domain::setup and constructors receive the key they were mounted at via
    options.key.
  • Added prepare prop for ActionButton that allows developers to specify
    an extra transformation of the underlying value (e.g. based on the event
    object) before the action gets dispatched.
  • Domain and effect registration handlers can be an array of functions
    that are processed sequentially.
  • Tweaked internal processing of actions to allow function arguments
    to be returned from actions without being treated as a thunk. See
    the docs for Actions for more information.

v12.11.0

24 Aug 13:37
Compare
Choose a tag to compare
  • Removed string ref in ActionForm, avoiding some edge cases and allowing usage with React 16.
  • Fix boolean flow type
  • Warn when pushing actions on a torn down Microcosm instance
  • register() can return null
  • Pass context to ActionForm constructor, fixing a bug with context
  • Use buble instead of babel for production builds, decreasing build size