Version 20.1 by Marius Dumitru Florea on 2013/06/27

Hide last authors
Vincent Massol 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
Marius Dumitru Florea 20.1 7 This is mostly a stabilization release leading to XWiki 5.1 and it brings Sorl search improvements and bug fixes as we plan to make Solr the default search engine in 5.1 final. There is also a new Menu Application in platform (not bundled by default) to help you create navigation menus.
Vincent Massol 1.1 8
9 = New and Noteworthy (since XWiki 5.1 Milestone 2) =
10
11 [[Full list of issues fixed and Dashboard for 5.1>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=11595]].
12
Marius Dumitru Florea 17.1 13 == Menu Application ==
14
Marius Dumitru Florea 19.1 15 We have rewritten the [[Navigation Menu Wiki Macro>>doc:extensions:Extension.Navigation Menu Wiki Macro]] and the [[Navigation Menu Config Application>>doc:extensions:Extension.NavigationMenuConfig]] into a single application that can help you create navigation menus to be displayed either horizontally as a top bar after the page header or vertically in a side panel. See the documentation page of the new [[Menu Application>>doc:extensions:Extension.Menu Application]] for details.
Marius Dumitru Florea 17.1 16
Marius Dumitru Florea 19.1 17 {{image reference="menuViewPage.png"/}}
18
Thomas Mortagne 11.1 19 == Solr improvements ==
Vincent Massol 1.1 20
Thomas Mortagne 11.1 21 * at each startup a synchronization background job is started to make sure solr index and database are in sync (only update what needs to be updated)
Thomas Mortagne 12.1 22 * ##name_exact## property has been added to document model in solr index to allow doing exact matching on a document (for example when search a specific document and several have similar names)
23 * ##doclocale## property is now stored in Solr index to indicate the technical locale of the document in database (##locale## contains the real locale after resolving default locale for default entry)
Vincent Massol 1.1 24
25 == Miscellaneous ==
26
Marius Dumitru Florea 8.1 27 * We changed the dashboard to display the gadget actions when hovering the gadget.(((
28 {{image reference="gadgetActions.png"/}}
29 )))
Marius Dumitru Florea 15.3 30 * More documents marked as hidden by default: ##Blog.News, Blog.Other, Blog.Personal, Main.Activity, Main.MessageSenderMacro, Main.Tags, Sandbox.WebPreferences, XWiki.WebHome, XWiki.XWikiAdminGroup, XWiki.XWikiAllGroup, XWiki.SearchConfig##
Vincent Massol 1.1 31
Vincent Massol 3.1 32 == Full Issue List ==
Vincent Massol 1.1 33
Vincent Massol 3.1 34 {{jira style="list" url="http://jira.xwiki.org" fields="type, status, key, summary" source="jql"}}
35 Project in ("XWiki Commons", "XWiki Rendering", "XWiki Platform", "XWiki Enterprise", "XWiki Enterprise Manager") and fixVersion in ("5.1-rc-1") and resolution in ("Fixed") and component not in ("Build, Infrastructure and Tests")
36 {{/jira}}
37
Vincent Massol 1.1 38 = For Developers =
39
Marius Dumitru Florea 6.1 40 == Merging WARs with Packager plugin ==
Vincent Massol 1.1 41
Marius Dumitru Florea 6.1 42 We added a ##contextPathMapping## configuration parameter to the Packager Maven plugin to allow us to bind WAR artifact IDs to the context path where they should be extracted. Here's an example:
Vincent Massol 1.1 43
Marius Dumitru Florea 6.1 44 {{code language="xml"}}
45 <plugin>
46 <groupId>org.xwiki.platform</groupId>
47 <artifactId>xwiki-platform-tool-packager-plugin</artifactId>
48 ...
49 <configuration>
50 <contextPathMapping>
51 <!-- Merge the WYSIWYG editor WAR with the platform web WAR. -->
52 <xwiki-platform-wysiwyg-war>xwiki</xwiki-platform-wysiwyg-war>
53 </contextPathMapping>
54 </configuration>
55 </plugin>
56 {{/code}}
57
58 The Packager plugin looks for WAR artifacts in the list of dependencies. If no WAR-type dependencies are found then the following WARs are used, with the corresponding default context path binding:
59
60 {{code language="none"}}
61 xwiki-platform-web: xwiki
62 xwiki-platform-tool-rootwebapp: root
63 {{/code}}
64
65 If more WARs share the same context path then they are merged. Of course, in this case the order in the list of dependencies is important because the last WAR can overwrite files from the previous ones. When no mapping is defined for a WAR, its artifact id is used instead as context path.
66
Vincent Massol 13.1 67 == Miscellaneous ==
68
Vincent Massol 14.1 69 * Jobs don't share the same ##ExecutionContext## anymore.
70 * The WYSIWYG editor administration section has been moved from the [[Administration Application>>doc:extensions:Extension.Administration Application]] to its own module under ##xwiki-platform-wysiwyg##.
71 * A new Runnable wrapper to initialize and dispose ##ExecutionContext##:(((
72 {{code language="java"}}
73 Thread thread = new Thread(new ExecutionContextRunnable(runnable, componentManger));
74 thread.start();
75 {{/code}}
76 )))
77 * A new method to add a custom Job to the JobManager:(((
78 {{code language="java"}}
79 Job myjob = new MyJob();
80 this.jobManager.addJob(myjob);
81 {{/code}}
82 )))
Marius Dumitru Florea 15.3 83 * It's now possible to write Rendering Integration tests using Mockito. For example:(((
Vincent Massol 13.1 84 {{code language="java"}}
85 @RunWith(RenderingTestSuite.class)
86 @RenderingTestSuite.Scope("wiki")
87 @AllComponents
88 public class WikiIntegrationTests
89 {
90 @RenderingTestSuite.Initialized
91 public void initialize(MockitoComponentManager componentManager) throws Exception
92 {
93 componentManager.registerComponent(MockWikiModel.getComponentDescriptor());
94
95 // Add InterWiki Definition for links28 test
96 DefaultRenderingConfiguration renderingConfiguration =
97 (DefaultRenderingConfiguration) componentManager.getInstance(RenderingConfiguration.class);
98 renderingConfiguration.addInterWikiDefinition("knownalias", "http://server/common/url/");
99 }
100 }
101 {{/code}}
102 )))
103
Vincent Massol 1.1 104 == Upgrades ==
105
106 The following dependencies have been upgraded:
107
Vincent Massol 2.1 108 * [[Groovy 2.1.5>>http://jira.xwiki.org/browse/XCOMMONS-413]]
Vincent Massol 1.1 109
110 = Translations =
111
112 The following translations have been updated:
113
114 {{language codes="none, none"/}}
115
116 = Tested Browsers & Databases =
117
Manuel Smeria 15.2 118 {{include reference="TestReports.ManualTestReportXWiki51RC1Summary"/}}
Vincent Massol 1.1 119
120 = Known issues =
121
122 * [[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]]
123
124 = Backward Compatibility and Migration Notes =
125
126 == General Notes ==
127
128 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
129
130 {{warning}}
131 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.
132 {{/warning}}
133
134 == API Breakages ==
135
Marius Dumitru Florea 16.1 136 The following APIs were modified since XWiki 5.0.3:
Vincent Massol 1.1 137
138 {{code language="none"}}
139 <clirr output here>
140 {{/code}}

Get Connected