Changelog for servant-auth-cookie-0.6.0.3
Change Log
HEAD
0.6.0.3 - 2018-01-14
Changed
- Fixed dependencies' bounds.
0.6.0.2 - 2018-01-13
Added
CookiedWrapperClasssupportsMonadIO- andMonadThrow-constrained monads.
Changed
- Fixed dependencies' bounds.
AuthCookieExceptionHandlerrequires type of underlying monad as parameter.
0.6.0.1 - 2017-12-29
Changed
- Fixed module
tests/Utilsexport.
0.6.0 - 2017-11-08
Added
-
getHeaderSessionfunction to access session data without denying access to a route (issue #30). -
cookiedfunction:- support for multiple-parametered handlers (issue #34).
CookiedWrappertype synonym andCookieWrapperClassclass to ease work with the function (issue #38).
-
Support for session cookies (issue #35):
ssExpirationTypeofSessionSettingrecordExpirationTypedatatype
-
Support for refreshing cookies (issue #37):
ssAutoRenewofSessionSettingrecord
-
Type synonyms for common boilerplates:
AuthCookieExceptionHandlerAuthCookieHandler
Changed
cookiedfunction's signature, added argument of typeProxy Session.addSession*functions' signatures, added argument ofSessionSettingstype. 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.
Cookierecord is completely changed.WithMetadatareplaced withPayloadWrapper/ExtendedPayloadWrapper. Use the latter one in cookie handlers.encryptCookie/decryptCookiemerged with their session counterparts.
Removed
acsExpirationFormatfield andCannotParseExpirationTimeexception constructor are no longer needed.
0.5.0.7 - 2017-11-08
Changed
- Fixed dependencies' bounds.
0.5.0.6 - 2017-10-23
Changed
- Fixed dependencies' bounds.
0.5.0.5 - 2017-07-13
Changed
- Fixed dependencies' bounds.
0.5.0.4 - 2017-05-27
Changed
- Fixed dependencies' bounds.
0.5.0.3 - 2017-05-24
Changed
- Fixed dependencies' bounds.
0.5.0.2 - 2017-04-26
Changed
- Fixed dependencies' bounds.
0.5.0.1 - 2017-04-16
Changed
- Fixed incompatibility with older versions of GHC.
0.5.0 - 2017-04-15
Changed
- Server keys management:
ServerKeybecomesServerKeySet.mkServerKeyFromBytesbecomesmkPersistentServerKey.
Deleted
mkServerKey(instead use custom instance ofServerKeySet.
Added
- class
Cookiedand functioncookiedto faciliate usage of mutable server keys.
0.4.4 - 2017-04-15
Added
- Tests for the example.
parseSessionRequestandparseSessionResponsefunctions.removeSessionFromErrfunction.
Changed
- Fixed constraint for
removeSession.
0.4.3.3
Added
- Changelog.
Changed
- Fixed dependencies' bounds.
0.4.3.2 - 2016-02-02
Changed
- Fixed dependencies' bounds.
0.4.3.1 - 2016-01-30
Changed
- Fixed dependencies' bounds.
0.4.3 - 2016-01-30
Changed
- Fixed draining of
/dev/random. - Refactored the example.
0.4.2.1 - 2016-01-17
Changed
- Fixed dependencies' bounds.
0.4.2 - 2016-12-23
Added
removeSessionfunction.
0.4.0 - 2016-09-25
Added
- Support for
servant-0.9. - Tags for bytestrings.
Changed
- Switched to
base-compat.
0.3.2 - 2016-09-17
Added
mkServerKeyFromBytesfunction.
0.3.1 - 2016-08-19
Added
addSessionToErrfunction.
0.3.0.3 - 2016-08-12
Changed
- Fixed dependencies' bounds.
0.3.0.2 - 2016-08-04
Changed
- Fixed dependencies' bounds.
0.3.0 - 2016-07-27
Changed
- Relicensed to
BSD3 - The great and glorious refactoring of everything ;)
0.2.0 - 2016-07-08
Added
- Parameters:
- hash algorithm
- encryption/decryption algorithms
- ...and many others.
- Tests
- Documentation
Changed
RandomKeyandServerKeyinitialization (withoutunsafePerformIO).
0.1.0.1 - 2016-06-15
Changed
- More user-friendly example.
0.1.0 - 2016-06-05
Added
- Initial version of the package.