Version 13.1 by Vincent Massol on 2025/02/13

Show last authors
1 {{velocity}}
2 #if ($doc.getValue('released') != 1)
3 {{warning}}This version has not yet been released.{{/warning}}
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 = $versionParts[2] == 0 && $isFinal)
16 #set ($isBugFix = $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 is the first release of the 17.x cycle. The most notable change is the move to Jakarta EE 9.1 that allows XWiki to run on recent versions of the supported application servers (like Tomcat 10+ and Jetty 12 EE9/10). Make sure to read the migration notes though since this change can potentially break backwards compatibility. Besides this, it's worth mentioning the new sort parameter for the Document Tree and Children macros, and the new notification email headers for auto-replies. Being the start of a new cycle we also took the opportunity to upgrade of a lot of our dependencies.
26
27 This release contains security fixes, with the [[highest severity being 8.7/10>>url:https://dev.xwiki.org/xwiki/bin/view/Community/SecurityPolicy/#HSeverity]].
28
29 {{jiraBlockersFor version="$version" id="xwikiorg"/}}
30
31 = New and Noteworthy (since {{velocity}}$product{{/velocity}} 16.10.2) =
32
33 [[Full list of issues fixed and Dashboard for 17.0.0>>https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=15890]].
34
35 {{velocity}}
36 #if ($isBugFix)
37 {{jira style="list" url="https://jira.xwiki.org" fields="type, status, key, summary" source="jql"}}
38 resolution = Fixed AND component != "Development Issues only" and component != "Development Issues only - Test" AND project in (XCOMMONS, XRENDERING, XWIKI) AND fixVersion in ($version)
39 {{/jira}}
40 #else
41 {{releasenotechanges/}}
42 #end
43 {{/velocity}}
44
45 === Moved Modules ===
46
47 * ##org.xwiki.platform:xwiki-platform-container-portlet## was moved to https://github.com/xwiki-attic/xwiki-platform-container-portlet
48
49 === Upgrades ===
50
51 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]]):
52
53 {{velocity}}
54 #if ($isFirstFinal)
55 #set ($affectedVersions = "${version}-rc-1, ${version}")
56 #else
57 #set ($affectedVersions = "${version}")
58 #end
59 {{jira url="https://jira.xwiki.org" source="jql" style="list"}}
60 project in (XWIKI, XCOMMONS, XRENDERING) AND issuetype = Task AND fixVersion in ($affectedVersions) AND component = "Dependency Upgrades"
61 {{/jira}}
62 {{/velocity}}
63
64 = Translations =
65
66 The following translations have been updated:
67
68 {{language codes="zh"}}{{/language}}
69
70 {{comment}}
71 TODO: uncomment and update with proper link when the report is ready.
72
73 = Tested Browsers & Databases =
74
75 {{include reference="TestReports.<test report page>"/}}
76 {{/comment}}
77
78 {{comment}}
79 TODO: uncomment and update with proper links when the report is ready.
80
81 = Performances tests compared to <last super stable version> =
82
83 {{display reference="test:Performances.Jetty HSQLDB single wiki xxx to yyy" section="HSummary"/}}
84
85 More details on [[performance comparison on single wiki between x.x and y.y>>test:Performances.Jetty HSQLDB single wiki xxx to yyy]].
86 {{/comment}}
87
88 = Security Issues =
89
90 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.
91
92 = Known issues =
93
94 * [[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]]
95
96 = Backward Compatibility and Migration Notes =
97
98 == General Notes ==
99
100 * When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added:
101 ** ##xwiki.cfg##
102 ** ##xwiki.properties##
103 ** ##web.xml##
104 ** ##hibernate.cfg.xml##
105 * 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.
106
107 == Issues specific to {{velocity}}$product $version{{/velocity}} ==
108
109
110 === Move to Jakarta EE 9.1 ===
111
112 XWiki has been migrated to Jakarta EE 9.1 specification.
113
114 The most notable change is that it means it now requires corresponding application servers: Tomcat 10+ and Jetty 11+ for example.
115 But the biggest difference between Jakarta EE 8 and 9.x is the move from ##javax.*## to ##jakarta.*## packages, so this migration commes with some potential breakages:
116
117 * Servlet 5 (##javax.servlet## -> ##jakarta.servlet##): XWiki comes with a bridge that should make the upgrade transparent from extensions, it mainly means that a lot of Servlet related API is now deprecated and application authors should move to new ones, most notably all the request related APIs from xwiki-platform-oldcore are replaced by ##org.xwiki.container.Container## based APIs. Also XWiki is now doing its best (in Jetty and Tomcat only right now) by default to enable everything it can find to allow any character in URLs at init, it's possible to disable this using the property ##url.forceAllowAnyCharacter## in the ##xwiki.properties## configuration file (but it will most probably prevent some XWiki features to work property, see [[XWIKI-19167>>https://jira.xwiki.org/browse/XWIKI-19167]] for more details)
118 * WebSocket 2.1 (##javax.websocket## -> ##jakarta.websocket##): there is no bridge here. If you were directly manipulating ##javax.websocket## APIs, you will have to move to jakarta.websocket and all XWiki APIs that were exposing ##javax.websocket## have been modified to expose the ##jakarta.websocket## versions.
119 * Validation 3: there is no bridge either here, so you have to move to the ##jakarta.validation## versions of the annotations. Since Jakarta Validation is only annotations, you can actually use both at the same time if you want to support different versions of XWiki in your extension for example.
120
121 Move ##javax.*## to ##jakarta.*## migration will happen in the course of the 17.x XWiki cycle. See [[design:Proposal.Jakartamigration]] for more details about that.
122
123 === Redirect behavior changes ===
124
125 * [[Trusted domains>>Documentation.AdminGuide.Configuration||anchor="HTrusteddomains"]] are checking for all redirect called in XWiki now, it used to be only code going through XWikiRequest.
126 * By default relative redirect are now resolved by XWiki instead of the application server. The goal was to reduce the configuration need (XWiki has all the information to properly resolve the redirect and the application server sometimes require some more setup), but if this change cause problem you can move back to using the application server using the property ##container.request.resolveRelativeRedirect## in the ##xwiki.properties## configuration file.
127
128 === CSS name changed in xwiki-platform-notifications-webjar ===
129
130 [[Due to an upgrade of vite package>>https://jira.xwiki.org/browse/XWIKI-22793]] used for building ##xwiki-platform-notifications-webjar## the CSS file generated is now named ##main.css## instead of ##style.css##. Pay attention to use that new name for loading the file starting with XWiki 17.0.0.
131
132
133 == API Breakages ==
134
135 The following APIs were modified since {{velocity}}$product{{/velocity}} 16.10.2:
136
137 {{velocity}}
138 {{backwardCompatibilityReport134 version="$version"/}}
139 {{/velocity}}
140
141 = Credits =
142
143 The following people have contributed code and translations to this release (sorted alphabetically):
144
145 * Cye3s
146 * Lucas C
147 * Manuel Leduc
148 * Marius Dumitru Florea
149 * Maximilien Cuony
150 * Michael Hamann
151 * Nikita Petrenko
152 * Simon Urli
153 * Simpel
154 * Thomas Mortagne
155 * Vincent Massol
156 * jasongwq
157 * xrichard

Get Connected