Skip to content

Commit 301d0e1

Browse files
committed
Bump version to 3.3.2
1 parent fb42611 commit 301d0e1

16 files changed

Lines changed: 155 additions & 88 deletions

File tree

‎README.md‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ brew install ipinfo-cli
2424
OR to install the latest `amd64` version without automatic updates:
2525

2626
```bash
27-
curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.1/macos.sh | sh
27+
curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.2/macos.sh | sh
2828
```
2929

3030
### Ubuntu PPA
@@ -43,14 +43,14 @@ _Note_: this is a one-time installation; updates are not automatic. Use the PPA
4343
for automatic updates.
4444

4545
```bash
46-
curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.1/deb.sh | sh
46+
curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.2/deb.sh | sh
4747
```
4848

4949
OR
5050

5151
```bash
52-
curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.1/ipinfo_3.3.1_linux_{arch}.deb
53-
sudo dpkg -i ipinfo_3.3.1_linux_{arch}.deb
52+
curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.2/ipinfo_3.3.2_linux_{arch}.deb
53+
sudo dpkg -i ipinfo_3.3.2_linux_{arch}.deb
5454
```
5555

5656
where `{arch}` can be 386, amd64, arm, or arm64.
@@ -73,7 +73,7 @@ makepkg -si
7373
_Note_: run powershell as administrator before executing this command.
7474

7575
```bash
76-
iwr -useb https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.1/windows.ps1 | iex
76+
iwr -useb https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.2/windows.ps1 | iex
7777
```
7878

7979
### Scoop
@@ -85,15 +85,15 @@ scoop install ipinfo-cli
8585
### Docker
8686

8787
```bash
88-
docker run --rm -it ipinfo/ipinfo:3.3.1
88+
docker run --rm -it ipinfo/ipinfo:3.3.2
8989
```
9090

9191
To save the CLI's config, add `-v "/path_to_config:/root/.config/ipinfo"`. For
9292
example, the following command saves the config to the `ipinfo` directory in
9393
the current working directory.
9494

9595
```bash
96-
docker run --rm -it -v "$PWD/ipinfo:/root/.config/ipinfo" ipinfo/ipinfo:3.3.1
96+
docker run --rm -it -v "$PWD/ipinfo:/root/.config/ipinfo" ipinfo/ipinfo:3.3.2
9797
```
9898

9999
### Using `go install`
@@ -145,12 +145,12 @@ After choosing a platform `PLAT` from above, run:
145145

146146
```bash
147147
# for Windows, use ".zip" instead of ".tar.gz"
148-
curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.1/ipinfo_3.3.1_${PLAT}.tar.gz
148+
curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.2/ipinfo_3.3.2_${PLAT}.tar.gz
149149
# OR
150-
wget https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.1/ipinfo_3.3.1_${PLAT}.tar.gz
150+
wget https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.2/ipinfo_3.3.2_${PLAT}.tar.gz
151151

152-
tar -xvf ipinfo_3.3.1_${PLAT}.tar.gz
153-
sudo mv ipinfo_3.3.1_${PLAT} /usr/local/bin/ipinfo
152+
tar -xvf ipinfo_3.3.2_${PLAT}.tar.gz
153+
sudo mv ipinfo_3.3.2_${PLAT} /usr/local/bin/ipinfo
154154
```
155155

156156
### Using `git`

‎cidr2ip/CHANGELOG.md‎

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
# 3.3.2
2+
3+
- Errors now go to stderr instead of stdout.
4+
- Windows release zip now contains `cidr2ip.exe` instead of the versioned filename.
5+
- Install scripts (`deb.sh`, `windows.ps1`) now fail loudly when installation does not succeed.
6+
17
# 1.0.0
28

3-
* `cidr2ip` converts CIDRs to individual IPs within those CIDRs.
4-
* The command exists as a standalone binary in addition to as a subcommand on the
5-
main `ipinfo` command.
6-
* `cidr2ip` accepts inputs the same way our other commands do, via stdin, args,
7-
files, etc.
9+
- `cidr2ip` converts CIDRs to individual IPs within those CIDRs.
10+
- The command exists as a standalone binary in addition to as a subcommand on the
11+
main `ipinfo` command.
12+
- `cidr2ip` accepts inputs the same way our other commands do, via stdin, args,
13+
files, etc.

‎cidr2range/CHANGELOG.md‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1+
# 3.3.2
2+
3+
- Errors now go to stderr instead of stdout.
4+
- Windows release zip now contains `cidr2range.exe` instead of the versioned filename.
5+
- Install scripts (`deb.sh`, `windows.ps1`) now fail loudly when installation does not succeed.
6+
17
# 1.2.0
28

3-
* When `cidr2range` accepts a file, it now also looks to see if there is a
4-
header in CSV form, and if so changes the first column to range, just as it
5-
changes the first non-header columns from CIDRs to IP ranges.
9+
- When `cidr2range` accepts a file, it now also looks to see if there is a
10+
header in CSV form, and if so changes the first column to range, just as it
11+
changes the first non-header columns from CIDRs to IP ranges.

