Skip to content

5.0.0

Compare
Choose a tag to compare
@mmottl mmottl released this 02 Dec 03:57
· 66 commits to master since this release
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.check and Sqlite3.Rc.is_success for easier return
      code checking.

    • Added Sqlite3.prepare_or_reset for reusing prepared statements in loops.

    • Added Sqlite3.iter and Sqlite3.fold for 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_custom to caml_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!