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.