Last modified by Ilie Andriuta on 2020/06/01

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. In addition, more than 40 bugs has been fixed since the release of XWiki 11.10.
8
9 = New and Noteworthy (since XWiki 11.10) =
10
11 [[Full list of issues fixed and Dashboard for 12.0-rc-1>>https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=14471]].
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
19 * [[CSS4J 2.0.0>>https://jira.xwiki.org/browse/XWIKI-16905]]
20 * [[Tour Application 1.3.2>>https://jira.xwiki.org/browse/XWIKI-16981]]
21 * [[CKEditor Integration 1.39>>https://jira.xwiki.org/browse/XWIKI-16951]]
22 * [[Apache PDFBox 2.0.18>>https://jira.xwiki.org/browse/XWIKI-16941]]
23 * [[c3p0 v0.9.5.5>>https://jira.xwiki.org/browse/XWIKI-16917]]
24 * [[PostgresSQL connector 42.2.9>>https://jira.xwiki.org/browse/XWIKI-16914]]
25 * [[Tika 1.23>>https://jira.xwiki.org/browse/XWIKI-16913]]
26 * [[Hibernate 5.4.10>>https://jira.xwiki.org/browse/XWIKI-16912]]
27 * [[RequireJS 2.3.6>>https://jira.xwiki.org/browse/XWIKI-16907]]
28 * [[JQuery 2.2.4>>https://jira.xwiki.org/browse/XWIKI-16906]]
29 * [[Pygments 2.5.1>>https://jira.xwiki.org/browse/XWIKI-16888]]
30 * [[Embedded Maven 3.6.3>>https://jira.xwiki.org/browse/XWIKI-16884]]
31 * [[Protobuf Java 3.11.1>>https://jira.xwiki.org/browse/XWIKI-16883]]
32 * [[Servlet 3.1>>https://jira.xwiki.org/browse/XWIKI-16829]]
33 * [[Jackson 2.10.2>>https://jira.xwiki.org/browse/XCOMMONS-1832]]
34 * [[Commons-codec 1.14>>https://jira.xwiki.org/browse/XCOMMONS-1831]]
35 * [[Guava 28.2-jre>>https://jira.xwiki.org/browse/XCOMMONS-1829]]
36 * [[SLF4J 1.7.30>>https://jira.xwiki.org/browse/XCOMMONS-1822]]
37 * [[Log4j API 2.13.0>>https://jira.xwiki.org/browse/XCOMMONS-1821]]
38 * [[Saxon 9.9.1-6>>https://jira.xwiki.org/browse/XCOMMONS-1818]]
39 * [[Woodstox 6.0.3>>https://jira.xwiki.org/browse/XCOMMONS-1817]]
40 * [[Infinispan 9.4.17.Final>>https://jira.xwiki.org/browse/XCOMMONS-1816]]
41 * [[Error Prone annotations 2.3.4>>https://jira.xwiki.org/browse/XCOMMONS-1812]]
42 * [[Checker Qual 3.1.0>>https://jira.xwiki.org/browse/XCOMMONS-1811]]
43 * [[AspectJ 1.9.5>>https://jira.xwiki.org/browse/XCOMMONS-1806]]
44 * [[Jakarta Annotations 1.3.5>>https://jira.xwiki.org/browse/XCOMMONS-1805]]
45 * [[Velocity Tools 3.0>>https://jira.xwiki.org/browse/XCOMMONS-1529]]
46 * [[Velocity 2.2>>https://jira.xwiki.org/browse/XCOMMONS-1296]]
47
48 = Translations =
49
50 The following translations have been updated:
51
52 {{language codes="de, fr, ru, zh, mr"/}}
53
54 = Tested Browsers & Databases =
55
56 {{include reference="TestReports.ManualTestReportSummaryXWiki120RC1.WebHome"/}}
57
58 {{comment}}
59 TODO: uncomment and update with proper links when the report is ready.
60
61 = Performances tests compared to <last super stable version> =
62
63 {{display reference="test:Performances.Jetty HSQLDB single wiki xxx to yyy" section="HSummary"/}}
64
65 More details on [[performance comparison on single wiki between x.x and y.y>>test:Performances.Jetty HSQLDB single wiki xxx to yyy]].
66 {{/comment}}
67
68 = Known issues =
69
70 * [[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]]
71
72 = Backward Compatibility and Migration Notes =
73
74 == General Notes ==
75
76 * When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added:
77 ** ##xwiki.cfg##
78 ** ##xwiki.properties##
79 ** ##web.xml##
80 ** ##hibernate.cfg.xml##
81 * 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.
82
83 == Issues specific to XWiki 12.0RC1 ==
84
85 === Velocity 2.2 upgrade ===
86
87 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:
88
89 * 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.
90 * 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.
91 * 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:
92 ** 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##)
93 *** ##$listtool## was already deprecatedd since Velocity 1.6 which added support for allows all List methods to be called on arrays
94 *** ##$sorttool## replaced by ##$collectiontool##
95 *** ##$velocityCount## and ##$velocityHasNext## where already deprecated in Velocity 1.7 without producing any deprecation warning, they now do
96 ** Breackages:
97 *** 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}}).
98 ** Known bugs:
99 *** [[Macro parameter names problem with expression passed to the macro>>https://issues.apache.org/jira/browse/VELOCITY-904?focusedCommentId=17019513&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17019513]]. Should be fixed in 12.0 final.
100
101 === Servlet 3.1 upgrade ===
102
103 XWiki now requires an application supporting Servlet 3.1 at least. This means for example that XWiki won't work in Tomcat 7 anymore.
104
105 == API Breakages ==
106
107 The following APIs were modified since XWiki 11.10.2:
108
109 {{backwardCompatiblityReport version="12.0-rc-1"/}}
110
111 = Credits =
112
113 The following people have contributed code and translations to this release (sorted alphabetically):
114
115 * Adel Atallah
116 * Anca Luca
117 * Björn Ludwig
118 * Carlos Amengual
119 * Christian Fröhlich
120 * Clément Aubin
121 * DenisF
122 * flyger
123 * Guillaume Delhumeau
124 * Marius Dumitru Florea
125 * Prachi Joshi
126 * Roman Ivanov
127 * Simon Urli
128 * Thomas Mortagne
129 * tomaszkowalczyk94
130 * Vincent Massol
131 * xrichard

Get Connected