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

Guilherme Andrade g@REDACTED
Wed Feb 12 23:09:29 CET 2020


Hi list,

Locus 1.10.0 was released today (a rather short release cycle this time.)

### Added
- rejection of successful HTTP downloads if body size doesn't match
`content-length` header
- checksum verification of databases downloaded directly from MaxMind
- censorship of license key from database URLs mentioned in logs
- `:await_loader` API function which, contrary to `:wait_for_loader`, will
await readiness up to the entire specified interval (rather than return
upon the first encountered failure)
- purging of very large binaries from internally caught exceptions which
are known error cases, as to lower the risk of the VM getting OOM-killed
when logging formatters get their hands on those very large chunks of data

### Changed
- default behaviour upon failing to load a database, as to retry loading
while exponentially backing off (using very short intervals at first)

### Deprecated
- `:wait_for_loader` and `:wait_for_loaders` API functions (use
`:await_loader` and `:await_loaders` instead)

### Fixed
- incomplete spec for `locus_loader:event()` type
- wrong spec for `locus_maxmind_download:msg()` and
`locus_maxmind_download:event()` types


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

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


More information about the erlang-questions mailing list