- Update Bulgaria currency from BGN to EUR
- Add missing fields to PlusAnonymous struct (IsResProxy, LastSeen, PercentDaysSeen)
- Add support for Residential Proxy Detection API
- Add support for IPinfo Core API
- Add support for IPinfo Plus API
- Add support for IPinfo Lite API
- Added support for looking up your v6 IP via
GetIPInfoV6.
- Removing null values while printing in
yamlformat
- Added a
CountryFlagURLfield toCore.
- Custom error message on 429(Too many requests).
- Check bogon locally.
- Fixed default useragent.
- Fixed
GetIPInfoBatchpanic on empty token or invalid IP.
- Added an
CountryFlagfield toCore. - Added an
CountryCurrencyfield toCore. - Added an
Continentfield toCore.
- Added an
IsEUfield toCore, which checks whether the IP geolocates to a country within the European Union (EU).
- Made batch operations limit their concurrency to 8 batches by default, but configurable.
- Added
RelayandServicefields toCorePrivacy. - Added
Relayfield toIPSummary.PrivacyandPrivacyServicestoIPSummary.
- Fixed issue where disabling per-batch timeouts was impossible with negative numbers, contrary to what the documentation says.
- Dummy release to make up for a bug in 2.5.2.
- Removed the IP list length constraints on
GetIPSummary. This is because the underlying API has changed.
- Added the
IPSummary.Domainsfield.
- Added versioned cache keys. This allows more reliable changes to cached data in the future without causing confusing incompatibilities. This should be transparent to the user.
- Added support for IP Map API.
- Added the
Core.Bogonboolean field.
- Added more summary fields (carrier & mobile data).
- Added support for IP summary API.
- Added CSV tags for
Coredata for easier CSV marshaling. - Omit empty
Coreobjects when encoding JSON. - Encode
Core.CountryNameandCore.Abuse.CountryNameproperly in JSON.
- Added a function
GetCountryNameto transform country code into full name.
- Added the
Core.Anycastboolean field.
- The following functions are now private:
Client.DoClient.NewRequestCheckResponse
- The following new functions now exist, which operate on the IPinfo
/batchendpoint:Client.GetBatchClient.GetIPInfoBatchClient.GetIPStrInfoBatchClient.GetASNDetailsBatchipinfo.GetBatchipinfo.GetIPInfoBatchipinfo.GetIPStrInfoBatchipinfo.GetASNDetailsBatch
- Fixed go module path to have "v2" at the end as necessary.
- A new field
CountryNamewas added to bothASNDetailsandCore, which is the full name of the country abbreviated in the existingCountryfield. For example, ifCountry == "PK", nowCountryName == "Pakistan"exists.
- The API for creating a client and making certain requests has changed and has been made generally simpler. Please see the documentation for exact details.
- go.mod now included.
- All new API data types are now available for the Core & ASN APIs.
- Cache interface now requires implementors to be concurrency-safe.