Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Latest commit

 

History

History
46 lines (29 loc) · 2.22 KB

File metadata and controls

46 lines (29 loc) · 2.22 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[Unreleased]

Changes that have landed but are not yet released.

[0.4.0] - February 19, 2020

New Features

  • Promise returned from stop method of EventProcessor now tracks the state of all in-flight dispatcher requests, not just the final request that was triggered at the time stop was called

[0.3.2] - October 21, 2019

  • Fixed a runtime error when accessing localstorage in PendingEventsStore when SDK is used in a React Native application. Pending events will still not be stored when SDK is used in React Native but no error will be thrown anymore.

[0.3.1] - August 29, 2019

Fixed

  • DefaultEventQueue no longer enqueues additional events after being stopped. As a result, AbstractEventProcessor no longer processes events after being stopped.
  • DefaultEventQueue clears its buffer after being stopped. Event duplication, which was previously possible when additional events were enqueued after the stop, is no longer possible.

[0.3.0] - August 13, 2019

New Features

  • In AbstractEventProcessor, validate maxQueueSize and flushInterval; ignore & use default values when invalid
  • AbstractEventProcessor can be constructed with a notificationCenter. When notificationCenter is provided, it triggers a log event notification after the event is sent to the event dispatcher

Changed

  • Removed transformers, interceptors, and callbacks from AbstractEventProcessor
  • Removed grouping events by context and dispatching one event per group at flush time. Instead, only maintain one group and flush immediately when an incompatible event is processed.

[0.2.1] - June 6, 2019

  • Wrap the callback in try/catch when implementing a custom eventDispatcher. This ensures invoking the callback will always cleanup any pending retry tasks.

[0.2.0] - March 27, 2019

  • Add PendingEventsDispatcher to wrap another EventDispatcher with retry support for events that did not send successfully due to page navigation

[0.1.0] - March 1, 2019

Initial release