diff --git a/yesod-core/ChangeLog.md b/yesod-core/ChangeLog.md index 3b5e2140..281f1d48 100644 --- a/yesod-core/ChangeLog.md +++ b/yesod-core/ChangeLog.md @@ -1,6 +1,7 @@ ## 1.4.23 * urlParamRenderOverride method for Yesod class [#1257](https://github.com/yesodweb/yesod/pull/1257) +* Add laxSameSiteSessions and strictSameSiteSessions [#1226](https://github.com/yesodweb/yesod/pull/1226) ## 1.4.22 diff --git a/yesod-core/Yesod/Core/Class/Yesod.hs b/yesod-core/Yesod/Core/Class/Yesod.hs index 44867a78..792b1d43 100644 --- a/yesod-core/Yesod/Core/Class/Yesod.hs +++ b/yesod-core/Yesod/Core/Class/Yesod.hs @@ -394,7 +394,7 @@ sslOnlySessions = (fmap . fmap) secureSessionCookies -- This option is liable to change in future versions of Yesod as the spec evolves. -- View more information . -- --- Since 1.4.21 +-- @since 1.4.23 laxSameSiteSessions :: IO (Maybe SessionBackend) -> IO (Maybe SessionBackend) laxSameSiteSessions = sameSiteSession sameSiteLax @@ -405,7 +405,7 @@ laxSameSiteSessions = sameSiteSession sameSiteLax -- This option is liable to change in future versions of Yesod as the spec evolves. -- View more information . -- --- Since 1.4.21 +-- @since 1.4.23 strictSameSiteSessions :: IO (Maybe SessionBackend) -> IO (Maybe SessionBackend) strictSameSiteSessions = sameSiteSession sameSiteStrict