Development Team/Almanac/API Changes: Difference between revisions

Morgs (talk | contribs)
No edit summary
 
(13 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Developers}}{{OLPC}}{{stub}}
{{Developers}}{{stub}}
== API Changes ==
== API Changes ==


Line 6: Line 6:
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.
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 ===
=== XO Software Release 8.2.0 ===


Documenting the 8.2.0 API changes is a work in progress... Please contribute!
Documenting the 8.2.0 API changes is a work in progress... Please contribute!
XO Software Release 8.2.0 uses Sugar (sucrose) release 0.82. See http://sugarlabs.org/go/ReleaseTeam/Releases/Sucrose/0.82


==== Sugar API Changes ====
==== Sugar API Changes ====


'''Deprecations'''
===== Deprecations =====


* sugar.activity.activity:
; sugar.activity.activity:
** Using self._shared_activity is deprecated, but still works. Use self.shared_activity instead.
: self._shared_activity is deprecated in 8.2.0 and will be removed in 9.1.0. Use self.shared_activity instead.


'''Additions'''
===== Additions =====


* sugar.presence.sugartubeconn:
; 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.
: 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 ====
==== System API Changes ====
Line 26: Line 28:
* 8.2.0 was based on Fedora 9, whereas 8.1.x was based on Fedora 7.
* 8.2.0 was based on Fedora 9, whereas 8.1.x was based on Fedora 7.
:The package changes between 8.1.x and 8.2.0 are listed on [http://dev.laptop.org/~bert/update.1-8.2.html update.1 - 8.2]. It includes several cases where two packages were folded into one or a package was renamed.
:The package changes between 8.1.x and 8.2.0 are listed on [http://dev.laptop.org/~bert/update.1-8.2.html update.1 - 8.2]. It includes several cases where two packages were folded into one or a package was renamed.
===== Removed =====
; python-numeric
: This package is not present in 8.2, use numpy instead.