Skip to content

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 14 May 10:35
· 13 commits to main since this release
d459ffa

New Features

  • Custom HTTP Headers Support: Added the ability to specify custom HTTP headers for both source and destination panels

    • New --source-headers flag/SOURCE_HEADERS environment variable for source panel requests
    • New --dest-headers flag/DEST_HEADERS environment variable for Remnawave API requests
    • Headers can be specified in key1:value1,key2:value2 format
  • Improved Header Authorization:

    • Authorization header is automatically created from token if not specified in custom headers
    • Custom Authorization header can override the default token-based header if needed

Improvements

  • Enhanced Documentation:

    • Added comprehensive examples for using custom headers
    • Improved formatting and organization of README
    • Better description of traffic reset strategies
    • Clearer explanation of environment variables usage
  • Code Structure Enhancements:

    • Added util/http_utils.go with header parsing functionality
    • Improved consistency in HTTP client configuration
    • Better organization of panel initialization
  • Error Handling:

    • More consistent error messages across HTTP clients
    • Improved formatting of error responses

Technical Changes

  • Modified all HTTP clients to support custom headers
  • Updated panel factory to pass header configuration to panel constructors
  • Added header fields to all panel structs
  • Headers are applied consistently to all HTTP requests
  • Simplified configuration structure for better maintainability

Compatibility

This update is fully backward compatible with previous versions. Existing scripts and configurations will continue to work without modification.

New Contributors

Full Changelog: v1.3.0...v1.4.0