0.6.0.3 - 2018-01-14
- Fixed dependencies' bounds.
0.6.0.2 - 2018-01-13
CookiedWrapperClass
supportsMonadIO
- andMonadThrow
-constrained monads.
- Fixed dependencies' bounds.
AuthCookieExceptionHandler
requires type of underlying monad as parameter.
0.6.0.1 - 2017-12-29
- Fixed module
tests/Utils
export.
0.6.0 - 2017-11-08
-
getHeaderSession
function to access session data without denying access to a route (issue #30). -
cookied
function:- support for multiple-parametered handlers (issue #34).
CookiedWrapper
type synonym andCookieWrapperClass
class to ease work with the function (issue #38).
-
Support for session cookies (issue #35):
ssExpirationType
ofSessionSetting
recordExpirationType
datatype
-
Support for refreshing cookies (issue #37):
ssAutoRenew
ofSessionSetting
record
-
Type synonyms for common boilerplates:
AuthCookieExceptionHandler
AuthCookieHandler
cookied
function's signature, added argument of typeProxy Session
.addSession*
functions' signatures, added argument ofSessionSettings
type. Usedef
(fromData.Default
) for fallback mode.- Fixed bug with wrong time format in
removeSession*
functions (issue #39). - Refactored internals:
- Format of encoding cookies is different.
Cookie
record is completely changed.WithMetadata
replaced withPayloadWrapper
/ExtendedPayloadWrapper
. Use the latter one in cookie handlers.encryptCookie
/decryptCookie
merged with their session counterparts.
acsExpirationFormat
field andCannotParseExpirationTime
exception constructor are no longer needed.
0.5.0.7 - 2017-11-08
- Fixed dependencies' bounds.
0.5.0.6 - 2017-10-23
- Fixed dependencies' bounds.
0.5.0.5 - 2017-07-13
- Fixed dependencies' bounds.
0.5.0.4 - 2017-05-27
- Fixed dependencies' bounds.
0.5.0.3 - 2017-05-24
- Fixed dependencies' bounds.
0.5.0.2 - 2017-04-26
- Fixed dependencies' bounds.
0.5.0.1 - 2017-04-16
- Fixed incompatibility with older versions of GHC.
0.5.0 - 2017-04-15
- Server keys management:
ServerKey
becomesServerKeySet
.mkServerKeyFromBytes
becomesmkPersistentServerKey
.
mkServerKey
(instead use custom instance ofServerKeySet
.
- class
Cookied
and functioncookied
to faciliate usage of mutable server keys.
0.4.4 - 2017-04-15
- Tests for the example.
parseSessionRequest
andparseSessionResponse
functions.removeSessionFromErr
function.
- Fixed constraint for
removeSession
.
- Changelog.
- Fixed dependencies' bounds.
0.4.3.2 - 2016-02-02
- Fixed dependencies' bounds.
0.4.3.1 - 2016-01-30
- Fixed dependencies' bounds.
0.4.3 - 2016-01-30
- Fixed draining of
/dev/random
. - Refactored the example.
0.4.2.1 - 2016-01-17
- Fixed dependencies' bounds.
0.4.2 - 2016-12-23
removeSession
function.
0.4.0 - 2016-09-25
- Support for
servant-0.9
. - Tags for bytestrings.
- Switched to
base-compat
.
0.3.2 - 2016-09-17
mkServerKeyFromBytes
function.
0.3.1 - 2016-08-19
addSessionToErr
function.
0.3.0.3 - 2016-08-12
- Fixed dependencies' bounds.
0.3.0.2 - 2016-08-04
- Fixed dependencies' bounds.
0.3.0 - 2016-07-27
- Relicensed to
BSD3
- The great and glorious refactoring of everything ;)
0.2.0 - 2016-07-08
- Parameters:
- hash algorithm
- encryption/decryption algorithms
- ...and many others.
- Tests
- Documentation
RandomKey
andServerKey
initialization (withoutunsafePerformIO
).
0.1.0.1 - 2016-06-15
- More user-friendly example.
- Initial version of the package.