From cc6cc2939e197165a90b9765fa1c25679e48f83c Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Wed, 10 Aug 2016 15:18:41 +0300 Subject: [PATCH] Fix ChangeLog and @since comments --- yesod-core/ChangeLog.md | 1 + yesod-core/Yesod/Core/Class/Yesod.hs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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