diff --git a/yesod-core/ChangeLog.md b/yesod-core/ChangeLog.md index 580a8345..4788b2ec 100644 --- a/yesod-core/ChangeLog.md +++ b/yesod-core/ChangeLog.md @@ -1,19 +1,13 @@ # ChangeLog for yesod-core -## 1.6.9 - -* Add `PrimMonad` instances for `HandlerFor` and `WidgetFor` [from - StackOverflow](https://stackoverflow.com/q/52692508/369198) - -## 1.6.8 - -* Sets the `X-XSS-Protection` header to `1; mode=block` [#1550](https://github.com/yesodweb/yesod/pull/1550) - ## 1.6.7 * If no matches are found, `selectRep` chooses first representation regardless of the presence or absence of a `Content-Type` header in the request [#1540](https://github.com/yesodweb/yesod/pull/1540) +* Sets the `X-XSS-Protection` header to `1; mode=block` [#1550](https://github.com/yesodweb/yesod/pull/1550) +* Add `PrimMonad` instances for `HandlerFor` and `WidgetFor` [from + StackOverflow](https://stackoverflow.com/q/52692508/369198) ## 1.6.6 diff --git a/yesod-core/Yesod/Core/Types.hs b/yesod-core/Yesod/Core/Types.hs index f17bfa19..1d13e99a 100644 --- a/yesod-core/Yesod/Core/Types.hs +++ b/yesod-core/Yesod/Core/Types.hs @@ -418,7 +418,7 @@ instance Monad (WidgetFor site) where unWidgetFor (f a) wd instance MonadIO (WidgetFor site) where liftIO = WidgetFor . const --- | @since 1.6.9 +-- | @since 1.6.7 instance PrimMonad (WidgetFor site) where type PrimState (WidgetFor site) = PrimState IO primitive = liftIO . primitive @@ -453,7 +453,7 @@ instance Monad (HandlerFor site) where HandlerFor x >>= f = HandlerFor $ \r -> x r >>= \x' -> unHandlerFor (f x') r instance MonadIO (HandlerFor site) where liftIO = HandlerFor . const --- | @since 1.6.9 +-- | @since 1.6.7 instance PrimMonad (HandlerFor site) where type PrimState (HandlerFor site) = PrimState IO primitive = liftIO . primitive diff --git a/yesod-core/yesod-core.cabal b/yesod-core/yesod-core.cabal index a7ab98bf..83eb5f7a 100644 --- a/yesod-core/yesod-core.cabal +++ b/yesod-core/yesod-core.cabal @@ -1,5 +1,5 @@ name: yesod-core -version: 1.6.9 +version: 1.6.7 license: MIT license-file: LICENSE author: Michael Snoyman