809b0ca63d
- Implemented migration 067 to set up Cloudflare WARP with automatic routing for VPN client TCP traffic through a redsocks proxy. - Included installation scripts for WARP and redsocks, along with iptables rules for traffic redirection. - Added detection for X-Ray and patching of its outbound configuration. - Created uninstall scripts to clean up configurations and remove installed packages. fix(migrations): Enhance WARP install script for heredoc compatibility - Implemented migration 068 to fix nested heredoc conflicts and streamline the WARP installation script for panel compatibility. - Removed duplicate `set -eo pipefail` and adjusted formatting for better readability. feat(migrations): Auto-detect AIVPN subnet for routing in WARP setup - Implemented migration 069 to enhance the WARP installation script by adding detection for AIVPN subnets alongside existing AWG container detection. - Updated routing logic to handle both container IPs and host-level VPN subnets. - Ensured proper configuration of iptables for seamless traffic routing through the WARP proxy.
8.3 KiB
8.3 KiB
Release Notes - Amnezia VPN Web Panel v2.0.1
Release Date: 2026-04-25
Previous Release: v2.0.0 (3 weeks ago)
🆕 What's New in v2.0.1
This patch release focuses on improving international accessibility with comprehensive documentation in Russian and Chinese, making the panel more accessible to users worldwide.
📄 New Documentation
- Russian Documentation (
README_RU.md) - Complete translation with all features, API examples, and troubleshooting guides - Chinese Documentation (
README_ZH.md) - Full Chinese translation for better accessibility
🎉 Major Features (from v2.0.0)
🌍 Multi-Language Documentation
- Added comprehensive Russian documentation (
README_RU.md) - Added comprehensive Chinese documentation (
README_ZH.md) - Improves accessibility for Russian and Chinese speaking users
☁️ Cloudflare WARP Integration
- New protocol: Cloudflare WARP Proxy (
cf-warp) - Transparent TCP traffic proxying through Cloudflare network
- Hides server's real IP address from VPN clients
- Automatic detection and routing for multiple VPN protocols:
- AWG / AWG2 (container IP + host redsocks)
- X-Ray VLESS (SOCKS5
warp-outoutbound) - AIVPN / WireGuard (host-level iptables + redsocks)
- Verification via
https://1.1.1.1/cdn-cgi/trace
🤖 AI-Powered Features
- AI Assistant for protocol configuration using OpenRouter
- Auto-translation of interface via AI
- Intelligent troubleshooting suggestions
- Context-aware protocol configuration generation
📊 Enhanced Monitoring & Automation
- Automatic metrics collection with self-healing (3-minute monitoring)
- Automated client expiration checks (hourly)
- Automated traffic limit enforcement (hourly)
- Centralized log management with search and filtering
- Real-time server monitoring and health checks
🔧 Advanced Protocol Management
- AmneziaWG 2.0 (
awg2) protocol support - AIVPN protocol integration
- MTProxy (Telegram) protocol support
- Dynamic protocol installation/uninstallation
- Per-protocol configuration management
- Protocol-specific port and transport settings
📥 Panel Import Feature
- Import from wg-easy backup files
- Import from 3x-ui backup files
- Automatic client migration
- Import history tracking
🔐 Enhanced Security & Access Control
- JWT-based API authentication
- Persistent API tokens
- User roles and permissions
- LDAP integration for enterprise environments
- SSH key authentication for server deployment
📱 Client Management Enhancements
- Client expiration dates with automatic enforcement
- Traffic limits with automatic blocking
- QR code generation for mobile apps
- Client connection statistics and monitoring
- Current speed monitoring per client
🧪 Scenario Testing
- Define custom VPN connection scenarios
- Automated testing across different protocols
- Network condition simulation
- Reliability verification
🐛 Bug Fixes
- Fixed AWG2 empty peer parameters (migration 063)
- Fixed AIVPN prebuilt binary handling (migration 065)
- Fixed AWG2 original parameters completion (migration 064)
- Fixed XRay port mapping and IP enforcement
- Fixed traffic limit counter offsets for AIVPN
- Fixed client connection instructions translation
- Fixed WARP heredoc compatibility issues
- Fixed WARP subnet detection for AIVPN compatibility
🔧 Technical Improvements
Database Migrations
- Added 22 new migration files (048-069) covering:
- Protocol management tables
- Monitoring and metrics
- LDAP configurations
- QR code templates
- Protocol editor translations
- AWG2 and AIVPN support
- Cloudflare WARP integration
Performance Optimizations
- Optimized metrics collection queries
- Improved database indexing for client lookups
- Enhanced Docker container health checks
- Reduced API response times
Code Quality
- Improved error handling and logging
- Better input validation
- Enhanced security checks
- Cleaner separation of concerns
📚 Documentation Updates
- Complete Russian translation of all features
- Complete Chinese translation of all features
- Updated API examples with new endpoints
- Added troubleshooting guides
- Enhanced installation instructions
- Added Cloudflare WARP configuration examples
🔗 API Changes
New Endpoints
POST /api/clients/{id}/set-traffic-limit- Set client traffic limitGET /api/clients/{id}/traffic-limit-status- Get traffic limit statusGET /api/clients/overlimit- Get clients over traffic limitPOST /api/clients/{id}/set-expiration- Set client expiration datePOST /api/clients/{id}/extend- Extend client expirationGET /api/clients/expiring- Get clients expiring soonPOST /api/servers/{id}/import- Import from existing panelGET /api/servers/{id}/imports- Get import historyPOST /api/servers/{id}/backup- Create server backupGET /api/servers/{id}/backups- List server backupsPOST /api/servers/{id}/restore- Restore from backupGET /api/protocols/active- List available protocols (JWT-friendly)
Enhanced Endpoints
- Improved client creation with expiration and traffic limits
- Enhanced server management with import capabilities
- Better protocol management with AI assistance
🚀 Upgrade Guide
From Previous Versions
- Backup your database before upgrading
- Pull the latest code:
git pull origin main - Run new migrations:
docker compose exec -T db mysql -u"$DB_USERNAME" -p"$DB_PASSWORD" "$DB_DATABASE" < migrations/048_enable_xray_stats.sql # ... run all new migration files in order - Restart containers:
docker compose restart - Clear application cache if needed
Fresh Installation
See the installation instructions in README.md, README_RU.md, or README_ZH.md
📋 Migration Files (Since v2.0.0)
This release includes all migrations from v2.0.0 plus the following new files:
New in v2.0.1:
- No new database migrations - this is a documentation-focused release
From v2.0.0:
048_enable_xray_stats.sql- Enable XRay statistics collection049_add_dns_servers.sql- Add DNS server configuration050_fix_awg_random_params.sql- Fix AWG random parameters051_fix_awg_fresh_install.sql- Fix AWG fresh installation052_add_current_speed_to_clients.sql- Add current speed monitoring053_split_speed.sql- Split upload/download speed054_xray_single_ip_enforcement.sql- XRay IP enforcement055_dashboard_online_now_translation.sql- Dashboard translation056_enable_show_text_content_for_xray.sql- XRay text content057_add_protocol_management_translations.sql- Protocol management058_add_awg2_protocol.sql- AWG2 protocol support059_add_mtproxy_protocol.sql- MTProxy protocol support060_add_aivpn_protocol.sql- AIVPN protocol support061_fix_client_connection_instructions_translation.sql- Translation fix062_add_aivpn_counter_offsets.sql- AIVPN counter fixes063_fix_awg2_empty_peer_in_install_script.sql- AWG2 peer fix064_complete_awg2_original_params.sql- AWG2 parameters065_fix_aivpn_prebuilt_binary.sql- AIVPN binary fix066_add_cloudflare_warp_protocol.sql- WARP protocol067_warp_auto_redsocks_integration.sql- WARP redsocks068_fix_warp_heredoc_compat.sql- WARP heredoc fix069_warp_aivpn_subnet_detect.sql- WARP subnet detection
🙏 Acknowledgments
Special thanks to:
- All contributors who helped with translations
- The Amnezia VPN community for feedback and testing
- OpenRouter for AI integration support
- Cloudflare for WARP technology
📞 Support
- GitHub Issues: https://github.com/infosave2007/amneziavpnphp/issues
- Documentation: See README files in English, Russian, and Chinese
- Donations: https://t.me/tribute/app?startapp=dzX1
📄 License
This release is licensed under the MIT License - see the LICENSE file for details.
Full Changelog: https://github.com/infosave2007/amneziavpnphp/compare/v2.0.0...v2.0.1
Changes since v2.0.0:
- Added comprehensive Russian documentation (
README_RU.md) - Added comprehensive Chinese documentation (
README_ZH.md) - Updated release notes with multi-language support information