github mozilla/application-services v0.26.0

latest releases: v144.0, v143.0, v142.0...
6 years ago

v0.26.0 (2018-04-17)

Full Changelog

Gradle plugin

  • Removed the appservices bintray repo from the plugin (#899)

Push

Breaking Change

  • PushAPI.subscribe() now returns a SubscriptionResponse that contains the server supplied channelID and the
    subscriptionInfo block previously returned. Please note: the server supplied channelID may differ from the
    supplied channelID argument. This is definitely true when an empty channelID value is provided to subscribe(),
    or if the channelID is not a proper UUID.
    The returned channelID value is authoritative and will be the value associated with the subscription and future
    subscription updates. As before, the subscriptionResponse.subscriptionInfo can be JSON serialized and returned to the application.
    (#988)

Places

What's new

  • Bookmarks may now be synced using the syncBookmarks method on PlacesApi
    (and on Android, the interface it implements, SyncManager).
    (#850)
  • Android only: New methods for querying paginated history have been added:
    getVisitCount and getVisitPage
    (#992)
  • Android only: getVisitInfos now takes a list of visit types to exclude.
    (#920)

Breaking Changes

  • Android only: The addition of syncBookmarks on the PlacesManager interface
    is a breaking change. (#850)
  • Android only: sync has been renamed to syncHistory for clarity given the
    existence of syncBookmarks.
    (#850)
  • Android only: getVisitInfos has changed, which is breaking for implementors
    of ReadableHistoryConnection.
    (#920)
  • Android only: New methods on ReadableHistoryConnection: getVisitCount and
    getVisitPage.
    (#992)

Logins

What's new

  • iOS only: Logins operations may now be interrupted via the interrupt()
    method on LoginsDb, which may be called from any thread.
    (#884)
    • This is currently only implemented for iOS due to lack of interest on the
      Android side, please let us know if this is desirable in the Android API
      as well. Feel free to indicate support for exposing this in the Android API
      here.

Don't miss a new application-services release

NewReleases is sending notifications on new releases.