Skip to content

v1.0.4

Choose a tag to compare

@web-ppanel web-ppanel released this 15 Aug 17:24

πŸš€ Release v1.0.4

This release includes significant new features, improvements, and critical bug fixes across authentication, orders, subscriptions, proxy handling, and application management.


✨ New Features

  • Rule Groups

    • Added type and default fields to rule group requests and model.
    • Implemented default rule group logic during creation and updates.
  • Proxy Management

    • Enhanced proxy group handling, sorting, and configuration options.
    • Added Surge adapter support and improved subscription URL handling.
    • Added Loon configuration template support.
    • Refactored Surfboard proxy handling with improved templates.
  • Subscription & Traffic

    • Implemented traffic reset logic for subscription cycles.
    • Enhanced subscription reset logic using expire_time for monthly/yearly checks.
    • Added V2SubscribeHandler for advanced subscription management.
    • Updated subscription route to use V2 handler.
    • Added output format configuration for subscription adapters.
  • Authentication & User Management

    • Improved email/mobile config unmarshalling with defaults.
    • Enhanced OAuth login flow with better registration handling.
    • Added ordering for user lists and authentication methods.
  • Order & Marketing

    • Enhanced order processing logic with improved error handling.
    • Added batch email task management API.
  • Application Management

    • Implemented CRUD operations for subscription applications.
    • Added structured download link handling, scheme field, and client preview templates.
    • Added default application data initialization.
  • Miscellaneous

    • Added endpoint to retrieve application version info.
    • Added logs volume in develop environment.

πŸ›  Improvements & Refactoring

  • Replaced hardcoded proxy group names with constants for maintainability.
  • Streamlined user cache management and clearing logic.
  • Unified and improved logging prefixes for better debugging.
  • Added Go-standard documentation comments across key files.
  • Enhanced middleware with domain length checks and refined User-Agent handling.

πŸ› Bug Fixes

  • Database: Corrected SingBox name in initialization script.
  • Purchase & Renewal: Fixed gift amount deduction and discount default value issues.
  • Order: Fixed critical bugs in order processing and gift amount handling.
  • User Statistics: Filled missing data in revenue and user statistics.
  • Traffic Reset: Fixed daily and scheduled reset logic for subscriptions.
  • Scheduler: Adjusted daily reset task to run at 00:30.
  • Handler: Added browser interception for specific User-Agents.
  • Trojan: Removed unused parameters and cleaned up logging.
  • Docker: Added build argument for version in Docker image builds.

Full changelog: Compare changes