Wiki source code of Release Notes for XWiki 6.4.1
Version 14.1 by Vincent Massol on 2015/01/23
Show last authors
author | version | line-number | content |
---|---|---|---|
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 | This release is a stabilization version that fix important bugs discovered in the 6.4.1 version. | ||
8 | |||
9 | = New and Noteworthy (since XWiki 6.4) = | ||
10 | |||
11 | [[Full list of issues fixed and Dashboard for 6.4.1>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=13002]]. | ||
12 | |||
13 | == Full Issue List == | ||
14 | |||
15 | {{jira style="list" url="http://jira.xwiki.org" fields="type, status, key, summary" source="jql"}} | ||
16 | category in ("Top Level Projects") AND fixVersion in ("6.4.1") AND resolution in (Fixed) and component not in ("Development Issues only") | ||
17 | {{/jira}} | ||
18 | |||
19 | = Translations = | ||
20 | |||
21 | The following translations have been updated: | ||
22 | |||
23 | {{language codes="xx,xx"/}} | ||
24 | |||
25 | = Tested Browsers & Databases = | ||
26 | |||
27 | {{include reference="TestReports.ManualTestReportXWiki641Summary"/}} | ||
28 | |||
29 | = Known issues = | ||
30 | |||
31 | * [[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]] | ||
32 | |||
33 | = Backward Compatibility and Migration Notes = | ||
34 | |||
35 | == General Notes == | ||
36 | |||
37 | 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. | ||
38 | |||
39 | == Issues specific to XWiki 6.4.1 == | ||
40 | |||
41 | * The Mail Sender API has changed slightly when sending emails to a list of users or to a group. For example if you wanted to send a template email to a group, you previously had to write:((( | ||
42 | {{code language="none"}} | ||
43 | ## Parameters for the 'template' MimeMessageFactory | ||
44 | #set ($templateParameters = {'language' : $xcontext.language, 'velocityVariables' : { 'var1' : 'value1' }}) | ||
45 | |||
46 | ## Parameters for the 'group' MimeMessage Iterator Factory | ||
47 | #set ($templateReference = $services.model.createDocumentReference('', 'Space', 'MailTemplatePage')) | ||
48 | #set ($parameters = {'parameters' : $parameters, 'source' : $templateReference }) | ||
49 | |||
50 | #set ($groupReference = $services.model.createDocumentReference('', 'XWiki', 'MyGroup')) | ||
51 | #set ($messages = $services.mailsender.createMessages('group', $groupReference, 'template', $parameters)) | ||
52 | ^^^^^^^^^^ | ||
53 | #set ($mailResult = $services.mailsender.send($messages, 'database')) | ||
54 | {{/code}} | ||
55 | |||
56 | And now in 6.4.1 you'll need to write: | ||
57 | |||
58 | {{code language="none"}} | ||
59 | ## Parameters for the 'template' MimeMessageFactory | ||
60 | #set ($templateParameters = {'language' : $xcontext.language, 'velocityVariables' : { 'var1' : 'value1' }}) | ||
61 | |||
62 | ## Parameters for the 'group' MimeMessageFactory | ||
63 | #set ($templateReference = $services.model.createDocumentReference('', 'Space', 'MailTemplatePage')) | ||
64 | #set ($groupParameters = {'hint' : 'template', 'parameters' : $templateParameters, 'source' : $templateReference }) | ||
65 | ^^^^^^^^^^^^^^^^^^^ | ||
66 | #set ($groupReference = $services.model.createDocumentReference('', 'XWiki', 'MyGroup')) | ||
67 | #set ($messages = $services.mailsender.createMessages('group', $groupReference, $groupParameters)) | ||
68 | #set ($mailResult = $services.mailsender.send($messages, 'database')) | ||
69 | {{/code}} | ||
70 | ))) | ||
71 | |||
72 | == API Breakages == | ||
73 | |||
74 | TODO |