Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Releases: aerogear/offix

0.7.1

31 Jul 13:01
Compare
Choose a tag to compare

0.7.0

22 Jul 13:21
Compare
Choose a tag to compare

0.7.0

Support Apollo 2.6.x

Apollo Client 2.6.x with new typings is now supported.

Extended conflict support

New conflict implementation requires changes on both client and server.
On server we have changed conflict detection mechanism to single method.
Server side conflict resolution was removed due to the fact that we could not provide
reliable diff source without separate store.

Server side implementation:
 const conflictError = conflictHandler.checkForConflict(greeting, args);
      if (conflictError) {
        throw conflictError;
      }
}
Client side implementation:

Client side implementation now requires users to apply returnType to context when performing a mutation.
Conflict interface now has an additional method mergeOccured that will be triggered when a conflict was resolved without data loss.

Please refer to documentation for more details.

Breaking changes

DataSync Config renamed

DataSyncConfig interface was renamed to OffixClientConfig.
Please review if your configuration still conforms to the new interface.

Cache Helper Interface

Cache Helper interface now will now accept object instead of individual parameters:

 const updateFunction = getUpdateFunction({
            mutationName,
            idField,
            operationType,
            updateQuery
 });

0.7.0-rc.2

11 Jul 10:38
Compare
Choose a tag to compare
0.7.0-rc.2 Pre-release
Pre-release
fix: Release 0.7.0-rc.2

0.7.0-rc.1

09 Jul 11:45
Compare
Choose a tag to compare
0.7.0-rc.1 Pre-release
Pre-release

0.7.0-rc1

Not for general use. It contains breaking changes that team will document in 0.7.0

0.6.1

02 Jul 15:12
Compare
Choose a tag to compare

Bugs

Fixed issue for offline items when type is missing id field:
#74

0.6.0

12 Jun 19:03
Compare
Choose a tag to compare

Features

  • FEAT: IndexedDB storage by default
    Developers do not need to specify cache updates
  • FEAT: Cache helpers (out of the box cache updates)
    client.offlineMutation method can be used, use helpers.
  • FEAT: Allow to register multiple global listeners to client
  • FEAT: Minor bugfixes and improvements
  • FEAT: Sequential offline data replication is now supported
  • FEAT: Added ability to retry offline data over time
  • FEAT: Minor bugfixes and improvements
  • CHORE: Updates for the latest and greatest Apollo and related libraries
  • FIX: Allow to pass cache update functions for mutations.
    See config.mutationCacheUpdates for more information
  • BREAKING: Added new listener methods for offline queue events
  • FEAT: Added retry operation for offline mutations that failed to contact the server
  • FEAT: Added option to configure retry strategies
  • FEAT: Enable offline processing when no optimistic response is passed
  • FEAT: Network errors do not remove offline operations from the queue
  • FEAT: Added sequential processing for offline mutations
  • FIX: Offline queue is ignored when the application is online
  • FIX: Conflict data is being updated for offline changes (users no longer can conflict with themselves)
  • CHORE: Updates for the latest and greatest Apollo and related libraries

v0.5.0

22 Apr 20:07
Compare
Choose a tag to compare
v0.5.0

0.1.0

08 Apr 18:58
Compare
Choose a tag to compare
fix: Conflict server implementation