@@ -5,6 +5,70 @@ All notable changes to the Engine Tracking library will be documented in this fi
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 1.6.0] - 2025-01-25
9+
10+ ### Added
11+ - ** EngineHttpTrackingModel** : New model-based configuration system for HTTP tracking following the same pattern as analytics and bug tracking models
12+ - ** Model-based Architecture** : HTTP tracking now uses ` EngineHttpTrackingModel ` with ` enabled ` flag in the model instead of configuration
13+ - ** EngineHttpTrackingModelDefault** : Default implementation with HTTP tracking disabled
14+ - ** Unified Initialization** : HTTP tracking now integrates with ` EngineTrackingInitialize.initWithModels() ` method
15+ - ** Enhanced EngineWidget** : Automatically detects Clarity configuration from initialized adapters, no manual configuration needed
16+
17+ ### Changed
18+ - ** BREAKING** : ` EngineHttpTrackingConfig ` no longer extends ` IEngineConfig ` and doesn't have ` enabled ` parameter
19+ - ** BREAKING** : HTTP tracking initialization now uses ` EngineHttpTracking.initWithModel() ` instead of ` initialize() `
20+ - ** BREAKING** : ` EngineWidget ` no longer requires ` clarityConfig ` parameter - automatically detects from ` EngineAnalytics `
21+ - ** Improved** : HTTP tracking follows the same architectural pattern as analytics and bug tracking services
22+ - ** Enhanced** : Better consistency across all tracking services with unified model approach
23+ - ** Updated** : Example app demonstrates new model-based HTTP tracking configuration
24+
25+ ### Removed
26+ - ** BREAKING** : ` EngineHttpTracking.withConfig() ` - Method removed as it was deemed irrelevant for the new architecture
27+ - ** BREAKING** : ` EngineHttpTracking.withModel() ` - Method removed as it was deemed irrelevant for the new architecture
28+
29+ ### Deprecated
30+ - ` EngineHttpTracking.initialize() ` - Use ` initWithModel() ` instead
31+ - Manual ` clarityConfig ` parameter in ` EngineWidget ` - Now automatically detected
32+
33+ ### Documentation
34+ - Updated README.md with new model-based HTTP tracking examples
35+ - Enhanced documentation showing unified initialization approach
36+ - Added backward compatibility notes for deprecated methods
37+ - Improved example app with proper model usage
38+
39+ ### Migration Guide
40+ ``` dart
41+ // Before (v1.5.1)
42+ EngineHttpTracking.initialize(EngineHttpTrackingConfig(
43+ enabled: true,
44+ enableRequestLogging: true,
45+ // ...
46+ ));
47+
48+ // After (v1.6.0)
49+ EngineHttpTracking.initWithModel(EngineHttpTrackingModel(
50+ enabled: true,
51+ httpTrackingConfig: EngineHttpTrackingConfig(
52+ enableRequestLogging: true,
53+ // ...
54+ ),
55+ ));
56+
57+ // Removed methods (no direct replacement)
58+ // EngineHttpTracking.withConfig() - REMOVED
59+ // EngineHttpTracking.withModel() - REMOVED
60+ // Use updateModel() for runtime configuration changes instead
61+
62+ // EngineWidget - Before
63+ EngineWidget(
64+ app: MyApp(),
65+ clarityConfig: clarityConfig,
66+ )
67+
68+ // EngineWidget - After (automatic detection)
69+ EngineWidget(app: MyApp())
70+ ```
71+
872## [ 1.5.1] - 2025-01-23
973
1074### Changed
0 commit comments