Prerequisites
Package Name
switchhosts
Expected/Current Behaviour
I expected the checkver mechanism to detect the latest available version of switchhosts (currently v5.0.0) and update the manifest accordingly.
However, the current version in the extras bucket remains v4.2.0. The newer releases v4.3.0 and v5.0.0 are not being detected.
Steps to Reproduce
1. Run scoop info switchhosts or check the manifest file buckets/extras/bucket/switchhosts.json.
2. Observe that the version shown is still v4.2.0.
3. Visit the official releases page at https://github.com/oldj/SwitchHosts/releases.
4. Note that v4.3.0 and v5.0.0 have been published, but they are not picked up by Scoop.
Possible Solution
Update the checkver regex in switchhosts.json to support the new filename format used in v4.3.0 and later. The current regex only matches the older naming pattern SwitchHosts_windows_installer_x64_.exe. The new filenames are like SwitchHosts-v4.3.0.6139-win-x64-installer.exe and SwitchHosts-5.0.0-windows-x64-setup.exe. A more flexible regex should be introduced.
Additionally, according to the official description, v5.0.0 has undergone significant changes. The extraction/unpacking logic for the exe installer may need to be updated accordingly.
Scoop and Buckets Version
> scoop --version
Current Scoop version:
b588a06e (HEAD -> master, tag: v0.5.3, origin/master, origin/HEAD) chore(release): Bump to version 0.5.3 (resync) (#6436)
'main' bucket:
83cfcfcd2a (HEAD -> master, origin/master, origin/HEAD) whosthere: Update to version 0.8.2
'extras' bucket:
c2ad341158 (HEAD -> master, origin/master, origin/HEAD) treesheets: Update to version 3188
'versions' bucket:
898d9d29f1 (HEAD -> master, origin/master, origin/HEAD) swift-nightly: Update to version 20260521.2
'nirsoft' bucket:
c683cb3 (HEAD -> master, origin/master, origin/HEAD) Update url list [ci skip]
'java' bucket:
f88a8394 (HEAD -> master, origin/master, origin/HEAD) dragonwell8-jdk: Update to version 8.29.28-8.0.492
'dorado' bucket:
85917705b (HEAD -> master, origin/master, origin/HEAD) wasm-tools: Update to version 1.250.0
'scoop-nerd-fonts' bucket:
f5f31f92 (HEAD -> master, origin/master, origin/HEAD) LXGWNeoZhiSong: Update to version 1.063
Scoop Config
> scoop config
last_update : 2026-5-22 周五 9:09:14
scoop_repo : https://github.com/ScoopInstaller/Scoop
scoop_branch : master
aria2-enabled : True
aria2-retry-wait : 6
aria2-split : 8
aria2-max-connection-per-server : 8
abgox-abyss-bucket-name : abyss
PowerShell Version
> $PSVersionTable
Name Value
---- -----
PSVersion 7.6.1
PSEdition Core
GitCommitId 7.6.1
OS Microsoft Windows 10.0.26200
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.4
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Additional Softwares
No response
Prerequisites
Package Name
switchhosts
Expected/Current Behaviour
I expected the checkver mechanism to detect the latest available version of switchhosts (currently v5.0.0) and update the manifest accordingly.
However, the current version in the extras bucket remains v4.2.0. The newer releases v4.3.0 and v5.0.0 are not being detected.
Steps to Reproduce
Possible Solution
Update the checkver regex in switchhosts.json to support the new filename format used in v4.3.0 and later. The current regex only matches the older naming pattern SwitchHosts_windows_installer_x64_.exe. The new filenames are like SwitchHosts-v4.3.0.6139-win-x64-installer.exe and SwitchHosts-5.0.0-windows-x64-setup.exe. A more flexible regex should be introduced.
Additionally, according to the official description, v5.0.0 has undergone significant changes. The extraction/unpacking logic for the exe installer may need to be updated accordingly.
Scoop and Buckets Version
Scoop Config
PowerShell Version
Additional Softwares
No response