Skip to content

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 06:47
· 266 commits to main since this release

feat: implement self-update functionality (v0.4.0)

New Features

Self-Update Command

  • Add wenget update self command to upgrade Wenget itself
  • Automatic version detection from GitHub releases
  • Platform-specific binary selection and installation
  • Smart executable replacement for both Windows and Unix systems

Technical Implementation

Cross-Platform Support

  • Windows: Special handling for locked executables

    • Rename current exe to .exe.old
    • Copy new executable to original location
    • Create background cleanup script for old files
  • Unix/Linux/macOS: Direct executable replacement

    • Copy new executable over current one
    • Automatic permission management (chmod 755)

Error Handling

  • Comprehensive validation and error messages
  • Graceful fallback when already up-to-date
  • Proper cleanup of temporary files

Documentation

  • Update README.md with v0.4.0 changelog
  • Add usage examples for self-update command
  • Document platform-specific behavior

Version

  • Bump version from 0.3.2 to 0.4.0

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com


📦 下載 / Downloads

請從下方選擇適合您系統的版本下載。
Please download the appropriate version for your system from below.

🔒 檔案校驗 / File Verification

使用 SHA256SUMS 檔案驗證下載的檔案完整性。
Use the SHA256SUMS file to verify the integrity of downloaded files.


📝 自動生成的變更日誌 / Auto-generated Changelog

Full Changelog: v0.3.2...v0.4.0