Skip to content

Releases: ipdata/go

0.7.3

31 Jul 18:05
d2ca6c0
Compare
Choose a tag to compare

Added support for "carrier" data

0.7.2

26 Nov 10:46
3511c36
Compare
Choose a tag to compare

Added context support

0.7.1

02 Nov 11:57
v0.7.1
c48c6fe
Compare
Choose a tag to compare
  • Update README.md file, to call correct methods on Error type
  • Update copyright year in LICENSE file

0.7.0

02 Nov 11:50
v0.7.0
a51f014
Compare
Choose a tag to compare
  • Add support for doing Bulk Lookups using the BulkLookup() method.

0.6.1 (More Breaking Changes!)

02 Nov 11:42
v0.6.1
8a4a63d
Compare
Choose a tag to compare

Change ASN field of IP to a new type to support API changes. The new ASN
struct type is used instead of a string, it itself contains an ASN field
that is the same value as the old IP.ASN string value.

0.6.0 (Breaking Changes!)

27 Oct 09:51
v0.6.0
3f8c5d0
Compare
Choose a tag to compare
Pre-release
  • require API key, as anonymous usage was removed from ipdata.co API, adds error
    value to NewClient()
  • rename Request() to RawLookup()
  • remove DecodeIP function as it's only a simple JSON unmarshaler
  • remove support for RateLimit errors (API doesn't support 429s)
  • export Error type, and give it a Code() int method for returning HTTP
    status and API error message (Error())

The decision was to try and have only one final API breaking release.

0.5.0

28 Feb 17:58
v0.5.0
f333fae
Compare
Choose a tag to compare

Note: this includes a breaking API change. The RawIP type and RawXXX
functions were removed, and the IP type was changed to be more like RawIP.

  • update code to use new API authentication mechanism (query instead of header)
  • update deserialization code to be simpler and to match new API version

0.4.1

28 Feb 17:56
v0.4.1
e73d11a
Compare
Choose a tag to compare

This release properly increases the Version constant to match the release
number.

0.4.0

17 Dec 20:57
v0.4.0
d0acafa
Compare
Choose a tag to compare

Change the implementation to return a concrete Client type instead of an
interface.

0.3.0

17 Dec 20:57
v0.3.0
07700a4
Compare
Choose a tag to compare

This is a bugfix release containing the following fixes:

  • Fix a nil pointer dereference that would happen if the HTTP request failed
    to complete successfully. We were checking for errors, but were using an
    incorrect variable in one of the error handling blocks.
  • Ensure that the client looks for API authentication errors using a 401 status
    code and not a 403 status code.