Skip to content

Releases: ipdata/go

0.8.1

24 Feb 07:00
7dd04d2

Choose a tag to compare

Merge pull request #22 from ipdata/claude/update-ipdata-go-package-tDBG9

Add functional options pattern with WithHTTPClient option

0.8.0

23 Feb 05:51
2c9f103

Choose a tag to compare

Merge pull request #21 from ipdata/claude/update-ipdata-go-package-tDBG9

Update IP struct fields and migrate to Go modules

0.7.3

31 Jul 18:05
d2ca6c0

Choose a tag to compare

Added support for "carrier" data

0.7.2

26 Nov 10:46
3511c36

Choose a tag to compare

Added context support

0.7.1

02 Nov 11:57
v0.7.1
c48c6fe

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

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

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

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

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

Choose a tag to compare

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