Skip to content

Releases: fvdm/nodejs-geoip2ws

v3.0.0 - New interface, major cleanup

31 Mar 10:26
ed46b4d
Compare
Choose a tag to compare
  • Breaking: Removed legacy interface and checks
  • The module now only exports the lookup function.
  • Removed the IP and service name checks. The API is already doing that.
  • The ip now defaults to me which is your current public IP.
  • Updated tests, docs and example to reflect the changes.

Full Changelog: v2.1.0...v3.0.0

v2.1.0

27 Apr 10:57
Compare
Choose a tag to compare
  • Changed: Replaced http dep with native code
  • Changed: No more (production) dependencies
  • Changed: Minimum node engine v18
  • Minor edits

Note: To reduce the maintenance time for my packages I now only develop for Node releases in the Active LTS and Current lines. It may work on Node releases with Maintenance and EOL status, but no guarantees. See the release schedule for details.

Full Changelog: v2.0.5...v2.1.0

v2.0.4

29 Mar 18:03
Compare
Choose a tag to compare
  • Style: Better readable whitespace

Full Changelog: v2.0.3...v2.0.5

2.0.3

15 Mar 20:58
Compare
Choose a tag to compare
  • Removed adding the confidence property when missing. The whole accuracy reporting is changing and breaking in the API. At the moment location.accuracy_radius seems to be the most reliable source.
  • Minor documentation edits
  • Updated dependencies and tests

Full Changelog: v2.0.2...v2.0.3

v2.0.2

11 Oct 22:40
Compare
Choose a tag to compare
  • Clean up documentation
  • Updated dependencies
  • Minor package edits
  • Improved testing

v2.0.1

31 Aug 15:28
Compare
Choose a tag to compare
  • Fixed: Default setting for timeout was broken.
  • Code: Reduced complexity

v2.0.0

30 Jul 12:37
Compare
Choose a tag to compare
  • BREAKING: Removed legacy interface (#48) (3ea8d249)
  • Updated docs, links, tests

v1.10.5

23 Jun 14:40
Compare
Choose a tag to compare

Updated example.js

v1.10.4

23 Jun 14:25
Compare
Choose a tag to compare

Maintenance release to synchronize the package with the repository and minor changes in the docs and meta info.

This is probably going to be the last release with the legacy callback interface. I'm going to drop the legacy stuff soon in v2.0. It is too annoying to maintain. So in the next major release the function arguments can only be wrapped in an object geoip2ws ({ ip: '1.2.3.4' }). Instead of allowing a callback function it will always return a Promise.

This new interface is already supported for a while now, so you can start converting your code if you are still going the old way.

v1.9.0 - Rewrite to promises

17 Oct 06:42
Compare
Choose a tag to compare

Callback is also still supported, but not both callbacks and promises at the same time.