Version 12.2 by Vincent Massol on 2014/09/17

Hide last authors
Thomas Mortagne 1.1 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]], [[XWiki Platform>>http://platform.xwiki.org]] and [[XWiki Enterprise>>http://enterprise.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 6.2) =
10
11 [[Full list of issues fixed and Dashboard for <version>>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=<fill id here>]].
12
Thomas Mortagne 3.1 13 == Extension Manager and Repository improvements ==
Thomas Mortagne 1.1 14
15 * ##<scm>## element from Maven ##pom.xml## is now supported and has been added to the standard in the API
16 * ##<issueManagement>## element from Maven ##pom.xml## is now supported and has been added to the standard in the API
17
Guillaume Delhumeau 6.1 18 == Flamingo ==
19
20 * The "Add" button has now a default action to create a new page. You can still create other kind of contents (Wiki, Space) by using the arrow, just like we do with the different "edit" actions.(((
21 {{image reference="flamingo-add.png"/}}
22 )))
23
Thomas Mortagne 1.1 24 == Miscellaneous ==
25
Vincent Massol 10.1 26 * Improved L&F when a template fails to render:(((
27 {{image reference="templateerror.png" width="650px"/}}c
28 )))
Thomas Mortagne 1.1 29
30 See the [[full list of JIRA issues>>http://jira.xwiki.org/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?jqlQuery=project+in+%28XCOMMONS%2C+XRENDERING%2C+XWIKI%2C+XE%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+%3D+%22<version>%22&tempMax=1000]] fixed in this release.
31
32 = For Developers =
33
Marius Dumitru Florea 7.2 34 == Velocity macros to display users and groups ==
Thomas Mortagne 1.1 35
Marius Dumitru Florea 7.1 36 We extracted the code that displays in view mode a property of type 'List of Users' and 'List of Groups' from the corresponding custom displayers (found in ##displayer_users.vm## and ##displayer_groups.vm##) into two Velocity macros that can be used to display arbitrary users and groups, even when you don't have an object. Here's how you can use them:
Thomas Mortagne 1.1 37
Marius Dumitru Florea 7.1 38 {{code language="none"}}
39 {{velocity}}
40 {{html wiki="true"}}
41 = Users =
42 == Just one ==
43 #displayUser('XWiki.Admin')
44
45 == List of users ==
46 #displayUser(['Admin', 'XWiki.mflorea'])
47
48 == A reference of a user ==
49 #displayUser($xcontext.userReference)
50
51 == A list of references of users ==
52 #displayUser([$xcontext.userReference, $otherUserReference])
53
54 = Groups =
55 == Just one ==
56 #displayGroup('XWiki.XWikiAdminGroup')
57
58 == List of groups ==
59 #displayGroup(['XWikiAdminGroup','XWiki.HRGroup'])
60
61 == A reference of a group ==
62 #set($adminGroupRef = $services.model.resolveDocument('XWiki.XWikiAdminGroup'))
63 #set($allGroupRef = $services.model.resolveDocument('XWiki.XWikiAllGroup'))
64 #displayGroup($adminGroupRef)
65
66 == A list of references of groups ==
67 #displayGroup([$adminGroupRef, $allGroupRef])
68
69 {{/html}}
70 {{/velocity}}
71 {{/code}}
72
Clemens Robbenhaar 12.1 73 == New Velocity tool $urltool ==
74
Vincent Massol 12.2 75 A [[new tool>>extensions:Extension.Velocity Module||anchor="HVelocityTools"]] has been added with one method to parse query string from the URL ##$urltool.parseQuery(String)##. The value returned by this is method is a ##Map<String, List<String>>## which maps parameter names to (possibly multiple) values, and can be passed e.g. directly into ##$escapetool.url(Map<String, ?>)## to convert it back to a string.
Clemens Robbenhaar 12.1 76 This is useful e.g. in cases where one want to pass a complete query string around between requests, as it happend for the PDF export; the ##$urltool## allows for a sane deserialization of the value passed around.
77
Thomas Mortagne 1.1 78 == Deprecated and Retired projects ==
79
80 <description of deprecated and retired projects>
81
82 == Upgrades ==
83
84 The following dependencies have been upgraded:
85
Thomas Mortagne 2.1 86 * [[JGroups 3.5.0>>http://jira.xwiki.org/browse/XWIKI-10987]]
Thomas Mortagne 1.1 87
88 == Miscellaneous ==
89
Guillaume Delhumeau 4.1 90 * The wiki provisioning job has now the current user setted in the context.
Thomas Mortagne 1.1 91
92 = Translations =
93
94 The following translations have been updated:
95
96 {{language codes="none, none"/}}
97
98 = Tested Browsers & Databases =
99
100 {{include reference="TestReports.ManualTestReportTemplateSummary"/}}
101
102 = Known issues =
103
104 * [[Bugs we know about>>http://jira.xwiki.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=category+%3D+%22Top+Level+Projects%22+AND+issuetype+%3D+Bug+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC]]
105
106 = Backward Compatibility and Migration Notes =
107
108 == General Notes ==
109
110 When upgrading make sure you compare your ##xwiki.cfg##, ##xwiki.properties## and ##web.xml## files with the newest version since some configuration parameters may have been modified or added. Note that you should add ##xwiki.store.migration=1## so that XWiki will attempt to automatically migrate your current database to the new schema. Make sure you backup your Database before doing anything.
111
112 == Issues specific to XWiki <version> ==
113
114 <issues specific to the project>
115
116 == API Breakages ==
117
118 The following APIs were modified since <project> <version - 1>:
119
120 {{code language="none"}}
121 <clirr output here>
122 {{/code}}

Get Connected