‎grepdomain/CHANGELOG.md‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
# 3.3.2
2+
3+
- Errors now go to stderr instead of stdout.
4+
- Windows release zip now contains `grepdomain.exe` instead of the versioned filename.
5+
- Install scripts (`deb.sh`, `windows.ps1`) now fail loudly when installation does not succeed.
6+
17
# 1.0.0
28

39
- This new command `grepdomain` is similar to `grepip` but meant just for
410
domain names.
5-

‎grepip/CHANGELOG.md‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
1+
# 3.3.2
2+
3+
- Errors now go to stderr instead of stdout.
4+
- Fixed `--include-cidrs` / `--include-ranges` dropping every CIDR and range match when combined with `--exclude-reserved` (`-x`).
5+
- Windows release zip now contains `grepip.exe` instead of the versioned filename.
6+
- Install scripts (`deb.sh`, `windows.ps1`) now fail loudly when installation does not succeed.
7+
18
# 1.2.3
29

3-
* Added new flags: `--include-cidrs`, `--include-ranges`, `--cidrs-only`, `--ranges-only`
10+
- Added new flags: `--include-cidrs`, `--include-ranges`, `--cidrs-only`, `--ranges-only`
411

512
# 1.2.2
613

7-
* Some special bogon edge cases are now properly ignored by grepip when requested.
14+
- Some special bogon edge cases are now properly ignored by grepip when requested.

‎ipinfo/CHANGELOG.md‎

Lines changed: 48 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# 3.3.2
2+
3+
- Errors and warnings now go to stderr instead of stdout, so they no longer pollute pipelines.
4+
- Fixed `grepip --include-cidrs` / `--include-ranges` dropping every CIDR and range match when combined with `--exclude-reserved` (`-x`).
5+
- Fixed `winget install ipinfo` leaving an unusable binary: the Windows release zip now contains `ipinfo.exe` instead of the versioned filename.
6+
- Install scripts (`deb.sh`, `windows.ps1`) now fail loudly when installation does not succeed, instead of printing a success message anyway.
7+
18
# 3.3.1
29

310
- Added support for Windows ARM64.
@@ -44,56 +51,56 @@
4451

4552
# 3.2.0
4653

47-
* `ipinfo tool prefix` introduced with some misc. prefix tools. Currently supports following subcommands:
48-
- `addr` returns the base IP address of a prefix.
49-
- `bits` returns the length of a prefix and reports `-1` if invalid.
50-
- `masked` returns canonical form of a prefix, masking off non-high bits, and returns the zero if invalid.
51-
- `is_valid` reports whether a prefix is valid.
54+
- `ipinfo tool prefix` introduced with some misc. prefix tools. Currently supports following subcommands:
55+
- `addr` returns the base IP address of a prefix.
56+
- `bits` returns the length of a prefix and reports `-1` if invalid.
57+
- `masked` returns canonical form of a prefix, masking off non-high bits, and returns the zero if invalid.
58+
- `is_valid` reports whether a prefix is valid.
5259

5360
## Pull Requests
5461

