Skip to content

Releases: sapics/geoip-country

v5.0.0 Less memory usage and Faster startup and Faster lookup

26 Aug 12:42
Compare
Choose a tag to compare

Breaking changes:

  • geoip.lookup dose not return range infomation any more
  • remove geoip.pretty and geoip.cmp method
  • database structure is different from v4
  • need NodeJs version >= 10.20
  • cli parameter name and environment variable name are changed (old name still work as alias)

New Features:

  • add geoip.clean, geoip.reloadDatabase, geoip.reloadDatabaseSync which have the same functionality as geoip-lite
  • database size is smaller than v4, it makes less memory usage and faster startup and faster lookup.
  • you can use ip-location-db database, after v4.2.126
  • geoip.lookup return more information by using Countries database as
{
  country: 'CN',
  name: 'China',
  native: '中国',
  continent: 'AS',
  continent_name: 'Asia',
  phone: [ 86 ],
  capital: 'Beijing',
  currency: [ 'CNY' ],
  languages: [ 'zh' ],
}

v4.0.0 New MaxMind GeoLite2 License version

23 Jan 05:16
Compare
Choose a tag to compare

The License of database is changed. If you use v4, please read carefully LICENSE and EULA files.

After this version, we will update geoip database weekly.

Thanks to @valeriansaliou (#4) and @GitSquared (/GitSquared/node-geolite2-redist).
The most of the parts of LICENSE and EULA file copy from /GitSquared/node-geolite2-redist.

v3.4.0

31 Dec 16:00
Compare
Choose a tag to compare

After this version, we stop updating our ip-to-country database, because MaxMind changes their system and License.
If you need to update database, please update by the below command.

$ npm run-script updatedb --license_key=YOUR_GEOLITE2_LICENSE_KEY

v3.3.0

16 Nov 07:17
Compare
Choose a tag to compare

After this version, we will update geoip database weekly.

v3.2.5

05 Sep 02:15
Compare
Choose a tag to compare
Release v3.2.5

v3.2.2

20 Jun 08:05
Compare
Choose a tag to compare
Release v3.2.2 with updating ip data