From 005a29d2bef0df0cbda4883ea492995166f112bb Mon Sep 17 00:00:00 2001 From: Susisu Date: Mon, 3 Feb 2025 21:38:46 +0900 Subject: [PATCH] chore: bump to v0.6.1 --- CHANGELOG.md | 5 ++++- package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 831ecf7..06cadab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.6.1 (2025-02-03) + +- Fix handling of errors thrown by effect handlers + ## 0.6.0 (2025-02-02) - Add proper support for `try` / `catch` / `finally` in computations @@ -8,4 +12,3 @@ - **BREAKING** `run` now takes two functions `onReturn` and `onThrow`, instead of a single function `ret`, to handle errors thrown in the computations - **BREAKING** Rename `EffectId` to `EffectKey` - **BREAKING** The arguments of `Eff` type is flipped (`Eff` to `Eff`) for convenience - diff --git a/package.json b/package.json index 6727711..87e983b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@susisu/effectful", - "version": "0.6.0", + "version": "0.6.1", "description": "Algebraic effects and handlers for TypeScript", "repository": "https://github.com/susisu/effectful.git", "author": "Susisu ",