Version 5.2 by Simon Urli on 2024/03/18

Hide last authors
Manuel Leduc 1.1 1 {{velocity}}
2 #set ($rnObject = $doc.getObject('ReleaseNotes.Code.ReleaseNoteClass'))
3 #set ($product = $rnObject.product)
4 #set ($version = $rnObject.version)
5 #set ($versionPrefix = $stringtool.substringBefore($version, '-'))
6 #set ($versionParts = $stringtool.split($versionPrefix, '.'))
7 #set ($isRC = $version.contains('rc'))
8 #set ($isFinal = !$isRC)
9 #set ($isFirstFinal = $versionParts.size() == 2 && $isFinal)
10 {{/velocity}}
11
12 {{box cssClass="floatinginfobox" title="**Contents**"}}
13 {{toc/}}
14 {{/box}}
15
16 This is the release notes for [[XWiki Commons>>http://commons.xwiki.org]], [[XWiki Rendering>>http://rendering.xwiki.org]] and [[XWiki Platform>>http://platform.xwiki.org]]. They share the same release notes as they are released together and have the same version.
17
18 <insert description of release here>
19
20 {{comment}}
21 Uncomment when there's at least one issue listed in the table!
22 {{error}}
23 The following regressions were introduced in this release (and found after it was released). Please check them out and if they impact you we recommend waiting to upgrade to a version where they are fixed.
24
25 {{velocity}}
26 #if ($isFirstFinal)
27 #set ($affectedVersions = "${version}-rc-1, ${version}")
28 #set ($fixVersionJQL = " and (fixVersion != ${version}-rc-1 or fixVersion is empty)")
29 #else
30 #set ($affectedVersions = "${version}")
31 #set ($fixVersionJQL = "")
32 #end
33 {{jira id="xwikiorg" source="jql"}}
34 category = 10000 and affectedVersion in ($affectedVersions)${fixVersionJQL}and priority = Blocker and resolution in (Fixed, Unresolved) and component != "Development Issues only"
35 {{/jira}}
36 {{/velocity}}
37 {{/error}}
38 {{/comment}}
39
40 = New and Noteworthy (since {{velocity}}$product{{/velocity}} <version - 1>) =
41
Simon Urli 5.2 42 [[Full list of issues fixed and Dashboard for <final version here even for RC, e.g. 10.5~>>>https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=<fill id here>]].
Manuel Leduc 1.1 43
44 {{releasenotechanges/}}
45
46 === Moved Modules ===
47
48 <description deprecated, retired and moved projects>
49
50 === Upgrades ===
51
52 The following runtime dependencies have been upgraded (they have a different release cycle than [[XWiki Commons>>http://commons.xwiki.org]], [[XWiki Rendering>>http://rendering.xwiki.org]] and [[XWiki Platform>>http://platform.xwiki.org]]):
53
Manuel Leduc 2.1 54 * [[dompurify 3.0.9>>https://jira.xwiki.org/browse/XWIKI-21905]]
Vincent Massol 3.1 55 * [[Jetty 10.0.20>>https://jira.xwiki.org/browse/XWIKI-21948]]
Simon Urli 5.2 56 * [[AspectJ 1.9.21.2>>https://jira.xwiki.org/browse/XCOMMONS-2939]]
57 * [[Checkstyle 10.14.1>>https://jira.xwiki.org/browse/XCOMMONS-2946]]
58 * [[commons-compress 1.26.0>>https://jira.xwiki.org/browse/XCOMMONS-2930]]
59 * [[MariaDB connector 3.3.3>>https://jira.xwiki.org/browse/XWIKI-21937]]
60 * [[PostgresSQL connector 42.7.2>>https://jira.xwiki.org/browse/XWIKI-21936]]
61 * [[Docker Java 3.3.6>>https://jira.xwiki.org/browse/XWIKI-21917]]
62 * [[Commons Codec 1.16.1>>https://jira.xwiki.org/browse/XCOMMONS-2940]]
63 * [[Wiremock 3.4.2>>https://jira.xwiki.org/browse/XCOMMONS-2941]]
64 * [[Log4J API 2.23.0>>https://jira.xwiki.org/browse/XCOMMONS-2943]]
65 * [[Exec Maven Plugin 3.2.0>>https://jira.xwiki.org/browse/XCOMMONS-2942]]
66 * [[JGroups 5.3.4>>https://jira.xwiki.org/browse/XCOMMONS-2933]]
67 * [[Error Prone annotations 2.25.0>>https://jira.xwiki.org/browse/XCOMMONS-2935]]
Manuel Leduc 1.1 68
69 = Translations =
70
71 The following translations have been updated:
72
73 {{language codes="none, none"/}}
74
75 {{comment}}
76 TODO: uncomment and update with proper link when the report is ready.
77
78 = Tested Browsers & Databases =
79
80 {{include reference="TestReports.<test report page>"/}}
81 {{/comment}}
82
83 {{comment}}
84 TODO: uncomment and update with proper links when the report is ready.
85
86 = Performances tests compared to <last super stable version> =
87
88 {{display reference="test:Performances.Jetty HSQLDB single wiki xxx to yyy" section="HSummary"/}}
89
90 More details on [[performance comparison on single wiki between x.x and y.y>>test:Performances.Jetty HSQLDB single wiki xxx to yyy]].
91 {{/comment}}
92
93 = Security Issues =
94
95 Security issues are not listed in issue lists or dashboards to avoid disclosing ways to use them, but they will appear automatically in them once they're disclosed. See the [[XWiki Security Policy>>dev:Community.SecurityPolicy.WebHome]] for more details.
96
97 = Known issues =
98
99 * [[Bugs we know about>>https://jira.xwiki.org/issues/?jql=category%20%3D%2010000%20AND%20issuetype%20%3D%20Bug%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20updated%20DESC]]
100
101 = Backward Compatibility and Migration Notes =
102
103 == General Notes ==
104
105 * When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added:
106 ** ##xwiki.cfg##
107 ** ##xwiki.properties##
108 ** ##web.xml##
109 ** ##hibernate.cfg.xml##
110 * Add ##xwiki.store.migration=1## in ##xwiki.cfg## so that XWiki will attempt to automatically migrate your current database to any new schema. Make sure you backup your Database before doing anything.
111
112 == Issues specific to {{velocity}}$product $version{{/velocity}} ==
113
Simon Urli 5.2 114 === Move to Jersey ===
Manuel Leduc 1.1 115
Thomas Mortagne 3.2 116 The XWiki REST API used to rely on Restlet and now moved to Jersey 2.
117
118 We took great care to keep the same behavior as much as possible but there are some differences:
Simon Urli 5.2 119
Thomas Mortagne 3.2 120 * obviously, if you were using directly any Reslet class (which was something recommended not to do), your code won't work anymore
121 * there was some bugs in the Restlet implementation of the URIBuilder, the good and bad news is that they are fixed in Jersey: one that was hit already is that Restlet was not escaping `/` contained in parameters passed to the URIBuilder. So if your code was relying on this behavior you are going to have problems and you should custom the parameter in several instead (which should work fine with Restlet too if you need it to keep working with XWiki < 16.2.0)
122 * Restlet added a lot of custom behavior on top of JAX-RS and HTTP specifications, especially regarding the special meaning of some URL parameters. We only kept what was documented in https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/XWikiRESTfulAPI (so the "media" parameter which allows overwriting the HTTP request Accept value, and the "method" parameter which allows to overwrite the HTTP request method, both of which are only here for retro-compatibility reasons and we highly recommend to use standard HTTP instead)
123
Simon Urli 5.2 124 === Upgrade to Antlr 4.10+ ===
Thomas Mortagne 3.2 125
126 Antlr introduce a breaking change in version 4.10 which make impossible to run something which was built with a version of Antlr 4 lower than 4.10.
127
Simon Urli 5.2 128 === Upgrade to Solr 9 ===
Thomas Mortagne 5.1 129
130 XWiki now expect to manipulate Solr 9. There is nothing special to do if you use the embedded Solr server (the default) but if you have a standalone Solr server, it's recommended to move to Solr 9. There is an automatic migration of the data from Lucene 8 to 9 format but for this you need to setup new cores as explained on
131
Manuel Leduc 1.1 132 == API Breakages ==
133
134 The following APIs were modified since {{velocity}}$product{{/velocity}} <version - 1>:
135
136 {{comment}}
137 Remove!
138 {{velocity}}
139 {{backwardCompatibilityReport134 version="$version"/}}
140 {{/velocity}}
141 {{/comment}}
142
143 = Credits =
144
145 The following people have contributed code and translations to this release (sorted alphabetically):
146
147 <code and translation contributors>

Get Connected