github kutovoys/xray-checker v0.4.1

latest releases: v0.4.3, v0.4.2
4 months ago

New Features

Configurable Metrics Host

  • Added the ability to configure the host address for metrics and status endpoints
  • Introduced new METRICS_HOST environment variable and --metrics-host CLI flag
  • Default value set to 0.0.0.0 for backward compatibility
  • Added documentation for the new configuration option in both English and Russian

Bug Fixes

Metrics Management

  • Fixed memory leak in metrics cleanup process
  • Added proper cleanup for metrics when clearing metrics data
  • Changed metric key validation to support keys with more than 3 parts (len(parts) >= 3)

UI Improvements

  • Updated server information display to show full host:port instead of just port
  • Improved formatting in the copyToClipboard function for better readability

Dependencies

Updates

  • Updated github.com/refraction-networking/utls from v1.6.7 to v1.7.0
  • Updated Go version formatting in go.mod from 1.24 to 1.24.0
  • Retained toolchain specification at go1.24.2

Documentation

Documentation Enhancements

  • Added the new METRICS_HOST parameter to all CLI examples
  • Updated Docker examples to include the new environment variable
  • Added examples of binding to localhost (127.0.0.1) for improved security
  • Updated all documentation in both English and Russian languages

Internal Changes

Server Startup

  • Modified server startup log message to display both host and port
  • Updated HTTP server binding to use the configured host address
  • Improved code formatting and readability in various places

Compatibility Notes

This release maintains backward compatibility with previous versions as the default host setting (0.0.0.0) matches the previous behavior. Users who want to restrict the metrics server to specific interfaces can now do so using the new configuration option.

Full Changelog: v0.4.0...v0.4.1

Don't miss a new xray-checker release

NewReleases is sending notifications on new releases.