hasql/CHANGELOG.md

20 lines
1.2 KiB
Markdown
Raw Normal View History

2014-12-27 03:29:36 +03:00
# 0.6.0 - Major API overhaul
2014-12-27 04:45:08 +03:00
* 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.
2014-12-27 03:29:36 +03:00
* 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.
2014-12-27 04:45:08 +03:00
* The transaction mode is now extended to support uncommittable transactions with the `TxWriteMode` type.
2014-12-27 03:29:36 +03:00
* `Tx` now has a `MonadError` instance, which allows to handle errors while remaining in the transaction.
2014-12-27 04:45:08 +03:00
* All `Tx` functions are now appended with a "Tx" suffix.
* There is no `list` transaction any more. Instead there is `vectorTx`.
2014-12-27 03:29:36 +03:00
* The `Statement` type is renamed to `Stmt` and is now exported from the main API.
* `RowParser` is now uninstantiable. This enforces the idiomatic usage of the library.
2014-12-27 04:45:08 +03:00
* Statement templates now support UTF-8.
2014-12-27 03:29:36 +03:00
2014-12-21 19:54:56 +03:00
# 0.5.0
* Update the "list-t" and "monad-control" deps
2014-12-18 02:19:22 +03:00
# 0.4.1
* Fix the transaction conflicts bug