Releases: nactio/nact
Releases · nactio/nact
Removed type check from PersistenceEngine
The type check forced the PostgreSQL plugin to update in lockstep with nact, which is not desirable.
Documentation Fix
v3.1.2 Release to update README on npm
Made the timeout argument compulsory on query function
Fixed #15: query
now throws an error if no timeout is provided. This prevents the system becoming unresponsive.
Refactored to make actions use functions instead of being properties
While strictly speaking a breaking change, I'm not bumping the version number as this comes hours after version 3's breaking change which touches code in the same ways.
I decided to make the query
, dispatch
and stop
methods functions in the public interface.
This will make it significantly simpler to later pass remote actor references as JSON.
One true dispatch & Stateless concurrency
- Dispatch has been removed from the context object. While handy, it was actually that much less verbose and meant that users need to learn two ways of dispatching messages. Fix for Issue #14
- Stateless actors are now concurrent. This means they can process more than one message at a time. This allows a performance increase without a resultant increase in complexity. Enhancement #13
Actors now include Observables
Actors references now have a state$
object which returns an observable which emits a value each time the state of the actor changes.
API fixes
Fix for persistent actor
v2.0.2 Merge branch 'master' of github.com:ncthbrt/nact