Version 21.1 by Vincent Massol on 2013/04/21

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 This is the release notes for XWiki Platform, XWiki Enterprise and XWiki Enterprise Manager. They share the same release notes as they are released together and have the same version.
6
7 This is mostly a stabilization release leading to 5.0 but we included a few bonus items: Distribution Wizard improvements to support multiwiki use cases and the ability to see which extensions have updates.
8
9 = New and Noteworthy (since XWiki 5.0 M2) =
10
11 [[Full list of issues fixed and Dashboard for 5.0>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=11493]].
12
13 == New wiki mode in distribution wizard ==
14
15 By default you can now get the same distribution wizard you used to have for main wiki only on subwikis too. When enabled it means that each wiki administrator is able to take care of his own wiki upgrade and farm administrator will only deal with main wiki.
16
17 There is two modes:
18
19 * ALL IN ONE: the former Distribution Wizard behavior where everything is done at main wiki level
20 * WIKI: on main wiki only the main wiki is upgraded and each wiki gets its own Distribution Wizard and its own status
21
22 A new step to setup the upgrade mode has been added.
23
24 {{image reference="upgrademode.png"/}}
25
26 == Extension Updater ==
27
28 We added a new section to the [[Extension Manager>>extensions:Extension.Extension Manager Application]] administration UI that lists the available extension updates.
29
30 {{image reference="EM-extensionUpdater.png"/}}
31
32 == Miscellaneous ==
33
34 * Automatically register translations for the Annotations application
35
36 == Full Issue List ==
37
38 {{jira style="list" url="http://jira.xwiki.org" fields="type, status, key, summary" source="jql"}}
39 Project in ("XWiki Commons", "XWiki Rendering", "XWiki Platform", "XWiki Enterprise", "XWiki Enterprise Manager") and fixVersion in ("5.0-rc-1") and resolution in ("Fixed") and component not in ("Build, Infrastructure and Tests")
40 {{/jira}}
41
42 = For Developers =
43
44 == Joda Time plugin adds Duration API ==
45
46 The [[Joda Time plugin>>extensions:Extension.Joda Time Plugin]] API was extended with 2 new methods for creating durations. Here's an example:
47
48 {{code language="none"}}
49 {{velocity}}
50 #set ($endDate = $xwiki.jodatime.getDateTime($endDateTimeStamp))
51 #set ($currentDate = $xwiki.jodatime.getDateTime())
52 #set ($duration = $xwiki.jodatime.getDuration($endDate, $currentDate))
53 The number of days passed since the end date is: $duration.standardDays
54 {{/velocity}}
55 {{/code}}
56
57 Check the [[Duration javadoc>>http://joda-time.sourceforge.net/apidocs/org/joda/time/Duration.html]] for more information.
58
59 == Deprecated and Retired projects ==
60
61 No deprecated nor retired projects in this release.
62
63 == Upgrades ==
64
65 The following dependencies have been upgraded:
66
67 * Groovy 2.1.3
68 * Joda Time 2.2
69
70 = Translations =
71
72 The following translations have been updated:
73
74 {{language codes="ca,cs,da,de,es,fr,gl,it,ko,lv,nl,pt,pt_BR,ro,ru,sk,sv,uk,zh,zh_TW"/}}
75
76 = Tested Browsers & Databases =
77
78 {{include reference="TestReports.ManualTestReportXWiki50RC1Summary"/}}
79
80 = Known issues =
81
82 * [[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]]
83
84 = Backward Compatibility and Migration Notes =
85
86 == General Notes ==
87
88 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
89
90 {{warning}}
91 Always make sure you compare your ##xwiki.cfg## and ##xwiki.properties## files with the newest version since some configuration parameters were 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.
92 {{/warning}}
93
94 == Issues specific to XWiki 5.0 Release Candidate 1 ==
95
96 * The ##xwikistringlists## table added in 5.0M2 has been removed and that change is postponed to 5.1M1 due to serious migration issues. {{warning}}Migration from release 5.0M2 to any newer version will be broken{{/warning}}
97
98 == API Breakages ==
99
100 The following APIs were modified since XWiki 4.5.3:
101
102 * [Young API] Made public by mistake:(((
103 {{code language="none"}}
104 org.xwiki.job.AbstractJob: Class org.xwiki.job.AbstractJob removed
105 {{/code}}
106 )))
107 * [Young API] Interfaces missing methods for uninstalling an Extension and the notion of "Features" means that an upgraded extension can have several previous extensions:(((
108 {{code language="none"}}
109 org.xwiki.extension.handler.ExtensionHandler: Method 'public void uninstall(org.xwiki.extension.InstalledExtension, java.lang.String, org.xwiki.job.Request)' has been added to an interface
110 org.xwiki.extension.handler.ExtensionHandlerManager: Method 'public void uninstall(org.xwiki.extension.InstalledExtension, java.lang.String, org.xwiki.job.Request)' has been added to an interface
111 {{/code}}
112 )))
113 * [Young API] The notion of "Features" means that an upgraded extension can have several previous extensions:(((
114 {{code language="none"}}
115 org.xwiki.extension.handler.ExtensionHandler: Method 'public void upgrade(java.util.Collection, org.xwiki.extension.LocalExtension, java.lang.String, org.xwiki.job.Request)' has been added to an interface
116 org.xwiki.extension.handler.ExtensionHandlerManager: Method 'public void upgrade(java.util.Collection, org.xwiki.extension.LocalExtension, java.lang.String, org.xwiki.job.Request)' has been added to an interface
117 org.xwiki.extension.job.plan.ExtensionPlanAction: Method 'public java.util.Collection getPreviousExtensions()' has been added to an interface
118 {{/code}}
119 )))

Get Connected