Skip to content

Commit e0ecd22

Browse files
committed
Updated version number.
1 parent 201e0b9 commit e0ecd22

File tree

9 files changed

+32
-26
lines changed

9 files changed

+32
-26
lines changed

Developers_Guide.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ When IP2Location_clear_memory() function is called, and if any other process(es)
7272
After calling IP2Location_clear_memory(), the next call to IP2Location_set_lookup_mode() with IP2LOCATION_SHARED_MEMORY option will result in a new shared memory and will not reuse the old one if one exists and used by any other process. Please refer shm_open and shm_unlink man pages for more info.
7373

7474

75-
Version 8.6.1 06/06/2023
75+
Version 8.7.0 02/09/2025

README

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ For more details, please visit:
2323
### Debian
2424

2525
```
26-
curl -LO https://github.com/chrislim2888/IP2Location-C-Library/releases/download/8.6.1/ip2location-8.6.1.deb
27-
sudo dpkg -i ip2location-8.6.1.deb
26+
curl -LO https://github.com/chrislim2888/IP2Location-C-Library/releases/download/8.7.0/ip2location-8.7.0.deb
27+
sudo dpkg -i ip2location-8.7.0.deb
2828
```
2929

3030

@@ -41,14 +41,14 @@ sudo apt install ip2location
4141

4242
### Windows
4343

44-
Execute "vcvarsall.bat". (This file is part of Microsoft Visual C, not ip2location code)
44+
Execute "vcvarsall.bat". (This file is part of Microsoft Visual C, not ip2location code)
4545
nmake -f Makefile.win
4646
cd data
4747
perl ip-country.pl
4848

4949
### MacOS
5050
autoreconf -i -v --force
51-
export CFLAGS=-I/usr/include/malloc
51+
export CFLAGS=-I/usr/include/malloc
5252
./configure
5353
make
5454
make install
@@ -60,7 +60,7 @@ sudo apt install ip2location
6060
test-IP2Location
6161

