Skip to content

3.6.0

Compare
Choose a tag to compare
@heyzooi heyzooi released this 17 Jul 18:40
· 510 commits to master since this release

Improvements

  • Better reference documentation
  • pull() has now a new (optional) parameter called deltaSetCompletionHandler which is a completion block that returns only the results that have changed during the delta set computation. The regular completionHandler parameter will continue to return all the results (including the unchanged results)
  • New struct Options is introduced to hold custom optional values such as client, clientId, ttl, deltaSet, readPolicy, writePolicy, timeout, clientAppVersion and customRequestProperties. Maybe more to be added in the future.

Bugfixes

  • count() were not translating queries when alias were used
  • Crashing when an error was returned from the backend but with an empty body

Deprecated

  • All methods in the DataStore class that takes a Client instance, ReadPolicy, WritePolicy, deltaSet and timeout values as optional parameters are now deprecated in favor of the Options new struct.

Breaking Changes

  • Client.clientAppVersion and Client.customRequestProperties were removed in favor of Client.options which contains both clientAppVersion and customRequestProperties.