Version 10.2 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 <insert description of release here>
8
9 = New and Noteworthy (since XWiki <version - 1>) =
10
11 [[Full list of issues fixed and Dashboard for <full version here even for RC, e.g. 10.5>>>https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=<fill id here>]].
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
25 = Translations =
26
27 The following translations have been updated:
28
29 {{language codes="de, fr, ru, zh, mr"/}}
30
31 {{comment}}
32 TODO: uncomment and update with proper link when the report is ready.
33
34 = Tested Browsers & Databases =
35
36 {{include reference="TestReports.<test report page>"/}}
37 {{/comment}}
38
39 {{comment}}
40 TODO: uncomment and update with proper links when the report is ready.
41
42 = Performances tests compared to <last super stable version> =
43
44 {{display reference="test:Performances.Jetty HSQLDB single wiki xxx to yyy" section="HSummary"/}}
45
46 More details on [[performance comparison on single wiki between x.x and y.y>>test:Performances.Jetty HSQLDB single wiki xxx to yyy]].
47 {{/comment}}
48
49 = Known issues =
50
51 * [[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]]
52
53 = Backward Compatibility and Migration Notes =
54
55 == General Notes ==
56
57 * When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added:
58 ** ##xwiki.cfg##
59 ** ##xwiki.properties##
60 ** ##web.xml##
61 ** ##hibernate.cfg.xml##
62 * 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.
63
64 == Issues specific to XWiki 12.0RC1 ==
65
66 === Velocity 2.2 upgrade ===
67
68 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:
69
70 * 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
71 * 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.
72 * 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:
73 ** 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##)
74 *** $listtool was already deprecatedd since Velocity 1.6 which added support for allows all List methods to be called on arrays
75 *** $sorttool replaced by $collectiontool
76 *** $velocityCount and $velocityHasNext where already deprecated in Velocity 1.7 without producing any deprecation warning, they now do
77 ** Breackages:
78 *** 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}}).
79 ** Known bugs:
80 *** 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.
81
82 == API Breakages ==
83
84 The following APIs were modified since XWiki 11.10.2:
85
86 {{backwardCompatiblityReport version="12.0-rc-1"/}}
87
88 = Credits =
89
90 The following people have contributed code and translations to this release (sorted alphabetically):
91
92 * Adel Atallah
93 * Anca Luca
94 * Björn Ludwig
95 * Carlos Amengual
96 * Christian Fröhlich
97 * Clément Aubin
98 * DenisF
99 * flyger
100 * Guillaume Delhumeau
101 * Marius Dumitru Florea
102 * Prachi Joshi
103 * Roman Ivanov
104 * Simon Urli
105 * Thomas Mortagne
106 * tomaszkowalczyk94
107 * Vincent Massol
108 * xrichard

Get Connected