Releases: mmottl/sqlite3-ocaml
5.3.1
CHANGES:
- Made reference counting of database handles atomic for thread-safety. Thanks
to Christoph Wintersteiger for the suggestion, and too3-mini-highfor
finding a reference counting bug when handling exceptions. - Fixed collation link freeing bug. Thanks to
o3-mini-highfor suggesting the
fix without even being prompted (minus-shot). - Removed obsolete compiler flags. OCaml already passes optimization flags, and
flags for position-independent code should not be necessary. Thanks to Jonah
Beckford for the contribution.
5.3.0
5.2.0
CHANGES:
-
Support MSVC compiler (Jonah Beckford)
-
Add
extended_errcode_intfunction (Petter A. Urkedal) -
Fix memory alloc in
caml_sqlite3_backup_init()
(Mark Elvers, Pierre Boutillier, and Benjamin Canou) -
Add Github CI (Yilin Wei)
-
Detect pkgconf on Windows/mingw (Mark Elvers, reviewed by Shon Feder)
-
Fixed shadowing of
agg_ctxwhen usingsizeof. -
Formatted sources using
ocamlformatandclang-format. -
Fixed switch syntax error flagged by cppcheck.
-
Added
.editorconfig. -
Removed superfluous macro conditions.
-
Improved API documentation formatting.
-
Improved README, license file, copyright notices, and changelog format.
5.1.0
CHANGES:
-
Added let&-operator for implicit closing of an opened database.
Thanks to Yawar Amin [email protected] for this contribution!
5.0.3
5.0.2
CHANGES:
-
Added missing
dune-configuratordependency.-
Removed redundant build dependencies.
-
Use
caml_alloc_initialized_stringwherever possible. -
Fixed documentation typos and wording.
-
Added support for const char strings in stubs due to stricter handling
in newer OCaml runtimes. This eliminates C-compiler warnings.
-
5.0.1
5.0.0
CHANGES:
-
Breaking change:
* `Data.to_string` is now `Data.to_string_coerce` to more clearly reflect that non-string data will be converted to strings.-
Added support for SQLite3 window functions.
-
Added
Sqlite3.Rc.checkandSqlite3.Rc.is_successfor easier return
code checking. -
Added
Sqlite3.prepare_or_resetfor reusing prepared statements in loops. -
Added
Sqlite3.iterandSqlite3.foldfor more convenient handling of
row data. -
Added more data conversion functions, also for direct access to column data.
-
Added more data binding functions.
-
Improved closing behavior of database using new SQLite3 API.
-
Improved testing framework using
ppx_inline_test. -
Each test case now has its own database for parallel testing.
-
Switched from
caml_alloc_customtocaml_alloc_custom_mem. -
Switched to OPAM file generation via
dune-project. -
Improved compatibility with older OCaml versions. Thanks to Simon Cruanes
for this patch!
Thanks to Shawn [email protected] and Ted Spence [email protected]
for their work on many of these contributions! -