Changes

New page: == API Changes == This page documents known API changes in OLPC releases. Sugar now has an API policy documented at [http://sugarlabs.org/go/DevelopmentTeam/API_policy Sugar API policy] ...
== API Changes ==

This page documents known API changes in OLPC releases.

Sugar now has an API policy documented at [http://sugarlabs.org/go/DevelopmentTeam/API_policy Sugar API policy] but that takes effect as of 0.84.

=== OLPC 8.2.0 ===

==== Sugar API Changes ====

'''Deprecations'''

* sugar.activity.activity:
** Using self._shared_activity is deprecated, but still works. Use self.shared_activity instead.

'''Additions'''

* sugar.presence.sugartubeconn:
** Use SugarTubeConnection instead of TubeConnection to get resolution of Telepathy handles to Buddies without needing the get_buddy boilerplate function. See this [http://dev.laptop.org/git?p=projects/connect-activity;a=commitdiff;h=abeae363528ce25c946a747e9c6b79ce1a108382 commit to Connect] to see how to use it.

==== System API Changes ====

* 8.2.0 was based on Fedora 9, whereas 8.1.x was based on Fedora 7. ''TODO: Discuss this in more detail.''
135

edits