SomeField
type and pattern synonym. Use HandleUpdateCollision
type instead and the copyField
function instead of SomeField
constructor/pattern. #894repsertMany
now matches mapM_ (uncurry repsert)
and is atomic.connPutManySql
to utilize batched putMany
. #770MonadBaseControl
to MonadUnliftIO
mediumtext
, longtext
, mediumblob
, longblob
, and double
s using a custom precision. #754-- This can be released as a minor change on the next update. Currently persistent-mysql can't be released because 2.6.2.2 depends on persistent-2.7.2 being released.
SomeField
type was renamed to HandleUpdateCollision
and deprecated. Please migrate to using HandleUpdateCollision
.SomeField
constructor was deprecated, and a temporary pattern synonym introduced. Please migrate to using copyField
.-- This version depends on persistent 2.7.2, which introduced breaking changes and is deprecated on hackage.
persistent-2.7.2
#723SomeField
type to allow insertManyOnDuplicateKeyUpdate
to conditionally copy values.mysql-simple >= 0.4.3
to fix encoding and decoding of date/time values with fractional seconds (when a column is specified using something like sqltype=TIME(6)
). See also #705insertManyOnDuplicateKeyUpdate
to ignore duplicate key exceptions when no updates specified.insertOnDuplicateKeyUpdate
, insertManyOnDuplicateKeyUpdate
to Database.Persist.MySQL
module.Prevent spurious no-op migrations when default=NULL
is specified - revised version #672 (which fixes bug #671 introduced by the earlier attempt #641)
Compatibility for backend-specific upsert functionality. A lucky contributor could add upsert to the MySQL backend now, i.e.: INSERT ... ON DUPICATE ...
Support usign default= for changing the id field type
PersistByteString
s (i.e. as binary data). Persistent now checks character set information to determine if the value should be returned as PersistText
or PersistByteString
.PersistByteString
being returned for string-like MySQL values; persistent-mysql itself had several runtime errors that needed to be fixed because of this patch. High-level code dealing purely with PersistEntities
should be unaffected.Show
instance for MySQLConf
.Documentation typo fix
Provide a FromJSON
instance for MySQLConf
.