persistent-mysql 2.5 → 2.6
raw patch · 3 files changed
+9/−2 lines, 3 filesdep ~mysql-simpledep ~persistentPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: mysql-simple, persistent
API changes (from Hackage documentation)
Files
- ChangeLog.md +6/−0
- Database/Persist/MySQL.hs +1/−0
- persistent-mysql.cabal +2/−2
ChangeLog.md view
@@ -1,3 +1,9 @@+## 2.6++Compatibility for backend-specific upsert functionality.+A lucky contributor could add upsert to the MySQL backend now, i.e.:+INSERT ... ON DUPICATE ...+ ## 2.5 * changes for read/write typeclass split
Database/Persist/MySQL.hs view
@@ -111,6 +111,7 @@ , connStmtMap = smap , connInsertSql = insertSql' , connInsertManySql = Nothing+ , connUpsertSql = Nothing , connClose = MySQL.close conn , connMigrateSql = migrate' ci , connBegin = const $ MySQL.execute_ conn "start transaction" >> return ()
persistent-mysql.cabal view
@@ -1,5 +1,5 @@ name: persistent-mysql-version: 2.5+version: 2.6 license: MIT license-file: LICENSE author: Felipe Lessa <felipe.lessa@gmail.com>, Michael Snoyman@@ -32,7 +32,7 @@ , mysql-simple >= 0.2.2.3 && < 0.3 , mysql >= 0.1.1.3 && < 0.2 , blaze-builder- , persistent >= 2.5 && < 3+ , persistent >= 2.6 && < 3 , containers >= 0.2 , bytestring >= 0.9 , text >= 0.11.0.6