Last modified by Simon Urli on 2026/11/30 14:03

Show last authors
1 {{velocity}}
2 #if ($doc.getValue('released') != 1)
3 {{info}}This version has not yet been released.{{/info}}
4 #end
5 {{/velocity}}
6
7 {{velocity}}
8 #set ($rnObject = $doc.getObject('ReleaseNotes.Code.ReleaseNoteClass'))
9 #set ($product = $rnObject.product)
10 #set ($version = $rnObject.version)
11 #set ($versionPrefix = $stringtool.substringBefore($version, '-'))
12 #set ($versionParts = $stringtool.split($versionPrefix, '.'))
13 #set ($isRC = $version.contains('rc'))
14 #set ($isFinal = !$isRC)
15 #set ($isFirstFinal = $isFinal && ($versionParts.size() == 2 || $versionParts[2] == 0))
16 #set ($isBugFix = $isFinal && $versionParts.size() == 3 && $versionParts[2] > 0)
17 {{/velocity}}
18
19 {{box cssClass="floatinginfobox" title="**Contents**"}}
20 {{toc/}}
21 {{/box}}
22
23 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.
24
25 This release contains many new features as well as bug fixes and performance improvements. In this release, image and attachment support for the experimental BlockNote editor integration has been greatly improved. XWiki now also supports modern image formats like WebP natively. A new records macro makes listing structured entries much easier and adding new structured entries in Live Data (on which the new records macro is based) has also been improved with support for templates and user-provided titles. Every released artifact is now accompanied by an SBOM that lists all its dependencies. This release contains security fixes, with the [[highest severity being 9.3/10>>doc:dev:Community.SecurityPolicy.WebHome||anchor="HSeverity"]].
26
27 {{velocity}}
28 {{jiraBlockersFor version="$version" id="xwikiorg"/}}
29 {{/velocity}}
30
31 = New and Noteworthy (since {{velocity}}$product{{/velocity}} 18.9.0) =
32
33 {{velocity}}
34 #if ($isFirstFinal)
35 #set ($issuesFixVersions = "${version}-rc-1, ${version}")
36 #else
37 #set ($issuesFixVersions = $version)
38 #end
39 ## For a first final release (X.Y.0), the list also covers the issues of X.Y.0-rc-1, some of which were also
40 ## backported to bugfix releases of the previous branch already released: list those bugfix versions
41 ## below (e.g. '18.9.1, 18.9.2') to exclude them. Leave it empty otherwise.
42 #set ($excludedFixVersions = '')
43 #set ($resolutions = 'resolution in (Fixed, "Solved By")')
44 #set ($issuesJQL = "$resolutions AND project in (XCOMMONS, XRENDERING, XWIKI) AND fixVersion in ($issuesFixVersions)")
45 #if ($excludedFixVersions != '')
46 #set ($issuesJQL = "$issuesJQL AND fixVersion not in ($excludedFixVersions)")
47 #end
48 You can view the list of issues in our tracker to be able to filter or sort it [[by following this link>>https://jira.xwiki.org/issues/?jql=$escapetool.url($issuesJQL)]].
49 {{/velocity}}
50
51 {{velocity}}
52 #if ($isBugFix)
53 {{jira style="list" url="https://jira.xwiki.org" fields="type, key, summary" source="jql"}}
54 resolution in (Fixed, "Solved By") AND component != "Development Issues only" AND component != "Development Issues only - Test" AND component != "Dependency Upgrades" AND project in (XCOMMONS, XRENDERING, XWIKI) AND fixVersion in ($version)
55 {{/jira}}
56 #else
57 {{releasenotechanges/}}
58 #end
59 {{/velocity}}
60
61 = Upgrades =
62
63 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]]):
64
65 {{velocity}}
66 #if ($isFirstFinal)
67 #set ($affectedVersions = "${version}-rc-1, ${version}")
68 #else
69 #set ($affectedVersions = "${version}")
70 #end
71 {{jira url="https://jira.xwiki.org" fields="key, summary" source="jql" style="list"}}
72 project in (XWIKI, XCOMMONS, XRENDERING) AND issuetype = Task AND fixVersion in ($affectedVersions) AND component = "Dependency Upgrades" ORDER BY summary
73 {{/jira}}
74 {{/velocity}}
75
76 = Translations =
77
78 The following translations have been updated:
79
80 {{language codes="da,de,fr,uk"/}}
81
82 = Tested Browsers & Databases =
83
84 == Automated Testing ==
85
86 XWiki executes a lot of [[automated tests during its build>>dev:Community.Testing.WebHome||anchor="HTestingStrategy"]], testing all [[supported configurations>>dev:Community.SupportStrategy.WebHome]].
87
88 {{velocity}}
89 #if ("$!rnObject.getValue('qaValidation')" == 'validated')
90 #set ($qaDate = $rnObject.getValue('qaValidationDate'))
91 == Manual Testing ==
92
93 This XWiki version has been manually tested by the QA and validated#if ($qaDate) on $datetool.format('medium_date', $qaDate, $xcontext.locale)#end.
94 #end
95 {{/velocity}}
96
97 {{comment}}
98 TODO: uncomment and update with proper link when the report is ready.
99 == Manual Testing ==
100
101 Manual QA is also executed to try to discover additional problems:
102
103 {{include reference="TestReports.<test report page>"/}}
104 {{/comment}}
105
106 {{comment}}
107 TODO: uncomment and update with proper links when the report is ready.
108
109 = Performances tests compared to <last super stable version> =
110
111 {{display reference="test:Performances.Jetty HSQLDB single wiki xxx to yyy" section="HSummary"/}}
112
113 More details on [[performance comparison on single wiki between x.x and y.y>>test:Performances.Jetty HSQLDB single wiki xxx to yyy]].
114 {{/comment}}
115
116 = Security Issues =
117
118 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.
119
120 = Known issues =
121
122 * [[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]]
123
124 = Backward Compatibility and Migration Notes =
125
126 == General Notes ==
127
128 * When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added:
129 ** ##xwiki.cfg##
130 ** ##xwiki.properties##
131 ** ##web.xml##
132 ** ##hibernate.cfg.xml##
133 * 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.
134
135 == Issues specific to {{velocity}}$product $version{{/velocity}} ==
136
137 === Upgrade to Solr 9.11.0 ===
138
139 XWiki now bundles Solr 9.11.0 and Lucene 9.12.3 (previously Solr 9.4.1 and Lucene 9.8.0), see [[XWIKI-21954>>https://jira.xwiki.org/browse/XWIKI-21954]]. It has the following consequences:
140
141 * **Embedded Solr**: as with previous Solr upgrades, the search core is recreated at the first startup and filled again by the synchronization with the database, so search results are incomplete until the indexing is finished. The other cores (events, extension index, ratings, etc.) keep their data.
142 * **Remote Solr**: the new configuration of the search core requires **Solr 9.11 or later** (a Solr 9.4.1 server, for example, fails to load it). You can either keep the current configuration of your search core as is, or upgrade your Solr server to 9.11 or later first and then install the new configuration (see [[Setup a remote Solr server>>extensions:Extension.Solr Search API||anchor="HSetuparemoteSolrserver"]]). In particular:
143 ** if you use the Debian ##xwiki-solr9-*## packages, upgrade Solr to 9.11 or later before upgrading them
144 ** if you build your Solr image from the [[##contrib/solr## Dockerfile of the XWiki Docker repository>>https://github.com/xwiki/xwiki-docker/tree/master/contrib/solr]], rebuild it with ##--pull--##--, so that its ##solr:9## base image is 9.11 or later--
145 * **Remote Solr**: when the new configuration of the search core is installed on a core which already contains data, XWiki detects at startup that the indexed data is not compatible with it anymore, deletes the index, and it's filled again by the synchronization with the database (if ##solr.synchronizeAtStartup## is disabled, you need to trigger the synchronization manually). If several XWiki instances share the same remote Solr server, each of them might delete the index when starting, but the synchronization at startup takes care of filling it again.
146 * The search core now uses the Solr schema version 1.7, in which fields don't support "uninverting" anymore by default. This means that a custom Solr query (in a script or an extension) which sorts or facets on a tokenized text field (like ##title_en## or ##doccontent_fr##) will now fail. All the fields provided by XWiki for sorting and faceting (like ##title_sort##, the ##*_sort*## fields, ##wiki##, ##space_facet##, ##locale##, ##date##, etc.) are not impacted.
147 * The stopwords of several languages (Danish, German, Spanish, Finnish, French, Hungarian, Italian, Dutch, Norwegian, Portuguese, Russian, Swedish) were updated to the latest Solr version. In particular, for French, several words which are also homonyms of meaningful words (like "son", "été", "est", "sommes", "as") are not stopwords anymore and are now indexed and searchable.
148 * Since Solr 9.5, Solr uses Jersey 3 (JAX-RS 3.1, ##jakarta.*## packages), while XWiki uses Jersey 2. To avoid any conflict, the ##solr-core## JAR is now replaced by ##xwiki-platform-search-solr-core-shaded##, which contains ##solr-core## and its own private (relocated) copy of Jersey 3 and HK2 3. The Solr classes keep their package, so this should be transparent for extensions using Solr.
149 * On Java 21 or later, Lucene now logs a warning at startup about its use of the Java Vector API (see [[XWIKI-25453>>https://jira.xwiki.org/browse/XWIKI-25453]]). It does not have any functional impact.
150
151 === WebP, AVIF and JPEG XL in a custom attachment whitelist ===
152
153 ##image/avif##, ##image/jxl## and ##image/webp## were added to the default value of ##attachment.download.whitelist##, so these images are now displayed in the browser instead of being downloaded (see [[XWIKI-25319>>https://jira.xwiki.org/browse/XWIKI-25319]]). If your ##xwiki.properties## sets ##attachment.download.whitelist##, it replaces the default list: add these three mimetypes to it to get the same behaviour. An ##xwiki.properties## kept from an earlier version also still holds the old default as a commented-out ##attachment.download.whitelist## line: uncommenting it would bring back the old list, so start from the [[new default list>>doc:documentation.xs.admin.attachments.inline-display.WebHome]] instead.
154
155 === Attachments and skin files are served with X-Content-Type-Options: nosniff ===
156
157 Attachments (from their download URL and from the REST API), skin files and the files served from inside attachments by the VFS are now sent with the ##X-Content-Type-Options: nosniff## header, so browsers no longer guess their type from their content (see [[XWIKI-25323>>https://jira.xwiki.org/browse/XWIKI-25323]]). A script or style sheet loaded from such a URL now needs a JavaScript or CSS mimetype: an attachment stored as ##text/plain## or ##application/octet-stream## and loaded by a page with a ##<script>## or ##<link rel="stylesheet">## tag stops working. Check the custom pages and skins that load attachments that way. See [[Inline Display and Forced Download of Attachments>>doc:documentation.xs.admin.attachments.inline-display.WebHome]].
158
159 === DefaultAuthorizationManager moved to internal package ===
160
161 The ##DefaultAuthorizationManager## class was located in an API package while it should never have been an API. A [[vote>>https://forum.xwiki.org/t/move-defaultauthorizationmanager-to-an-internal-package/15926]] was conducted to move it to an internal package so we applied that decision.
162
163 === Infinispan caches now use the ProtoStream marshaller by default ===
164
165 Infinispan 16.3 deprecated ##JavaSerializationMarshaller##, so XWiki now uses the default Infinispan marshaller (ProtoStream) for its caches: the ##serialization## element was removed from the default ##WEB-INF/cache/infinispan/config.xml## (see [[XCOMMONS-3874>>https://jira.xwiki.org/browse/XCOMMONS-3874]]). With the default configuration, the only cache which is serialized is the LESS skin files cache (file store), which only contains strings.
166
167 If you customized your ##WEB-INF/cache/infinispan/config.xml## to persist (or distribute) caches containing other types of values, you can switch back to the previous marshaller by adding the following to the ##cache-container## element (it is deprecated and will be removed in a future version of Infinispan):
168
169 {{code language="xml"}}
170 <serialization marshaller="org.infinispan.commons.marshall.JavaSerializationMarshaller"/>
171 {{/code}}
172
173 == API Breakages ==
174
175 The following APIs were modified since {{velocity}}$product{{/velocity}} 18.9.0:
176
177 {{velocity}}
178 {{backwardCompatibilityReport134 version="$version"/}}
179 {{/velocity}}
180
181 = Credits =
182
183 {{releasenotecontributors/}}

Get Connected