<
From version < 4.3 >
edited by Adel Atallah
on 2019/01/14
To version < 4.4 >
edited by Adel Atallah
on 2019/01/14
>
Change comment: Added backward-compatiblity violations data

Summary

Details

ReleaseNotes.BackwardCompatibility[0]
Violations
... ... @@ -1,0 +1,131 @@
1 +[
2 + [
3 + {
4 + "annotation": "@java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.CONSTRUCTOR})",
5 + "annotationType": "java.lang.annotation.Target",
6 + "attribute": "value",
7 + "classQualifiedName": "org.xwiki.stability.Unstable",
8 + "classSimpleName": "Unstable",
9 + "code": "java.annotation.attributeValueChanged",
10 + "elementKind": "@interface",
11 + "justification": "Not a breakage.",
12 + "new": "@interface org.xwiki.stability.Unstable",
13 + "newValue": "{java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.FIELD, java.lang.annotation.ElementType.CONSTRUCTOR}",
14 + "old": "@interface org.xwiki.stability.Unstable",
15 + "oldValue": "{java.lang.annotation.ElementType.TYPE, java.lang.annotation.ElementType.METHOD}",
16 + "package": "org.xwiki.stability"
17 + },
18 + {
19 + "classQualifiedName": "org.xwiki.velocity.introspection.AbstractChainableUberspector",
20 + "classSimpleName": "AbstractChainableUberspector",
21 + "code": "java.class.removed",
22 + "elementKind": "class",
23 + "justification": "Not a breakage: class moved to a legacy module",
24 + "old": "class org.xwiki.velocity.introspection.AbstractChainableUberspector",
25 + "package": "org.xwiki.velocity.introspection"
26 + },
27 + {
28 + "classQualifiedName": "org.xwiki.velocity.introspection.ChainableUberspector",
29 + "classSimpleName": "ChainableUberspector",
30 + "code": "java.class.removed",
31 + "elementKind": "interface",
32 + "justification": "Not a breakage: class moved to a legacy module",
33 + "old": "interface org.xwiki.velocity.introspection.ChainableUberspector",
34 + "package": "org.xwiki.velocity.introspection"
35 + },
36 + {
37 + "classQualifiedName": "org.xwiki.velocity.introspection.ChainingUberspector",
38 + "classSimpleName": "ChainingUberspector",
39 + "code": "java.class.removed",
40 + "elementKind": "class",
41 + "justification": "Not a breakage: class moved to a legacy module",
42 + "old": "class org.xwiki.velocity.introspection.ChainingUberspector",
43 + "package": "org.xwiki.velocity.introspection"
44 + },
45 + {
46 + "classQualifiedName": "org.xwiki.velocity.introspection.LinkingUberspector",
47 + "classSimpleName": "LinkingUberspector",
48 + "code": "java.class.removed",
49 + "elementKind": "class",
50 + "justification": "Not a breakage: class moved to a legacy module",
51 + "old": "class org.xwiki.velocity.introspection.LinkingUberspector",
52 + "package": "org.xwiki.velocity.introspection"
53 + }
54 + ],
55 + [
56 +
57 + ],
58 + [
59 + {
60 + "code": "java.class.nonFinalClassInheritsFromNewClass",
61 + "justification": "As RssMacro now inherits from AbstractBoxMacro, its parameter class needs to\n inherits from BoxMacroParameters. This could only break compatibility if a class inheriting from\n RssMacroParameters defines a method with same name and parameters than in BoxMacroParameters but\n different return type. We consider this risk as acceptable since the chances are very low and in\n case it occurs, the fix for the user would be easy.",
62 + "new": "class org.xwiki.rendering.macro.rss.RssMacroParameters",
63 + "old": "class org.xwiki.rendering.macro.rss.RssMacroParameters",
64 + "superClass": "org.xwiki.rendering.macro.box.BoxMacroParameters"
65 + },
66 + {
67 + "code": "java.method.numberOfParametersChanged",
68 + "justification": "Bad design at fist attempt",
69 + "new": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceManager::deleteFilterPreference(org.xwiki.model.reference.DocumentReference, java.lang.String) throws org.xwiki.notifications.NotificationException",
70 + "old": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceManager::deleteFilterPreference(java.lang.String) throws org.xwiki.notifications.NotificationException"
71 + },
72 + {
73 + "code": "java.method.numberOfParametersChanged",
74 + "justification": "Bad design at fist attempt",
75 + "new": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceManager::saveFilterPreferences(org.xwiki.model.reference.DocumentReference, java.util.Set<org.xwiki.notifications.filters.NotificationFilterPreference>)",
76 + "old": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceManager::saveFilterPreferences(java.util.Set<org.xwiki.notifications.filters.NotificationFilterPreference>)"
77 + },
78 + {
79 + "code": "java.method.numberOfParametersChanged",
80 + "justification": "Bad design at fist attempt",
81 + "new": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceManager::setFilterPreferenceEnabled(org.xwiki.model.reference.DocumentReference, java.lang.String, boolean) throws org.xwiki.notifications.NotificationException",
82 + "old": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceManager::setFilterPreferenceEnabled(java.lang.String, boolean) throws org.xwiki.notifications.NotificationException"
83 + },
84 + {
85 + "code": "java.method.numberOfParametersChanged",
86 + "justification": "Bad design at fist attempt",
87 + "new": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceProvider::deleteFilterPreference(org.xwiki.model.reference.DocumentReference, java.lang.String) throws org.xwiki.notifications.NotificationException",
88 + "old": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceProvider::deleteFilterPreference(java.lang.String) throws org.xwiki.notifications.NotificationException"
89 + },
90 + {
91 + "code": "java.method.numberOfParametersChanged",
92 + "justification": "Bad design at fist attempt",
93 + "new": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceProvider::saveFilterPreferences(org.xwiki.model.reference.DocumentReference, java.util.Set<org.xwiki.notifications.filters.NotificationFilterPreference>) throws org.xwiki.notifications.NotificationException",
94 + "old": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceProvider::saveFilterPreferences(java.util.Set<org.xwiki.notifications.filters.NotificationFilterPreference>) throws org.xwiki.notifications.NotificationException"
95 + },
96 + {
97 + "code": "java.method.numberOfParametersChanged",
98 + "justification": "Bad design at fist attempt",
99 + "new": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceProvider::setFilterPreferenceEnabled(org.xwiki.model.reference.DocumentReference, java.lang.String, boolean) throws org.xwiki.notifications.NotificationException",
100 + "old": "method void org.xwiki.notifications.filters.NotificationFilterPreferenceProvider::setFilterPreferenceEnabled(java.lang.String, boolean) throws org.xwiki.notifications.NotificationException"
101 + },
102 + {
103 + "annotation": "@org.xwiki.properties.annotation.PropertyGroup({\"stringReference\"})",
104 + "code": "java.annotation.added",
105 + "justification": "Handles conflicting macro parameters. This change is backward compatible.",
106 + "new": "method org.xwiki.model.EntityType org.xwiki.rendering.macro.include.IncludeMacroParameters::getType()",
107 + "old": "method org.xwiki.model.EntityType org.xwiki.rendering.macro.include.IncludeMacroParameters::getType()"
108 + },
109 + {
110 + "annotation": "@org.xwiki.properties.annotation.PropertyFeature(\"reference\")",
111 + "code": "java.annotation.added",
112 + "justification": "Handles conflicting macro parameters. This change is backward compatible.",
113 + "new": "method void org.xwiki.rendering.macro.include.IncludeMacroParameters::setPage(java.lang.String)",
114 + "old": "method void org.xwiki.rendering.macro.include.IncludeMacroParameters::setPage(java.lang.String)"
115 + },
116 + {
117 + "annotation": "@org.xwiki.properties.annotation.PropertyFeature(\"reference\")",
118 + "code": "java.annotation.added",
119 + "justification": "Handles conflicting macro parameters. This change is backward compatible.",
120 + "new": "method void org.xwiki.rendering.macro.include.IncludeMacroParameters::setReference(java.lang.String)",
121 + "old": "method void org.xwiki.rendering.macro.include.IncludeMacroParameters::setReference(java.lang.String)"
122 + },
123 + {
124 + "annotation": "@org.xwiki.properties.annotation.PropertyGroup({\"stringReference\"})",
125 + "code": "java.annotation.added",
126 + "justification": "Handles conflicting macro parameters. This change is backward compatible.",
127 + "new": "method void org.xwiki.rendering.macro.include.IncludeMacroParameters::setReference(java.lang.String)",
128 + "old": "method void org.xwiki.rendering.macro.include.IncludeMacroParameters::setReference(java.lang.String)"
129 + }
130 + ]
131 +]

Get Connected