persistent-mtl v0.2.0.0 Release Notes
Release Date: 2020-12-07 // almost 4 years ago-
- ๐ Use a separate monad within
withTransaction
to prevent unsafe/arbitrary IO actions (#7, #28) - โ Add
MonadRerunnableIO
to support IO actions withinwithTransaction
only if the IO action is determined to be rerunnable - โ Add built-in support for retrying transactions if a serialization error occurs
- โ Remove
SqlQueryRep
as an export fromDatabase.Persist.Monad
. You shouldn't ever need it for normal usage. It is now re-exported byDatabase.Persist.Monad.TestUtils
, since most of the usage ofSqlQueryRep
is in mocking queries. If you need it otherwise, you can import it directly fromDatabase.Persist.Monad.SqlQueryRep
.
- ๐ Use a separate monad within
Previous changes from v0.1.0.1
-
๐ Fix quickstart