voo_performance 2.0.0 copy "voo_performance: ^2.0.0" to clipboard
voo_performance: ^2.0.0 copied to clipboard

Local performance monitoring toolkit for Flutter apps with network metrics and trace tracking.

2.0.0 #

BREAKING CHANGE: Full migration to OpenTelemetry (OTEL) as the default telemetry export mechanism.

Breaking Changes #

  • REMOVED: PerformanceCloudSyncService and PerformanceCloudSyncConfig are no longer used
  • REMOVED: VooPerformancePlugin.cloudSyncService property
  • REMOVED: VooPerformancePlugin.enableOtel() method - OTEL is now auto-enabled
  • CHANGED: All traces automatically exported via OTLP when Voo.context is available

New Features #

  • FEAT: Auto-enable OTEL export via Voo.context - no manual configuration needed
  • FEAT: Traces automatically exported to /v1/traces OTLP endpoint
  • FEAT: Metrics automatically exported to /v1/metrics OTLP endpoint
  • FEAT: OtelPerformanceTrace wraps spans with W3C trace context for distributed tracing
  • FEAT: Built-in OTEL metrics: OtelFpsMetric, OtelMemoryMetric, OtelAppLaunchMetric
  • FEAT: HTTP semantic conventions for network traces

Migration Guide #

// Before (1.x)
_performanceCloudSync = PerformanceCloudSyncService(
  config: PerformanceCloudSyncConfig(...),
);
_performanceCloudSync.initialize();
await VooPerformancePlugin.initialize();
VooPerformancePlugin.instance.cloudSyncService = _performanceCloudSync;

// After (2.0) - OTEL auto-enabled via Voo.context
await Voo.initializeApp(
  config: VooConfig(
    endpoint: 'https://api.example.com',
    apiKey: 'your-key',
  ),
);
await VooPerformancePlugin.initialize(); // OTEL auto-configured!

// Traces are now OTEL spans
final trace = VooPerformancePlugin.instance.newTrace('my_operation');
trace.start();
// ... do work ...
trace.stop(); // Automatically exported via OTLP

1.1.1 #

New Features #

  • FEAT: Add NetworkTimingBuilder for incremental network timing tracking with builder pattern

Improvements #

  • REFACTOR: Simplified NetworkTiming entity with cleaner implementation

1.1.0 #

Improvements #

  • ENHANCEMENT: Make projectId optional in PerformanceCloudSyncConfig - the API key is now sufficient for authentication as the server derives the project from it
  • ENHANCEMENT: Updated factory constructors (production, development) to not require projectId
  • DEPS: Requires voo_core: ^1.1.0

1.0.0 #

Note: This release marks the first stable major version with breaking changes.

Breaking Changes #

  • Requires voo_core: ^1.0.0
  • Cloud sync now uses shared BaseSyncService from voo_core
  • NetworkMetric constructor updated with additional timing and metadata fields

New Features #

  • FEAT: Add app launch metrics tracking for measuring startup performance
  • FEAT: Introduce NetworkTiming class for detailed network request timing (DNS, TLS, connection, response)
  • FEAT: Enhanced NetworkMetric with additional timing and metadata fields
  • FEAT: Add error tracking and cloud sync services integration
  • FEAT: Feature toggle support for performance monitoring features
  • FEAT: Integration tests for error fingerprinting and app launch metrics

Improvements #

  • REFACTOR: Simplified constructor parameters and improved code readability
  • REFACTOR: Cloud sync uses shared base classes for consistency
  • ENHANCEMENT: Better integration with VooUserContext for session tracking
  • ENHANCEMENT: Batch-level metadata support for sync payloads

0.4.3 #

  • FEAT: add example modules and run configurations for VooFlutter packages.

0.4.2 #

  • FIX: ensure proper disposal of scroll controllers in VooDataGridController.
  • FEAT: Introduce voo_tokens package for design tokens and responsive utilities.
  • FEAT: Enhance form components with configurable options and improved theming.
  • FEAT: Implement Windows runner for Voo Data Grid example.

0.4.1 #

fixed error causing repeated error in console DebugService: Error serving requestsError: Unsupported operation: Cannot send Null

0.4.0 #

