<
From version < 14.1 >
edited by Guillaume Delhumeau
on 2017/03/28
To version < 14.2 >
edited by Guillaume Delhumeau
on 2017/03/28
>
Change comment: Added backward-compatiblity violations data

Summary

Details

ReleaseNotes.BackwardCompatibility[0]
Violations
... ... @@ -1,0 +1,78 @@
1 +[
2 + [
3 + {
4 + "classSimpleName": "ExtensionId",
5 + "code": "java.field.serialVersionUIDUnchanged",
6 + "elementKind": "field",
7 + "fieldName": "serialVersionUID",
8 + "justification": "The ExtensionId.hashCode field was wrongly introduced as non transient and\n deserializing some data serialized with the previous XWiki version should at worse initialize it\n to the default value which is -1 and ok. In any case we're using the ignoreUnknownElements()\n option on the XStream side so we should be ok anyway!",
9 + "new": "field org.xwiki.extension.ExtensionId.serialVersionUID",
10 + "old": "field org.xwiki.extension.ExtensionId.serialVersionUID",
11 + "package": "org.xwiki.extension"
12 + },
13 + {
14 + "classSimpleName": "AbstractExtensionRequest",
15 + "code": "java.field.serialVersionUIDUnchanged",
16 + "elementKind": "field",
17 + "fieldName": "serialVersionUID",
18 + "justification": "Does not break anything: new static field with no impact on the serialization/unserialization",
19 + "new": "field org.xwiki.extension.job.AbstractExtensionRequest.serialVersionUID",
20 + "old": "field org.xwiki.extension.job.AbstractExtensionRequest.serialVersionUID",
21 + "package": "org.xwiki.extension.job"
22 + }
23 + ],
24 + [
25 + {
26 + "code": "java.method.visibilityReduced",
27 + "justification": "This method was wrongly exposed as protected and was exposing the Event class which is a private class and thus the method couldn't be used as protected anyway",
28 + "new": "method void org.xwiki.rendering.wikimodel.xhtml.filter.XHTMLWhitespaceXMLFilter::appendInlineEvent(org.xwiki.rendering.wikimodel.xhtml.filter.XHTMLWhitespaceXMLFilter.Event) throws org.xml.sax.SAXException",
29 + "old": "method void org.xwiki.rendering.wikimodel.xhtml.filter.XHTMLWhitespaceXMLFilter::appendInlineEvent(org.xwiki.rendering.wikimodel.xhtml.filter.XHTMLWhitespaceXMLFilter.Event) throws org.xml.sax.SAXException"
30 + },
31 + {
32 + "code": "java.method.visibilityReduced",
33 + "justification": "This method was wrongly exposed as protected and was exposing the Event class which is a private class and thus the method couldn't be used as protected anyway",
34 + "new": "method void org.xwiki.rendering.wikimodel.xhtml.filter.XHTMLWhitespaceXMLFilter::sendInlineEvent(org.xwiki.rendering.wikimodel.xhtml.filter.XHTMLWhitespaceXMLFilter.Event) throws org.xml.sax.SAXException",
35 + "old": "method void org.xwiki.rendering.wikimodel.xhtml.filter.XHTMLWhitespaceXMLFilter::sendInlineEvent(org.xwiki.rendering.wikimodel.xhtml.filter.XHTMLWhitespaceXMLFilter.Event) throws org.xml.sax.SAXException"
36 + }
37 + ],
38 + [
39 + {
40 + "annotationType": "javax.xml.bind.annotation.XmlElement",
41 + "code": "java.annotation.removed",
42 + "elementKind": "annotation",
43 + "justification": "Not a breakage from REST API point of view",
44 + "new": "field org.xwiki.rest.model.jaxb.JobStatus.id",
45 + "old": "field org.xwiki.rest.model.jaxb.JobStatus.id"
46 + },
47 + {
48 + "annotationType": "javax.xml.bind.annotation.XmlElement",
49 + "code": "java.annotation.removed",
50 + "elementKind": "annotation",
51 + "justification": "Not a breakage from REST API point of view",
52 + "new": "field org.xwiki.rest.model.jaxb.JobStatus.progress",
53 + "old": "field org.xwiki.rest.model.jaxb.JobStatus.progress"
54 + },
55 + {
56 + "annotationType": "javax.xml.bind.annotation.XmlType",
57 + "attribute": "propOrder",
58 + "code": "java.annotation.attributeValueChanged",
59 + "elementKind": "annotation",
60 + "justification": "Not a breakage from REST API point of view",
61 + "new": "class org.xwiki.rest.model.jaxb.JobStatus",
62 + "newValue": "{\"id\", \"request\", \"state\", \"progress\", \"log\", \"startDate\", \"endDate\"}",
63 + "old": "class org.xwiki.rest.model.jaxb.JobStatus",
64 + "oldValue": "{\"id\", \"state\", \"progress\", \"startDate\", \"endDate\"}"
65 + },
66 + {
67 + "classSimpleName": "JobStatusResource",
68 + "code": "java.method.numberOfParametersChanged",
69 + "elementKind": "method",
70 + "justification": "Not a breakage from REST API point of view",
71 + "methodName": "getJobStatus",
72 + "new": "method org.xwiki.rest.model.jaxb.JobStatus org.xwiki.rest.resources.job.JobStatusResource::getJobStatus(java.lang.String, boolean, boolean, boolean, java.lang.String) throws org.xwiki.rest.XWikiRestException",
73 + "old": "method org.xwiki.rest.model.jaxb.JobStatus org.xwiki.rest.resources.job.JobStatusResource::getJobStatus(java.lang.String) throws org.xwiki.rest.XWikiRestException",
74 + "package": "org.xwiki.rest.resources.job"
75 + },
76 + "]"
77 + ]
78 +]

Get Connected