Wiki source code of Release Notes for XWiki 15.0

Last modified by Thomas Mortagne on 2023/06/28

Show last authors
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 This is the first release of the 15.x cycle. This release consists mostly of dependency upgrades and bug fixes including security fixes with some small new features for admins and developers. Some fixes also required changes that could cause breakages, please read the respective sections before upgrading.
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}} 14.10.2) =
41
42 [[Full list of issues fixed and Dashboard for 15.0>>https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=15300]].
43
44 {{releasenotechanges/}}
45
46 === Upgrades ===
47
48 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]]):
49
50 * [[Vue 2.7.14>>https://jira.xwiki.org/browse/XWIKI-20417]]
51 * [[Vue-i18n 8.28.2>>https://jira.xwiki.org/browse/XWIKI-20418]]
52 * [[Dompurify 2.4.1>>https://jira.xwiki.org/browse/XWIKI-20419]]
53 * [[CKEditor 4.20.1>>https://jira.xwiki.org/browse/XWIKI-20489]]
54 * [[JGroups 5.2.11>>https://jira.xwiki.org/browse/XCOMMONS-2004]]
55 * [[Caffeine 3.1.2>>https://jira.xwiki.org/browse/XCOMMONS-2147]]
56 * [[SLF4J 2.0.6 and Logback 1.3.5>>https://jira.xwiki.org/browse/XCOMMONS-2517]]
57 * [[Infinispan 14.0.5>>https://jira.xwiki.org/browse/XCOMMONS-2545]]
58 * [[Jackson 2.14.1>>https://jira.xwiki.org/browse/XCOMMONS-2574]]
59 * [[Plexus Classworlds 2.7.0>>https://jira.xwiki.org/browse/XCOMMONS-2575]]
60 * [[Byte Buddy 1.12.22>>https://jira.xwiki.org/browse/XCOMMONS-2576]]
61 * [[HTTP Core 4.4.16>>https://jira.xwiki.org/browse/XCOMMONS-2581]]
62 * [[Protobuf Java 3.21.12>>https://jira.xwiki.org/browse/XCOMMONS-2582]]
63 * [[Checker Qual 3.29.0>>https://jira.xwiki.org/browse/XCOMMONS-2584]]
64 * [[Commons Net 3.9.0>>https://jira.xwiki.org/browse/XCOMMONS-2585]]
65 * [[httpclient 4.5.14>>https://jira.xwiki.org/browse/XCOMMONS-2587]]
66 * [[Jaxen 2.0.0>>https://jira.xwiki.org/browse/XCOMMONS-2588]]
67 * [[Protostream 4.6.0.Final>>https://jira.xwiki.org/browse/XCOMMONS-2589]]
68 * [[httpclient 5.2.1>>https://jira.xwiki.org/browse/XCOMMONS-2591]]
69 * [[Groovy 3.0.14>>https://jira.xwiki.org/browse/XCOMMONS-2593]]
70 * [[AspectJ 1.9.19>>https://jira.xwiki.org/browse/XCOMMONS-2594]]
71 * [[cssparser 0.9.30>>https://jira.xwiki.org/browse/XCOMMONS-2595]]
72 * [[Error Prone annotations 2.18.0>>https://jira.xwiki.org/browse/XCOMMONS-2598]]
73 * [[Plexus Archiver 4.6.1>>https://jira.xwiki.org/browse/XCOMMONS-2599]]
74 * [[Closure Compiler v20230103>>https://jira.xwiki.org/browse/XCOMMONS-2601]]
75 * [[Gson 2.10.1>>https://jira.xwiki.org/browse/XCOMMONS-2603]]
76 * [[Woodstox 6.5.0>>https://jira.xwiki.org/browse/XCOMMONS-2609]]
77 * [[Doxia 1.12.0>>https://jira.xwiki.org/browse/XRENDERING-698]]
78 * [[jodconverter 4.4.5>>https://jira.xwiki.org/browse/XWIKI-20137]]
79 * [[Tika 2.6.0>>https://jira.xwiki.org/browse/XWIKI-20201]]
80 * [[Docker Java to 3.2.14>>https://jira.xwiki.org/browse/XWIKI-20412]]
81 * [[PostgresSQL connector 42.5.1>>https://jira.xwiki.org/browse/XWIKI-20413]]
82 * [[JNR POSIX 3.1.16>>https://jira.xwiki.org/browse/XWIKI-20414]]
83 * [[JNR Constants 0.10.4>>https://jira.xwiki.org/browse/XWIKI-20415]]
84 * [[Joda-Time 2.12.2>>https://jira.xwiki.org/browse/XWIKI-20441]]
85 * [[Netty 4.1.86.Final>>https://jira.xwiki.org/browse/XWIKI-20473]]
86 * [[Syntax higlighting 4.6.1>>https://jira.xwiki.org/browse/XWIKI-20505]]
87 * [[Tour Application 1.3.6>>https://jira.xwiki.org/browse/XWIKI-20506]]
88 * [[Templates Application v1.0.8>>https://jira.xwiki.org/browse/XWIKI-20507]]
89 * [[embedded Maven to 3.8.7>>https://jira.xwiki.org/browse/XWIKI-20512]]
90 * [[pagedjs to 0.4.0>>https://jira.xwiki.org/browse/XWIKI-20542]]
91 * [[JNA 5.13.0>>https://jira.xwiki.org/browse/XWIKI-20558]]
92 * [[Netty 4.1.87.Final>>https://jira.xwiki.org/browse/XWIKI-20559]]
93 * [[MariaDB connector 3.1.1>>https://jira.xwiki.org/browse/XWIKI-20560]]
94
95 = Translations =
96
97 The following translations have been updated:
98
99 {{language codes="de,ja,ro,ru"/}}
100
101 = Tested Browsers & Databases =
102
103 {{include reference="TestReports.ManualTestReportSummaryXWiki150.WebHome"/}}
104
105 {{comment}}
106 TODO: uncomment and update with proper links when the report is ready.
107
108 = Performances tests compared to <last super stable version> =
109
110 {{display reference="test:Performances.Jetty HSQLDB single wiki xxx to yyy" section="HSummary"/}}
111
112 More details on [[performance comparison on single wiki between x.x and y.y>>test:Performances.Jetty HSQLDB single wiki xxx to yyy]].
113 {{/comment}}
114
115 = Known issues =
116
117 * [[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]]
118
119 = Backward Compatibility and Migration Notes =
120
121 == General Notes ==
122
123 * When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added:
124 ** ##xwiki.cfg##
125 ** ##xwiki.properties##
126 ** ##web.xml##
127 ** ##hibernate.cfg.xml##
128 * 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.
129
130 == Issues specific to {{velocity}}$product $version{{/velocity}} ==
131
132 === Change of macro priorities ===
133
134 The priority of the following macros has been changed from very high (10) to normal (1000):
135
136 * ##include##
137 * ##display##
138 * ##context##
139 * ##template##
140 * ##uiextension##
141 * ##uiextensions##
142
143 It means they have the same priority as most other macros, so they will be executed in the order you see them in the wiki content instead of before previous macros, it's especially important when combined with script macros.
144
145 This hopefully fixes more confusion than causing problems, but it could impact cases like:
146
147 * if you include a document which contains macro which a very high priority, those macros used to be executed very early, and they are now limited by the priority of the include macro
148 * (((
149 if you were including things to use in a script macro after that script macro, it won't work anymore:
150
151 {{code}}
152 {{velocity}}
153 #macroFromTheTemplate('value')
154 {{/velocity}}
155
156 {{template name="template/with/macros.vm"/}}
157 {{/code}}
158
159 doesn't behave as expected anymore and should instead be written as
160
161
162 {{code}}
163 {{template name="template/with/macros.vm"/}}
164
165 {{velocity}}
166 #macroFromTheTemplate('value')
167 {{/velocity}}
168 {{/code}}
169
170 because in the first version the velocity macro is going to be executed before the template macro (because it appear first in the content).
171 )))
172
173 === Change of default author when executing the include macro ===
174
175 For security reasons, it was decided to modify the default behavior of the include macro regarding the execution of the included content: if the content author of the target document does not have programming rights, the include macro will execute it right away with the right of the target document content author instead of just parsing it and returning the blocks.
176
177 === Change of behavior for ##ComponentManager#getInstanceList## ===
178
179 ##org.xwiki.component.manager.ComponentManager#getInstanceList## and ##org.xwiki.component.manager.ComponentManager#getInstanceMap## don't fail anymore by default, if one of the components fail to initialize. However, it's possible to still thrown an exception if needed, by using the ##@ComponentMandatory## annotation, either on the component class, or at a higher level in the inheritance hierarchy (e.g. inside the role class), to impact all components who are a subclass of it.
180
181 === Reinitialization of Solr search index during migration ===
182
183 A [[bug with the Solr search index>>https://jira.xwiki.org/browse/XWIKI-20575]] has been fixed as part of this release, but it needs a reindex of the documents to be properly taking into account. The migration will empty the index so that a full reindex is performed: as a consequence the search feature might take a few time to be entirely working after the first restart.
184
185 == API Breakages ==
186
187 The following APIs were modified since {{velocity}}$product{{/velocity}} 14.10.2:
188
189 {{velocity}}
190 {{backwardCompatibilityReport134 version="$version"/}}
191 {{/velocity}}
192
193 = Credits =
194
195 The following people have contributed code and translations to this release (sorted alphabetically):
196
197 * Alex Cotiugă
198 * Andreea Chirica
199 * Antoine Mottier
200 * Clément Aubin
201 * DenisF
202 * Gankov Andrey
203 * Jens Mittelbach
204 * Manuel Leduc
205 * Marius Dumitru Florea
206 * Michael Hamann
207 * Nikita Petrenko
208 * Oana-Lavinia Florean
209 * Raphaël Jakse
210 * Simon Urli
211 * Simpel
212 * Suguru Hirahara
213 * Thomas Mortagne
214 * Vincent Massol
215 * tambovtsev
216 * trrenty

Get Connected