Skip to content

Commit

Permalink
Merge pull request #210 from ipinfo/usama/new-release
Browse files Browse the repository at this point in the history
Release - ipinfo version 3.3.1
  • Loading branch information
abu-usama committed Mar 1, 2024
2 parents 36d4448 + 826e850 commit da16fbf
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 16 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ brew install ipinfo-cli
OR to install the latest `amd64` version without automatic updates:

```bash
curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.0/macos.sh | sh
curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.1/macos.sh | sh
```

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

```bash
curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.0/deb.sh | sh
curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.1/deb.sh | sh
```

OR

```bash
curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.0/ipinfo_3.3.0_linux_{arch}.deb
sudo dpkg -i ipinfo_3.3.0_linux_{arch}.deb
curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.1/ipinfo_3.3.1_linux_{arch}.deb
sudo dpkg -i ipinfo_3.3.1_linux_{arch}.deb
```

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

```bash
iwr -useb https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.0/windows.ps1 | iex
iwr -useb https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.1/windows.ps1 | iex
```

### Scoop
Expand All @@ -85,15 +85,15 @@ scoop install ipinfo-cli
### Docker

```bash
docker run --rm -it ipinfo/ipinfo:3.3.0
docker run --rm -it ipinfo/ipinfo:3.3.1
```

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

```bash
docker run --rm -it -v "$PWD/ipinfo:/root/.config/ipinfo" ipinfo/ipinfo:3.3.0
docker run --rm -it -v "$PWD/ipinfo:/root/.config/ipinfo" ipinfo/ipinfo:3.3.1
```

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

```bash
# for Windows, use ".zip" instead of ".tar.gz"
curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.0/ipinfo_3.3.0_${PLAT}.tar.gz
curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.1/ipinfo_3.3.1_${PLAT}.tar.gz
# OR
wget https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.0/ipinfo_3.3.0_${PLAT}.tar.gz
wget https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.1/ipinfo_3.3.1_${PLAT}.tar.gz

tar -xvf ipinfo_3.3.0_${PLAT}.tar.gz
sudo mv ipinfo_3.3.0_${PLAT} /usr/local/bin/ipinfo
tar -xvf ipinfo_3.3.1_${PLAT}.tar.gz
sudo mv ipinfo_3.3.1_${PLAT} /usr/local/bin/ipinfo
```

### Using `git`
Expand Down
28 changes: 27 additions & 1 deletion ipinfo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
# 3.3.1

- Added support for Windows ARM64.
- Windows users can also install via Winget, Chocolatey, and Scoop.
- Updated Ubuntu PPA source. New URL is https://ppa.ipinfo.net.
- Added multiple arch support to PPA. These architectures are; i386, amd64, armhf, and arm64.
- Fixed ipinfo tool aggregate not working properly for adjacent CIRDs.
- Added some basic IP tools such as:
- is_loopback
- is_multicast
- is_unspecified
- is_global_unicast
- is_interface_local_multicast
- is_link_local_multicast
- is_link_local_unicast
- Fixed some issues related to convenience scripts.

## Pull Requests

- [#192](https://github.com/ipinfo/cli/pull/192)
- [#193](https://github.com/ipinfo/cli/pull/193)
- [#203](https://github.com/ipinfo/cli/pull/203)
- [#204](https://github.com/ipinfo/cli/pull/204)
- [#205](https://github.com/ipinfo/cli/pull/205)
- [#207](https://github.com/ipinfo/cli/pull/207)

# 3.3.0

- Support CIDRs & Ranges in `grepip`.
Expand All @@ -16,7 +42,7 @@
- [#185](https://github.com/ipinfo/cli/pull/185)
- [#190](https://github.com/ipinfo/cli/pull/190)

# 3.3.0
# 3.2.0

* `ipinfo tool prefix` introduced with some misc. prefix tools. Currently supports following subcommands:
- `addr` returns the base IP address of a prefix.
Expand Down
2 changes: 1 addition & 1 deletion ipinfo/deb.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

VSN=3.3.0
VSN=3.3.1
DEFAULT_ARCH=amd64

ARCH=$(uname -m)
Expand Down
2 changes: 1 addition & 1 deletion ipinfo/macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

VSN=3.3.0
VSN=3.3.1
PLAT=darwin_amd64

curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-${VSN}/ipinfo_${VSN}_${PLAT}.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion ipinfo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

var progBase = filepath.Base(os.Args[0])
var version = "3.3.0"
var version = "3.3.1"

// global flags.
var fHelp bool
Expand Down
2 changes: 1 addition & 1 deletion ipinfo/windows.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$VSN = "3.3.0"
$VSN = "3.3.1"

# build the filename for the Zip archive and exe file
$FileName = "ipinfo_$($VSN)_windows_amd64"
Expand Down

1 comment on commit da16fbf

@rayj0
Copy link

@rayj0 rayj0 commented on da16fbf Mar 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

Please sign in to comment.