Releases: paurkedal/ocaml-caqti
Releases · paurkedal/ocaml-caqti
v1.5.1
v1.5.0
v1.4.0
CHANGES:
- Fix infinite loop when deserializing an optional tuple (GPR#63 mefyl).
- Add
Caqti_connect_sig.S.with_connection
(GPR#61 Anton Bachin). - Pass parameter types to PostgreSQL prepare and query functions. This
avoids the need to CAST parameters on the SQL side in some cases. - Add
?post_connect
callback toconnect_pool
. - Documentation fixes and improvements (Aaron L. Zeng, Anton Bachin, Petter
A. Urkedal).
v1.3.0
CHANGES:
- Implement
affected_count
for sqlite backend (GPR#46 jakob). - Add method
exec_with_affected_count
toCaqti_connection_sig.S
(GPR#45
jakob). - Add
?max_idle_size
to pool creation functions. - Dropped dependency on
ppx_deriving
due to issue with static compilation
(GPR#50 Ulrik Strid). - Pass through
$<var>$
in query strings and deprecate$$
. - Log statements to be executed at debug level.
- Add COPYING.OCAML and fix license expression in opam files.
- Misc improvements to tests and documentation (GPR#51 Philippe Wang, GPR#54
Reynir Björnsson, etc.).
v1.2.4
v1.2.3
v1.2.2
v1.2.1
v1.2.0
CHANGES:
- Add a signature for the populate function, and add basic implementations
for all drivers (GPR#28). - Add stream for result extraction (GPR#22 Nathan Rebours).
- Use the postgres driver when
postgres
is specified as the URL scheme
(GPR#25 James Owen). - Documentation improvements (GPR#20 Nathan Rebours, etc.).
- Reimplemented partly ineffective prepare-cache for PostgreSQL.
- Backwards incompatible changes to the driver API.
- Backwards incompatible changes to modules marked internal but exposed due
to being split across packages. - Fix forward compatibility past OCaml 4.08 as announced by deprecations.
v1.1.0
CHANGES:
- Add pretty printer for requests.
- Add variance to
'a future
declarations. - Add blocking instance of API.
- Generalize
$.
to$<var>.
in queries. - Infer the expansion of
$(<var>.)
from$(<var>)
if not provided. - Fix connection recovery for PostgreSQL (issue #19, Dave Aitken).
- Fix some unhandled exceptions for PostgreSQL.
- Fix connection validation for MariaDB.