Version 15.1 by Vincent Massol on 2014/09/19

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:(((
Guillaume Delhumeau 14.1 27 {{image reference="templateerror.png" width="650px"/}}
Vincent Massol 10.1 28 )))
Guillaume Delhumeau 14.1 29 * We have created dedicated groups for Colibri and Flamingo Themes inside the Administration. Every themes can be used with both skins but they looks better when they are used with the corresponding theme.(((
30 {{image reference="ColorThemeDisplayer.png"/}}
31 )))
Thomas Mortagne 1.1 32
33 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.
34
35 = For Developers =
36
Marius Dumitru Florea 7.2 37 == Velocity macros to display users and groups ==
Thomas Mortagne 1.1 38
Marius Dumitru Florea 7.1 39 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 40
Marius Dumitru Florea 7.1 41 {{code language="none"}}
42 {{velocity}}
43 {{html wiki="true"}}
44 = Users =
45 == Just one ==
46 #displayUser('XWiki.Admin')
47
48 == List of users ==
49 #displayUser(['Admin', 'XWiki.mflorea'])
50
51 == A reference of a user ==
52 #displayUser($xcontext.userReference)
53
54 == A list of references of users ==
55 #displayUser([$xcontext.userReference, $otherUserReference])
56
57 = Groups =
58 == Just one ==
59 #displayGroup('XWiki.XWikiAdminGroup')
60
61 == List of groups ==
62 #displayGroup(['XWikiAdminGroup','XWiki.HRGroup'])
63
64 == A reference of a group ==
65 #set($adminGroupRef = $services.model.resolveDocument('XWiki.XWikiAdminGroup'))
66 #set($allGroupRef = $services.model.resolveDocument('XWiki.XWikiAllGroup'))
67 #displayGroup($adminGroupRef)
68
69 == A list of references of groups ==
70 #displayGroup([$adminGroupRef, $allGroupRef])
71
72 {{/html}}
73 {{/velocity}}
74 {{/code}}
75
Vincent Massol 15.1 76 == New Velocity Tools =
Clemens Robbenhaar 12.1 77
Vincent Massol 15.1 78 * New URL Tool ##$urltool##: 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. 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.
79 * New Exception Tool ##$exceptiontool##: A [[new tool>>extensions:Extension.Velocity Module||anchor="HVelocityTools"]] to manipulate Java Exceptions (get root cause, convert into String, etc).
Clemens Robbenhaar 12.1 80
Thomas Mortagne 1.1 81 == Deprecated and Retired projects ==
82
83 <description of deprecated and retired projects>
84
85 == Upgrades ==
86
87 The following dependencies have been upgraded:
88
Thomas Mortagne 2.1 89 * [[JGroups 3.5.0>>http://jira.xwiki.org/browse/XWIKI-10987]]
Thomas Mortagne 1.1 90
91 == Miscellaneous ==
92
Guillaume Delhumeau 4.1 93 * The wiki provisioning job has now the current user setted in the context.
Thomas Mortagne 1.1 94
95 = Translations =
96
97 The following translations have been updated:
98
99 {{language codes="none, none"/}}
100
101 = Tested Browsers & Databases =
102
103 {{include reference="TestReports.ManualTestReportTemplateSummary"/}}
104
105 = Known issues =
106
107 * [[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]]
108
109 = Backward Compatibility and Migration Notes =
110
111 == General Notes ==
112
113 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.
114
115 == Issues specific to XWiki <version> ==
116
117 <issues specific to the project>
118
119 == API Breakages ==
120
121 The following APIs were modified since <project> <version - 1>:
122
123 {{code language="none"}}
124 <clirr output here>
125 {{/code}}

Get Connected