diff --git a/README.md b/README.md index 9becc4b2..ffd0925d 100644 --- a/README.md +++ b/README.md @@ -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.1.2/macos.sh | sh +curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-3.2.0/macos.sh | sh ``` ### Ubuntu PPA @@ -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.1.2/deb.sh | sh +curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-3.2.0/deb.sh | sh ``` OR ```bash -curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-3.1.2/ipinfo_3.1.2.deb -sudo dpkg -i ipinfo_3.1.2.deb +curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-3.2.0/ipinfo_3.2.0.deb +sudo dpkg -i ipinfo_3.2.0.deb ``` ### FreeBSD @@ -71,7 +71,7 @@ makepkg -si _Note_: run powershell as administrator before executing this command. ```bash -iwr -useb https://github.com/ipinfo/cli/releases/download/ipinfo-3.1.2/windows.ps1 | iex +iwr -useb https://github.com/ipinfo/cli/releases/download/ipinfo-3.2.0/windows.ps1 | iex ``` ### Scoop @@ -83,7 +83,7 @@ scoop install ipinfo-cli ### Docker ```bash -docker run --rm -it ipinfo/ipinfo:3.1.2 +docker run --rm -it ipinfo/ipinfo:3.2.0 ``` To save the CLI's config, add `-v "/path_to_config:/root/.config/ipinfo"`. For @@ -91,7 +91,7 @@ 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.1.2 +docker run --rm -it -v "$PWD/ipinfo:/root/.config/ipinfo" ipinfo/ipinfo:3.2.0 ``` ### Using `go install` @@ -142,12 +142,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.1.2/ipinfo_3.1.2_${PLAT}.tar.gz +curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-3.2.0/ipinfo_3.2.0_${PLAT}.tar.gz # OR -wget https://github.com/ipinfo/cli/releases/download/ipinfo-3.1.2/ipinfo_3.1.2_${PLAT}.tar.gz +wget https://github.com/ipinfo/cli/releases/download/ipinfo-3.2.0/ipinfo_3.2.0_${PLAT}.tar.gz -tar -xvf ipinfo_3.1.2_${PLAT}.tar.gz -mv ipinfo_3.1.2_${PLAT} /usr/local/bin/ipinfo +tar -xvf ipinfo_3.2.0_${PLAT}.tar.gz +mv ipinfo_3.2.0_${PLAT} /usr/local/bin/ipinfo ``` ### Using `git` diff --git a/debian/changelog b/debian/changelog index 9d0dfd17..1bc55980 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ -ipinfo (3.1.2) focal; urgency=medium +ipinfo (3.2.0) focal; urgency=medium - * 3.1.2 release. + * 3.2.0 release. -- usama Mon, 07 Aug 2023 12:36:18 +0500 diff --git a/debian/files b/debian/files index d67fdaec..63f4245e 100644 --- a/debian/files +++ b/debian/files @@ -1 +1 @@ -ipinfo_3.1.2_source.buildinfo utils optional +ipinfo_3.2.0_source.buildinfo utils optional diff --git a/grepdomain/CHANGELOG.md b/grepdomain/CHANGELOG.md new file mode 100644 index 00000000..1519e96a --- /dev/null +++ b/grepdomain/CHANGELOG.md @@ -0,0 +1,5 @@ +# 1.0.0 + +- This new command `grepdomain` is similar to `grepip` but meant just for + domain names. + diff --git a/ipinfo/CHANGELOG.md b/ipinfo/CHANGELOG.md index fdf1b8f5..e5ca8792 100644 --- a/ipinfo/CHANGELOG.md +++ b/ipinfo/CHANGELOG.md @@ -1,4 +1,22 @@ -# 3.1.2 +# 3.2.0 + +- Support CIDRs & Ranges in `grepip`. +- New subcommand `matchip` which helps to grep for IP CIDRs/Ranges that + overlap. +- New command `grepdomain` which is like `grepip` but for domains. +- Added `-6` flag to `myip`. +- Fixed a bug with the signup process; now works smoothly. + +## Pull Requests + +- [#183](https://github.com/ipinfo/cli/pull/183) +- [#184](https://github.com/ipinfo/cli/pull/184) +- [#189](https://github.com/ipinfo/cli/pull/189) +- [#188](https://github.com/ipinfo/cli/pull/188) +- [#185](https://github.com/ipinfo/cli/pull/185) +- [#190](https://github.com/ipinfo/cli/pull/190) + +# 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. diff --git a/ipinfo/deb.sh b/ipinfo/deb.sh index 444a522b..8424008c 100755 --- a/ipinfo/deb.sh +++ b/ipinfo/deb.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=3.1.2 +VSN=3.2.0 curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-${VSN}/ipinfo_${VSN}.deb sudo dpkg -i ipinfo_${VSN}.deb diff --git a/ipinfo/dist/DEBIAN/control b/ipinfo/dist/DEBIAN/control index 06708767..ec929179 100644 --- a/ipinfo/dist/DEBIAN/control +++ b/ipinfo/dist/DEBIAN/control @@ -1,6 +1,6 @@ Source: ipinfo Section: utils -Version: 3.1.2 +Version: 3.2.0 Priority: optional Maintainer: IPinfo Vcs-Git: https://github.com/ipinfo/cli diff --git a/ipinfo/macos.sh b/ipinfo/macos.sh index de0fef9a..e82a42e4 100755 --- a/ipinfo/macos.sh +++ b/ipinfo/macos.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=3.1.2 +VSN=3.2.0 PLAT=darwin_amd64 curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-${VSN}/ipinfo_${VSN}_${PLAT}.tar.gz diff --git a/ipinfo/main.go b/ipinfo/main.go index a27f6821..ede35331 100644 --- a/ipinfo/main.go +++ b/ipinfo/main.go @@ -11,7 +11,7 @@ import ( ) var progBase = filepath.Base(os.Args[0]) -var version = "3.1.2" +var version = "3.2.0" // global flags. var fHelp bool diff --git a/ipinfo/windows.ps1 b/ipinfo/windows.ps1 index 40d59b66..3dd378c1 100644 --- a/ipinfo/windows.ps1 +++ b/ipinfo/windows.ps1 @@ -1,4 +1,4 @@ -$VSN = "3.1.2" +$VSN = "3.2.0" # build the filename for the Zip archive and exe file $FileName = "ipinfo_$($VSN)_windows_amd64"