Version 12.1 by Thomas Mortagne on 2025/02/11

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 #if ($isFirstFinal)
18 #set ($affectedVersions = "${version}-rc-1, ${version}")
19 #set ($fixVersionJQL = " and (fixVersion != ${version}-rc-1 or fixVersion is empty)")
20 #else
21 #set ($affectedVersions = "${version}")
22 #set ($fixVersionJQL = "")
23 #end
24 {{/velocity}}
25
26 {{box cssClass="floatinginfobox" title="**Contents**"}}
27 {{toc/}}
28 {{/box}}
29
30 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.
31
32 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.
33
34 This release contains security fixes, with the [[highest severity being 8.7/10>>url:https://dev.xwiki.org/xwiki/bin/view/Community/SecurityPolicy/#HSeverity]].
35
36 {{comment}}
37 Uncomment when there's at least one issue listed in the table!
38 {{error}}
39 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.
40
41 {{velocity}}
42 #if ($isFirstFinal)
43 #set ($affectedVersions = "${version}-rc-1, ${version}")
44 #set ($fixVersionJQL = " and (fixVersion != ${version}-rc-1 or fixVersion is empty)")
45 #else
46 #set ($affectedVersions = "${version}")
47 #set ($fixVersionJQL = "")
48 #end
49 {{jira id="xwikiorg" source="jql"}}
50 category = 10000 and affectedVersion in ($affectedVersions)${fixVersionJQL}and priority = Blocker and resolution in (Fixed, Unresolved) and component != "Development Issues only"
51 {{/jira}}
52 {{/velocity}}
53 {{/error}}
54 {{/comment}}
55
56 = New and Noteworthy (since {{velocity}}$product{{/velocity}} 16.10.2) =
57
58 [[Full list of issues fixed and Dashboard for 17.0.0>>https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=15890]].
59
60 {{velocity}}
61 #if ($isBugFix)
62 {{jira style="list" url="https://jira.xwiki.org" fields="type, status, key, summary" source="jql"}}
63 resolution = Fixed AND component != "Development Issues only" and component != "Development Issues only - Test" AND project in (XCOMMONS, XRENDERING, XWIKI) AND fixVersion in ($version)
64 {{/jira}}
65 #else
66 {{releasenotechanges/}}
67 #end
68 {{/velocity}}
69
70 === Moved Modules ===
71
72 * ##org.xwiki.platform:xwiki-platform-container-portlet## was moved to https://github.com/xwiki-attic/xwiki-platform-container-portlet
73
74 === Upgrades ===
75
76 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]]):
77
78 {{velocity}}
79 {{jira url="https://jira.xwiki.org" source="jql" style="list"}}
80 project in (XWIKI, XCOMMONS, XRENDERING) AND issuetype = Task AND fixVersion in ($affectedVersions) AND component = "Dependency Upgrades"
81 {{/jira}}
82 {{/velocity}}
83
84 = Translations =
85
86 The following translations have been updated:
87
88 {{language codes="zh"}}{{/language}}
89
90 {{comment}}
91 TODO: uncomment and update with proper link when the report is ready.
92
93 = Tested Browsers & Databases =
94
95 {{include reference="TestReports.<test report page>"/}}
96 {{/comment}}
97
98 {{comment}}
99 TODO: uncomment and update with proper links when the report is ready.
100
101 = Performances tests compared to <last super stable version> =
102
103 {{display reference="test:Performances.Jetty HSQLDB single wiki xxx to yyy" section="HSummary"/}}
104
105 More details on [[performance comparison on single wiki between x.x and y.y>>test:Performances.Jetty HSQLDB single wiki xxx to yyy]].
106 {{/comment}}
107
108 = Security Issues =
109
110 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.
111
112 = Known issues =
113
114 * [[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]]
115
116 = Backward Compatibility and Migration Notes =
117
118 == General Notes ==
119
120 * When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added:
121 ** ##xwiki.cfg##
122 ** ##xwiki.properties##
123 ** ##web.xml##
124 ** ##hibernate.cfg.xml##
125 * 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.
126
127 == Issues specific to {{velocity}}$product $version{{/velocity}} ==
128
129
130 === Move to Jakarta EE 9.1 ===
131
132 XWiki has been migrated to Jakarta EE 9.1 specification.
133
134 The most notable change is that it means it now requires corresponding application servers: Tomcat 10+ and Jetty 11+ for example.
135 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:
136
137 * 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)
138 * 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.
139 * 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.
140
141 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.
142
143 === Redirect behavior changes ===
144
145 * [[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.
146 * 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.
147
148 === CSS name changed in xwiki-platform-notifications-webjar ===
149
150 [[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.
151
152
153 == API Breakages ==
154
155 The following APIs were modified since {{velocity}}$product{{/velocity}} 16.10.2:
156
157 {{velocity}}
158 {{backwardCompatibilityReport134 version="$version"/}}
159 {{/velocity}}
160
161 = Credits =
162
163 The following people have contributed code and translations to this release (sorted alphabetically):
164
165 * Cye3s
166 * Lucas C
167 * Manuel Leduc
168 * Marius Dumitru Florea
169 * Maximilien Cuony
170 * Michael Hamann
171 * Nikita Petrenko
172 * Simon Urli
173 * Simpel
174 * Thomas Mortagne
175 * Vincent Massol
176 * jasongwq
177 * xrichard

Get Connected