ArchGPT / insomnium

Insomnium is a fast local API testing tool that is privacy-focused and 100% local. For testing GraphQL, REST, WebSockets and gRPC. This is a fork of Kong/insomnia
MIT License
3.38k stars 158 forks source link

User-Agent string is still referencing "insomnia" and out of sync with current version number #77

Closed Absolutely-Free closed 11 months ago

Absolutely-Free commented 11 months ago

Expected Behavior

The default User-Agent string should follow the pattern of insomnium/current version.

Actual Behavior

The default User-Agent string on an HTTP request is referring to "insomnia" rather "insomnium", and the version that appears is still "0.2.0".

Reproduction Steps

  1. Create a new HTTP request.
  2. Click the headers tab.

Screenshot_20231025_200152

Is there an existing issue for this?

Additional Information

I found this comment from insomnia's issue tracker saying that the intention for the default User-Agent string in a HTTP request is to follow the pattern of program/current version.

For this fork, the program name should be updated to Insomnium to reflect that it is distinct from Insomnia.

It also seems like whatever logic Insomnia had to keep the version number that appears in the User-Agent string in alignment with the current application version number has been out of sync in Insomnium since v0.2.0.

Great work maintaining this fork by the way <3

Insomnium Version

0.2.2

What operating system are you using?

Other Linux

Operating System Version

Operating System: Arch Linux, KDE Plasma Version: 5.27.9, KDE Frameworks Version: 5.111.0, Qt Version: 5.15.11, Kernel Version: 6.1.59-1-lts (64-bit), Graphics Platform: X11

Installation method

AUR

Last Known Working Insomnium version

No response

archywillhe commented 11 months ago

good find; fixing this now

but doesn't look like there is a straightforward way to update the User-Agent of old requests created in older versions.