LicenseRef-OtherLicense licensed by Toralf Wittner
Maintained by
Toralf WittnerThis version can be pinned in stack with:wai-predicates-0.8.4@sha256:2553a3a3b2420eec3a53625abb0ef0db3e936c598eb4182e750126a607fd83c2,2956
Module documentation for 0.8.4
Depends on 12 packages
(full list with versions):
attoparsec,
base,
bytestring,
bytestring-conversion,
case-insensitive,
cookie,
http-types,
singletons,
transformers,
vault,
vector,
wai Evaluate predicate functions against WAI requests and receive
metadata in addition to a success/failure indicator.
Predicates can be combined using logical connectives and the
metadata are passed on accordingly.
0.8.4
- Update
bytestring-conversion
upper bounds.
0.8.3
- Update various upper bounds.
0.8.2
- Update
bytestring-conversion
to version 0.2
0.8
- Replace
bytestring-from
with bytestring-conversion
and update
test dependencies.
0.7
- Update dependencies to include WAI 3.0.x
0.6
- Move
def
and opt
from Data.Predicate
to Network.Wai.Predicate
and
make both specific to Predicate r Error t
.
- Remove
mapOkay
and mapFail
.
- Update
bytestring-from
dependency.
0.5
- Update dependencies constraints.
0.4
- Use
singletons
library instead of GHC.TypeLits
from base.
- Remove
mapResult
(use fmap
instead).
0.3.2
- Update dependencies constraints.
0.3.1
- Add
fromVault
predicate and HasVault
type-class.
0.3
- Change
header
, hasHeader
and lookupHeader
to use HeaderName
instead
of ByteString
for the lookup key.
0.2.1
- Update WAI version bounds to include 2.1
0.2
- Rename
getRequest
predicate to request
and request
method of
HasRequest
to getRequest
.
- Add
MonadTrans
and MonadIO
instance declarations for ResultT
and
some helper functions.
0.1