Skip to content

Releases: mmottl/postgresql-ocaml

5.3.1

23 Sep 21:17
5.3.1
Compare
Choose a tag to compare

CHANGES:

Fixed

  • getvalue and get_escaped_value now return Postgresql.null for SQL NULL
    values, matching the documentation. Thanks to Christophe Raffalli for the
    patch.

Changed

  • Applied OCaml/C formatting and added an ocamlformat pre-commit hook.

5.3.0

23 Sep 17:54
5.3.0
Compare
Choose a tag to compare

CHANGES:

Added

  • Connection functor that allows for custom mutex implementations. This
    improves compatibility with effect-based concurrency frameworks and helps
    prevent deadlocks.
  • Makefile target to generate compile_commands.json for improved LSP support
    in editors.
  • Version discovery supports PostgreSQL beta/rc versions (via pg_config and
    pkg-config). Thanks to Antonio Nuno Monteiro for the patch.

Changed

  • Improved thread coordination during cancellation of operations.
  • Removed the use of C stubs to check for a finished connection.
  • Replaced custom resource management logic with Fun.protect.

Thanks to Christophe Raffalli for contributing solutions for the improved thread
coordination and for effect-based concurrency frameworks.

5.2.0

20 Jun 05:35
5.2.0
Compare
Choose a tag to compare

CHANGES:

Added

  • binary_result to send_query and send_query_prepared. Thanks to
    Christophe Raffalli for the contribution.
  • pre-commit configuration and GitHub workflow.

5.1.3

09 Dec 00:52
5.1.3
Compare
Choose a tag to compare

CHANGES:

  • Fixed cross-compilation in discover process.

    Thanks to Antonio Nuno Monteiro for the patch.

5.1.2

08 Dec 22:52
5.1.2
Compare
Choose a tag to compare

CHANGES:

  • Fixed version discovery with pkg-config.
  • Removed obsolete base-bytes dependency.
  • Switched to ocamlformat 0.27.0.
  • Fixed macro naming and instantiation formatting.
  • Fixed copyright notices.
  • Improved GitHub workflow.

5.1.1

26 Nov 15:09
5.1.1
Compare
Choose a tag to compare

CHANGES:

  • Fixed a rare, architecture-specific GC bug in lo_seek.

5.1.0

05 Nov 04:47
5.1.0
Compare
Choose a tag to compare

CHANGES:

  • Made Postgresql.null a now unique, empty string.

  • Fixed license format and a typo.

  • Fixed some odoc references.

  • Added GitHub workflows.

  • Added automatic formatting with ocamlformat and clang-format.

  • Ported the config discovery script to pkg-config

    Thanks to Antonio Nuno Monteiro for the patch.

  • Improved Dune rules.

  • Used new OCaml 4.12 C-macros.

  • Switched to Dune lang 2.7.

5.0.0

12 Feb 19:57
5.0.0
Compare
Choose a tag to compare

CHANGES:

  • Added support for parameter types to exec, prepare, send_query,
    and send_prepare.

    Thanks to Petter A. Urkedal for the patch!

4.6.3

15 Aug 18:20
4.6.3
Compare
Choose a tag to compare

CHANGES:

  • Removed incorrect [@@noalloc] from is_busy external call.

    Thanks to Dmitry Astapov for this patch!

4.6.2

04 Aug 23:48
4.6.2
Compare
Choose a tag to compare

CHANGES:

  • Removed base and stdio build dependencies.