Note: This release has breaking changes.

  • REFACTOR: remove deprecated performance sync entity and update plugin structure.
  • REFACTOR: Remove obsolete integration and widget tests; streamline HeatMapData and VooPerformance initialization.
  • FEAT: Refactor network list and performance list to use new empty state widget.
  • FEAT: Refactor NetworkList to support both log and request models.
  • FEAT: Update changelogs for voo_analytics, voo_core, voo_logging, and voo_performance packages to reflect deprecation and migration to voo_telemetry.
  • FEAT: Enhance topics in pubspec.yaml files for voo_analytics, voo_core, voo_logging, voo_performance, and voo_telemetry packages.
  • FEAT: Add comprehensive test suite and configuration for VooTelemetry package.
  • FEAT: Update package versions and descriptions; enhance import statements for consistency.
  • FEAT: Add cloud sync support for analytics and performance metrics; enhance VooAnalytics and VooPerformance plugins; update CHANGELOGs and tests.
  • FEAT: Implement cloud sync functionality for analytics, logging, and performance data; add SyncEntity and CloudSyncManager classes; update version to 0.1.0.
  • FEAT: Enhance package description and add additional metadata in pubspec.yaml.
  • FEAT: Update dependencies in pubspec.yaml; add dio package and remove duplicate entry.
  • FEAT: Add license files and update package versions to 0.0.1 for voo_core, voo_analytics, and voo_performance.
  • FEAT: Integrate Voo Analytics and Performance tracking; add example pages for analytics and performance metrics.
  • FEAT: Enhance Voo DevTools extension with heat map visualization and analytics improvements.
  • FEAT: Update package versions and enhance analytics, performance, and logging functionalities.
  • FEAT: Add analytics tracking and UI components to Voo DevTools extension.
  • FEAT: Add VooFlutter example app with integration and widget tests.
  • FEAT: Add logs and network details panels for improved logging functionality.
  • BREAKING FEAT(voo_telemetry): Complete OpenTelemetry migration for VooFlutter.

0.3.0 #

  • Added WASM support for web platform
  • Improved documentation and API comments
  • Added comprehensive examples
  • Enhanced pub.dev score compliance
  • Performance optimizations
  • Restored active maintenance - package is no longer deprecated
  • Enhanced network performance metrics
  • Improved Dio interceptor integration

0.2.0 #

  • Enhanced performance trace tracking
  • Improved network metrics collection
  • Better integration with DevTools extension
  • Added custom performance traces

0.1.1 #

  • Initial performance monitoring implementation
  • Basic network metrics tracking
  • Dio interceptor for automatic monitoring
    • Better performance and reliability

Migration Guide #

// Before
import 'package:voo_performance/voo_performance.dart';
VooPerformance.startTrace('operation');

// After
import 'package:voo_telemetry/voo_telemetry.dart';
final span = VooTelemetry.instance.getTracer().startSpan('operation');

0.1.0 #

  • BREAKING CHANGE: Now requires voo_core ^0.1.0
  • Added automatic cloud sync support for performance metrics
  • Introduced PerformanceSyncEntity for cloud synchronization
  • Integrated with CloudSyncManager from voo_core
  • Performance traces and network metrics are automatically synced to cloud
  • Added support for batch syncing of performance data
  • Enhanced VooPerformancePlugin to support cloud sync
  • Improved offline-first architecture with automatic retry
  • Network metrics now include cloud sync capabilities

0.0.2 #

  • Updated dependencies (voo_core ^0.0.2, voo_logging ^0.0.15)
  • Implemented performance monitoring for Flutter applications
  • Added PerformanceDioInterceptor for HTTP request/response tracking
  • Created NetworkMetric entity for network performance data
  • Implemented PerformanceTrace for custom performance measurements
  • Added PerformanceTracker utility for centralized performance monitoring
  • Enhanced integration with voo_logging for performance events
  • Improved network request timing and metrics collection
  • Added support for custom performance traces
  • Integrated with DevTools for performance visualization

0.0.1 #

  • Initial release
  • Basic performance monitoring infrastructure
  • Foundation for network and performance tracking
4
likes
140
points
171
downloads

Publisher

verified publishervoostack.com

Weekly Downloads

Local performance monitoring toolkit for Flutter apps with network metrics and trace tracking.

Homepage
Repository (GitHub)
View/report issues

Topics

#flutter #performance #monitoring #apm #profiling

Documentation

API reference

License

MIT (license)

Dependencies

dio, equatable, flutter, json_annotation, voo_core, voo_telemetry

More

Packages that depend on voo_performance