| 1 |
Revision history for Perl extension Geo::IP. |
| 2 |
|
| 3 |
1.51 2017-10-11 |
| 4 |
|
| 5 |
- Added the following missing methods for IPv6 lookups to the pure Perl |
| 6 |
implementation: name_by_addr_v6, name_by_name_v6, org_by_addr_v6, and |
| 7 |
org_by_name_v6. Reported by Earl Killian. GitHub #28. |
| 8 |
|
| 9 |
|
| 10 |
1.50 2016-07-21 |
| 11 |
|
| 12 |
- MYMETA files are now no longer included in releases. |
| 13 |
- Geo::Mirror is no longer included in this distribution. |
| 14 |
|
| 15 |
1.45 2014-09-29 |
| 16 |
|
| 17 |
- Fixed typo in 1.44 release notes. |
| 18 |
- Replaced `use vars` with `our`. |
| 19 |
|
| 20 |
|
| 21 |
1.44 2014-09-29 |
| 22 |
|
| 23 |
- On installation, this API will now default to the pure Perl version rather |
| 24 |
than failing if libGeoIP is not found. (GitHub #6, #11) |
| 25 |
- Add support for GEOIP_SILENCE ( Philip Prindeville ) |
| 26 |
- Unit tests for different databases were added. |
| 27 |
|
| 28 |
|
| 29 |
1.43 2013-12-02 |
| 30 |
|
| 31 |
- Update FIPS codes ( Boris Zentner ) |
| 32 |
- Fix test case ( Boris Zentner ) |
| 33 |
- Update time zones ( Boris Zentner ) |
| 34 |
|
| 35 |
|
| 36 |
1.42 2013-06-06 |
| 37 |
|
| 38 |
- Fix testcase any CAPI >= 1.5.0 should work ( Boris Zentner ) |
| 39 |
- Add new pure perl region code TH 81 Bueng Kan ( Boris Zentner ) |
| 40 |
|
| 41 |
|
| 42 |
1.41 2013-02-20 |
| 43 |
|
| 44 |
- Add South Sudan ( Boris Zentner ) |
| 45 |
- Doc fixes ( Tina Müller ) |
| 46 |
- Update FIPS Codes ( Boris Zentner ) |
| 47 |
- Update PurePerl country list. ( Boris Zentner ) |
| 48 |
|
| 49 |
|
| 50 |
1.40 2011-08-23 |
| 51 |
|
| 52 |
- Add new CAPI method region_name_by_code ( Boris Zentner ) |
| 53 |
- Add support for GEOIP_NETSPEED_EDITION_REV1 ( Boris Zentner ) |
| 54 |
- Add new CAPI method record_by_ipnum_v6 ( Boris Zentner ) |
| 55 |
- Add new CAPI glue methods to use GeoIPCityv6 databases record_by_addr_v6 |
| 56 |
record_by_name_v6 ( Boris Zentner ) |
| 57 |
|
| 58 |
|
| 59 |
1.39 2011-05-07 |
| 60 |
|
| 61 |
- Upd Docs ( Boris Zentner ) |
| 62 |
- Add glue for the CAPI lib_version method ( Boris Zentner ) |
| 63 |
- Add CAPI glue for the methods enable_teredo and teredo. currently only avail |
| 64 |
in conjunction with the CAPI ( Boris Zentner ) |
| 65 |
- Add example/benchmark.pl and example/country_v6.pl ( Boris Zentner ) |
| 66 |
- Add name_by_name and name_by_addr ( Boris Zentner ) |
| 67 |
- Add org_by_name_v6 and org_by_addr_v6 only XS ( Boris Zentner ) |
| 68 |
- Add name_by_ipnum_v6, name_by_name_v6 and name_by_addr_v6 XS glue ( Boris |
| 69 |
Zentner ) |
| 70 |
- Add sub Geo::IP::CLONE_SKIP {1} in conjunction with .xs Avoid thread issues |
| 71 |
( Boris Zentner ) |
| 72 |
- Export GEOIP_DOMAIN_EDITION by default ( Boris Zentner ) |
| 73 |
- Update region codes 20100810 ( Boris Zentner ) |
| 74 |
- Fix some PP 3letter country codes ( Boris Zentner ) |
| 75 |
- Fix PP continent codes ( Boris Zentner ) |
| 76 |
- Add PP continent_code_by_country_code ( Boris Zentner ) |
| 77 |
- Add PP Geo::IP->time_zone ( Boris Zentner ) |
| 78 |
- Update region codes 20100420 ( Boris Zentner ) |
| 79 |
- Link at least to CAPI 1.4.7 ( Boris Zentner ) |
| 80 |
- Add example/geolite-mirror-simple.pl to download maxmind databases ( Boris |
| 81 |
Zentner ) |
| 82 |
- Update region codes ( Boris Zentner ) |
| 83 |
- Update timezones ( Boris Zentner ) |
| 84 |
- Add isp_by_name and isp_by_addr if the CAPI is used ( Boris Zentner ) |
| 85 |
- Add isp_by_addr and org_by_addr to the PurePerl API ( Boris Zentner ) |
| 86 |
- Add api method, so users know if they use the PurePerl or CAPI glue print |
| 87 |
Geo::IP->api ( Boris Zentner ) |
| 88 |
- Silence redefined warning, when perl is started with -w and the PurePerl API |
| 89 |
is used ( Boris Zentner ) |
| 90 |
- Export GEOIP_CITYCONFIDENCE_EDITION, GEOIP_LOCATIONA_EDITION, |
| 91 |
GEOIP_ACCURACYRADIUS_EDITION and GEOIP_COUNTRY_EDITION_V6 ( Boris Zentner ) |
| 92 |
- Add some more v6 XS glue. IPv6 support require the CAPI to work.( Boris |
| 93 |
Zentner ) |
| 94 |
- GeoIP_country_code_by_addr_v6 |
| 95 |
- GeoIP_country_code_by_name_v6 |
| 96 |
- GeoIP_country_code3_by_addr_v6 |
| 97 |
- GeoIP_country_code3_by_name_v6 |
| 98 |
- Change RU's continent code from AS to EU ( Boris Zentner ) |
| 99 |
- Change Turkey's continent code from AS to EU ( Boris Zentner ) |
| 100 |
- org_by_* and friends return UTF8 scalars, if the charset is set to |
| 101 |
GEOIP_CHARSET_UTF8 ( Boris Zentner ) |
| 102 |
- Add PP ASNum support ( Boris Zentner ) |
| 103 |
- Add XS glue for time_zone and continent_code_by_country_code ( Boris Zentner |
| 104 |
) |
| 105 |
- Add glue for database_edition ( Boris Zentner ) |
| 106 |
- Workaround centos/mod_perl issue when the PP fallback is used and Sys::Mmap |
| 107 |
is not installed ( Boris Zentner ) |
| 108 |
- Update PurePerl region names 20090723 ( Boris Zentner ) |
| 109 |
- Add XS glue for GeoIP_country_code_by_ipnum_v6 ( Boris Zentner ) |
| 110 |
|
| 111 |
|
| 112 |
1.38 2009-05-16 |
| 113 |
|
| 114 |
- PurePerl region_by_addr and region_by_name return '00' for unknown regions, |
| 115 |
like the CAPI does ( Boris Zentner ) |
| 116 |
- Update to latest FIPS codes from 20090401 ( Boris Zentner ) |
| 117 |
- Fix Pureperl handling of GEOIP_REGION_EDITION_REV0 ( Boris Zentner ) |
| 118 |
- Fix segfault when undef is supplied as filename to open ( Boris Zentner ) |
| 119 |
- Fix PP GEOIP_ISP_EDITION handling ( Boris Zentner ) |
| 120 |
- Add PP support for GEOIP_DOMAIN_EDITION ( Boris Zentner ) |
| 121 |
- Handle database types in the same way, as the CAPI does ( Boris Zentner ) |
| 122 |
- Remove Australia double timezones entries. ( Boris Zentner ) |
| 123 |
|
| 124 |
|
| 125 |
1.37 2009-03-6 |
| 126 |
|
| 127 |
- Document region_by_addr and region_by_name ( Boris Zentner ) |
| 128 |
- region_by_addr and region_by_name return undef for unknown countries and |
| 129 |
regions. Instead of "\0" and '000' ( Boris Zentner ) |
| 130 |
- Add PP function region_by_addr ( Boris Zentner ) |
| 131 |
- Change the default values of Geo::IP::Record fields for metro_code and |
| 132 |
area_code to 0 instead of '' PurePerl only ( Boris Zentner ) |
| 133 |
- Change the default values of Geo::IP::Record fields for region, postal_code |
| 134 |
and region_name to undef instead of '' ( Boris Zentner ) |
| 135 |
- Force the output of Geo::IP::Record::longitude and ::latitude to four |
| 136 |
decimal places ( Boris Zentner ) |
| 137 |
- Fix PurePerl three letter code for Romania ( Boris Zentner ) |
| 138 |
- Update PurePerl regionnames 20090201 ( Boris Zentner ) |
| 139 |
- Update PurePerl timezones 20090201 ( Boris Zentner ) |
| 140 |
- Update timezones for Australia |
| 141 |
- Fix: PurePerl's get_city_record_as_hash, record_by_addr and record_by_name |
| 142 |
to return undef for private and unknown IP's. Former we returned a |
| 143 |
Geo::IP::Record object with everything undef. The PurePerl code and the CAPI |
| 144 |
wrapper are now behave the same. ( Boris Zentner ) |
| 145 |
- Update region codes from http://www.maxmind.com/app/fips10_4 Dec 17th, 2008 |
| 146 |
( Boris Zentner ) |
| 147 |
|
| 148 |
|
| 149 |
1.36 2008-12-20 |
| 150 |
|
| 151 |
- Add the methods charset and set_charset to the pureperl fallback ( Boris |
| 152 |
Zentner ) |
| 153 |
- Fix: We require CAPI 1.4.5 not 1.4.4 for range_by_ip ( Boris Zentner ) |
| 154 |
- Add isp_by_addr and org_by_addr to the pureperl fallback ( Boris Zentner ) |
| 155 |
|
| 156 |
|
| 157 |
1.35 2008-09-29 |
| 158 |
|
| 159 |
|
| 160 |
- Add GEOIP_DOMAIN_EDITION for the PurePerl ( Boris Zentner ) |
| 161 |
- Add open_type method to the PurePerl fallback ( Boris Zentner ) |
| 162 |
- Add CAPI Version detection, for the case, where a outdated CAPI is |
| 163 |
installed. ( Boris Zentner ) |
| 164 |
- Add metro_code, a replacement for the depreciated dma_code method. ( Boris |
| 165 |
Zentner ) |
| 166 |
- Add range_by_ip, netmask and last_netmask to the PurePerl API ( Boris |
| 167 |
Zentner ) |
| 168 |
- Add range_by_ip to the C API wrapper ( Boris Zentner ) |
| 169 |
|
| 170 |
|
| 171 |
1.34 2008-08-04 |
| 172 |
|
| 173 |
- Add Geo::IP::Record::region_name to the PurePerl API ( Boris Zentner ) |
| 174 |
- Add missing record_by_name function to the PurePerl API ( Boris Zentner ) |
| 175 |
- Add missing country/country code 'Other' for the pureperl fallback ( Boris |
| 176 |
Zentner ) |
| 177 |
- Fix trash of $_ in Geo::Mirror ( Boris Zentner ) |
| 178 |
- Geo::Mirror die, if open failed ( Boris Zentner ) |
| 179 |
- Fix pureperl time_zone for countries with region codes, but only one |
| 180 |
time_zone ( Boris Zentner ). |
| 181 |
- Add continent_code to the pureperl and C API ( Boris Zentner ) |
| 182 |
- minimum perl version is 5.6 now ( Boris Zentner ) |
| 183 |
|
| 184 |
|
| 185 |
1.33 2008-05-05 |
| 186 |
|
| 187 |
- make cpantesters happy exit 0 early, if libGeoIP is not found. ( Boris |
| 188 |
Zentner ) |
| 189 |
|
| 190 |
|
| 191 |
1.32 2008-05-04 |
| 192 |
|
| 193 |
- make Geo::IP::Record::time_zone work for the pure perl part of Geo::IP ( |
| 194 |
Boris Zentner ) |
| 195 |
- BEGIN{$Geo::IP::GEOIP_PP_ONLY=1} use Geo::IP; disable the C API, even if it |
| 196 |
is installed. ( Boris Zentner ) |
| 197 |
- rename $Geo::IP::TESTING_PERL_ONLY to $Geo::IP::GEOIP_PP_ONLY. ( Boris |
| 198 |
Zentner ) |
| 199 |
- Fix Geo::IP::Record to use the C API, only, when Geo::IP use it ( Boris |
| 200 |
Zentner ) |
| 201 |
|
| 202 |
|
| 203 |
1.31 2008-03-22 |
| 204 |
|
| 205 |
- Added BL/Saint Barthelemy, MF/Saint Martin (ISO-3166-1 additions) |
| 206 |
- Change default database name for NetWare to sys:/etc/GeoIP/GeoIP.dat and |
| 207 |
MSWin32 to c:/GeoIP/GeoIP.dat ( Guenter Knauf ) |
| 208 |
- Added support for time_zone lookup in GeoIP City API |
| 209 |
|
| 210 |
|
| 211 |
1.30 2007-12-16 |
| 212 |
|
| 213 |
- Add GEOIP_MMAP_CACHE support ( Peter Shipley ) |
| 214 |
- Added last_netmask - gets netmask of network block from last lookup |
| 215 |
- Merged in Geo::IP::PurePerl code, PurePerl code is mostly API compatible |
| 216 |
with XS code, except for charset functions |
| 217 |
- Added set_charset - enables UTF8 output of city name - requires C API 1.4.3 |
| 218 |
or greater |
| 219 |
|
| 220 |
|
| 221 |
1.28 2007-02-4 |
| 222 |
|
| 223 |
- Added support for region name lookup in GeoIP City API |
| 224 |
- Fixed database_info method (Ken Neighbors) |
| 225 |
|
| 226 |
|
| 227 |
1.27 2005-09-8 |
| 228 |
|
| 229 |
- Fixed Autoloader/open issue (Alexander Vasiljev) |
| 230 |
- Fixed compilation error in Perl 5.005 with semicolon in GeoIP_database_info |
| 231 |
in IP.xs(Stephen Schulte) |
| 232 |
- Added support for open_type (Frank Mather) |
| 233 |
|
| 234 |
|
| 235 |
1.26 2005-05-19 |
| 236 |
|
| 237 |
- Fixed segfault issue if non-resolvable domain name is passed to |
| 238 |
region_by_addr or region_by_name |
| 239 |
- Added support for GEOIP_INDEX_CACHE - which just caches the most frequently |
| 240 |
accessed index portion of the database, resulting in faster lookups than |
| 241 |
GEOIP_STANDARD, but less memory usage than GEOIP_MEMORY_CACHE |
| 242 |
|
| 243 |
|
| 244 |
1.25 2004-12-24 |
| 245 |
|
| 246 |
- Added database_info method (Frank Mather) |
| 247 |
- Added example/netspeed.pl to MANIFEST |
| 248 |
|
| 249 |
|
| 250 |
1.24 2004-11-30 |
| 251 |
|
| 252 |
- Fixed memory leak in ISP/Organization database lookups by adding O_CHAR to |
| 253 |
typemap |
| 254 |
|
| 255 |
|
| 256 |
1.23 2004-10-06 |
| 257 |
|
| 258 |
- Updated test case, removed www.bundesregierung.de |
| 259 |
- Geo::Mirror: fallback to using Geo::IP::PurePerl if Geo::IP is not available |
| 260 |
(Graham Barr) |
| 261 |
- Geo::Mirror: added support for mirror freshness |
| 262 |
|
| 263 |
|
| 264 |
1.22 2004-02-29 |
| 265 |
|
| 266 |
- Added support for Netspeed |
| 267 |
- Fixed IP address in examples |
| 268 |
|
| 269 |
|
| 270 |
1.21 2003-02-28 |
| 271 |
|
| 272 |
- Added support for GEOIP_CHECK_CACHE |
| 273 |
|
| 274 |
|
| 275 |
1.20 2003-06-06 |
| 276 |
|
| 277 |
- Added support for GeoIP City Format Rev 1, DMA Codes and area codes |
| 278 |
|
| 279 |
|
| 280 |
1.15 2003-03-04 |
| 281 |
|
| 282 |
- Added support for GeoIP Organization and ISP databases |
| 283 |
|
| 284 |
|
| 285 |
1.14 2003-02-19 |
| 286 |
|
| 287 |
- Added support for GeoIP Region Edition |
| 288 |
|
| 289 |
|
| 290 |
1.13 2002-12-24 |
| 291 |
|
| 292 |
- Added float to typemap, required to compile for Perl < 5.8 |
| 293 |
|
| 294 |
|
| 295 |
1.12 2002-12-11 |
| 296 |
|
| 297 |
- Added support for postal codes |
| 298 |
- Removed non-portable asprintf code |
| 299 |
|
| 300 |
|
| 301 |
1.11 2002-11-22 |
| 302 |
|
| 303 |
- Forget to include typemap and INSTALL in MANIFEST |
| 304 |
|
| 305 |
|
| 306 |
1.10 2002-11-22 |
| 307 |
|
| 308 |
- Added support for GeoIP City Edition |
| 309 |
- Added more documentation on where to get databases, and sourceforge. |
| 310 |
|
| 311 |
|
| 312 |
0.26 2002-02-25 |
| 313 |
|
| 314 |
- Made flags optional to new and open |
| 315 |
- Removed www.moinfo.gov.kw from test, domain no longer resolves. |
| 316 |
|
| 317 |
|
| 318 |
0.20 2002-06-25 |
| 319 |
|
| 320 |
- Brought up to date with latest changes for GeoIP C 0.2.0 |
| 321 |
|
| 322 |
|
| 323 |
0.11 2002-04-27 |
| 324 |
|
| 325 |
- install process works for non-standard GeoIP C library installs |
| 326 |
|
| 327 |
|
| 328 |
0.10 2002-04-21 |
| 329 |
|
| 330 |
- Fixed DESTROY (Brian Grossman) |
| 331 |
- Set PI to more accurate value (Mike Mitchell) |
| 332 |
|
| 333 |
|
| 334 |
0.09 2002-04-08 |
| 335 |
|
| 336 |
- Fixed bug when no database file specified. |
| 337 |
- Fixed bug in t/3_mirror.t test script |
| 338 |
|
| 339 |
|
| 340 |
0.08 2002-04-07 |
| 341 |
|
| 342 |
- This perl module is now a XS wrapper around the GeoIP C library for improved |
| 343 |
performance. Note that the API has changed. |
| 344 |
- Removed the geoip-lookup script, since GeoIP C contains a geoiplookup |
| 345 |
executable that provides the same functionality |
| 346 |
|
| 347 |
|
| 348 |
0.07 2002-04-01 |
| 349 |
|
| 350 |
- Removed dependency on Berkeley DB - requires new Geo-IP data format. |
| 351 |
|
| 352 |
|
| 353 |
0.06 2002-02-19 |
| 354 |
|
| 355 |
- Geo::IP |
| 356 |
- Added new method, lookup_country_by_name, performs DNS lookup of IP |
| 357 |
address for hostnames |
| 358 |
- added O_RDWR option to tie DB_File for compatibility (Allen Smith) |
| 359 |
- makes directory '/usr/local/geoip' (Philip Mak) |
| 360 |
- added binmode for compatibility (Randy Kobes) |
| 361 |
|
| 362 |
- Geo::Mirror |
| 363 |
- Mirror when doesn't find country, default to US |
| 364 |
- Special handing for "EU" (European Union) treat as country with |
| 365 |
coordinates between Germany and Italy. |
| 366 |
|
| 367 |
|
| 368 |
0.05 2002-02-15 |
| 369 |
|
| 370 |
- Added new option to Geo::Mirror->new, database_file |
| 371 |
- Fixed test problem with t/3_mirror.t |
| 372 |
- Added error handling to Makefile.PL for database download |
| 373 |
|
| 374 |
|
| 375 |
0.04 2002-02-15 |
| 376 |
|
| 377 |
- Added new module, Geo::Mirror |
| 378 |
- Added new default file location for database in /usr/local/geoip/Geo-IP.db |
| 379 |
- Installation easier, Makefile.PL downloads and extracts database file |
| 380 |
- Added geolookup script |
| 381 |
- Removed old Net::Geography wrapper |
| 382 |
|
| 383 |
|
| 384 |
0.03 2001-02-28 |
| 385 |
|
| 386 |
- Geo::IP now generates Berkeley DB file from data file, to get around |
| 387 |
differing versions of Berkeley DB. |
| 388 |
- now croaks if db file can not be opened (Nick Craig-Wood) |
| 389 |
|
| 390 |
|
| 391 |
0.02 2001-02-11 |
| 392 |
|
| 393 |
- renamed to Geo::IP from Net::Geography |
| 394 |
- revised docs |
| 395 |
- data separated from perl distribution, can be downloaded from |
| 396 |
http://geo-ip.com |
| 397 |
|
| 398 |
|
| 399 |
0.01 2001-06-30 |
| 400 |
|
| 401 |
- original version; created by h2xs 1.19 |