Version 6.1 by Thomas Mortagne on 2023/01/30

Hide last authors
Simon Urli 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
Thomas Mortagne 5.1 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.
Simon Urli 1.1 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
Thomas Mortagne 4.1 40 = New and Noteworthy (since {{velocity}}$product{{/velocity}} 14.10.2) =
Simon Urli 1.1 41
Thomas Mortagne 4.1 42 [[Full list of issues fixed and Dashboard for 15.0>>https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=15300]].
Simon Urli 1.1 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
Thomas Mortagne 4.1 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]]
Simon Urli 1.1 94
95 = Translations =
96
97 The following translations have been updated:
98
Thomas Mortagne 4.1 99 {{language codes="de,ja,ro,ru"/}}
Simon Urli 1.1 100
101 {{comment}}
102 TODO: uncomment and update with proper link when the report is ready.
103
104 = Tested Browsers & Databases =
105
106 {{include reference="TestReports.<test report page>"/}}
107 {{/comment}}
108
109 {{comment}}
110 TODO: uncomment and update with proper links when the report is ready.
111
112 = Performances tests compared to <last super stable version> =
113
114 {{display reference="test:Performances.Jetty HSQLDB single wiki xxx to yyy" section="HSummary"/}}
115
116 More details on [[performance comparison on single wiki between x.x and y.y>>test:Performances.Jetty HSQLDB single wiki xxx to yyy]].
117 {{/comment}}
118
119 = Known issues =
120
121 * [[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]]
122
123 = Backward Compatibility and Migration Notes =
124
125 == General Notes ==
126
127 * When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added:
128 ** ##xwiki.cfg##
129 ** ##xwiki.properties##
130 ** ##web.xml##
131 ** ##hibernate.cfg.xml##
132 * 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.
133
134 == Issues specific to {{velocity}}$product $version{{/velocity}} ==
135
Thomas Mortagne 4.1 136 === Change of macro priorities ===
137
138 The priority of the following macros has been changed from very high (10) to normal (1000):
139
140 * ##include##
141 * ##display##
142 * ##context##
143 * ##template##
144 * ##uiextension##
145 * ##uiextensions##
146
147 It means they have the same priority that 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.
148
149 This hopefully fixes more confusion than causing problems but it could impact cases like:
150
151 * 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
152 * (((
153 if you were including things to use in a script macro after that script macro, it won't work anymore:
154
155 {{code}}
156 {{velocity}}
157 #macroFromTheTemplate('value')
158 {{/velocity}}
159
160 {{template name="template/with/macros.vm"/}}
161 {{/code}}
162
163 doesn't behave as expected anymore and should instead be written as
164
165
166 {{code}}
167 {{template name="template/with/macros.vm"/}}
168
169 {{velocity}}
170 #macroFromTheTemplate('value')
171 {{/velocity}}
172 {{/code}}
173
174 because in the first version the velocity macro is going to be executed before the template macro (because it appear first in the content).
175 )))
176
177 === Change of default author when executing the include macro ===
178
179 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.
180
181 === Change of behavior for ##ComponentManager#getInstanceList## ===
182
183 ##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.
184
Thomas Mortagne 6.1 185 === Reinitialization of Solr search index during migration ===
Simon Urli 1.1 186
Thomas Mortagne 6.1 187
188
Simon Urli 3.1 189 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.
Simon Urli 2.1 190
Simon Urli 1.1 191 == API Breakages ==
192
Thomas Mortagne 4.1 193 The following APIs were modified since {{velocity}}$product{{/velocity}} 14.10.2:
Simon Urli 1.1 194
195 {{comment}}
196 Remove!
197 {{velocity}}
198 {{backwardCompatibilityReport134 version="$version"/}}
199 {{/velocity}}
200 {{/comment}}
201
202 = Credits =
203
204 The following people have contributed code and translations to this release (sorted alphabetically):
205
Thomas Mortagne 6.1 206 * Alex Cotiugă
207 * Andreea Chirica
208 * Antoine Mottier
209 * Clément Aubin
210 * DenisF
211 * Gankov Andrey
212 * Jens Mittelbach
213 * Manuel Leduc
214 * Marius Dumitru Florea
215 * Michael Hamann
216 * Nikita Petrenko
217 * Oana-Lavinia Florean
218 * Raphaël Jakse
219 * Simon Urli
220 * Simpel
221 * Suguru Hirahara
222 * Thomas Mortagne
223 * Vincent Massol
224 * tambovtsev
225 * trrenty

Get Connected