API changes: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:
==== System API Changes ====
==== 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.''
* 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.

Revision as of 13:56, 7 November 2008

  This page is monitored by the OLPC team.
This article is a stub. You can help the OLPC project by expanding it.

API Changes

This page documents known API changes in OLPC releases.

Sugar now has an API policy documented at Sugar API policy but that takes effect as of 0.84.

OLPC 8.2.0

Documenting the 8.2.0 API changes is a work in progress... Please contribute!

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 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.
The package changes between 8.1.x and 8.2.0 are listed on update.1 - 8.2. It includes several cases where two packages were folded into one or a package was renamed.