Release 3.3.0
3.3.0
September 26th, 2019
New Features:
- Configuration manager is set to PollingProjectConfigManager and for datafile will be started by default. Requests to download and update datafile are made in a separate thread and are scheduled with fixed delay.
- Added support for event batching via the event processor.
- Events generated by methods like
Activate
,Track
, andIsFeatureEnabled
will be held in a queue until the configured batch size is reached, or the configured flush interval has elapsed. Then, they will be combined into a request and sent to the event dispatcher. - To configure event batching, set the
MaxEventBatchSize
andMaxEventFlushInterval
properties in theOptimizelyFactory
usingOptimizelyFactory.SetBatchSize(int batchSize)
andOptimizelyFactory.SetFlushInterval(TimeSpan flushInterval)
and then creating usingOptimizelyFactory.NewDefaultInstance
. - Event batching is enabled by default.
eventBatchSize
defaults to10
.eventFlushInterval
defaults to30000
milliseconds. - Updated the
Dispose
method representing the process of closing the instance. WhenDispose
is called, any events waiting to be sent as part of a batched event request will be immediately batched and sent to the event dispatcher. - If any such requests were sent to the event dispatcher,
Stop
waits for providedTimeoutInterval
before stoping, so that events get successfully dispatched. OptimizelyFactory
now provides support of setting configuration variables from App.config, User will now be able to provide configuration variables ofHttpConfigManager
andBatchEventProcessor
in App.config. Steps of usage are provided in README.md.
Deprecated
EventBuilder
was deprecated and now we will be usingUserEventFactory
andEventFactory
to create LogEvent Object.- Deprecated
Track
notifications in favor of explicitLogEvent
notification. - New features will no longer be supported on
.net standard 1.6
and.net 3.5