flutter_app_updater 2.1.0
flutter_app_updater: ^2.1.0 copied to clipboard
轻量级的Flutter应用内更新框架,专为不同项目需求设计,支持完全自定义UI和下载功能。
2.1.0 #
- Feature: Added configurable retry strategy for downloads with exponential backoff
- New
RetryStrategyclass with presets:fast,standard,patient, anddisabled - Support for custom retry configuration (max attempts, delays, backoff factor, jitter)
- New
- Feature: Added comprehensive logging system with
UpdateLogger- Configurable log levels:
none,error,warning,info,debug - Tagged logging for better debugging experience
- Configurable log levels:
- Improvement: Enhanced HTTP client with better error handling and retry logic
- Improvement: Improved download robustness with automatic retry on network failures
- Test: Added extensive unit test coverage for core components
- Tests for
UpdateChecker,UpdateInfo,RetryStrategy, andVersionComparator - Mock HTTP client for reliable testing
- Tests for
- Improvement: Enhanced Android plugin implementation
- Documentation: Updated README with retry strategy and logging configuration examples
2.0.0 #
- Breaking: Complete rebuild of the plugin architecture
- Feature: Added OpenHarmony (OHOS) platform support
- Feature: Zero third-party dependencies - uses Flutter native HTTP only
- Feature: Fully customizable update dialogs and API response formats
- Feature: Support for forced and optional updates with download progress
- Improvement: Modular architecture with clear separation of concerns
- Improvement: Enhanced example app with better demonstration of features
- Documentation: Comprehensive README with usage examples and customization guide