Skip to content

Releases: g-andrade/locus

2.3.0

25 Jan 17:39
Compare
Choose a tag to compare

Added

  • the ability to customize database cache path [Bartosz Szafran]

2.2.2

01 Dec 22:56
Compare
Choose a tag to compare

Fixed

  • wrong reference to custom database fetcher in README [Bartosz Szafran]

2.2.1

22 Sep 12:31
Compare
Choose a tag to compare

Fixed

  • decoding of negative integers [made wrong in 2.0.0]

2.2.0

03 Sep 15:25
Compare
Choose a tag to compare

Changed

  • documentation from edoc to ExDoc
  • imported version of tls_certificate_check to '~> 1.9'

2.1.0

30 Aug 22:05
Compare
Choose a tag to compare

Added

  • locus_mmdb:unpack_tree_data_and_data_section/2 to the API
  • locus_mmdb_data_codec:parse_on_index/3 to the API
  • CI on Windows

Removed

  • no longer warranted run time dependency (public_key)

Fixed

  • wrong return of errors during :check/1 for maps containing maps or arrays which had been checked previously
  • wrong paths in :check/1 errors or warnings concerning maps
  • no longer warranted type definition

2.0.0

30 Aug 00:29
b7b7e1b
Compare
Choose a tag to compare

Added

  • support for retrieving databases using consumer-defined `locus_custom_fetcher's
  • 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 fullfils 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

1.16.1

12 Jul 20:45
Compare
Choose a tag to compare

Fix erroneous decoding of signed integers shorter than their maximum length.

Following clarification in spec:

(This bug had likely been present since the beginning.)

1.16.0

13 May 18:48
38871b7
Compare
Choose a tag to compare
Merge pull request #27 from g-andrade/drop-otp-21-compatibility

Bye OTP 21, hello OTP 24

1.15.0

02 Apr 17:59
Compare
Choose a tag to compare
Fix outdated warning

1.14.1

16 Mar 00:40
Compare
Choose a tag to compare
Update CHANGELOG