Skip to content

v5.2.0

Choose a tag to compare

@github-actions github-actions released this 14 Jul 15:48
· 69 commits to master since this release

🎉 What's New

🔗 User Hook URL Support

  • Added user hook URL support for API access validation
  • Forward all original HTTP headers plus custom rttys headers:
    • X-Rttys-Hook: true
    • X-Original-Method: original request method
    • X-Original-URL: original request URL
  • Hook must return HTTP 200 to allow API access
  • Enables external services to validate and control user API access

🛠️ Bug Fixes

Command Response Handling

  • Fixed command response attrs handling using json.RawMessage
  • Resolves issue with error responses like {"token":"token","attrs":{"err":1,"msg":"xx"}}
  • Improves compatibility with different response formats

Cross-Platform Compatibility

  • Fixed Windows build failures
  • Separated signal handling into platform-specific files:
    • signal_unix.go - Unix/Linux signal handling with SIGUSR1
    • signal_windows.go - Windows compatibility (no-op signal handling)
  • Resolved undefined: syscall.SIGUSR1 error on Windows

📋 Configuration Improvements

  • Enhanced configuration file documentation
  • Improved clarity and examples in rttys.conf
  • Better guidance for configuration options

🔧 Development & CI/CD

📦 Package Management

  • Added Debian package creation script (build-deb.sh)
  • Support for creating .deb packages for amd64 and arm64
  • Improved systemd service configuration

🚀 CI/CD Enhancements

  • Enhanced GitHub Actions workflows:
    • Added Windows build support in CI
    • Optimized build workflow to skip on tag pushes
    • Improved release asset handling
  • Better automation for multi-platform releases

Full Changelog: v5.1.0...v5.2.0