All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Bumped httpoison and cachex to eliminate deprecation warnings
- Dropped support for Elxir < 1.5
- #14 :extra_params config option
- #13 Compatibility with Poison v4.0
- Fixes issue where the
test
provider wasn't returning configured results for localhost.
- Adds a
test
provider for returning lookup data in test environments.
- Provides integrations with ipstack.com and ipinfo.io.
-
We don't default to using
freegeoip.net
as we used to as that service has now been deprecated. Instead the provider must be explicity provided. Please see the README for more details. -
The
GeoIP.lookup
function no longer returns aGeoIP.Location
struct. Instead, it returns the parses response returned by the configured provider, with they keys converted to atoms. This was so ease the integration with multiple providers and so that we don't have to release a new version of this library every time a providers response format changes.
- #9 Update Cachex to version 3.0