Wiki source code of Release Notes for XWiki 17.0.0

Last modified by Ilie Andriuta on 2025/03/26

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 {{velocity}}
30 {{jiraBlockersFor version="$version" id="xwikiorg"/}}
31 {{/velocity}}
32
33 = New and Noteworthy (since {{velocity}}$product{{/velocity}} 16.10.2) =
34
35 [[Full list of issues fixed and Dashboard for 17.0.0>>https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=15890]].
36
37 {{velocity}}
38 #if ($isBugFix)
39 {{jira style="list" url="https://jira.xwiki.org" fields="type, status, key, summary" source="jql"}}
40 resolution = Fixed AND component != "Development Issues only" and component != "Development Issues only - Test" AND project in (XCOMMONS, XRENDERING, XWIKI) AND fixVersion in ($version)
41 {{/jira}}
42 #else
43 {{releasenotechanges/}}
44 #end
45 {{/velocity}}
46
47 === Moved Modules ===
48
49 * ##org.xwiki.platform:xwiki-platform-container-portlet## was moved to https://github.com/xwiki-attic/xwiki-platform-container-portlet
50
51 === Upgrades ===
52
53 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]]):
54
55 {{velocity}}
56 #if ($isFirstFinal)
57 #set ($affectedVersions = "${version}-rc-1, ${version}")
58 #else
59 #set ($affectedVersions = "${version}")
60 #end
61 {{jira url="https://jira.xwiki.org" source="jql" style="list"}}
62 project in (XWIKI, XCOMMONS, XRENDERING) AND issuetype = Task AND fixVersion in ($affectedVersions) AND component = "Dependency Upgrades"
63 {{/jira}}
64 {{/velocity}}
65
66 = Translations =
67
68 The following translations have been updated:
69
70 {{language codes="zh"}}{{/language}}
71
72 = Tested Browsers & Databases =
73
74 == Automated testing ==
75
76 XWiki executes a lot of [[automated tests during its build>>dev:Community.Testing.WebHome||anchor="HTestingStrategy"]], testing all [[supported configurations>>dev:Community.SupportStrategy.WebHome]]. In addition, some manual QA is also executed to try to discover additional problems (see below):
77
78 {{include reference="TestReports.ManualTestReportSummaryXWiki1700.WebHome"/}}
79
80 {{comment}}
81 TODO: uncomment and update with proper links when the report is ready.
82
83 = Performances tests compared to <last super stable version> =
84
85 {{display reference="test:Performances.Jetty HSQLDB single wiki xxx to yyy" section="HSummary"/}}
86
87 More details on [[performance comparison on single wiki between x.x and y.y>>test:Performances.Jetty HSQLDB single wiki xxx to yyy]].
88 {{/comment}}
89
90 = Security Issues =
91
92 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.
93
94 = Known issues =
95
96 * [[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]]
97
98 = Backward Compatibility and Migration Notes =
99
100 == General Notes ==
101
102 * When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added:
103 ** ##xwiki.cfg##
104 ** ##xwiki.properties##
105 ** ##web.xml##
106 ** ##hibernate.cfg.xml##
107 * 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.
108
109 == Issues specific to {{velocity}}$product $version{{/velocity}} ==
110
111
112 === Move to Jakarta EE 9.1 ===
113
114 XWiki has been migrated to Jakarta EE 9.1 specification.
115
116 The most notable change is that it means it now requires corresponding application servers: Tomcat 10+ and Jetty 11+ for example.
117 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:
118
119 * 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)
120 * 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.
121 * 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.
122
123 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.
124
125 === Redirect behavior changes ===
126
127 * [[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.
128 * 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.
129
130 === CSS name changed in xwiki-platform-notifications-webjar ===
131
132 [[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.
133
134
135 == API Breakages ==
136
137 The following APIs were modified since {{velocity}}$product{{/velocity}} 16.10.2:
138
139 {{velocity}}
140 {{backwardCompatibilityReport134 version="$version"/}}
141 {{/velocity}}
142
143 = Credits =
144
145 The following people have contributed code and translations to this release (sorted alphabetically):
146
147 * Cye3s
148 * Lucas C
149 * Manuel Leduc
150 * Marius Dumitru Florea
151 * Maximilien Cuony
152 * Michael Hamann
153 * Nikita Petrenko
154 * Simon Urli
155 * Simpel
156 * Thomas Mortagne
157 * Vincent Massol
158 * jasongwq
159 * xrichard

Get Connected