Version 20.1 by Vincent Massol on 2013/04/21

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 Platform, XWiki Enterprise and XWiki Enterprise Manager. They share the same release notes as they are released together and have the same version.
6
Vincent Massol 17.1 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.
Thomas Mortagne 1.1 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
Thomas Mortagne 7.1 13 == New wiki mode in distribution wizard ==
Thomas Mortagne 1.1 14
Thomas Mortagne 7.1 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.
Thomas Mortagne 1.1 16
Thomas Mortagne 8.1 17 There is two modes:
Thomas Mortagne 7.1 18
Thomas Mortagne 5.1 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
Thomas Mortagne 6.1 24 {{image reference="upgrademode.png"/}}
Thomas Mortagne 5.1 25
Marius Dumitru Florea 13.1 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
Vincent Massol 16.1 32 == Miscellaneous ==
33
34 * Automatically register translations for the Annotations application
35
Vincent Massol 15.1 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
Thomas Mortagne 1.1 42 = For Developers =
43
Marius Dumitru Florea 10.1 44 == Joda Time plugin adds Duration API ==
Thomas Mortagne 1.1 45
Marius Dumitru Florea 11.1 46 The [[Joda Time plugin>>extensions:Extension.Joda Time Plugin]] API was extended with 2 new methods for creating durations. Here's an example:
Thomas Mortagne 1.1 47
Marius Dumitru Florea 10.1 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
Thomas Mortagne 1.1 59 == Deprecated and Retired projects ==
60
Vincent Massol 18.1 61 No deprecated nor retired projects in this release.
Thomas Mortagne 1.1 62
63 == Upgrades ==
64
65 The following dependencies have been upgraded:
66
67 * Groovy 2.1.3
Marius Dumitru Florea 9.1 68 * Joda Time 2.2
Thomas Mortagne 1.1 69
70 = Translations =
71
72 The following translations have been updated:
73
Vincent Massol 19.1 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"/}}
Thomas Mortagne 1.1 75
76 = Tested Browsers & Databases =
77
Vincent Massol 19.2 78 {{include reference="TestReports.ManualTestReportXWiki50RC1Summary"/}}
Thomas Mortagne 1.1 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
Thomas Mortagne 2.1 94 == Issues specific to XWiki 5.0 Release Candidate 1 ==
Thomas Mortagne 1.1 95
Vincent Massol 18.1 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}}
Thomas Mortagne 1.1 97
98 == API Breakages ==
99
Thomas Mortagne 2.1 100 The following APIs were modified since XWiki 4.5.3:
Thomas Mortagne 1.1 101
Vincent Massol 20.1 102 * [Young API] Made public by mistake:(((
Thomas Mortagne 1.1 103 {{code language="none"}}
Vincent Massol 20.1 104 org.xwiki.job.AbstractJob: Class org.xwiki.job.AbstractJob removed
Thomas Mortagne 1.1 105 {{/code}}
Vincent Massol 20.1 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.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
111 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
112 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
113 org.xwiki.extension.job.plan.ExtensionPlanAction: Method 'public java.util.Collection getPreviousExtensions()' has been added to an interface
114 {{/code}}
115 )))
116

Get Connected