Confluence 2.3-DR2 is the second public development release leading up to Confluence 2.3. Development releases are a snapshot of our work in progress, allowing our customers to see what we're up to.
This development release is being made available specifically for Confluence plugin developers. The changes to the Confluence API discussed below mean that many plugins will need to be updated to work with Confluence 2.3.
For all production use and testing of Confluence, please use the latest official release.
This release should not be used for testing a clustered deployment; the clustering user interface is not yet complete.
Follow the normal upgrade instructions to upgrade from Confluence 2.2.x to this release. We strongly recommend that you backup your confluence-home directory and database before upgrading!
If you are upgrading from Confluence 2.1.x or earlier, be sure to read the upgrade instructions in the Confluence 2.2 release notes.
All development releases are available from Development Releases on the Atlassian website.
The getPreviousVersions method of ContentEntityObject has been removed, because it was insanely inefficient as soon as a piece of content started having lots of versions. It has been replaced with the following methods on the ContentEntityManager:
ContentEntityObject getPreviousVersion(ContentEntityObject ceo); ContentEntityObject getNextVersion(ContentEntityObject ceo); ContentEntityObject getOtherVersion(ContentEntityObject ceo, int version); /** * Get a VersionHistorySummary for all previous versions of a ContentEntityObject, starting with the current * content. * * @param ceo the entity object to return the version history of * @return the full version history of that object, as VersionHistorySummary objects. */ List getVersionHistorySummaries(ContentEntityObject ceo); |
The VersionHistorySummary class defines a limited set of Content data that is relevant to viewing version histories.