Re: [ANN] locus: Geolocation and ASN lookup of IP addresses
Guilherme Andrade <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <CAA5f+NVR0vDH6C6X+2w9P4uMDe0=_=_CqXh50GyCYrDTiReHpw@mail.gmail.com> |
Hello list, Locus 2.0.0, a MaxMind DB reader, was released tonight. Added: - support for retrieving databases using consumer-defined fetchers - support for decoding IEEE-754 infinities in MMDB data - `locus:check/1` to API (which replaces `locus:analyze/1` and can be up to 3200% faster) - details to MMDB unpacking errors - linting checks with `rebar3_lint` - dead code checks with `rebar3_hank` Changed: - ⚠️ return type of `locus:lookup/2` (see MIGRATION.md) - database loader to use `persistent_term` instead of ETS - MMDB decoder to perform stricter metadata validations - MMDB decoder to not crash upon maps containing duplicate keys - databases downloaded through HTTP(S) without a `last-modified` response header to no longer be cached - imported version of `tls_certificate_check` to '~> 1.7' - single CT suite covering both filesystem and HTTP sources into one for each - test coverage for the better Removed: - ⚠️ `locus:wait_for_loader/1` from API (deprecated in 1.10.0 - see MIGRATION.md) - ⚠️ `locus:wait_for_loader/2` from API (deprecated in 1.10.0 - see MIGRATION.md) - ⚠️ `locus:wait_for_loaders/2` from API (deprecated in 1.10.0 - see MIGRATION.md) - ⚠️ `locus:get_version/1` from API (deprecated in 1.4.0 - see MIGRATION.md) - ⚠️ `locus:analyze/1` from API (`locus:check/1` now fulfils this role - see MIGRATION.md) - deprecated loader options `pre_readiness_update_period` and `post_readiness_update_period` (see MIGRATION.md) - warnings on the use of discontinued GeoLite2 HTTP URLs * Migration guide: https://github.com/g-andrade/locus/blob/2.0.0/MIGRATION.md * Hex package: https://hex.pm/packages/locus/2.0.0 * Documentation: https://hexdocs.pm/locus/2.0.0/ * Source code (GitHub): https://github.com/g-andrade/locus/tree/2.0.0 * Source code (GitLab): https://gitlab.com/g-andrade/locus/tree/2.0.0 On Thu, 21 May 2020 at 02:48, Guilherme Andrade <[email protected]> wrote: > Hi list, > > Locus 1.12.0, a MaxMind DB reader, was released today. > > Added: > - support for OTP 23 > > Changed: > - checksum verification algorithm of MaxMind downloads from MD5 to SHA-256 > >> > > * Hex package: https://hex.pm/packages/locus/1.12.0 > * Documentation: https://hexdocs.pm/locus/1.12.0/ > * Source code (GitHub): https://github.com/g-andrade/locus/tree/1.12.0 > * Source code (GitLab): https://gitlab.com/g-andrade/locus/tree/1.12.0 > > -- > Guilherme >