flutter_dev_panel_network 1.2.2 copy "flutter_dev_panel_network: ^1.2.2" to clipboard
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 Expanded layout 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 onResponse and onError
    • Added recorded flag with finally safety net in GraphQL interceptor
    • Ensures requests are never left in pending state regardless of exceptions

1.2.0 #

  • FEAT: SSE (Server-Sent Events) stream monitoring support
    • Auto-detect text/event-stream responses via Content-Type
    • Real-time event capture for both ResponseType.stream and ResponseType.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)

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.2 #

1.1.1 #

1.1.1 #

  • Update dependencies

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
0
likes
130
points
856
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Network monitoring module for Flutter Dev Panel

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

dio, flutter, flutter_dev_panel, gql, graphql_flutter, http, intl, shared_preferences

More

Packages that depend on flutter_dev_panel_network