This guide covers how to upgrade WhisperJAV to the latest version.
The GUI will automatically check for updates on startup and display a notification banner when a new version is available.
When an update is available, a small indicator appears in the header bar showing the new version number (e.g., "v1.8.10 available"). Click it to view the changelog and release notes.
For critical updates only, a full colored banner appears at the top of the window to ensure you see it.
- Click the update indicator in the header (or the banner for critical updates)
- View the changelog, then click Update Now
- Confirm the update in the dialog
- The GUI will close automatically
- The update runs in the background
- The GUI relaunches when complete
Use the whisperjav-upgrade command for command-line upgrades.
whisperjav-upgrade --checkThis shows if an update is available without installing it.
whisperjav-upgradeYou'll be prompted to confirm before the upgrade begins.
whisperjav-upgrade --yesAutomatically confirms the upgrade (useful for scripts).
whisperjav-upgrade --wheel-onlyOnly updates the WhisperJAV package itself, skipping dependency installation. This is faster and safer for post-release patches (e.g., 1.7.4 → 1.7.4.post1).
whisperjav-upgrade --versionwhisperjav-upgrade --check --forceBypasses the 6-hour cache to check for updates immediately.
| Component | Full Upgrade | Wheel-Only |
|---|---|---|
| WhisperJAV code | Yes | Yes |
| New dependencies | Yes | No |
| numpy/librosa fix | Yes | No |
| Desktop shortcut | Yes | Yes |
| Old files cleanup | Yes | No |
The upgrade preserves:
- AI models (
~/.cache/whisper/,~/.cache/huggingface/) - Configuration (
whisperjav_config.json) - Cache data (
.whisperjav_cache/)
See UPGRADE_TROUBLESHOOTING.md for common issues and solutions.
If an upgrade fails, see MANUAL_ROLLBACK.md for recovery options.
If the installed upgrade command doesn't work, you can download and run the standalone script:
cd %LOCALAPPDATA%\WhisperJAV
curl -O https://raw.githubusercontent.com/meizhong986/whisperjav/main/installer/upgrade_whisperjav.py
python.exe upgrade_whisperjav.pyUpdate checks are cached for 6 hours to avoid excessive API calls. Use --force to bypass the cache.
- GUI detects update → Shows notification banner
- User clicks "Update Now" → Confirmation dialog
- GUI spawns update wrapper → Background process
- GUI exits → Releases file locks
- Wrapper waits for GUI → Ensures clean exit
- Upgrade script runs → Updates packages
- Wrapper relaunches GUI → Fresh start
update.log- Detailed upgrade log (in installation directory).whisperjav_cache/version_check.json- Cached update check result.whisperjav_cache/update_dismissed.json- Dismissed notification tracking