Skip to content

v1.2.0

Choose a tag to compare

@github-actions github-actions released this 15 Mar 19:20
· 22 commits to main since this release
bceb7f6

🚨 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-strategy will need to be updated

New Features

  • Added support for specifying preferred traffic reset strategy with --preferred-strategy flag
  • Supported values for preferred strategy: NO_RESET, DAY, WEEK, MONTH
  • Added automatic conversion of Marzban's YEAR strategy to Remnawave's NO_RESET strategy

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-strategy with --preferred-strategy=MONTH

If your scripts rely on the default behavior (preserving original strategies):

  • No changes needed - this is now the default unless --preferred-strategy is specified

Full Changelog: v1.1.1...v1.2.0