Repository navigation
v1.4.0
New Features
-
Custom HTTP Headers Support: Added the ability to specify custom HTTP headers for both source and destination panels
- New
--source-headersflag/SOURCE_HEADERSenvironment variable for source panel requests - New
--dest-headersflag/DEST_HEADERSenvironment variable for Remnawave API requests - Headers can be specified in
key1:value1,key2:value2format
- New
-
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.gowith header parsing functionality - Improved consistency in HTTP client configuration
- Better organization of panel initialization
- Added
-
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
- @TheMelbine made their first contribution in #11
Full Changelog: v1.3.0...v1.4.0