Wiki source code of Release Notes for XWiki 13.0

Version 10.1 by Eduard Moraru on 2021/01/26

Hide last authors
Clément Aubin 1.1 1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 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.
6
Eduard Moraru 9.4 7 This release introduces the new Live Data macro and starts using it in the Administration Logging section. Additionally, administration sections now get proper rights handling by inheriting from each of their authors. Under the hood, struts had finally been replaced by XWiki components, the "viewrev" action has been deprecated and changes have been made to the rights that a script has when executing.
Clément Aubin 1.1 8
Eduard Moraru 9.2 9 = New and Noteworthy (since XWiki 12.10.3) =
Clément Aubin 1.1 10
Eduard Moraru 9.3 11 [[Full list of issues fixed and Dashboard for 13.0>>https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=14646]].
Clément Aubin 1.1 12
13 {{releasenotechanges/}}
14
15 === Upgrades ===
16
17 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]]):
18
Vincent Massol 2.1 19 * [[CSS4J 3.2.0>>https://jira.xwiki.org/browse/XWIKI-18176]]
Marius Dumitru Florea 3.1 20 * [[CKEditor Integration 1.52>>https://jira.xwiki.org/browse/XWIKI-18220]]
Thomas Mortagne 4.1 21 * [[Netty to 4.1.58>>https://jira.xwiki.org/browse/XWIKI-18155]]
22 * [[Antlr 4.9.1>>https://jira.xwiki.org/browse/XCOMMONS-2084]]
23 * [[Apache PDFBox 2.0.22>>https://jira.xwiki.org/browse/XWIKI-18175]]
24 * [[Apache Xerces 2.12.1>>https://jira.xwiki.org/browse/XCOMMONS-2114]]
25 * [[Bean Validation 2.0.2>>https://jira.xwiki.org/browse/XCOMMONS-1363]]
26 * [[Bouncy Castle 1.68>>https://jira.xwiki.org/browse/XCOMMONS-2110]]
27 * [[Byte Buddy 1.10.19>>https://jira.xwiki.org/browse/XCOMMONS-2105]]
28 * [[Caffeine 2.8.8>>https://jira.xwiki.org/browse/XCOMMONS-2096]]
29 * [[Checker Qual 3.9.1>>https://jira.xwiki.org/browse/XCOMMONS-2093]]
30 * [[Closure Compiler v20210106>>https://jira.xwiki.org/browse/XCOMMONS-2103]]
31 * [[Error Prone annotations 2.5.1>>https://jira.xwiki.org/browse/XCOMMONS-2115]]
32 * [[Groovy 2.5.14>>https://jira.xwiki.org/browse/XCOMMONS-2097]]
33 * [[Guava 30.1>>https://jira.xwiki.org/browse/XCOMMONS-2104]]
34 * [[HTTP Core 4.4.14>>https://jira.xwiki.org/browse/XCOMMONS-2088]]
35 * [[Hibernate 5.4.27>>https://jira.xwiki.org/browse/XWIKI-18120]]
36 * [[Hibernate Validator 6.2.0>>https://jira.xwiki.org/browse/XCOMMONS-1968]]
37 * [[Infinispan 11.0.8>>https://jira.xwiki.org/browse/XCOMMONS-2091]]
38 * [[JFFI 1.3.1>>https://jira.xwiki.org/browse/XWIKI-18134]]
39 * [[JNR Constants 0.10.1>>https://jira.xwiki.org/browse/XWIKI-18157]]
40 * [[JNR FFI 2.2.1>>https://jira.xwiki.org/browse/XWIKI-18135]]
41 * [[JNR POSIX 3.1.4>>https://jira.xwiki.org/browse/XWIKI-18136]]
42 * [[JSqlParser 4.0>>https://jira.xwiki.org/browse/XWIKI-18193]]
43 * [[Jackson 2.12.1>>https://jira.xwiki.org/browse/XCOMMONS-2087]]
44 * [[Joda-Time 2.10.9>>https://jira.xwiki.org/browse/XWIKI-18192]]
45 * [[MariaDB connector 2.7.1>>https://jira.xwiki.org/browse/XWIKI-18119]]
46 * [[Protobuf Java 3.14.0>>https://jira.xwiki.org/browse/XCOMMONS-2112]]
47 * [[Protostream 4.3.5>>https://jira.xwiki.org/browse/XCOMMONS-2111]]
48 * [[Tika 1.25>>https://jira.xwiki.org/browse/XWIKI-18158]]
49 * [[JAXB 2.3.3>>https://jira.xwiki.org/browse/XCOMMONS-2098]]
50 * [[XStream 1.4.15>>https://jira.xwiki.org/browse/XCOMMONS-2102]]
Clément Aubin 1.1 51
52 = Translations =
53
Eduard Moraru 9.3 54 The following translations have been updated:
Clément Aubin 1.1 55
Eduard Moraru 9.5 56 {{language codes="de, es, fr, ja, no, zh"/}}
Clément Aubin 1.1 57
58 {{comment}}
59 TODO: uncomment and update with proper link when the report is ready.
60
61 = Tested Browsers & Databases =
62
63 {{include reference="TestReports.<test report page>"/}}
64 {{/comment}}
65
66 {{comment}}
67 TODO: uncomment and update with proper links when the report is ready.
68
69 = Performances tests compared to <last super stable version> =
70
71 {{display reference="test:Performances.Jetty HSQLDB single wiki xxx to yyy" section="HSummary"/}}
72
73 More details on [[performance comparison on single wiki between x.x and y.y>>test:Performances.Jetty HSQLDB single wiki xxx to yyy]].
74 {{/comment}}
75
76 = Known issues =
77
78 * [[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]]
79
80 = Backward Compatibility and Migration Notes =
81
82 == General Notes ==
83
84 * When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added:
85 ** ##xwiki.cfg##
86 ** ##xwiki.properties##
87 ** ##web.xml##
88 ** ##hibernate.cfg.xml##
89 * 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.
90
Eduard Moraru 9.3 91 == Issues specific to XWiki 13.0 ==
Clément Aubin 1.1 92
Thomas Mortagne 4.2 93 === No more Struts ===
Clément Aubin 1.1 94
Thomas Mortagne 9.1 95 XWiki used to use the highly outdated Struts 1.3.10 as entry point to the (deprecated) actions system. In pratice Struts was not used for much (basically just mapping an action name with an action class) already and the very last bit has finally been removed but it's a breaking change for any custom action:
Thomas Mortagne 4.2 96
97 * actions are now XWiki components implementing the role ##com.xpn.xwiki.internal.web.LegacyAction##
Thomas Mortagne 9.1 98 * no more struts-config.xml, the component now indicate its own name to match in the URL and the only way to disable an action is to remove/uninstall it
Thomas Mortagne 4.2 99
100 That being said the old XWiki actions system has been deprecated for a long time now and the recommended way to make a custom action up to date is to convert it to an [[Entity Resource Reference handler>>extensions:Extension.Resource API||anchor="HAddinganewEntityResourceTypeHandler"]].
101
Thomas Mortagne 9.1 102 === FileUploadPlugin#getFileItems order changed ===
103
104 Another side effect of the removing of Struts 1.3 is that the order of the elements returned by ##FileUploadPlugin#getFileItems(XWikiContext)## which used to always be ordered (even if not documented as such) now depends on the multipart/form Servlet implementation (for example Tomcat used Apache FileUpload to parse the request which respect the order but Jetty does not). In any case it's recommended to use directly the HTTPServlet#getParts which is a standard instead of the old FileUploadPlugin.
105
Thomas Mortagne 6.1 106 === The viewrev action is deprecated ===
107
108 The [[viewrev action>>Documentation.DevGuide.Architecture.URL Architecture.Standard URL Format||anchor="HAction:viewrev"]] is now deprecated and the [[view action>>Documentation.DevGuide.Architecture.URL Architecture.Standard URL Format||anchor="HAction:view"]] should be used instead with the same parameters.
109
Thomas Mortagne 7.1 110 === Author right is now important when saving ===
111
Thomas Mortagne 8.1 112 An experimental new behavior of the document save script API is now the default: both the current user and author rights are checked when saving a document. Among other things it implies the follow two important changes for scripts authors who don't have programming right:
Thomas Mortagne 7.1 113
Thomas Mortagne 8.1 114 * the registered author of a document saved by the script will be the author instead of the current user
115 * if the script author does not have edit right on some document the API ##Document#save## call will fail for that document
116
117 While not recommended it's possible to go back to previous behavior by using ##security.script.save.checkAuthor=false## in ##xwiki.properties## configuration file.
118
Clément Aubin 1.1 119 == API Breakages ==
120
Eduard Moraru 9.3 121 The following APIs were modified since XWiki 12.10.3:
Clément Aubin 1.1 122
Eduard Moraru 9.5 123 {{backwardCompatiblityReportXml version="13.0"/}}
Clément Aubin 1.1 124
125 = Credits =
126
127 The following people have contributed code and translations to this release (sorted alphabetically):
128
Eduard Moraru 9.5 129 Christian Fröhlich
130 Clemens Robbenhaar
131 Clément Aubin
132 Clément Desableau
133 Eduard Moraru
134 Francisco García Moreno
135 iLocIT!
136 Jarle Sandmo
137 jingkaimori
138 Lars Pelzer
139 Mahendran Mookkiah
140 Marius Dumitru Florea
141 Roman Ivanov
142 Simon Urli
143 Thomas Mortagne
144 Vincent Massol
145 xrichard

Get Connected