- add shell script to refactor match? expressions and
:require [state-flow.cljtest} ...
- state-flow.state/modify and state-flow.state/gets pass additional args to f
- Introduce
state-flow.assertions.matcher-combinators/match?
- deprecate
state-flow.cljtest/match?
- add
state-flow.refactoring-tools.refactor-match/refactor-all
to help with
refactoring to the new version
- Revert changes in
2.2.2
until a few issues are resolved
DO NOT USE VERSION 2.2.2
Changes were reintroduced in 2.2.4
, so use that.
- Use vectors in internal state data structure instead of cats pairs
- Remove delay from the first try of
probe
- Refactor probe and change return value to include the probed value and check result of each try
- Make
state-flow.state/return
constructable/def'able outside monadic context.
- Add 1-arg arity to
state-flow.core/run
and state-flow.core/run!
with default initial-state of {}
- Improve error when a non-flow expression is provided as a subflow
- Add flow declaration line numbers to failure output
- Added state-flow.core/top-level-description fn
- mostly for tooling built on top of state-flow
- Removed state-flow.core/get-description
- This is for internal use, but if you happen to have been using it, you can
use state-flow.core/current-description instead.
- Moved flow descriptions to the State object's meta
- Moved probe to its own namespace
- Changed push-meta and pop-meta so that execution descriptions are logged (internal)
- Add
state-flow.labs
namespace for experimental features - Add
state-flow.labs.cljtest/testing
- update
times-to-try
default from 100
to 5
and sleep-time
default from 10
to 200
- Add
state-flow.state/modify
to align with rest of the fn names from Haskell's State Monad - Deprecate
state-flow.state/swap
(use modify
instead)
- Update cats and matcher-combinators to latest versions
- Allow
(str ...)
to be a valid flow description
- [BREAKING] Move
verify
to from state-flow.core
to the state-flow.midje
namespace.
- Add alias for m/return as state/return
- Require flows to have a string description to prevent the first subflow from
being used as the description.
- Add optional parameters to
match?
, making it possible to tweak times-to-try and sleep-time of test probing
- Fix and update matcher-combinators dependency
- Fix license name in
project.clj
- Implement test probing for match?
- Improved support for clojure test
- Add state related functions
- Move wrap-fn to state namespace
- Improve documentation
- Add with-responses helper
- Add
state-flow.core/ftap
for State pretty printing;
- Add support for clojure.test + matcher-combinators
- Add
helpers.kafka/last-consumed-message
- Update cats and nu-algebraic-data-types dependencies
- Request helper using request-map
- Experimental req function without exceptions and status assertion
- Update-component helper function
- Add Flow schema
- Add system swap helper
- Add http client get-responses and clear-requests
- Remove responses from function pararemeters
- Moved core code from nu-algebraic-data-types
- Moved helpers from purgatory code
Can you improve this documentation? These fine people already did:
David Chelimsky, Phillip Mates, ericvm, sovelten, Caio Oliveira, Thiago Kenji Okada (Nubank) & Eric VeltenEdit on GitHub