From bc187ef48d8aa0ee90f10dc82628a90c9d424d23 Mon Sep 17 00:00:00 2001 From: Naushadh Date: Mon, 28 Jan 2019 21:08:44 -0500 Subject: [PATCH] Fix stackage#4312: Relax network version bound. Issue: https://github.com/commercialhaskell/stackage/issues/4312 Should be safe for us to relax bound as upstream `mysql-haskell` library has already safely relaxed its bound. Tested with the following `stack.yaml`: ```yaml resolver: lts-10.4 packages: - ./persistent - ./persistent-template - ./persistent-sqlite - ./persistent-test - ./persistent-mongoDB - ./persistent-mysql - ./persistent-mysql-haskell - ./persistent-postgresql - ./persistent-redis - ./persistent-qq extra-deps: - monad-logger-0.3.28.1 - mysql-simple-0.4.4 - mono-traversable-1.0.8.1 - unliftio-0.2.4.0 - unliftio-core-0.1.1.0 - async-2.1.1.1 - typed-process-0.2.1.0 - resourcet-1.1.11 - network-3.0.0.0 # - network-2.6.3.6 - tcp-streams-1.0.1.1 - io-streams-1.5.1.0 - mysql-haskell-0.8.4.2 ``` --- persistent-mysql-haskell/ChangeLog.md | 4 ++++ persistent-mysql-haskell/persistent-mysql-haskell.cabal | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/persistent-mysql-haskell/ChangeLog.md b/persistent-mysql-haskell/ChangeLog.md index 01f2bb590..40fea8d17 100644 --- a/persistent-mysql-haskell/ChangeLog.md +++ b/persistent-mysql-haskell/ChangeLog.md @@ -1,5 +1,9 @@ # ChangeLog for `persistent-mysql-haskell` +## 0.5.2 + +- Fix [stackage#4312](https://github.com/commercialhaskell/stackage/issues/4312): Relax `network` version bound. + ## 0.5.1 - [#9](https://github.com/naushadh/persistent/pull/9) Add `insertEntityOnDuplicateKeyUpdate` and `insertEntityManyOnDuplicateKeyUpdate` functions diff --git a/persistent-mysql-haskell/persistent-mysql-haskell.cabal b/persistent-mysql-haskell/persistent-mysql-haskell.cabal index d1a117f76..79e6198fb 100644 --- a/persistent-mysql-haskell/persistent-mysql-haskell.cabal +++ b/persistent-mysql-haskell/persistent-mysql-haskell.cabal @@ -1,5 +1,5 @@ name: persistent-mysql-haskell -version: 0.5.1 +version: 0.5.2 license: MIT license-file: LICENSE author: Naushadh , Felipe Lessa , Michael Snoyman @@ -42,7 +42,7 @@ library -- keep the following in sync with @mysql-haskell@ .cabal , io-streams >= 1.2 && < 2.0 , time >= 1.5.0 - , network >= 2.3 && < 3.0 + , network >= 2.3 && < 4.0 , tls >= 1.3.5 && < 1.5 exposed-modules: Database.Persist.MySQL other-modules: Database.Persist.MySQLConnectInfoShowInstance