← Back to team overview

ubuntu-phone team mailing list archive

API/ABI breakage in unity-scopes-api 0.6.0

 

Hi,

To all scopes developers out there, there are two API breaks in the release
of unity-scopes-api that will most likely happen today. Debian-packaged
scopes, and scope clients are taken care of in the regular landing.

One of the changes affects *all scope authors*:
The start(string scope_id, RegistryProxy r) method signature that you
implement is being changed to only provide the scope_id. The registry is
now available from the registry() method on the same object.

The other change affects only users of the scope client API. Specifically
this means *aggregating scopes*. The finished(Reason reason, string
message) method is changing to provide a CompletionDetails object. This
object still provides both the reason and message properties (in addition
to other information).

Thanks,
    Pete