Skip to content

Conversation

@sovelten
Copy link
Collaborator

@sovelten sovelten commented Sep 15, 2025

Draft attempt at removing exception monad from state-flow and remove cats dependency, replacing it with internal version on state.clj.

As it is right now, it is a breaking change. Needs to be changed so that it doesn't break users.

Breaking changes:
Before: running a flow with exception would return a pair of Exception monad and the last state.
After: it returns a regular Throwable instance and the last state.

Before: We could use any cats.core helpers for composing flows
Now: We should use only helpers from state-flow.state namespace, or actually preferably from state-flow.api if you are not developing a helper library. cats.core helpers will no longer be compatible.

Last commit was AI assisted, I didn't check it, we need to review it more carefully later. 🙈

@sovelten sovelten changed the title (WIP) remove exception monad Remove exception monad and cats dependency Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants