package caqti-dynload
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Dynamic linking of Caqti drivers using findlib.dynload.
Install
dune-project
Dependency
Authors
Maintainers
Sources
caqti-0.11.0.tbz
sha256=37482ccb5866d4d195f206a88cf764b7f3fd483e159c1b643e767e5cf51335ff
md5=f749fd41e5c20d20a315f257f6ec7128
doc/CHANGES.html
Change Log
0.11.0 - 2018-05-25
Added and improved:
- Compliance with Lwt 4.0 contributed by Brendan Long.
- Switched to the logs library for logging.
- Strengthen detection of concurrent use of connection.
- Support microsecond precision for timestamps for PostgreSQL and millisecond for Sqlite3.
- Use float for time spans in Sqlite3.
- Map the
octetstype to BLOBs for MariaDB and Sqlite3. - Log recoverable errors for MariaDB and Sqlite3.
Removed:
- The v1 API is now removed.
Ecosystem:
- CI setup contributed by Brendan Long.
- Various documentation updates.
0.10.2 - 2018-04-05
- Fix incompatibility with
ppx_optcompv0.11.0 by dropping it, since the conditionals where no longer needed. - Restore test during opam build.
- The v1 API is now fully
[@@@deprecated]and will be removed in the next major release.
0.10.1 - 2018-02-27
- Fix a pool size counting bug when resource allocation fails. This can cause deadlock due to pool exhaustion.
0.10.0 - 2018-02-14
- Added
-linkallflags to driver libraries to fix direct linking (#9). - Added convenience functions
collect_listandrev_collect_list(#8). - Renamed
templatetoqueryand related function, leaving deprecated aliases. - Added
ptime_spanfield type mapping to SQL intervals. - Be more permissive about types of data returned from MariaDB when expecting numerical results.
0.9.0 - 2018-01-04
- Move v1 into findlib sublibraries and announce deprecation.
- Port remaining tests to v2 and fix issues in MariaDB and Sqlite3 drivers.
- Don't include password component of URIs in error messages.
- Rename
iotype constructor tofuture. - Fix pool size limit enforcement.
- Drop error on disconnect.
- Support substitutions in request convenience functions.
0.8.1 - 2017-12-06
- Fix
starttransaction for PostgreSQL v2. - Fix dependency on ptime in
caqti.opamin distribution.
0.8.0 - 2017-12-04
- Remove most deprecations.
- Add new v2 API.
- Move away most of the v1 API, but keep deprecated aliases for the client API.
The main difference of the new API compared to the old is:
- It uses typed parameters and rows with an extensible variant for field type and a custom definable compound type.
- The connection has a
callmethod which gives access to a result object before iterating over the returned rows. - Error handling is done with the
resulttype, using a collection of error types formed as polymorphic variants of records.
Notice: This version is mostly backwards compatible. New code should use v2, but v1 will be kept for now. To keep using the v1 in upcoming releases:
- Fix the new deprecations from this release.
- Link with
caqti-dynloadto keep using dynamic loading, or link with the neededcaqti-driver-*.v1driver libraries. - Link with
caqti.v1instead ofcaqti. - Link with
caqti-lwt.v1instead ofcaqti-lwt. - Link with
caqti-async.v1instead ofcaqti-async.
0.7.0 - 2017-11-03
- Remove WRAPPER and REPORT functionality.
- Remove deprecated findlib aliases.
- Renamed
dateandutcconversions todate_clandutc_cl. - Deprecate
Caqti_metadatain favour of the newCaqti_driver_info. - Move various signature to separate files, leaving deprecated aliases.
0.6.1 - 2017-10-26
- Fixed support for lwt >= 3, but keep supporting 2.7 as well for now.
- Fixed preparation of query after reconnect to PostgreSQL.
- Fixed support for ocaml 4.03.x.
- Added
Tuple.length. - Deprecated
Param.sub_types. - Deprecated
Param.otherandTuple.other.
0.6.0 - 2017-06-05
- Split into separate packages to avoid depopts and rename findlib names accordingly.
- Use findlib to load DB drivers, and use
-linkall. This hopefully solves loading issues.
0.5.3 - 2017-05-22
- Fix handling of spaces in Sqlite3 URIs and allow setting mode.
- Split
Caqti(now deprecated) intoCaqti_errorsandCaqti_connect. - Update to async 0.9.0.
0.5.2 - 2017-02-25
- Fix plugin loader to handle modernised
META.
0.5.1 - 2017-02-25 retracted
- Rename libraries to match
META.
0.5.0 - 2017-02-25 retracted
- Added MariaDB backend.
- Fixed VARCHAR for SQLite3 describe.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page