Skip to content

Releases: paurkedal/ocaml-caqti

v1.5.1

18 Apr 15:17
Compare
Choose a tag to compare

CHANGES:

  • Fix option recognition in PostgreSQL driver (GPR#67 mefyl).
  • Fix option recognition in MariaDB driver and add test (Petter A. Urkedal).

v1.5.0

11 Apr 18:31
Compare
Choose a tag to compare

CHANGES:

  • Request the full UTF-8 character for the MariaDB connection.
  • Support int16 and enum types for parameters and rows.

v1.4.0

11 Mar 22:45
Compare
Choose a tag to compare

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 to connect_pool.
  • Documentation fixes and improvements (Aaron L. Zeng, Anton Bachin, Petter
    A. Urkedal).

v1.3.0

17 Jan 17:01
Compare
Choose a tag to compare

CHANGES:

  • Implement affected_count for sqlite backend (GPR#46 jakob).
  • Add method exec_with_affected_count to Caqti_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

07 Jun 16:00
Compare
Choose a tag to compare

CHANGES:

  • Switch to TEXT format for PostgreSQL populate implementation.

v1.2.3

02 Jun 05:46
Compare
Choose a tag to compare

CHANGES:

  • Silence PostgreSQL notifications which were printed to stderr. They can
    be re-enabled with a parameter on the connection URI (#33).
  • Improve details in exceptions in two places.
  • Fix info about connection caching for sqlite in README (#35, dgllghr).

v1.2.2

19 Dec 22:20
Compare
Choose a tag to compare

CHANGES:

  • Update for core v0.13 (GPR#31 Xavier Clerc).

v1.2.1

08 Dec 19:59
Compare
Choose a tag to compare

CHANGES:

  • Support TEXT literals in queries.
  • Fix decoding of binary results for PostgreSQL (thanks to James Owen).
  • Implement copy-mode for PostgreSQL (GPR#30 James Owen).

v1.2.0

02 Oct 19:52
Compare
Choose a tag to compare

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

03 Feb 17:00
Compare
Choose a tag to compare

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.