-
Added support for custom queries.
-
Added API for retrieving the list of languages supported by the database. These can subsequently be used in both built-in and custom queries.
-
Added API for retrieving library and file format versions.
- Removed 'build' constraint from ppx dependencies.
-
Introduced a separate exception type thrown by the library when an internal error occurs.
-
Simplified error type returned by data lookup functions:
-
Removed
Invalid_node_number
andInvalid_lookup_path
error variants since it should not be possible to provoke these errors through the high-level interface provided by this library. An exception will be thrown instead if these errors are encountered. -
Removed the
Lookup_path_does_not_match_data
error variant since it simply indicates that a piece of information is not present in the database. The lookup functions will now returnOk None
instead ofError _
if the corresponding error code is returned bylibmaxminddb
.
-
- Initial release