Last modified by Vincent Massol on 2020/08/06

<
From version < 1.8 >
edited by Eduard Moraru
on 2020/06/29
To version < 1.10 >
edited by Eduard Moraru
on 2020/06/29
>
Change comment: Added backward-compatiblity violations data

Summary

Details

Page properties
Content
... ... @@ -81,7 +81,7 @@
81 81  
82 82  The following APIs were modified since XWiki 12.4:
83 83  
84 -{{backwardCompatiblityReport version="12.5"/}}
84 +{{backwardCompatiblityReportXml version="12.5"/}}
85 85  
86 86  = Credits =
87 87  
ReleaseNotes.BackwardCompatibility[0]
Violations
... ... @@ -1,0 +1,60 @@
1 +<?xml version="1.0" encoding="UTF-8"?><ignores>
2 + <item xmlns="http://maven.apache.org/POM/4.0.0">
3 + <code>java.class.noLongerInheritsFromClass</code>
4 + <old>class org.xwiki.classloader.NamespaceURLClassLoader</old>
5 + <new>class org.xwiki.classloader.NamespaceURLClassLoader</new>
6 + <justification>NamespaceURLClassLoader no longer inherits from URIClassLoader since this one is now deprecated.</justification>
7 + </item>
8 + <item xmlns="http://maven.apache.org/POM/4.0.0">
9 + <regex>true</regex>
10 + <code>java\.generics\.elementNowParameterized</code>
11 + <old>.*org\.xwiki\.component\.annotation\.ComponentDescriptorFactory::createComponentDescriptors.*</old>
12 + <new>.*org\.xwiki\.component\.annotation\.ComponentDescriptorFactory::createComponentDescriptors.*</new>
13 + <justification>Not a binary breakage (no API breakage), only source level.</justification>
14 + </item>
15 + <item xmlns="http://maven.apache.org/POM/4.0.0">
16 + <code>java.annotation.added</code>
17 + <old>method void org.xwiki.rendering.macro.useravatar.UserAvatarMacroParameters::setUsername(java.lang.String)</old>
18 + <new>method void org.xwiki.rendering.macro.useravatar.UserAvatarMacroParameters::setUsername(java.lang.String)</new>
19 + <annotation>@org.xwiki.properties.annotation.PropertyDisplayType({org.xwiki.user.UserReference.class})</annotation>
20 + <justification>Not a breakage for using the User Avatar macro.</justification>
21 + </item>
22 + <item xmlns="http://maven.apache.org/POM/4.0.0">
23 + <code>java.method.removed</code>
24 + <old>method void com.xpn.xwiki.doc.XWikiDocument::rename(java.lang.String, java.util.List&lt;java.lang.String&gt;, com.xpn.xwiki.XWikiContext) throws com.xpn.xwiki.XWikiException</old>
25 + <justification>Not a breakage. Old deprecated method that has been moved to legacy.</justification>
26 + </item>
27 + <item xmlns="http://maven.apache.org/POM/4.0.0">
28 + <code>java.method.removed</code>
29 + <old>method void com.xpn.xwiki.doc.XWikiDocument::rename(java.lang.String, java.util.List&lt;java.lang.String&gt;, java.util.List&lt;java.lang.String&gt;, com.xpn.xwiki.XWikiContext) throws com.xpn.xwiki.XWikiException</old>
30 + <justification>Not a breakage. Old deprecated method that has been moved to legacy.</justification>
31 + </item>
32 + <item xmlns="http://maven.apache.org/POM/4.0.0">
33 + <code>java.method.removed</code>
34 + <old>method void com.xpn.xwiki.doc.XWikiDocument::rename(java.lang.String, com.xpn.xwiki.XWikiContext) throws com.xpn.xwiki.XWikiException</old>
35 + <justification>Not a breakage. Old deprecated method that has been moved to legacy.</justification>
36 + </item>
37 + <item xmlns="http://maven.apache.org/POM/4.0.0">
38 + <code>java.method.addedToInterface</code>
39 + <new>method void org.xwiki.search.solr.SolrUtils::setAtomic(java.lang.String, java.lang.String, java.lang.Object, org.apache.solr.common.SolrInputDocument)</new>
40 + <justification>Young API</justification>
41 + </item>
42 + <item xmlns="http://maven.apache.org/POM/4.0.0">
43 + <code>java.annotation.attributeValueChanged</code>
44 + <old>class org.xwiki.rest.model.jaxb.PageSummary</old>
45 + <new>class org.xwiki.rest.model.jaxb.PageSummary</new>
46 + <annotationType>javax.xml.bind.annotation.XmlType</annotationType>
47 + <attribute>propOrder</attribute>
48 + <oldValue>{"id", "fullName", "wiki", "space", "name", "title", "parent", "parentId", "version", "author", "authorName", "xwikiRelativeUrl", "xwikiAbsoluteUrl", "translations", "syntax"}</oldValue>
49 + <newValue>{"id", "fullName", "wiki", "space", "name", "title", "rawTitle", "parent", "parentId", "version", "author", "authorName", "xwikiRelativeUrl", "xwikiAbsoluteUrl", "translations", "syntax"}</newValue>
50 + <justification>Not a breakage. Added a new property to the Page REST resource.</justification>
51 + </item>
52 + <item xmlns="http://maven.apache.org/POM/4.0.0">
53 + <regex>true</regex>
54 + <code>java.method.returnTypeChanged</code>
55 + <old>method void org.xwiki.notifications.preferences.TargetableNotificationPreferenceBuilder::.+(.+)</old>
56 + <new>method org.xwiki.notifications.preferences.TargetableNotificationPreferenceBuilder org.xwiki.notifications.preferences.TargetableNotificationPreferenceBuilder::.+(.+)</new>
57 + <justification>TargetableNotificationPreferenceBuilder is meant to be a builder but the API wasn't following the builder pattern. This change is not breaking for using that component, but it is breaking if you implemented the TargetableNotificationPreferenceBuilder interface.</justification>
58 + </item>
59 +</ignores>
60 +

Get Connected