Version 5.2 by Vincent Massol on 2015/02/16

Hide last authors
Marius Dumitru Florea 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 7.0 Milestone 1) =
10
11 [[Full list of issues fixed and Dashboard for 7.0>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=13092]].
12
13 == <feature N> ==
14
15 <description of feature N>
16
17 == Miscellaneous ==
18
Vincent Massol 4.1 19 * TODO
Marius Dumitru Florea 1.1 20
21 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+%227.0-milestone-2%22&tempMax=1000]] fixed in this release.
22
23 = For Developers =
24
Vincent Massol 5.2 25 == Mail Sender API Improvements ==
Marius Dumitru Florea 1.1 26
Vincent Massol 5.1 27 The [[Mail Sender API>>extensions:Extension.Mail Sender API]] has been improved to allow sending mails to a list of users, a list of groups and a list of email addresses, all at once. It also supports excluding users, groups and email addresses. Last, it ensures that recipients don't get duplicate mails. Before 6.4.2/7.0M2, you could send a mail either to a list of users or to a group (and to an email address) but you had to use several API calls for that and you had to handle yourself potential mail duplication (if a user was inside your user list and inside the group you were sending to for example).
Marius Dumitru Florea 1.1 28
Vincent Massol 5.1 29 Using the new API, the following example will send a template email to all the users in the ##XWiki.MyGroup## group, to the ##XWiki.User1## and ##XWiki.User2## users + to the ##john@doe.com## email address.
30
31 {{code language="none"}}
32 {{velocity}}
33 ## Parameters for the 'template' MimeMessageFactory
34 #set ($templateParameters = {'language' : $xcontext.language, 'velocityVariables' : { 'var1' : 'value1' }})
35
36 #set ($templateReference = $services.model.createDocumentReference('', 'Space', 'MailTemplatePage'))
37 #set ($parameters = {'hint' : 'template', 'parameters' : $templateParameters, 'source' : $templateReference})
38
39 #set ($groupReference = $services.model.createDocumentReference('', 'XWiki', 'MyGroup'))
40 #set ($user1Reference = $services.model.createDocumentReference('', 'XWiki', 'User1'))
41 #set ($user2Reference = $services.model.createDocumentReference('', 'XWiki', 'User2'))
42
43 #set ($source = {'groups' : [$groupReference], 'users' : [$user1Reference, $user2Reference], 'emails' : ['john@doe.com']})
44
45 #set ($messages = $services.mailsender.createMessages('usersandgroups', $source, $parameters))
46 #set ($mailResult = $services.mailsender.send($messages, 'database'))
47 {{/velocity}}
48 {{/code}}
49
Marius Dumitru Florea 1.1 50 == Deprecated and Retired projects ==
51
52 <description of deprecated and retired projects>
53
54 == Upgrades ==
55
56 The following dependencies have been upgraded:
57
58 * <list libraries that have been upgraded>
59
60 == Miscellaneous ==
61
Marius Dumitru Florea 2.1 62 * $datetool has a new method to access the [[DateFormatSymbols>>http://docs.oracle.com/javase/7/docs/api/java/text/DateFormatSymbols.html]]:(((
63 {{code language="none"}}
64 {{velocity}}
65 #set ($currentLocale = $services.localization.currentLocale)
66 #set ($dateFormatSymbols = $datetool.getDateFormatSymbols($currentLocale))
67 $jsontool.serialize($dateFormatSymbols.shortMonths)
Marius Dumitru Florea 1.1 68
Marius Dumitru Florea 2.1 69 ## Output for French locale:
70 ## ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""]
71 {{/velocity}}
72 {{/code}}
73 )))
Vincent Massol 4.1 74 * Message Stream script service now offers a ##getLastError()## method to get the last error.
Marius Dumitru Florea 2.1 75
Marius Dumitru Florea 1.1 76 = Translations =
77
78 The following translations have been updated:
79
80 {{language codes="none, none"/}}
81
82 = Tested Browsers & Databases =
83
84 {{include reference="TestReports.ManualTestReportTemplateSummary"/}}
85
86 = Performances tests compared to <last super stable version> =
87
88 <a summary of the comparison with latest super stable version>
89
90 More details on <link to the test report>.
91
92 = Known issues =
93
94 * [[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]]
95
96 = Backward Compatibility and Migration Notes =
97
98 == General Notes ==
99
100 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.
101
102 == Issues specific to XWiki <version> ==
103
104 <issues specific to the project>
105
106 == API Breakages ==
107
108 The following APIs were modified since XWiki 6.4.1:
109
110 {{code language="none"}}
111 <clirr output here>
112 {{/code}}

Get Connected