Skip to content

Releases: Snowflyt/tinyeffect

v0.2.1

12 Nov 06:33
Compare
Choose a tag to compare
  • ✨ 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

11 Nov 03:45
Compare
Choose a tag to compare
  • ✨ 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

08 Nov 07:20
Compare
Choose a tag to compare
  • ✨ feat: Add Effected.of/from to create an Effected instance with no effects and a simple return value.

v0.1.1

05 Nov 03:28
Compare
Choose a tag to compare
  • ✨ feat: Add .catchAndThrow(error, message?) and .catchAllAndThrow(message?) to allow raising exceptions instead of handling them.

v0.1.0

03 Nov 15:13
Compare
Choose a tag to compare

Algebraic effects, in TypeScript.

That’s where tinyeffect comes in.