Release v1.3.1
π§ Breaking Changes Alert π§
This release contains breaking changes. Please review the following sections carefully before upgrading.
π Breaking Changesβ
Metrics Port Configurationβ
- Prometheus metrics endpoint now runs on a separate port
- Added new
METRICS_PORTenvironment variable - Metrics endpoint path changed from
/api/metricsto/metrics - No longer served on the main application port. Please use new
METRICS_PORTenvironment variable to access metrics.
𧬠API changesβ
-
All user endpoints now include
lastConnectedNodeinformation -
Enhanced subscription information in responses
-
Traffic reset strategy changed
CALENDAR_MONTH,YEARis removed.MONTHnow uses the same strategy asCALENDAR_MONTHbefore.warningIf you use API, please review your codebase to reflect these changes.
infoThere is no need to manually change reset strategy for existing users, it will be changed automatically when you upgrade.
-
Traffic reset strategy also use new logic.
DAYβ every day at 00:00 UTCWEEKβ every week at Monday 00:00 UTC (night from Sunday to Monday)MONTHβ every month at the first day of month at 00:00 UTC
π§ How to Upgradeβ
- Add the required new environment variables:
METRICS_PORTAPI_INSTANCES
- Update your monitoring configuration to use the new metrics port
- Update your API clients. Change deprecated
CALENDAR_MONTH,YEARtoMONTHorWEEKorDAY.
It will be impossible to downgrade to previous version, because of migration of reset strategy.
β¨ New Featuresβ
Multiple Instances Supportβ
- Bulk user deletion is now available. Delete many users with selected status with ease.
- Added support for running multiple API instances
- New
API_INSTANCESenvironment variable to control instance scaling - Flexible scaling options:
max: Utilize all available CPU cores<number>: Run a specific number of instances-1: Use all cores except one
β οΈ Important: Never set instance count higher than your server's physical core count
Frontendβ
- i18n in now supported. Currently, Russian, English and Persian languages are supported.
π Bug Fixesβ
- Fixed an error, when you tried to use Telegram bot for notifications, but it is already had getUpdates or webhook active.
- Other minor fixes and improvements.