Skip to content

v5.0.0-beta7

Pre-release
Pre-release

Choose a tag to compare

@moshaoli688 moshaoli688 released this 28 Oct 12:13

🏷️ Release v5.0.0-beta7

πŸš€ What's New

  • Added CLI flag --node-name-length and environment variable NODE_NAME_LENGTH.
    β†’ Configures the maximum node name length.
    • Default: 128 (if not set or left empty).
    • Set to -1 for unlimited length (no truncation).
  • Updated .env.example with the new configuration option.

🧰 Fixes

  • Fixed a panic issue where ExecGeoCheck could crash the main process under certain script error conditions.
  • Fixed a bug where invalid or overly long node names caused unexpected crashes.
  • Improved error handling and stability during geo script execution.

πŸ”§ Updates

  • Upgraded mihomo core to v1.19.15.
  • Updated uTLS library to the latest stable version.
  • Enhanced logging, panic recovery, and node normalization logic.

πŸ’¬ Notes

  • ExecGeoCheck is now protected by a panic recovery layer to prevent service-wide crashes.
  • The NODE_NAME_LENGTH variable is optional β€” if not set, it defaults to 128.
  • Use -1 to disable node name truncation entirely.
  • Review and update your .env file using the latest .env.example as a reference.

βœ… Upgrade Guide

If upgrading from v5.0.0-beta6 or earlier:

  1. Replace the old binary with the new release.
  2. Merge or update your .env file to include:
    NODE_NAME_LENGTH=128    # default (optional)
    or:
    NODE_NAME_LENGTH=-1     # disable truncation
  3. Restart MiaoSpeed Pro Server.