Version 12.3 by Guillaume Delhumeau on 2020/01/23

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 === Moved Modules ===
16
17 <description deprecated, retired and moved projects>
18
19 === Upgrades ===
20
21 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]]):
22
23 * [[CSS4J 2.0.0>>https://jira.xwiki.org/browse/XWIKI-16905]]
24 * [[Tour Application 1.3.2>>https://jira.xwiki.org/browse/XWIKI-16981]]
25 * [[Upgrade to CKEditor Integration 1.39>>https://jira.xwiki.org/browse/XWIKI-16951]]
26 * [[Upgrade to CKEditor Integration 1.39>>https://jira.xwiki.org/browse/XWIKI-16951]]
27
28 = Translations =
29
30 The following translations have been updated:
31
32 {{language codes="de, fr, ru, zh, mr"/}}
33
34 {{comment}}
35 TODO: uncomment and update with proper link when the report is ready.
36
37 = Tested Browsers & Databases =
38
39 {{include reference="TestReports.<test report page>"/}}
40 {{/comment}}
41
42 {{comment}}
43 TODO: uncomment and update with proper links when the report is ready.
44
45 = Performances tests compared to <last super stable version> =
46
47 {{display reference="test:Performances.Jetty HSQLDB single wiki xxx to yyy" section="HSummary"/}}
48
49 More details on [[performance comparison on single wiki between x.x and y.y>>test:Performances.Jetty HSQLDB single wiki xxx to yyy]].
50 {{/comment}}
51
52 = Known issues =
53
54 * [[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]]
55
56 = Backward Compatibility and Migration Notes =
57
58 == General Notes ==
59
60 * When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added:
61 ** ##xwiki.cfg##
62 ** ##xwiki.properties##
63 ** ##web.xml##
64 ** ##hibernate.cfg.xml##
65 * 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.
66
67 == Issues specific to XWiki 12.0RC1 ==
68
69 === Velocity 2.2 upgrade ===
70
71 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:
72
73 * The Velocity Java API changed quite a lot, if you use advanced features directly in Java there is a big chance that you need to update your code. You can find more details on https://velocity.apache.org/engine/2.2/upgrading.html
74 * 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.
75 * 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:
76 ** 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##)
77 *** $listtool was already deprecatedd since Velocity 1.6 which added support for allows all List methods to be called on arrays
78 *** $sorttool replaced by $collectiontool
79 *** $velocityCount and $velocityHasNext where already deprecated in Velocity 1.7 without producing any deprecation warning, they now do
80 ** Breackages:
81 *** 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}}).
82 ** Known bugs:
83 *** Macro parameters names mess with expression passed to the macro: see 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.
84
85 == API Breakages ==
86
87 The following APIs were modified since XWiki 11.10.2:
88
89 {{backwardCompatiblityReport version="12.0-rc-1"/}}
90
91 = Credits =
92
93 The following people have contributed code and translations to this release (sorted alphabetically):
94
95 * Adel Atallah
96 * Anca Luca
97 * Björn Ludwig
98 * Carlos Amengual
99 * Christian Fröhlich
100 * Clément Aubin
101 * DenisF
102 * flyger
103 * Guillaume Delhumeau
104 * Marius Dumitru Florea
105 * Prachi Joshi
106 * Roman Ivanov
107 * Simon Urli
108 * Thomas Mortagne
109 * tomaszkowalczyk94
110 * Vincent Massol
111 * xrichard

Get Connected