persistent-sql-lifted 0.4.3.0 → 0.4.3.1
raw patch · 4 files changed
+14/−6 lines, 4 files
Files
- CHANGELOG.md +9/−1
- library/Database/Persist/Sql/Lifted/Persistent.hs +3/−3
- package.yaml +1/−1
- persistent-sql-lifted.cabal +1/−1
CHANGELOG.md view
@@ -1,4 +1,12 @@-## [_Unreleased_](https://github.com/freckle/persistent-sql-lifted/compare/persistent-sql-lifted-v0.4.3.0...main)+## [_Unreleased_](https://github.com/freckle/persistent-sql-lifted/compare/persistent-sql-lifted-v0.4.3.1...main)++## [v0.4.3.1](https://github.com/freckle/persistent-sql-lifted/compare/persistent-sql-lifted-v0.4.3.0...persistent-sql-lifted-v0.4.3.1)++Fixes [#16](https://github.com/freckle/persistent-sql-lifted/issues/16), nonterminating recursion in:++- `transactionSaveWithIsolation`+- `transactionUndo`+- `transactionUndoWithIsolation` ## [v0.4.3.0](https://github.com/freckle/persistent-sql-lifted/compare/persistent-sql-lifted-v0.4.2.0...persistent-sql-lifted-v0.4.3.0)
library/Database/Persist/Sql/Lifted/Persistent.hs view
@@ -658,11 +658,11 @@ => IsolationLevel -- ^ Isolation level -> m ()-transactionSaveWithIsolation il = liftSql $ transactionSaveWithIsolation il+transactionSaveWithIsolation il = liftSql $ P.transactionSaveWithIsolation il -- | Roll back the current transaction and begin a new one transactionUndo :: forall m. (HasCallStack, MonadSqlBackend m) => m ()-transactionUndo = liftSql transactionUndo+transactionUndo = liftSql P.transactionUndo -- | Roll back the current transaction and begin a new one transactionUndoWithIsolation@@ -671,7 +671,7 @@ => IsolationLevel -- ^ Isolation level -> m ()-transactionUndoWithIsolation il = liftSql $ transactionUndoWithIsolation il+transactionUndoWithIsolation il = liftSql $ P.transactionUndoWithIsolation il -- | Update individual fields on a specific record update
package.yaml view
@@ -1,5 +1,5 @@ name: persistent-sql-lifted-version: 0.4.3.0+version: 0.4.3.1 maintainer: Freckle Education category: Database
persistent-sql-lifted.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.18 name: persistent-sql-lifted-version: 0.4.3.0+version: 0.4.3.1 license: MIT license-file: LICENSE maintainer: Freckle Education