Last modified by Thomas Mortagne on 2020/01/28

From version 1.1
edited by Vincent Massol
on 2007/07/23
Change comment: There is no comment for this version
To version 1.2
edited by Vincent Massol
on 2007/07/24
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -11,6 +11,13 @@
11 11  Main changes:
12 12  * TODO
13 13  
14 +1.1 Breaking API changes
15 +
16 +The following changes can make your application not work anymore when you upgrade to this version. To upgrade, make sure you review the changes below and update your code accordingly. We try to minimize such changes but from time to time we have to do them in order to improve XWiki's core.
17 +
18 +* <tt>com.xpn.xwiki.XWiki.saveDocument(XWikiDocument doc, XWikiDocument olddoc, XWikiContext context)</tt> and <tt>saveDocument(XWikiDocument doc, XWikiDocument olddoc, String comment, XWikiContext context)</tt> have been removed. Please use instead the simpler form <tt>saveDocument(XWikiDocument doc, XWikiContext context)</tt> and <tt>saveDocument(XWikiDocument doc, String comment, XWikiContext context)</tt>.
19 +** Note: The need to pass the olddoc parameter was for the notification mechanism which was doing a diff to decide whether to send notifications or not. This now done internally and automatically, making it a cleaner design and solving issues where notifications were not happening when they should have.
20 +
14 14  1.1 Known issues
15 15  
16 16  * [Bugs we know about>http://jira.xwiki.org/jira/secure/IssueNavigator.jspa?reset=true&&type=1&pid=10010&resolution=-1&sorter/field=updated&sorter/order=DESC]

Get Connected