Skip to content

v0.3.0

Latest

Choose a tag to compare

@sloshy sloshy released this 11 Jul 05:43

This new release adds support for EventStateTopic as well as a brand new testing module. EventStateTopic is an alternative to SignallingEventState that allows you to subscribe to all possible state changes. This is especially useful for reactive applications.

Based on this, the testing module provides ReplayableEventState that allows you to seek forward and backwards in time while emitting state changes to subscribers. You can reset the initial state value, get a list of all emitted states, and more. Look at the new testing documentation to get a feel for how it works.

One breaking change is that EphemeralResource is now renamed to ExpiringRef as the previous name was not very good, and this name makes a lot more immediate sense as to what it does. Documentation has also been updated to reflect this.

Note: Version v0.2.7 was published with these exact same changes, but retroactively I realized that it warranted a higher version number bump than a "patch release". Those artifacts should be exactly the same as these.