mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-12-28 21:14:55 +03:00
1.4 KiB
1.4 KiB
0.7.1
- Relaxed the dependency on "monad-control"
0.7.0 - Refinements and minor updates
- Streaming now is parameterized by the size of a chunk
- Introduced a new type
Ex
- Changed the suffix of statement execution functions to
Ex
0.6.0 - Major API overhaul
- The connection pool acquisition is now explicit and is no longer handled by the
Session
monad. This should provide for a simpler integration with other libraries. - The
Session
monad is now merely a convenience thing for providing a context to multiple transactions. One can run it as many times as he wants - it won't reestablish any resources any more. - The connection timeout is now set using
Int
for simplicity. - There are no exceptions any more. All the error-reporting is typed and done explicitly, using
Either
. - The error types are now mostly backend-specific.
- The transaction mode is now extended to support uncommittable transactions with the
TxWriteMode
type. - All
Tx
functions are now appended with a "Tx" suffix. - Added
vectorTx
andmaybeTx
and updated the semantics ofsingleTx
. q
statement quasi-quoter is now renamed to more meaningfulstmt
.- The
Statement
type is renamed toStmt
and is now exported from the main API. RowParser
is now uninstantiable. This enforces the idiomatic usage of the library.- Statement templates now support UTF-8.
0.5.0
- Update the "list-t" and "monad-control" deps
0.4.1
- Fix the transaction conflicts bug