Last modified by Ilie Andriuta on 2020/06/01

From version 1.1 >
edited by Vincent Massol
on 2019/12/05
To version < 4.1 >
edited by Thomas Mortagne
on 2020/01/20
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.ThomasMortagne
Content
... ... @@ -20,7 +20,8 @@
20 20  
21 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 22  
23 -* <list libraries that have been upgraded>
23 +* [[CSS4J 2.0.0>>https://jira.xwiki.org/browse/XWIKI-16905]]
24 +* [[Jodconverter 4.2.3>>https://jira.xwiki.org/browse/XWIKI-16973]]
24 24  
25 25  = Translations =
26 26  
... ... @@ -61,10 +61,24 @@
61 61  ** ##hibernate.cfg.xml##
62 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 63  
64 -== Issues specific to XWiki <version> ==
65 +== Issues specific to XWiki 12.0RC1 ==
65 65  
66 -<issues specific to the project>
67 +=== Velocity 2.2 upgrade ===
67 67  
69 +After more than 9 years Velocity is getting an update. While this bring some nice new things it also comes with unavoidable behavior changes that might be a breackage for your scripts or break some extensions:
70 +
71 +* 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
72 +* 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.
73 +* 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:
74 +** 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##)
75 +*** $listtool was already deprecatedd since Velocity 1.6 which added support for allows all List methods to be called on arrays
76 +*** $sorttool replaced by $collectiontool
77 +*** $velocityCount and $velocityHasNext where already deprecated in Velocity 1.7 without producing any deprecation warning, they now do
78 +** Breackages:
79 +*** No more macro semi-local context: in Velocity 1.7 variable set inside a macro and set both in the global context and in a special 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
80 +** Known bugs:
81 +*** 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.
82 +
68 68  == API Breakages ==
69 69  
70 70  The following APIs were modified since <project> <version - 1>:

Get Connected