zohl / servant-auth-cookie

Authentication via encrypted cookies
BSD 3-Clause "New" or "Revised" License
23 stars 23 forks source link

Add `removeSessionFromErr` function. #27

Closed mschristiansen closed 7 years ago

mschristiansen commented 7 years ago

Add removeSessionFromErr function symmetric to addSessionToErr.

mschristiansen commented 7 years ago

Build failure on GHC 7.10 and 7.8, but unrelated to this PR as far as I can tell.

zohl commented 7 years ago

Thank you, @mschristiansen! Merged.

(The PR is ok, it's just the build is broken at the moment (my fault, I have to fix some dependencies).)

mschristiansen commented 7 years ago

Great. Another Hackage release coming soon?

zohl commented 7 years ago

Yes, I'll do it on the weekends.

zohl commented 7 years ago

Done, there are two releases -- v0.4.4 and v0.5.0.

You can switch to v0.4.4 without any problems, I backported your PRs there.

As for v0.5.0, there are few breaking changes, and even though I did my best to reflect them in the example, I should spend some time on writing proper documentation. (This is related to issue https://github.com/zohl/servant-auth-cookie/issues/26)

mschristiansen commented 7 years ago

Great. Thanks!