Version 7.1 by Marius Dumitru Florea on 2015/02/19

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]], [[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
19 * The user/group displayer is now showing the wiki for local users/groups in edit mode too (the wiki was shown only in view mode previously).(((
20 {{image reference="userDisplayer-editMode-wiki.png" /}}
21 )))
22
23 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.
24
25 = For Developers =
26
27 == Mail Sender API Improvements ==
28
29 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).
30
31 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.
32
33 Also note that contrary to the previous API to send email to a group, the new API handles nested groups (i.e. if the ##XWiki.MyGroup## group contains other groups, all users of those other groups will also receive the template email)!
34
35 {{code language="none"}}
36 {{velocity}}
37 ## Parameters for the 'template' MimeMessageFactory
38 #set ($templateParameters = {'language' : $xcontext.language, 'velocityVariables' : { 'var1' : 'value1' }})
39
40 #set ($templateReference = $services.model.createDocumentReference('', 'Space', 'MailTemplatePage'))
41 #set ($parameters = {'hint' : 'template', 'parameters' : $templateParameters, 'source' : $templateReference})
42
43 #set ($groupReference = $services.model.createDocumentReference('', 'XWiki', 'MyGroup'))
44 #set ($user1Reference = $services.model.createDocumentReference('', 'XWiki', 'User1'))
45 #set ($user2Reference = $services.model.createDocumentReference('', 'XWiki', 'User2'))
46
47 #set ($source = {'groups' : [$groupReference], 'users' : [$user1Reference, $user2Reference], 'emails' : ['john@doe.com']})
48
49 #set ($messages = $services.mailsender.createMessages('usersandgroups', $source, $parameters))
50 #set ($mailResult = $services.mailsender.send($messages, 'database'))
51 {{/velocity}}
52 {{/code}}
53
54 == Deprecated and Retired projects ==
55
56 <description of deprecated and retired projects>
57
58 == Upgrades ==
59
60 The following dependencies have been upgraded:
61
62 * <list libraries that have been upgraded>
63
64 == Miscellaneous ==
65
66 * $datetool has a new method to access the [[DateFormatSymbols>>http://docs.oracle.com/javase/7/docs/api/java/text/DateFormatSymbols.html]]:(((
67 {{code language="none"}}
68 {{velocity}}
69 #set ($currentLocale = $services.localization.currentLocale)
70 #set ($dateFormatSymbols = $datetool.getDateFormatSymbols($currentLocale))
71 $jsontool.serialize($dateFormatSymbols.shortMonths)
72
73 ## Output for French locale:
74 ## ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""]
75 {{/velocity}}
76 {{/code}}
77 )))
78 * Message Stream script service now offers a ##getLastError()## method to get the last error.
79
80 = Translations =
81
82 The following translations have been updated:
83
84 {{language codes="none, none"/}}
85
86 = Tested Browsers & Databases =
87
88 {{include reference="TestReports.ManualTestReportTemplateSummary"/}}
89
90 = Performances tests compared to <last super stable version> =
91
92 <a summary of the comparison with latest super stable version>
93
94 More details on <link to the test report>.
95
96 = Known issues =
97
98 * [[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]]
99
100 = Backward Compatibility and Migration Notes =
101
102 == General Notes ==
103
104 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.
105
106 == Issues specific to XWiki <version> ==
107
108 <issues specific to the project>
109
110 == API Breakages ==
111
112 The following APIs were modified since XWiki 6.4.1:
113
114 {{code language="none"}}
115 <clirr output here>
116 {{/code}}

Get Connected