flutter_dev_panel_network 1.2.2
flutter_dev_panel_network: ^1.2.2 copied to clipboard
Network monitoring module for Flutter Dev Panel
1.2.2 #
- FIX: Pending requests stuck in FAB after page refresh or client recreation
- Added watchdog timer that sweeps stale pending/streaming requests every 10s
- Requests pending for over 60s are automatically marked as timed out (cancelled)
- Prevents orphaned requests from GraphQL client recreation or cancelled streams
- FIX: Session stats double-counting when watchdog-cancelled requests receive late responses
- FIX: ScrollController memory leak in request detail code viewer
- FIX: JSON/response body overflow for large GraphQL payloads
- Unified horizontal+vertical scroll for all code viewers
- Fixed
Expandedlayout issue in JSON viewer long string display
- UX: Long-press on individual SSE event card to copy that event to clipboard
1.2.1 #
- FIX: Requests stuck in pending/loading state after completion or failure
- Added try-catch protection in Dio interceptor
onResponseandonError - Added
recordedflag withfinallysafety net in GraphQL interceptor - Ensures requests are never left in pending state regardless of exceptions
- Added try-catch protection in Dio interceptor
1.2.0 #
- FEAT: SSE (Server-Sent Events) stream monitoring support
- Auto-detect
text/event-streamresponses via Content-Type - Real-time event capture for both
ResponseType.streamandResponseType.plain - EventStream tab in request detail dialog (Chrome DevTools style)
- Purple SSE badge with event count in request list
- Zero-dependency SSE protocol parser with incremental parsing
- FIFO eviction (max 500 events per request), debounced UI updates (100ms)
- SSE events stored in memory only (not persisted to disk)
- Auto-detect
1.1.4 #
- PERF: Cache request stats with incremental updates (O(1) vs O(n) per rebuild)
- PERF: Debounce SharedPreferences writes (500ms) to reduce disk I/O
- PERF: Incremental FAB metrics scan with early exit
- FIX: Evicted requests not decrementing cached stats
- FIX: Dispose could save empty list after clear
- FIX: Cancelled requests not updating session stats
1.1.3 #
- Minimum Flutter version raised to 3.13.0
1.1.0 #
- Update to match main package version 1.1.0
- Update dependencies
1.0.4 #
- Update a dependency to the latest release.
1.0.3 #
- Update a dependency to the latest release.
1.0.2 #
- Bump "flutter_dev_panel_network" to
1.0.2.
1.0.1 #
- REFACTOR: 重构为模块化架构. (ef4edf8a)
- FIX: improve GraphQL query serialization and Logger package integration. (878b9aad)
- FIX: downgrade test package version to fix flutter_test compatibility. (a1dacadf)
- FIX: unify Flutter version requirement to 3.10.0 across all packages. (d7552d8e)
- FIX: add required files for publishing and fix script. (72ac1a91)
- FIX: 优化测试用例. (6d06cc34)
- FIX: 优化GraphQL请求和JSON查看器的展示逻辑. (83a581cb)
- FIX: 增强GraphQL集成和UI交互体验. (a8f33c2b)
- FIX: 增强网络监控模块,支持多种HTTP库集成和GraphQL功能. (d0ac040f)
- FIX: 更新网络监控模块,增强HTTP库集成和状态管理. (d3dc868a)
- FIX: 更新FAB内容显示逻辑和状态管理. (c344fd24)
- FIX: 改进网络监控页面的搜索框和统计信息展示. (6efdb0b4)
- FIX: 增强FAB内容构建和优先级管理. (16a36e15)
- FIX: 更新Flutter开发面板的API和UI组件. (0873ef11)
- FIX: 改进JSON查看器的展开和折叠逻辑. (70fbd636)
- FIX: 更新依赖和优化UI布局. (fa776672)
- FIX: 改进网络请求详情弹窗和遮罩层关闭功能. (7b8f3c7a)
- FIX: 修复UI布局问题. (15e1774f)
- FEAT: 更新 pubspec.yaml 和 pubspec.lock 文件. (ea4e9c71)
- FEAT: 发布 1.0.0 版本,包含多个模块的重大更新. (9a123185)
- FEAT: 优化 DevLogger 的日志级别检测逻辑. (e682bd97)
- FEAT: 优化performance 模块,添加timer 调试信息. (4236e42a)
- FEAT: 优化环境变量获取方法,新增默认值支持. (17a03b40)
- FEAT: 增强控制台页面和网络监控页面的搜索框功能. (240cc258)
- FEAT: 更新 README 和示例代码以支持新的环境变量获取和 GraphQL 客户端监控. (6d9dfe0f)
- FEAT: 更新文档和示例代码以反映 DevPanel 的重命名. (3b49e94b)
- FEAT: add production safety to network module integration methods. (a9f435e4)
- FEAT: 更新JSON查看器和配置文件. (17670e29)
- FEAT: 优化UI颜色和字体权重. (bc88b700)
- FEAT: 更新日志捕获和控制台模块. (15749fa2)
- DOCS: update version. (1de0c531)
- DOCS: simplify README files for all packages. (9c431166)
Changelog #
1.0.0 #
- Major release with stable API
- Full GraphQL support with environment switching
- Persistent batch statistics in FAB
- Enhanced JSON viewer with smart folding
- Dynamic endpoint configuration
- Improved FAB display with bolder text
0.0.2 #
- Fixed Flutter version requirement to 3.10.0
- Updated documentation
0.0.1 #
- Initial release