- BREAKING: Generalise
ModelFindVariables
andModelLookup
toModelVarContext
. Occurrences ofModelFindVariables
andModelLookup
in theInLockstep
class are replaced by the newly exposedModelVarContext
. AModelFindVariables
can be recovered from aModelVarContext
using the newfindVars
functions. AModelLookup
can be recovered from aModelVarContext
using the newlookupVars
function. Since these functions can be recovered fromModelVarContext
, existing tests are guaranteed to be adaptable to the newInLockstep
API. This breaking changes means that, for example ...... should be changed to ...arbitraryWithVars lookupVars = ... (lookupVars ...)
arbitraryWithVars vctx = ... (lookupVars vctx ...)
- PATCH: allow building with
ghc-9.10
- PATCH: bump dependency versions for
containers
andQuickCheck
- BREAKING: Update
quickcheck-dynamic
dependency to>=3.4.1
. The main change is thatquickcheck-dynamic
'sStateModel
class now has an associated typeError
, the use of which is optional. However, as a result, some functions inquickcheck-lockstep
change type signatures: the defaultmonitoring
function,runActions
, andrunActionsBracket
.
- PATCH: fix compilation failures when using
mtl ^>=2.3
- BREAKING: Counter-examples now produce valid code. To facilitate this,
HasVariables
andShow
instances have changed, and a newunsafeMkGVar
smart constructor is exposed. - Add compatibility with ghc-9.8
- BREAKING: Update
quickcheck-dynamic
dependency to>=3.3
. - Add compatibility with ghc-9.6 (Javier Sagredo)
- Expose necessary definitions for custom
Operation
instances (Joris Dral)
- Relax bounds on
base
(support up to ghc 9.4) - Show real/mock response in addition to observable response
(see
showRealResponse
) - Add
labelActions
function - Generalise
runActionsBracket
(Joris Dral) - Expose getter for the model in
Lockstep
(Joris Dral)
- First release