Skip to content

Commit

Permalink
Explicitly import Control.Monad.Trans (#1471)
Browse files Browse the repository at this point in the history
mtl-2.3.1 no longer re-exports this from another module
  • Loading branch information
TeofilC committed Mar 2, 2023
1 parent 356a081 commit 2e08f3b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions persistent-postgresql/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog for persistent-postgresql

## 2.13.5.2

* [#1471](https://github.com/yesodweb/persistent/pull/1471)
* Explicitly import `Control.Monad.Trans.lift` to support mtl-2.3.

## 2.13.5.1

* [#1459](https://github.com/yesodweb/persistent/pull/1459)
Expand Down
1 change: 1 addition & 0 deletions persistent-postgresql/Database/Persist/Postgresql.hs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ import Control.Monad.Except
import Control.Monad.IO.Unlift (MonadIO(..), MonadUnliftIO)
import Control.Monad.Logger (MonadLoggerIO, runNoLoggingT)
import Control.Monad.Trans.Reader (ReaderT(..), asks, runReaderT)
import Control.Monad.Trans.Class (lift)
#if !MIN_VERSION_base(4,12,0)
import Control.Monad.Trans.Reader (withReaderT)
#endif
Expand Down
2 changes: 1 addition & 1 deletion persistent-postgresql/persistent-postgresql.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: persistent-postgresql
version: 2.13.5.1
version: 2.13.5.2
license: MIT
license-file: LICENSE
author: Felipe Lessa, Michael Snoyman <michael@snoyman.com>
Expand Down

0 comments on commit 2e08f3b

Please sign in to comment.