6262
# Sample BIN Databases
63-
* Download free IP2Location LITE databases at [https://lite.ip2location.com](https://lite.ip2location.com)
63+
* Download free IP2Location LITE databases at [https://lite.ip2location.com](https://lite.ip2location.com)
6464
* Download IP2Location sample databases at [https://www.ip2location.com/developers](https://www.ip2location.com/developers)
6565

6666
# IPv4 BIN vs IPv6 BIN
@@ -117,5 +117,5 @@ Category is the domain category is based on [IAB Tech Lab Content Taxonomy](http
117117
* https://bodhi.fedoraproject.org/updates/?packages=IP2Location
118118

119119
# Support
120-
120+
121121
URL: [https://www.ip2location.com](https://www.ip2location.com)

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AC_PREREQ(2.59)
2-
AC_INIT([IP2Loc], [8.6.1], [[email protected]])
2+
AC_INIT([IP2Loc], [8.7.0], [[email protected]])
33
AM_INIT_AUTOMAKE([ subdir-objects ])
44

55
AM_CONFIG_HEADER([config.h])

contrib/IP2Location.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
%define version 8.6.1
1+
%define version 8.7.0
22

33
Name: IP2Location
44
Summary: C library for mapping IP address to geolocation information
@@ -122,6 +122,9 @@ install -p data/IPV6-COUNTRY.BIN %{buildroot}%{_datadir}/%{name}/IPV6-COUNTRY.SA
122122

123123

124124
%changelog
125+
* Tue Sep 02 2025 IP2Location <[email protected]> - 8.7.0
126+
- added as domain, as usage type, and as cidr fields
127+
125128
* Mon Jun 06 2023 IP2Location <[email protected]> - 8.6.1
126129
- fix for bigendian (credit to Remi Collet)
127130

contrib/IP2Location.spec.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ install -p data/IPV6-COUNTRY.BIN %{buildroot}%{_datadir}/%{name}/IPV6-COUNTRY.SA
122122

123123

124124
%changelog
125+
* Tue Sep 02 2025 IP2Location <[email protected]> - 8.7.0
126+
- added as domain, as usage type, and as cidr fields
127+
125128
* Mon Jun 06 2023 IP2Location <[email protected]> - 8.6.1
126129
- fix for bigendian (credit to Remi Collet)
127130

debian/changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ip2location (8.6.1) jammy; urgency=medium
1+
ip2location (8.7.0) jammy; urgency=medium
22

33
* Initial Release.
44

debian/files

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ip2location_8.6.1_source.buildinfo utils optional
1+
ip2location_8.7.0_source.buildinfo utils optional

docs/source/quickstart.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ download the BIN database at
2626
### Debian
2727

2828
```
29-
curl -LO https://github.com/chrislim2888/IP2Location-C-Library/releases/download/8.6.1/ip2location-8.6.1.deb
30-
sudo dpkg -i ip2location-8.6.1.deb
29+
curl -LO https://github.com/chrislim2888/IP2Location-C-Library/releases/download/8.7.0/ip2location-8.7.0.deb
30+
sudo dpkg -i ip2location-8.7.0.deb
3131
```
3232

3333

@@ -45,7 +45,7 @@ sudo apt install ip2location
4545
### Windows
4646

4747
```
48-
Execute "vcvarsall.bat". (This file is part of Microsoft Visual C, not ip2location code)
48+
Execute "vcvarsall.bat". (This file is part of Microsoft Visual C, not ip2location code)
4949
nmake -f Makefile.win
5050
cd data
5151
perl ip-country.pl
@@ -55,7 +55,7 @@ sudo apt install ip2location
5555

5656
```
5757
autoreconf -i -v --force
58-
export CFLAGS=-I/usr/include/malloc
58+
export CFLAGS=-I/usr/include/malloc
5959
./configure
6060
make
6161
make install
@@ -91,7 +91,7 @@ int main () {
9191
IP2Location *IP2LocationObj = IP2Location_open("../data/IP-COUNTRY.BIN");
9292
#endif
9393
IP2LocationRecord *record = NULL;
94-
94+
9595
printf("IP2Location API version: %s \n", IP2Location_api_version_string());
9696

9797
if (IP2LocationObj == NULL)
@@ -101,23 +101,23 @@ int main () {
101101
}
102102

103103
fprintf(stdout,"IP2Location BIN version: %s\n", IP2Location_bin_version(IP2LocationObj));
104-
104+
105105
IP2Location_open_mem(IP2LocationObj, IP2LOCATION_SHARED_MEMORY);
106-
106+
107107
IP2LocationRecord *record = IP2Location_get_all(IP2LocationObj, "161.11.12.13");
108-
108+
109109
printf("%s %s %s %s %s %f %f %s %s %s %s %s %s %s %s %s %s %s %f %s\n", record->country_short, record->country_long, record->region, record->city, record->isp, record->latitude, record->longitude, record->domain, record->zipcode, record->timezone, record->netspeed, record->iddcode, record->areacode, record->weatherstationcode, record->weatherstationname, record->mcc, record->mnc, record->mobilebrand, record->elevation, record->usagetype, record->address_type, record->category, record->district, record->asn, record->as);
110-
110+
111111
IP2Location_free_record(record);
112-
112+
113113
IP2Location_close(IP2LocationObj);
114-
115-
/*Below call will delete the shared memory unless if any other process is attached it.
114+
115+
/*Below call will delete the shared memory unless if any other process is attached it.
116116
*if any other process is attached to it, shared memory will be closed when last process
117-
*attached to it closes the shared memory
117+
*attached to it closes the shared memory
118118
*If any process call e, next process which IP2Location_open_mem
119119
*with shared memory option, will open the new shared memory.Deleted memory will not be available for
120-
* any new process but will be accesible for the processes which are already using it.
120+
* any new process but will be accesible for the processes which are already using it.
121121
*/
122122
IP2Location_delete_shm();
123123
}

ip2location.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ static void print_usage(const char *argv0)
126126

127127
static void print_version()
128128
{
129-
printf("IP2Location version 8.6.1\n");
129+
printf("IP2Location version 8.7.0\n");
130130
}
131131

132132
static void print_footer(FILE *fout, const char *field, const char *format)

0 commit comments

Comments
 (0)