Releases: mmottl/postgresql-ocaml
Releases · mmottl/postgresql-ocaml
5.4.0
CHANGES:
Added
connection#socket_descr, which exposes the libpq socket as a
Unix.file_descrsuitable for readiness-based waiting withoutObj.magic.
Changed
- Updated asynchronous and notification examples to use
socket_descrinstead
of coercingsocketwithObj.magic.
Fixed
string_of_errornow normalizes trailing newlines in backend-provided error
messages and avoids odd punctuation for emptyUnexpected_statusdetails.
5.3.2
5.3.1
5.3.0
CHANGES:
Added
Connectionfunctor that allows for custom mutex implementations. This
improves compatibility with effect-based concurrency frameworks and helps
prevent deadlocks.- Makefile target to generate
compile_commands.jsonfor improved LSP support
in editors. - Version discovery supports PostgreSQL beta/rc versions (via
pg_configand
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
5.1.3
5.1.2
5.1.1
5.1.0
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.