[erlang-questions] [ANN] locus: Geolocation and ASN lookup of IP addresses

Guilherme Andrade g@REDACTED
Mon Aug 12 03:10:11 CEST 2019


Hello list,

Locus 1.7.0, a geolocation library built on top of MaxMind GeoLite2, was
released today.

Added:
- stacktrace of caught exceptions to event reporting (including custom
logger)
- ability of launching database loaders under library consumers' own
supervisors
- `wait_for_loaders/2` method for concurrently waiting on multiple database
loaders

Changed:
- log level of HTTP and filesystem database loading failures from warning
to error
- HTTP and filesystem loaders into a common loader codebase
- caching of HTTP databases as to store and load compressed `.mmdb` files
rather than tarballs
- supervision structure as to launch database loaders as transient
processes under a new `simple_one_for_one` supervisor
- dependency versions:
    - `certifi` [2.4.2 => 2.5.1]
    - `ssl_verify_fun` [1.1.4 => 1.1.5]

Removed:
- support for OTP 17.4 and 17.5
- undocumented support for rebar 2
- half-baked and unwarranted support for `file://`-prefixed URLs

Fixed:
- case-sensitive pattern of `.mmdb` file extensions within tarballs
- overly verbose `logger` messages on OTP 21.1+
- HTTPS certificate validation test cases on OTP 22


* Hex package: https://hex.pm/packages/locus/1.7.0
* Documentation: https://hexdocs.pm/locus/1.7.0/
* Source code (GitHub): https://github.com/g-andrade/locus/tree/1.7.0
* Source code (GitLab): https://gitlab.com/g-andrade/locus/tree/1.7.0

-- 
Guilherme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190812/df695c02/attachment.htm>


More information about the erlang-questions mailing list