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 {{comment}}
55 TODO: uncomment and update with proper link when the report is ready.
56
57 = Tested Browsers & Databases =
58
59 {{include reference="TestReports.<test report page>"/}}
60 {{/comment}}
61
62 {{comment}}
63 TODO: uncomment and update with proper links when the report is ready.
64
65 = Performances tests compared to <last super stable version> =
66
67 {{display reference="test:Performances.Jetty HSQLDB single wiki xxx to yyy" section="HSummary"/}}
68
69 More details on [[performance comparison on single wiki between x.x and y.y>>test:Performances.Jetty HSQLDB single wiki xxx to yyy]].
70 {{/comment}}
71
72 = Known issues =
73
74 * [[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]]
75
76 = Backward Compatibility and Migration Notes =
77
78 == General Notes ==
79
80 * When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added:
81 ** ##xwiki.cfg##
82 ** ##xwiki.properties##
83 ** ##web.xml##
84 ** ##hibernate.cfg.xml##
85 * 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.
86
87 == Issues specific to XWiki 12.0RC1 ==
88
89 === Velocity 2.2 upgrade ===
90
91 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:
92
93 * 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.
94 * 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.
95 * 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:
96 ** 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##)
97 *** ##$listtool## was already deprecatedd since Velocity 1.6 which added support for allows all List methods to be called on arrays
98 *** ##$sorttool## replaced by ##$collectiontool##
99 *** ##$velocityCount## and ##$velocityHasNext## where already deprecated in Velocity 1.7 without producing any deprecation warning, they now do
100 ** Breackages:
101 *** 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}}).
102 ** Known bugs:
103 *** [[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.
104
105 === Servlet 3.1 upgrade ===
106
107 XWiki now requires an application supporting Servlet 3.1 at least. This means for example that XWiki won't work in Tomcat 7 anymore.
108
109 == API Breakages ==
110
111 The following APIs were modified since XWiki 11.10.2:
112
113 {{backwardCompatiblityReport version="12.0-rc-1"/}}
114
115 = Credits =
116
117 The following people have contributed code and translations to this release (sorted alphabetically):
118
119 * Adel Atallah
120 * Anca Luca
121 * Björn Ludwig
122 * Carlos Amengual
123 * Christian Fröhlich
124 * Clément Aubin
125 * DenisF
126 * flyger
127 * Guillaume Delhumeau
128 * Marius Dumitru Florea
129 * Prachi Joshi
130 * Roman Ivanov
131 * Simon Urli
132 * Thomas Mortagne
133 * tomaszkowalczyk94
134 * Vincent Massol
135 * xrichard

Get Connected