55-
* [#179](https://github.com/ipinfo/cli/pull/179)
56-
* [#180](https://github.com/ipinfo/cli/pull/180)
62+
- [#179](https://github.com/ipinfo/cli/pull/179)
63+
- [#180](https://github.com/ipinfo/cli/pull/180)
5764

5865
# 3.1.1
5966

60-
* Fixed return errors in IP parsing generic funcs.
67+
- Fixed return errors in IP parsing generic funcs.
6168

6269
# 3.1.0
6370

64-
* IP calculator introduced in `calc` subcommand for doing arbitrary arithmetic
65-
on IP addresses.
66-
* Bulk ASN now supported via `asn bulk` subcommand.
67-
* `ipinfo tool upper` introduced to get the upper IP of an IP range or CIDR.
68-
* `ipinfo tool lower` introduced to get the lower IP of an IP range or CIDR.
69-
* `ipinfo tool next` introduced to get the next IP of a given IP.
70-
* `ipinfo tool prev` introduced to get the previous IP of a given IP.
71-
* `ipinfo tool is_v4` introduced to check whether an IP is v4.
72-
* `ipinfo tool is_v6` introduced to check whether an IP is v6.
73-
* `ipinfo tool is_one_ip` introduced to check whether an IP range or CIDR
74-
* contains only a single IP.
75-
* `ipinfo tool is_valid` introduced to check whether an IP is a valid IP or
76-
not.
77-
* `ipinfo tool unmap` introduced to return an IP with any IPv4-mapped IPv6
78-
address prefix removed.
79-
* Fixed CLI token parameter not being recognized in `download` subcommand.
80-
* Fixed CLI login not getting saved after init.
81-
* Now performing a checksum comparison on database downloads.
82-
* YAML output now has null values removed for cleaner output.
71+
- IP calculator introduced in `calc` subcommand for doing arbitrary arithmetic
72+
on IP addresses.
73+
- Bulk ASN now supported via `asn bulk` subcommand.
74+
- `ipinfo tool upper` introduced to get the upper IP of an IP range or CIDR.
75+
- `ipinfo tool lower` introduced to get the lower IP of an IP range or CIDR.
76+
- `ipinfo tool next` introduced to get the next IP of a given IP.
77+
- `ipinfo tool prev` introduced to get the previous IP of a given IP.
78+
- `ipinfo tool is_v4` introduced to check whether an IP is v4.
79+
- `ipinfo tool is_v6` introduced to check whether an IP is v6.
80+
- `ipinfo tool is_one_ip` introduced to check whether an IP range or CIDR
81+
- contains only a single IP.
82+
- `ipinfo tool is_valid` introduced to check whether an IP is a valid IP or
83+
not.
84+
- `ipinfo tool unmap` introduced to return an IP with any IPv4-mapped IPv6
85+
address prefix removed.
86+
- Fixed CLI token parameter not being recognized in `download` subcommand.
87+
- Fixed CLI login not getting saved after init.
88+
- Now performing a checksum comparison on database downloads.
89+
- YAML output now has null values removed for cleaner output.
8390

8491
## Pull Requests
8592

86-
* [#157](https://github.com/ipinfo/cli/pull/157)
87-
* [#158](https://github.com/ipinfo/cli/pull/158)
88-
* [#160](https://github.com/ipinfo/cli/pull/160)
89-
* [#154](https://github.com/ipinfo/cli/pull/154)
90-
* [#161](https://github.com/ipinfo/cli/pull/161)
91-
* [#159](https://github.com/ipinfo/cli/pull/159)
92-
* [#162](https://github.com/ipinfo/cli/pull/162)
93-
* [#155](https://github.com/ipinfo/cli/pull/155)
94-
* [#165](https://github.com/ipinfo/cli/pull/165)
95-
* [#164](https://github.com/ipinfo/cli/pull/164)
96-
* [#172](https://github.com/ipinfo/cli/pull/172)
97-
* [#169](https://github.com/ipinfo/cli/pull/169)
98-
* [#170](https://github.com/ipinfo/cli/pull/170)
99-
* [#173](https://github.com/ipinfo/cli/pull/173)
93+
- [#157](https://github.com/ipinfo/cli/pull/157)
94+
- [#158](https://github.com/ipinfo/cli/pull/158)
95+
- [#160](https://github.com/ipinfo/cli/pull/160)
96+
- [#154](https://github.com/ipinfo/cli/pull/154)
97+
- [#161](https://github.com/ipinfo/cli/pull/161)
98+
- [#159](https://github.com/ipinfo/cli/pull/159)
99+
- [#162](https://github.com/ipinfo/cli/pull/162)
100+
- [#155](https://github.com/ipinfo/cli/pull/155)
101+
- [#165](https://github.com/ipinfo/cli/pull/165)
102+
- [#164](https://github.com/ipinfo/cli/pull/164)
103+
- [#172](https://github.com/ipinfo/cli/pull/172)
104+
- [#169](https://github.com/ipinfo/cli/pull/169)
105+
- [#170](https://github.com/ipinfo/cli/pull/170)
106+
- [#173](https://github.com/ipinfo/cli/pull/173)

‎ipinfo/deb.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -e
44

5-
VSN=3.3.1
5+
VSN=3.3.2
66
DEFAULT_ARCH=amd64
77

88
ARCH=$(uname -m)

‎ipinfo/macos.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -e
44

5-
VSN=3.3.1
5+
VSN=3.3.2
66
PLAT=darwin_amd64
77

88
curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-${VSN}/ipinfo_${VSN}_${PLAT}.tar.gz

‎ipinfo/main.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
)
1212

1313
var progBase = filepath.Base(os.Args[0])
14-
var version = "3.3.1"
14+
var version = "3.3.2"
1515

1616
// global flags.
1717
var fHelp bool

‎ipinfo/windows.ps1‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
$ErrorActionPreference = "Stop"
22

3-
$VSN = "3.3.1"
3+
$VSN = "3.3.2"
44

55
# build the filename for the Zip archive and exe file
66
$FileName = "ipinfo_$($VSN)_windows_amd64"
@@ -17,7 +17,7 @@ if (Test-Path "$env:LOCALAPPDATA\ipinfo\ipinfo.exe") {
1717
}
1818
Rename-Item -Path "$env:LOCALAPPDATA\ipinfo\$FileName.exe" -NewName "ipinfo.exe"
1919

20-
# setting up env.
20+
# setting up env.
2121
$PathContent = [Environment]::GetEnvironmentVariable('path', 'Machine')
2222
$IPinfoPath = "$env:LOCALAPPDATA\ipinfo"
2323

0 commit comments

Comments
 (0)