persistent-mysql-haskell 0.5.1 → 0.5.2
raw patch · 2 files changed
+20/−5 lines, 2 filesdep ~networkPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: network
API changes (from Hackage documentation)
+ Database.Persist.MySQL: pattern SomeField :: EntityField record typ -> SomeField record
Files
- ChangeLog.md +18/−3
- persistent-mysql-haskell.cabal +2/−2
ChangeLog.md view
@@ -1,10 +1,13 @@ # 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 - ## 0.5.0 - Port [#812](https://github.com/yesodweb/persistent/pull/812) from `persistent-mysql`: Add support for SQL isolation levels@@ -26,47 +29,59 @@ - [#760](https://github.com/yesodweb/persistent/pull/760) Rename SomeField type to HandleUpdateCollision. ## 0.3.6+ - Port [#752](https://github.com/yesodweb/persistent/pull/754) from `persistent-mysql`: Fix mysql sqltype migrations. ## 0.3.5+ - Updated `selectSource` implementation to stream results instead of loading everything into memory. ## 0.3.4.1+ - Fix a haddock issue down-streamed from [#693](https://github.com/yesodweb/persistent/pull/693). ## 0.3.4+ - Port [#693](https://github.com/yesodweb/persistent/pull/693) from `persistent-mysql`: Extend the `SomeField` type to allow `insertManyOnDuplicateKeyUpdate` to conditionally copy values. - Port [#702](https://github.com/yesodweb/persistent/pull/702) from `persistent-mysql`: Fix behavior of `insertManyOnDuplicateKeyUpdate` to ignore duplicate key exceptions when no updates specified. - Bumped TLS bounds to be in [sync with `mysql-haskell`](https://github.com/winterland1989/mysql-haskell/pull/15) and land ourselves [back on stackage](https://github.com/fpco/stackage/pull/2956). ## 0.3.3+ - Port from `persistent-mysql`: MySQL on duplicate key update [#674](https://github.com/yesodweb/persistent/pull/674). ## 0.3.2.1+ - Port from `persistent-mysql`: Prevent spurious no-op migrations when `default=NULL` is specified - revised version [#672](https://github.com/yesodweb/persistent/pull/672) (which fixes bug [#671](https://github.com/yesodweb/persistent/issues/671) introduced by the earlier attempt [#641](https://github.com/yesodweb/persistent/pull/641)). ## 0.3.2.0+ - Added conditional declaration of `Show` instance for mysql-haskell's `ConnectInfo` for compatibility with `mysql-haskell-0.8.1.0+`. ## 0.3.1.0+ - Fixed compiler warnings in `stack --pedantic` mode so the project can run upstream tests on Travis. - Minor README enhancements for badges and fixed URL for example when viewing outside of Github. ## 0.3.0.0+ - Added API for setting [TLS client parameters](https://hackage.haskell.org/package/mysql-haskell-0.8.0.0/docs/Database-MySQL-TLS.html) for secure MySQL connections. - Exported [Data.TLSSetting](https://hackage.haskell.org/package/tcp-streams-1.0.0.0/docs/Data-TLSSetting.html) for convenient usage of TLS. ## 0.2.1.0+ - Bumped up version to update README. ## 0.2.0.0+ - Added APIs for setting port number and character encoding. - Updated type signature for mkMySQLConnectInfo to align with mysql-haskell. ## 0.1.1.0+ - Bumped up version to include README and example. ## 0.1.0.0 -* Ported persistent-mysql 2.6 to use mysql-haskell as the underlying database driver.-* Deprecated MySQLConf and ConnectInfo native constructor and default instance in favor of mk functions for better forward compatibility. See http://www.snoyman.com/blog/2016/11/designing-apis-for-extensibility.+- Ported persistent-mysql 2.6 to use mysql-haskell as the underlying database driver.+- Deprecated MySQLConf and ConnectInfo native constructor and default instance in favor of mk functions for better forward compatibility. See http://www.snoyman.com/blog/2016/11/designing-apis-for-extensibility.
persistent-mysql-haskell.cabal view
@@ -1,5 +1,5 @@ name: persistent-mysql-haskell-version: 0.5.1+version: 0.5.2 license: MIT license-file: LICENSE author: Naushadh <naushadh@protonmail.com>, Felipe Lessa <felipe.lessa@gmail.com>, Michael Snoyman@@ -42,7 +42,7 @@ -- 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