Releases: kutovoys/xray-torrent-blocker
Releases · kutovoys/xray-torrent-blocker
v0.3.1
Webhook Support
- Added webhook functionality for notifications
- New configuration parameters:
SendWebhook
- Enable/disable webhook notifications (default:false
)WebhookURL
- The URL to which webhooks will be sentWebhookHeaders
- Custom HTTP headers for webhook requests (can be used for authorization)
Logrotate Configuration
- Added documentation and installation script for logrotate configuration for Marzban Node
- Prevents system overload from excessive log files
- Configuration rotates logs at 50MB size, keeping 5 rotations with compression
New Contributors
- @lifeindarkside made their first contribution in #14
- @TheMelbine made their first contribution in #15
Full Changelog: v0.3.0...v0.3.1
v0.3.0
Breaking Changes 🚨
- Changed binary name from
torrent-blocker
totblocker
- Changed installation directory from
/opt/torrent-blocker
to/opt/tblocker
- Changed systemd service name from
torrent-blocker.service
totblocker.service
- Changed module name from
torrents-blocker
totblocker
- Changed repository name and all related paths from
marzban-torrent-blocker
toxray-torrent-blocker
Major Changes
- Renamed project from "Marzban Torrent Blocker" to "XRay Torrent Blocker" to better reflect its universal compatibility
- Added persistent storage for blocked IPs, preventing loss of block state during application restarts
New Features
- Added persistent block storage in JSON format
- Added automatic restoration of active blocks after application restart
- Added automatic cleanup of expired blocks
- Added automatic block state recovery after system reboot
Infrastructure Changes
- Updated all path references in installation scripts and service files
- Updated
.goreleaser.yaml
andMakefile
to use new binary name - Updated GitHub repository references in installation script
Configuration
- Added new
StorageDir
configuration option (default:/opt/tblocker
) - Updated example configuration file with new storage options
Migration Guide 🔄
Users upgrading from previous versions must:
- Stop the old service:
systemctl stop torrent-blocker
- Move their configuration:
mv /opt/torrent-blocker/config.yaml /opt/tblocker/config.yaml
- Update their systemd service file:
curl -sL https://raw.githubusercontent.com/kutovoys/xray-torrent-blocker/main/tblocker.service -o /etc/systemd/system/tblocker.service
- Reload systemd and start new service:
systemctl daemon-reload systemctl enable tblocker systemctl start tblocker
- Remove old service and files:
systemctl disable torrent-blocker rm /etc/systemd/system/torrent-blocker.service rm -rf /opt/torrent-blocker
Full Changelog: v0.2.0...v0.3.0
v0.2.0
v0.1.0
v0.0.3
marzban-torrent-blocker-v0.0.2
Changelog
- 6329685 fix action