Skip to content

Releases

v1.2.0

Choose a tag to compare

@itsisoev itsisoev released this 21 Sep 20:36
e2f93d8

What's Changed

  • fix: build schematics before publishing package by @itsisoev in #34

Full Changelog: v1.1.5...v1.2.0

v1.1.5

Choose a tag to compare

@itsisoev itsisoev released this 21 Sep 18:55
a059057

What's Changed

  • feat: add service worker app shell caching and ng-add setup by @itsisoev in #32

Full Changelog: v1.1.4...v1.1.5

v1.1.4

Choose a tag to compare

@itsisoev itsisoev released this 15 Sep 09:05
814f2ff

What's Changed

Added

  • Added configurable maximum offline queue size with maxQueueSize.
  • Added onQueueFull callback.
  • Added EnqueueStatus with QUEUED and QUEUE_FULL states.
  • Added safe serialization for concurrent queue operations.
  • Added onNetworkStatusChange callback for online/offline status changes.
  • Added documentation for queue size and network status configuration.

Fixed

  • Fixed Offline Sync Interceptor incorrectly returning 202 Accepted when the queue is full.
  • Fixed concurrent enqueue operations potentially exceeding maxQueueSize.
  • Fixed enqueue chain continuing after a storage error.

v1.1.2

Choose a tag to compare

@itsisoev itsisoev released this 06 Sep 20:16
4f5e6d2
  • update title and description
  • improve documentation structure and wording
  • bump package version to 1.1.2

v1.1.1

Choose a tag to compare

@itsisoev itsisoev released this 06 Sep 20:06
ee37782

What's New

Priority Queue

Added support for request priorities to control the synchronization order of offline requests.

  • HIGH, NORMAL, and LOW priorities.
  • NORMAL is used by default.
  • Priority can be set for individual HTTP requests through HttpContext.
  • Higher-priority requests are synchronized before lower-priority requests.
  • Requests with the same priority preserve their original queue order.
  • Added QueuePriority and OFFLINE_SYNC_PRIORITY to the public API.

Retry Policy

Added automatic handling of temporary errors.

  • Configurable maxAttempts and delay.
  • Linear Backoff between retry attempts.
  • Automatic retry scheduling.
  • Retry support for network errors and 5xx server errors.
  • Retry state is stored through attempts and nextRetryAt.
  • Requests are removed after reaching the maximum number of attempts.

Logging

Expanded the logging and synchronization monitoring system.

  • Configurable logging levels through LogLevel.
  • English and Russian language support through LogLanguage.
  • Typed LogEvent values.
  • Synchronization statistics.
  • Configurable LogTransport.
  • Dedicated events for retry scheduling and execution.

Documentation

  • Added Retry Policy documentation.
  • Updated Priority Queue documentation.
  • Updated configuration documentation.
  • Updated What's New sections in Russian, English

v1.1.0

Choose a tag to compare

@itsisoev itsisoev released this 28 Aug 09:08

What's new

Batch processing

Added support for configuring how many queued HTTP requests can be processed in parallel during synchronization.

provideOfflineSync({
  batchSize: 5,
});

batchSize is 1 by default, preserving sequential request processing.

Documentation

  • Added detailed configuration documentation for batchSize
  • Improved the main README
  • Added online, offline, and synchronization demos
  • Improved documentation navigation
  • Added Russian and Japanese documentation structure

Testing

Expanded test coverage for synchronization and batch processing.

v1.0.8

Choose a tag to compare

@itsisoev itsisoev released this 25 Aug 22:07

Full Changelog: v1.0.7...v1.0.8