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