github mozilla/application-services v87.0.0

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

v87.0.0 (2021-11-17)

Full Changelog

Push

What's changed

- Push internally no longer uses the `error_support` dependency to simplify the code. It now directly defines exactly one error enum and exposes that to `uniffi`. This should have no implication to the consum  er code ([#4650](https://github.com/mozilla/application-services/pull/4650))

Places

⚠️ Breaking Changes ⚠️

- Switched sync manager integration to use `registerWithSyncManager()` like the other components ([#4627](https://github.com/mozilla/application-services/pull/4627))

SyncManager

⚠️ Breaking Changes ⚠️

- Updated SyncManager to use UniFFI:
  - SyncManager is now a class that gets instatiated rather than a singleton
  - Added more SyncManagerException subclasses
  - SyncParams.engines is now a SyncEngineSelection enum.
    SyncEngineSelection's variants are All, or Some(engine_list).  This
    replaces the old code which used null to signify all engines.
  - SyncResult.telemetry was replaced with SyncResult.telemetryJson.
  - There were a handful of naming changes:
    - SyncAuthInfo.tokenserverURL -> SyncAuthInfo.tokenserverUrl
    - DeviceSettings.type -> DeviceSettings.kind

Don't miss a new application-services release

NewReleases is sending notifications on new releases.