Version bump

This commit is contained in:
Michael Snoyman 2014-12-20 18:25:15 +02:00
parent 8b7c58f381
commit b3754498ec
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
## 1.4.7
SSL-only session security [#894](https://github.com/yesodweb/yesod/pull/894)
## 1.4.6.2
monad-control 1.0

View File

@ -318,6 +318,8 @@ defaultYesodMiddleware handler = do
-- includes disabling HTTP traffic to the site or issuing redirects from
-- HTTP urls, and composing 'sslOnlyMiddleware' with the site's
-- 'yesodMiddleware'.
--
-- Since 1.4.7
sslOnlySessions :: IO (Maybe SessionBackend) -> IO (Maybe SessionBackend)
sslOnlySessions = (fmap . fmap) secureSessionCookies
where
@ -331,6 +333,8 @@ sslOnlySessions = (fmap . fmap) secureSessionCookies
-- against hijacking attacks on the sessions of users who attempt to access
-- the site using an http url. This middleware makes a site functionally
-- inaccessible over vanilla http in all standard browsers.
--
-- Since 1.4.7
sslOnlyMiddleware :: Yesod site
=> Int -- ^ minutes
-> HandlerT site IO res

View File

@ -1,5 +1,5 @@
name: yesod-core
version: 1.4.6.2
version: 1.4.7
license: MIT
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>