hphillip
(Howard Phillips)
August 25, 2022, 4:37pm
1
Minor observation: Just downloaded the latest patch 3.21.1
>ttn-lw-cli version
The Things Network Command-line Interface: ttn-lw-cli
Version: 3.21.1
Build date: 2022-08-24T16:05:59Z
Git commit: 6cf0efd63
Go version: go1.18.5
OS/Arch: windows/amd64
However every command I try I get an INFO as follows:
INFO New patch version available {"current": "3.21.0", "docs_url": "https://www.thethingsindustries.com/docs/getting-started/upgrading/", "latest": "3.21.1"}
descartes
(Nick McCloud)
August 25, 2022, 5:31pm
2
This is unlikely to be picked up by the TTI dev team as they use the Issues on Github if you could repost it there.
hphillip
(Howard Phillips)
August 26, 2022, 7:34am
3
As recommended, I have reported the issue on Github
opened 07:31AM - 26 Aug 22 UTC
needs/triage
### Summary
Running ttn-lw-cli version 3.21.1 for the commands tried I get
… `INFO New patch version available {"current": "3.21.0", "docs_url": "https://www.thethingsindustries.com/docs/getting-started/upgrading/", "latest": "3.21.1"}`
### Steps to Reproduce
1. authenticate by logging in with ttn-lw-cli
2. check the version of ttn-lw-cli
3. execute a command and note output gives an INFO about upgrading to 3.21.1
### Current Result
>ttn-lw-cli version
The Things Network Command-line Interface: ttn-lw-cli
Version: 3.21.1
Build date: 2022-08-24T16:05:59Z
Git commit: 6cf0efd63
Go version: go1.18.5
OS/Arch: windows/amd64
Now any command, this is just an example:
```
>echo 40F2BD9E00004B01020827471A8F517ACC133C4750A05974FB70E0E5B02637539B07BE60 | ttn-lw-cli lorawan decode --input-format hex
WARN No AppSKey provided, skipping application payload decryption
{
"message": {
"m_hdr": {
"m_type": "UNCONFIRMED_UP"
},
"mic": "mwe+YA==",
"mac_payload": {
"f_hdr": {
"dev_addr": "009EBDF2",
"f_ctrl": {},
"f_cnt": 331
},
"f_port": 2,
"frm_payload": "CCdHGo9ReswTPEdQoFl0+3Dg5bAmN1M="
}
}
}
INFO New patch version available {"current": "3.21.0", "docs_url": "https://www.thethingsindustries.com/docs/getting-started/upgrading/", "latest": "3.21.1"}
```
### Expected Result
I do not expect to see the INFO inviting me to upgrade to 3.21.1
### Relevant Logs
_No response_
### URL
_No response_
### Deployment
The Things Stack Community Edition
### The Things Stack Version
3.21.1
### Client Name and Version
```shell
The Things Network Command-line Interface: ttn-lw-cli
Version: 3.21.1
Build date: 2022-08-24T16:05:59Z
Git commit: 6cf0efd63
Go version: go1.18.5
OS/Arch: windows/amd64
```
### Other Information
_No response_
### Proposed Fix
Looks like a version check should be corrected
### Contributing
- [ ] I can help by doing more research.
- [ ] I can help by implementing a fix after the proposal above is approved.
- [ ] I can help by testing the fix before it's released.
### Code of Conduct
- [X] I agree to follow TTN's [Community Code of Conduct](https://github.com/TheThingsNetwork/Manifesto/blob/master/CodeOfConduct.md).
1 Like