Wiki source code of Release Notes for $doc.getValue('product') $doc.getValue('version')
Version 15.1 by Vincent Massol on 2024/03/19
Show last authors
author | version | line-number | content |
---|---|---|---|
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}} 16.1.0) = | ||
41 | |||
42 | [[Full list of issues fixed and Dashboard for 16.2.0>>https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=15707]]. | ||
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 | |||
54 | * [[dompurify 3.0.9>>https://jira.xwiki.org/browse/XWIKI-21905]] | ||
55 | * [[Jetty 10.0.20>>https://jira.xwiki.org/browse/XWIKI-21948]] | ||
56 | * [[AspectJ 1.9.21.2>>https://jira.xwiki.org/browse/XCOMMONS-2939]] | ||
57 | * [[commons-compress 1.26.0>>https://jira.xwiki.org/browse/XCOMMONS-2930]] | ||
58 | * [[MariaDB connector 3.3.3>>https://jira.xwiki.org/browse/XWIKI-21937]] | ||
59 | * [[PostgresSQL connector 42.7.2>>https://jira.xwiki.org/browse/XWIKI-21936]] | ||
60 | * [[Docker Java 3.3.6>>https://jira.xwiki.org/browse/XWIKI-21917]] | ||
61 | * [[Commons Codec 1.16.1>>https://jira.xwiki.org/browse/XCOMMONS-2940]] | ||
62 | * [[Wiremock 3.4.2>>https://jira.xwiki.org/browse/XCOMMONS-2941]] | ||
63 | * [[Log4J API 2.23.0>>https://jira.xwiki.org/browse/XCOMMONS-2943]] | ||
64 | * [[Exec Maven Plugin 3.2.0>>https://jira.xwiki.org/browse/XCOMMONS-2942]] | ||
65 | * [[JGroups 5.3.4>>https://jira.xwiki.org/browse/XCOMMONS-2933]] | ||
66 | * [[Error Prone annotations 2.25.0>>https://jira.xwiki.org/browse/XCOMMONS-2935]] | ||
67 | * [[SLF4J 2.0.12>>https://jira.xwiki.org/browse/XCOMMONS-2929]] | ||
68 | * [[Woodstox 6.6.1>>https://jira.xwiki.org/browse/XCOMMONS-2937]] | ||
69 | * [[MChange Commons 0.3.0>>https://jira.xwiki.org/browse/XWIKI-21934]] | ||
70 | * [[Netty 4.1.107.Final>>https://jira.xwiki.org/browse/XWIKI-21939]] | ||
71 | * [[Download Plugin for Maven 1.8.1>>https://jira.xwiki.org/browse/XWIKI-21940]] | ||
72 | * [[JFFI 1.3.13>>https://jira.xwiki.org/browse/XWIKI-21942]] | ||
73 | * [[JNR FFI 2.2.16>>https://jira.xwiki.org/browse/XWIKI-21943]] | ||
74 | * [[JNR POSIX 3.1.19>>https://jira.xwiki.org/browse/XWIKI-21941]] | ||
75 | * [[Protobuf Java 3.25.3>>https://jira.xwiki.org/browse/XCOMMONS-2936]] | ||
76 | * [[commons-compress 1.26.1>>https://jira.xwiki.org/browse/XCOMMONS-2959]] | ||
77 | * [[Zookeeper 3.9.2>>https://jira.xwiki.org/browse/XWIKI-21986]] | ||
78 | * [[Solr 9.4.1 and Lucene 9.8.0>>https://jira.xwiki.org/browse/XWIKI-20477]] | ||
79 | * [[Maven XML 4.0.0-alpha-13>>https://jira.xwiki.org/browse/XCOMMONS-2957]] | ||
80 | * [[Log4J API 2.23.1>>https://jira.xwiki.org/browse/XCOMMONS-2956]] | ||
81 | * [[Liquibase 4.26.0>>https://jira.xwiki.org/browse/XWIKI-21951]] | ||
82 | * [[Jetty Client 10.0.19>>https://jira.xwiki.org/browse/XWIKI-21709]] | ||
83 | * [[Jackson 2.17.0>>https://jira.xwiki.org/browse/XCOMMONS-2958]] | ||
84 | * [[JSONP 2.1.3 and Parsson 1.1.5>>https://jira.xwiki.org/browse/XCOMMONS-2945]] | ||
85 | * [[JAX-RS 2.1.6 (JSR370)>>https://jira.xwiki.org/browse/XWIKI-12955]] | ||
86 | * [[Groovy 4.0.19>>https://jira.xwiki.org/browse/XCOMMONS-2950]] | ||
87 | * [[Error Prone annotations 2.26.1>>https://jira.xwiki.org/browse/XCOMMONS-2952]] | ||
88 | * [[Elastic search client 8.12.2>>https://jira.xwiki.org/browse/XWIKI-21953]] | ||
89 | * [[Commons DBCP2 2.12.0>>https://jira.xwiki.org/browse/XCOMMONS-2948]] | ||
90 | * [[Commons Configuration 2.10.0>>https://jira.xwiki.org/browse/XCOMMONS-2960]] | ||
91 | * [[Antlr 4.13.1>>https://jira.xwiki.org/browse/XCOMMONS-2407]] | ||
92 | |||
93 | = Translations = | ||
94 | |||
95 | The following translations have been updated: | ||
96 | |||
97 | {{language codes="de,zh"/}} | ||
98 | |||
99 | {{comment}} | ||
100 | TODO: uncomment and update with proper link when the report is ready. | ||
101 | |||
102 | = Tested Browsers & Databases = | ||
103 | |||
104 | {{include reference="TestReports.<test report page>"/}} | ||
105 | {{/comment}} | ||
106 | |||
107 | {{comment}} | ||
108 | TODO: uncomment and update with proper links when the report is ready. | ||
109 | |||
110 | = Performances tests compared to <last super stable version> = | ||
111 | |||
112 | {{display reference="test:Performances.Jetty HSQLDB single wiki xxx to yyy" section="HSummary"/}} | ||
113 | |||
114 | More details on [[performance comparison on single wiki between x.x and y.y>>test:Performances.Jetty HSQLDB single wiki xxx to yyy]]. | ||
115 | {{/comment}} | ||
116 | |||
117 | = Security Issues = | ||
118 | |||
119 | 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. | ||
120 | |||
121 | = Known issues = | ||
122 | |||
123 | * [[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]] | ||
124 | |||
125 | = Backward Compatibility and Migration Notes = | ||
126 | |||
127 | == General Notes == | ||
128 | |||
129 | * When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added: | ||
130 | ** ##xwiki.cfg## | ||
131 | ** ##xwiki.properties## | ||
132 | ** ##web.xml## | ||
133 | ** ##hibernate.cfg.xml## | ||
134 | * 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. | ||
135 | |||
136 | == Issues specific to {{velocity}}$product $version{{/velocity}} == | ||
137 | |||
138 | === Move to Jersey === | ||
139 | |||
140 | The XWiki REST API used to depend on Restlet, and has now been moved to Jersey 2. | ||
141 | |||
142 | We took great care to keep the same behavior as much as possible, but there are some differences: | ||
143 | |||
144 | * If you were using directly any Restlet class (which was something not recommended), your code won't work anymore. | ||
145 | * There were some bugs in the Restlet implementation of the ##URIBuilder## class. They are fixed in Jersey. One that was existing when Restlet was used was that Restlet was not escaping ##/## characters contained in parameters passed to the ##URIBuilder## class. So, if your code was depending on this behavior, you are going to have problems, and you'll need to split the parameters into several Strings instead (this should work fine with Restlet too if you want to fix the issue while staying on XWiki < 16.2.0). | ||
146 | * Restlet added a lot of custom behaviors on top of JAX-RS and HTTP specifications, especially regarding the special meaning of some URL parameters. We only kept what was documented in the [[XWiki REST API>>xwiki:Documentation.UserGuide.Features.XWikiRESTfulAPI]] (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). | ||
147 | |||
148 | === Upgrade to Antlr 4.10+ === | ||
149 | |||
150 | Antlr introduced a breaking change in version 4.10, which makes it impossible to run code built with a version of Antlr 4 lower than 4.10. | ||
151 | |||
152 | === Upgrade to Solr 9 === | ||
153 | |||
154 | XWiki now expects Solr 9 to be installed. There is nothing special to do if you use the embedded Solr server (the default, which has been moved to Solr 9) but if you have a standalone Solr server, you need to Solr 9 (Using Solr 8 with XWiki 16.2.0+ has not been tested and is not supported). 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 in the [[remote Solr server instructions>>extensions:Extension.Solr Search API||anchor="HSetuparemoteSolrserver"]]. | ||
155 | |||
156 | == API Breakages == | ||
157 | |||
158 | The following APIs were modified since {{velocity}}$product{{/velocity}} <version - 1>: | ||
159 | |||
160 | {{comment}} | ||
161 | Remove! | ||
162 | {{velocity}} | ||
163 | {{backwardCompatibilityReport134 version="$version"/}} | ||
164 | {{/velocity}} | ||
165 | {{/comment}} | ||
166 | |||
167 | = Credits = | ||
168 | |||
169 | The following people have contributed code and translations to this release (sorted alphabetically): | ||
170 | |||
171 | <code and translation contributors> |