Liking cljdoc? Tell your friends :D

Changelog

Version 2022.12.16-71

  • Add on-event option

Version 2022.04.28-67

  • Refactor internal error handling.
  • Update dependencies

Version 2021.06.07-0

  • Change version numbering.
  • Reimplement reify macro for avoid unnecesary checks on dev an prod builds.
  • Add alternative deftype macro (used by reify).

Version 4.0.0

This version has some breaking changes.

  • Remove event-ref abstraction, the resolve function is now used to resolve to correct event instance on creating it using event function (a simple wrapper that allows omit props). This will remove the overhead of checking all events if they are IEventRef.
  • Remove custom Store protocol; the store now implements the RX Subject interface.
  • The repr-event has changed a little bit its output.
  • Change license to MPL2.0.

Version 3.2.0

  • Start using okulary atom instead of native cljs atom because the native cljs hash-maps does not support js/Symbol keys.

Version 3.1.0

  • Add validator for state (that defaults to map?)

Version 3.0.0

BREAKING CHANGES

  • Change to banage all subscriptions generated by the watch events separatelly from the main stream, that makes the main stream more resillent to the errors.
  • Change to manage internal state as an atom instead of behavior subject (this is a convenience change due to the subscription handling change mentioned previously).

Version 2.8.0 (2020.08.10-1)

  • Revert dispatching in microtask the watch and effect because it breaks the contract that watch is executed just after update.
  • Update to beicon 2020.05.08-2
  • Change version numering.
  • Add event-ref? predicate.
  • Add resolve mechanism (indirection for reference events by keywords and resolve they using a multimethod or any other mechanism).

Version 2.7.0

Date: 2019-12-04

  • Add data-event constructor (useful for creating add-hoc data-only events).
  • Add type? predicate.

Version 2.6.0

Date: 2019-09-20

  • Dispatch watch and effect observation on a microtask.
  • Add event? predicate.
  • Rename EventType protocol to Event (breaking change).
  • Add potoc.core/reify macro for define events with associated type; using the Event protocol.

Version 2.5.0

Date: 2019-08-26

  • Add facilities for attach type to events defined with reify.

Version 2.4.0

Date: 2019-08-20

  • Update beicon to 5.1.0
  • Convert project to cli tools.
  • Improve error handling.
  • Minor performance improvements.

Version 2.3.0

Date: 2017-11-17

  • Update beicon to 4.1.0
  • Update cljs compiler to 1.9.946

Version 2.2.0

Date: 2017-08-03

  • Update beicon to 4.0.0
  • Update cljs compiler to 1.9.854

Version 2.1.0

Date: 2017-03-14

  • Update to beicon 3.2.0
  • Update cljs compiler to 1.9.495

Version 2.0.0

Date: 2017-02-22

  • Update to beicon 3.1.0.
  • Store now implement beicon.core/ICancellable protocol instead of plain .close method.
  • Set error retry count to Number.MAX_SAFE_INTEGER instead of small 1024 number.
  • Remove enable-console-print!.

Version 1.2.0

Date: 2017-01-12

  • Add the ability to retrieve the input stream from the store.

Version 1.1.0

Date: 2016-12-08

  • Improve error recovery of store internal streams.
  • The store now is behavior-subject and always returns the last state on new subscription.

Version 1.0.0

Date: 2016-11-27

  • Initial release.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close