timbre
done in 5.13.0
state-flow.core/description-stack
as public (was only for internal usage).:defined-by
in defflow
clj-kondo hook used by latest clj-kondo. This should fix clojure-lsp warnings about unused-public-var
linter.defflow
and flow
to the classpath.when
shadow warningwhen
to state-flow.api
<description> (<file>:<line>)
before-flow-hook
optionstate-flow.api/for
macro #1425.6.0
because it is causing transient issues.:fail-fast?
options for run*
. When set the flow will failing fast on the first assertion instead of continuing to runstate-flow.labs.state/with-redefs
#133WARNING: matcher-combinators-2.0.0 includes breaking changes for edge cases. See https://github.com/nubank/matcher-combinators/blob/master/CHANGELOG.md#200
wrap-fn
and with-redefs
helpers #123state-flow.api/match?
throws times-to-try
exception a runtime instead of macro-expansion time #125
state-flow.cljtest/match?
no longer throws that exception at all.state-flow.api
namespace #118
fmap
fnWARNING: for any code relying on previously undocumented behavior of
state-flow.assertions.matcher-combinators/match?
, this release includes a
breaking change.
;; if you were doing this before in a binding
[actual (match? <expected> <step-that-produces-actual>)]
;; you can do this, now
[actual (fmap report->actual (match? <expected> <step-that-produces-actual>))]
;; or
[report (match? <expected> <step-that-produces-actual>)
:let [actual (report->actual report)]]
state-flow.assertions.matcher-combinators/match?
returns a map instead of
the actual
value #110
state-flow.assertions.matcher-combinators/report->actual
to get the actual value if you need itstate-flow.core/run*
:on-error
option (with default to log and rethrow):cleanup
option to clean up after an exceptionstate-flow.core/run!
run*
now has the same behavior by default (note the argument order is
switched and the initial state is passed in as a part of the option map):require [state-flow.cljtest} ...
state-flow.assertions.matcher-combinators/match?
state-flow.cljtest/match?
state-flow.refactoring-tools.refactor-match/refactor-all
to help with
refactoring to the new version2.2.2
until a few issues are resolvedDO NOT USE VERSION 2.2.2
Changes were reintroduced in 2.2.4
, so use that.
probe
state-flow.state/return
constructable/def'able outside monadic context.state-flow.core/run
and state-flow.core/run!
with default initial-state of {}
state-flow.labs
namespace for experimental featuresstate-flow.labs.cljtest/testing
times-to-try
default from 100
to 5
and sleep-time
default from 10
to 200
state-flow.state/modify
to align with rest of the fn names from Haskell's State Monadstate-flow.state/swap
(use modify
instead)(str ...)
to be a valid flow descriptionverify
to from state-flow.core
to the state-flow.midje
namespace.match?
, making it possible to tweak times-to-try and sleep-time of test probingproject.clj
state-flow.core/ftap
for State pretty printing;helpers.kafka/last-consumed-message
Can you improve this documentation? These fine people already did:
David Chelimsky, Phillip Mates, sovelten, ericvm, Caio Oliveira, Eric Dallo, André Peric Tavares, Ivan Galban, Thiago Kenji Okada (Nubank), Eric Velten & Bruno LedesmaEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close