Last modified by Ilie Andriuta on 2019/01/18

<
From version < 7.4 >
edited by Adel Atallah
on 2019/01/15
To version < 7.5 >
edited by Adel Atallah
on 2019/01/15
>
Change comment: There is no comment for this version

Summary

Details

ReleaseNotes.BackwardCompatibility[1]
Violations
... ... @@ -1,62 +1,6 @@
1 1  [
2 2   [
3 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 60   "code": "java.class.nonFinalClassInheritsFromNewClass",
61 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 62   "new": "class org.xwiki.rendering.macro.rss.RssMacroParameters",
... ... @@ -98,34 +98,6 @@
98 98   "justification": "Bad design at fist attempt",
99 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 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 129   }
130 130   ]
131 131  ]

Get Connected