Repository navigation
v1.2.0
🚨 Breaking Changes
- Renamed flag
--calendar-strategy(boolean) to--preferred-strategy(string) - Changed behavior of traffic limit reset strategy handling
- Existing scripts or automation using
--calendar-strategywill need to be updated
New Features
- Added support for specifying preferred traffic reset strategy with
--preferred-strategyflag - Supported values for preferred strategy:
NO_RESET,DAY,WEEK,MONTH - Added automatic conversion of Marzban's
YEARstrategy to Remnawave'sNO_RESETstrategy
Improvements
- Better handling of traffic limit reset strategies between Marzban and Remnawave
- More flexible configuration with ability to choose reset strategy instead of forcing Calendar Month
- Added validation for preferred strategy values with clear error messages
- Environment variable support via
PREFERRED_STRATEGY
Migration Guide
If you were previously using the --calendar-strategy flag:
- Replace
--calendar-strategywith--preferred-strategy=MONTH
If your scripts rely on the default behavior (preserving original strategies):
- No changes needed - this is now the default unless
--preferred-strategyis specified
Full Changelog: v1.1.1...v1.2.0