Releases: agrafix/Spock
Releases · agrafix/Spock
Hackage 0.12.0.0
- improved get and post parameter handling, specifically they can be fetched independently now
- deprecate
subcomponent
- switch from
path-pieces
tohttp-api-data
- defer parsing the request body as long as possible
- add
RouteM
as abstract wiring monad
Hackage Version 0.11.0.0
For more information see https://www.spock.li/2016/08/25/shareable-apis.html
Hackage Version 0.10.0.1
- Critical bugfix in Cookie-Parsing
Hackage Version 0.10.0.0
- Introduce
sessionRegenerateId
to prevent session fixation attacks - Fix bug in
SafeAction
s which could lead to invalid urls - Possibility to start Spock without port startup banner
- Allow lower level handling of HTTP-Auth data using
withBasicAuthData
Community contributions
- Improved cookie handling, thanks @nmk
- Default responses are clean empty responses, thanks @UlfS
- Return 400 when unable to parse json body, thanks @paldepind
Hackage Version 0.9.0.1
- Possible Bugfix for #44
Hackage Version 0.9.0.0
- Introduced contexts. Each request now has a context which can change during request processing. This is very useful to DRY different tasks like authentication and make them more typesafe. The old API remains unchanged by this. For usage examples see the funblog project and read the blog post
- Added
ActionCtxT
andSpockActionCtx
- Added
SpockCtxT
andSpockCtxM
- Added
getContext
andrunInContext
- Added
prehook
- Added
- Safe SessionId generation
- Added
SessionHooks
- Added
reqMethod
to get the current request method - Added
PCNoDatabase
Hackage Version 0.8.1.0
mapAllSessions
function- add
README.md
to cabal package
Hackage Version 0.8.0.0
Hackage Version 0.7.12.0
- Add
rawHeader
functionality
Hackage Version 0.7.11.0
- Switch to new
reroute
andhvect
library