Releases: Snowflyt/tinyeffect
Releases · Snowflyt/tinyeffect
v0.3.1
- 🐳 chore(build): Replace sucrase with ts-blank-space to generate cleaner JS output.
v0.3.0
- ✨ feat!: Rename
Effected#map
to Effected#andThen
for improved API conciseness. (76fb3fe)
v0.2.1
- ✨ feat: Add
.tap(handler)
as an alternative of .map(handler)
that preserves the original value.
- 🐳 chore: Lower minimum compatibility target to ES2015.
v0.2.0
- ✨ feat (BREAKING CHANGE):
effect
now returns an effected function instead of a gnerator function for consistency. Similarly, effectify
now returns an Effected
instance instead of a generator.
- 🎈 perf: The performance of nested effects (handling effects within another effected program or other effects) has been significantly improved, now achieving up to 20x faster execution than before.
v0.1.2
- ✨ feat: Add
Effected.of/from
to create an Effected
instance with no effects and a simple return value.
v0.1.1
- ✨ feat: Add
.catchAndThrow(error, message?)
and .catchAllAndThrow(message?)
to allow raising exceptions instead of handling them.
v0.1.0
Algebraic effects, in TypeScript.
That’s where tinyeffect comes in.