Show last authors
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
7 To start this new year, we have updated a lot of our dependencies, to give some freshness to the whole platform. For administrators, it is now possible to define name strategies for new pages. For developers, the new big change is the upgrade of Velocity to the new 2.2 version, which support new syntax expressions. We also improved the performance when exporting pages to XAR by introducing a new format, users are able to chose the right formats depending on the target XWiki version. In addition, more than 40 bugs has been fixed since the release of XWiki 11.10.2.
8
9 {{error}}
10 Some important bugs have been discovered since XWiki 12.0 has been released:
11
12 * [[The XWiki and Velocity versions of ##$collectionstool.sort($list)## are colliding>>https://jira.xwiki.org/browse/XCOMMONS-1861]]
13
14 If one or several of these bugs impact you, then you should wait for the next version of XWiki (12.1) that will be released soon!
15 {{/error}}
16
17 = New and Noteworthy (since XWiki 11.10.2) =
18
19 [[Full list of issues fixed and Dashboard for XWiki 12.0>>https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=14472]].
20
21 {{releasenotechanges/}}
22
23 === Upgrades ===
24
25 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]]):
26
27 * [[CSS4J 2.0.0>>https://jira.xwiki.org/browse/XWIKI-16905]]
28 * [[Tour Application 1.3.2>>https://jira.xwiki.org/browse/XWIKI-16981]]
29 * [[CKEditor Integration 1.39>>https://jira.xwiki.org/browse/XWIKI-16951]]
30 * [[Apache PDFBox 2.0.18>>https://jira.xwiki.org/browse/XWIKI-16941]]
31 * [[c3p0 v0.9.5.5>>https://jira.xwiki.org/browse/XWIKI-16917]]
32 * [[PostgresSQL connector 42.2.9>>https://jira.xwiki.org/browse/XWIKI-16914]]
33 * [[Tika 1.23>>https://jira.xwiki.org/browse/XWIKI-16913]]
34 * [[Hibernate 5.4.10>>https://jira.xwiki.org/browse/XWIKI-16912]]
35 * [[RequireJS 2.3.6>>https://jira.xwiki.org/browse/XWIKI-16907]]
36 * [[JQuery 2.2.4>>https://jira.xwiki.org/browse/XWIKI-16906]]
37 * [[Pygments 2.5.1>>https://jira.xwiki.org/browse/XWIKI-16888]]
38 * [[Embedded Maven 3.6.3>>https://jira.xwiki.org/browse/XWIKI-16884]]
39 * [[Protobuf Java 3.11.1>>https://jira.xwiki.org/browse/XWIKI-16883]]
40 * [[Servlet 3.1>>https://jira.xwiki.org/browse/XWIKI-16829]]
41 * [[Jackson 2.10.2>>https://jira.xwiki.org/browse/XCOMMONS-1832]]
42 * [[Commons-codec 1.14>>https://jira.xwiki.org/browse/XCOMMONS-1831]]
43 * [[Guava 28.2-jre>>https://jira.xwiki.org/browse/XCOMMONS-1829]]
44 * [[SLF4J 1.7.30>>https://jira.xwiki.org/browse/XCOMMONS-1822]]
45 * [[Log4j API 2.13.0>>https://jira.xwiki.org/browse/XCOMMONS-1821]]
46 * [[Saxon 9.9.1-6>>https://jira.xwiki.org/browse/XCOMMONS-1818]]
47 * [[Woodstox 6.0.3>>https://jira.xwiki.org/browse/XCOMMONS-1817]]
48 * [[Infinispan 9.4.17.Final>>https://jira.xwiki.org/browse/XCOMMONS-1816]]
49 * [[Error Prone annotations 2.3.4>>https://jira.xwiki.org/browse/XCOMMONS-1812]]
50 * [[Checker Qual 3.1.0>>https://jira.xwiki.org/browse/XCOMMONS-1811]]
51 * [[AspectJ 1.9.5>>https://jira.xwiki.org/browse/XCOMMONS-1806]]
52 * [[Jakarta Annotations 1.3.5>>https://jira.xwiki.org/browse/XCOMMONS-1805]]
53 * [[Velocity Tools 3.0>>https://jira.xwiki.org/browse/XCOMMONS-1529]]
54 * [[Velocity 2.2>>https://jira.xwiki.org/browse/XCOMMONS-1296]]
55
56 = Translations =
57
58 The following translations have been updated:
59
60 {{language codes="de,es,fr,hr,mr,no,ru,zh"/}}
61
62 = Tested Browsers & Databases =
63
64 {{include reference="TestReports.ManualTestReportSummaryXWiki120.WebHome"/}}
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
91 == Issues specific to XWiki 12.0 ==
92
93 === Velocity 2.2 upgrade ===
94
95 While Velocity upgrade bring a lot of nice new improvements it also comes with unavoidable behavior changes that might be a breackage for your scripts or break some extensions:
96
97 * The [[Velocity Java API changed quite a lot>>https://velocity.apache.org/engine/2.2/upgrading.html]], if you use advanced features directly in Java there is a big chance that you need to update your code.
98 * Most names of Velocity configuration properties have changed ; old names are still functional but will emit a deprecation warning in the log. See the [[Configuration Changes in Velocity 2.1>>https://velocity.apache.org/engine/2.2/configuration-property-changes-in-2.1.html]] page.
99 * We tried to reduce as much as possible the breaking changes in the language using some retro compatibility flags provided by Velocity and some hacks on XWiki side but there is still things for which you might want to be carefull:
100 ** Deprecations: A lot of APIs are now deprecated, they should work fine but will produce a warning in the log (unless you disabled that using the new property ##logging.deprecated.enabled## in ##xwiki.properties##)
101 *** ##$listtool## was already deprecatedd since Velocity 1.6 which added support for allows all List methods to be called on arrays
102 *** ##$sorttool## replaced by ##$collectiontool##
103 *** ##$velocityCount## and ##$velocityHasNext## where already deprecated in Velocity 1.7 without producing any deprecation warning, they now do
104 ** Breackages:
105 *** No more Velocity macro semi-local context: in Velocity 1.7 variable set inside a macro were set both in the global context and in a special macro local context. In Velocity 2.x this local context does not exist anymore. In pratice in means that if, in your macro, you ###set## a variable and execute another Velocity template which set the same variable your macro will be affected while it used to be "protected" by the previous explicit ###set##. It's now (since Velocity 1.7 actually) recommended to use the $macro map to manipulate local variable (as in {{code}}#set($macro.myLocalVar = "value"){{/code}}).
106
107 === Servlet 3.1 upgrade ===
108
109 XWiki now requires an application supporting Servlet 3.1 at least. This means for example that XWiki won't work in Tomcat 7 anymore.
110
111 == API Breakages ==
112
113 The following APIs were modified since XWiki 11.10.2:
114
115 {{cache id="RNAPIB120"}}
116 {{backwardCompatiblityReport version="12.0"/}}
117 {{/cache}}
118
119 = Credits =
120
121 The following people have contributed code and translations to this release (sorted alphabetically):
122
123 Adel Atallah
124 Anca Luca
125 Björn Ludwig
126 Carlos Amengual
127 Christian Fröhlich
128 Clément Aubin
129 DenisF
130 flyger
131 Guillaume Delhumeau
132 Marius Dumitru Florea
133 Prachi Joshi
134 Roman Ivanov
135 Simon Urli
136 Thomas Mortagne
137 tomaszkowalczyk94
138 Vincent Massol
139 xrichard

Get Connected