Version 13.1 by Vincent Massol on 2013/06/24

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 <insert description of release here>
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
13 == Solr improvements ==
14
15 * 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)
16 * ##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)
17 * ##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)
18
19 == Miscellaneous ==
20
21 * We changed the dashboard to display the gadget actions when hovering the gadget.(((
22 {{image reference="gadgetActions.png"/}}
23 )))
24
25 == Full Issue List ==
26
27 {{jira style="list" url="http://jira.xwiki.org" fields="type, status, key, summary" source="jql"}}
28 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")
29 {{/jira}}
30
31 = For Developers =
32
33 == Merging WARs with Packager plugin ==
34
35 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:
36
37 {{code language="xml"}}
38 <plugin>
39 <groupId>org.xwiki.platform</groupId>
40 <artifactId>xwiki-platform-tool-packager-plugin</artifactId>
41 ...
42 <configuration>
43 <contextPathMapping>
44 <!-- Merge the WYSIWYG editor WAR with the platform web WAR. -->
45 <xwiki-platform-wysiwyg-war>xwiki</xwiki-platform-wysiwyg-war>
46 </contextPathMapping>
47 </configuration>
48 </plugin>
49 {{/code}}
50
51 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:
52
53 {{code language="none"}}
54 xwiki-platform-web: xwiki
55 xwiki-platform-tool-rootwebapp: root
56 {{/code}}
57
58 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.
59
60 == Miscellaneous ==
61
62 * It's now possible to write Rendering Integration tests using Mockito. For example: (((
63 {{code language="java"}}
64 @RunWith(RenderingTestSuite.class)
65 @RenderingTestSuite.Scope("wiki")
66 @AllComponents
67 public class WikiIntegrationTests
68 {
69 @RenderingTestSuite.Initialized
70 public void initialize(MockitoComponentManager componentManager) throws Exception
71 {
72 componentManager.registerComponent(MockWikiModel.getComponentDescriptor());
73
74 // Add InterWiki Definition for links28 test
75 DefaultRenderingConfiguration renderingConfiguration =
76 (DefaultRenderingConfiguration) componentManager.getInstance(RenderingConfiguration.class);
77 renderingConfiguration.addInterWikiDefinition("knownalias", "http://server/common/url/");
78 }
79 }
80 {{/code}}
81 )))
82
83 == Deprecated and Retired projects ==
84
85 <description of deprecated and retired projects>
86
87 == Upgrades ==
88
89 The following dependencies have been upgraded:
90
91 * [[Groovy 2.1.5>>http://jira.xwiki.org/browse/XCOMMONS-413]]
92
93 == Miscellaneous ==
94
95 * Jobs don't share the same ##ExecutionContext## anymore.
96 * 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##.
97 * A new Runnable wrapper to initialize and dispose ##ExecutionContext##:(((
98 {{code language="java"}}
99 Thread thread = new Thread(new ExecutionContextRunnable(runnable, componentManger));
100 thread.start();
101 {{/code}}
102 )))
103 * A new method to add a custom Job to the JobManager:(((
104 {{code language="java"}}
105 Job myjob = new MyJob();
106 this.jobManager.addJob(myjob);
107 {{/code}}
108 )))
109
110 = Translations =
111
112 The following translations have been updated:
113
114 {{language codes="none, none"/}}
115
116 = Tested Browsers & Databases =
117
118 {{include reference="TestReports.ManualTestReportTemplateSummary"/}}
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 == Issues specific to XWiki <version> ==
135
136 <issues specific to the project>
137
138 == API Breakages ==
139
140 The following APIs were modified since <project> <version - 1>:
141
142 {{code language="none"}}
143 <clirr output here>
144 {{/code}}

Get Connected