Version 49.2 by Marius Dumitru Florea on 2013/11/18

Show last authors
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 <insert description of release here>
8
9 = New and Noteworthy (since XWiki 5.3 Milestone 1) =
10
11 [[Full list of issues fixed and Dashboard for 5.3>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=11698]].
12
13 == Solr Search Improvements ==
14
15 === Search Facets ===
16
17 The display of some of the search facets has been improved. The Author and Creator facets now show the user full name, alias and avatar.
18
19 {{image reference="search-userFacet.png"/}}
20
21 The wiki facet displays the wiki pretty name instead of the wiki identifier.
22
23 {{image reference="search-wikiFacet.png"/}}
24
25 The language facet displays the full language name and country (when applicable) in the current locale.
26
27 {{image reference="search-languageFacet.png"/}}
28
29 The number of displayed facet values is limited to 5 by default but you can see the rest of the values by clicking on the link following the facet values (each click will show 5 more values).
30
31 The date facets (last modification date and creation date) have been improved to display a list of predefined date intervals, with the possibility to specify a custom date interval.
32
33 {{image reference="search-dateFacet.png"/}}
34
35 When selected, the date facet displays the end points of the date interval. If you specify only the start/end date then the interval will include all dates after/before the specified date.
36
37 {{image reference="search-dateFacet-selected.png"/}}
38
39 === RSS Feed ===
40
41 We added a RSS feed for Solr search results. You can find the link on the default search page after the list of results. The feed provides the most recent results that match the current search query and filters. It contains the same type of information that was included in the Lucene search RSS feed.
42
43 See the [[Solr Search Application documentation>>extensions:Extension.Solr Search Application]] for details.
44
45 == WikiStream improvements ==
46
47 === Script service improvements ===
48
49 * added a properties converter for ##WikiStreamType## to make easier to manipulate it from Velocity
50 * made APIs asynchronous
51
52 === Confluence XML input module for WikiStream ===
53
54 A new WikiStream input module has been added to parse [[Confluence backup packages>>https://confluence.atlassian.com/display/DOC/Exporting+Confluence+Pages+and+Spaces+to+XML]].
55
56 === New XHTML based Confluence syntax ===
57
58 Since 4.0 Confluence moved to a XHTML based syntax for page content. So in order to import recent version of Confluences a parser for this syntax had to be written first.
59
60 == New Syntax Guide ==
61
62 The Syntax Guide has been completely rewritten to better support growing number of syntaxes and make easier to add documentation for more others. For now it includes ##xwiki/1.0##, ##xwiki/2.0## and ##xwiki/2.1##.
63
64 {{image reference="helpui221.png"/}}
65
66 {{image reference="helpui222.png"/}}
67
68 == Multi-Wiki ==
69
70 * The "create wiki" wizard now offers the ability to create a new wiki template:(((
71 {{image reference="wizard-new-template.png"/}}
72 )))
73 * It is also possible to select the "user scope" of the new wiki. The user scope determines if local or global users are enabled, or both:(((
74 {{image reference="wizard-user-scope.png"/}}
75 )))
76 * When the user creates a wiki from a template, a new step is displayed in the wizard, while the system is provisioning the wiki:(((
77 {{image reference="wizard-provisioning.png"/}}
78 )))
79 * The "users" section in the administration of a (sub)wiki gives the opportunity to change the user scope setting, and the membership type too:(((
80 {{image reference="admin-wiki-users.png"/}}
81 )))
82 * In the "wikis" section of the administration of the main wiki, the created templates are displayed:(((
83 {{image reference="admin-wiki-template.png"/}}
84 )))
85 * It is also possible to edit wikis directly from the wiki index.
86
87 == Miscellaneous ==
88
89 * We're now officially not supporting saving Servlet Session in URL (a.k.a URL Rewriting). This means that if you want to remain logged on in XWiki you need to enable cookies (See why ##jsessionid## are considered harmful [[here>>https://randomcoder.org/articles/jsessionid-considered-harmful]] and [[here>>http://java.dzone.com/articles/java-jsessionid-harmful]]).
90 * The Statistics Application now has an entry point in the Applications Panel (only visible by Admins by default):(((
91 {{image reference="statsentry.png"/}}
92 )))
93 * The Scheduler Application now has an entry point in the Applications Panel (only visible by Admins by default):(((
94 {{image reference="schedulerentry.png"/}}
95 )))
96 * The URL Legacy JAR is now correctly bundled in the XE WAR. This is important since otherwise you'd need to set the URL configuration properties in your ##xwiki.properties## file in addition to setting them in ##xwiki.cfg##. For example ##url.standard.multiwiki.isPathBased## in ##xwiki.properties## **and** ##xwiki.virtual.usepath## in ##xwiki.cfg##).
97 * Deleted users do not appear anymore in the "Top Active Members" list in the wiki dashboard.
98
99 See the [[full list of JIRA issues>>http://jira.xwiki.org/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?jqlQuery=project+in+%28XCOMMONS%2C+XRENDERING%2C+XWIKI%2C+XE%2C+XEM%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+%3D+%225.3-milestone-2%22&tempMax=1000]] fixed in this release.
100
101 = For Developers =
102
103 == Multi-Wiki ==
104
105 * The modules {{code}}xwiki-platform-wiki-manager{{/code}} and {{code}}wiki-platform-workspaces{{/code}} are now replaced by the module {{code}}xwiki-platform-wiki{{/code}}, that now manages how (sub)wikis.
106
107 == Deprecated and Retired projects ==
108
109 * Workspace has been moved to https://github.com/xwiki-contrib/xwiki-platform-workspace
110
111 == Upgrades ==
112
113 The following dependencies have been upgraded:
114
115 * [[Groovy 2.1.9>>http://jira.xwiki.org/browse/XWIKI-9603]]
116 * [[Bouncy Castle Crypto package 1.49>>http://jira.xwiki.org/browse/XWIKI-9631]] (Warning: Not fully binary compatible)
117
118 == Miscellaneous ==
119
120 * New {{code language="none"}}com.xpn.xwiki.doc.XWikiDocument#getDocumentReferenceWithLocale(){{/code}} method to get the real reference of the document to use in {{code language="none"}}com.xpn.xwiki.XWiki#getDocument(DocumentReference, XWikiContext){{/code}} for example
121 * [[New Java API + a few new APIs in the Git module>>extensions:Extension.Git Module]]
122
123 = Translations =
124
125 The following translations have been updated:
126
127 {{language codes="none, none"/}}
128
129 = Tested Browsers & Databases =
130
131 {{include reference="TestReports.ManualTestReportXWiki53M2Summary"/}}
132
133 = Known issues =
134
135 * [[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]]
136
137 = Backward Compatibility and Migration Notes =
138
139 == General Notes ==
140
141 == General Notes ==
142
143 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.
144
145 == Issues specific to XWiki <version> ==
146
147 <issues specific to the project>
148
149 == API Breakages ==
150
151 The following APIs were modified since XWiki 5.2:
152
153 * Very young API. Never fully worked.
154
155 {{code language="none"}}
156 org.xwiki.xml.stax.SAXEventConsumer: Class org.xwiki.xml.stax.SAXEventConsumer removed
157 org.xwiki.xml.stax.SAXEventWriter: Removed org.xwiki.xml.stax.SAXEventConsumer from the list of superclasses
158 {{/code}}
159
160 * Requesting a dependency without indicating the namespace does not really make sense. This interface is not really supposed to be implemented anyway.
161
162 {{code language="none"}}
163 org.xwiki.extension.ExtensionManager: Method 'public org.xwiki.extension.Extension resolveExtension(org.xwiki.extension.ExtensionDependency, java.lang.String)' has been added to an interface
164 {{/code}}
165
166 * Needed to filter search by namespace. This interface is not really supposed to be implemented anyway.
167
168 {{code language="none"}}
169 org.xwiki.extension.repository.InstalledExtensionRepository: Method 'public org.xwiki.extension.repository.result.IterableResult searchInstalledExtensions(java.lang.String, java.lang.String, int, int)' has been added to an interface
170 {{/code}}
171
172 * Young API.
173
174 {{code language="none"}}
175 org.xwiki.filter.xml.serializer.XMLSerializerFactory: Method 'public java.lang.Object createSerializer(java.lang.Class[], javax.xml.transform.Result, org.xwiki.filter.xml.XMLConfiguration)' has been added to an interface
176 {{/code}}
177
178 * Young API that has been refactored to introduce the new Resource module.
179
180 {{code language="none"}}
181 org.xwiki.url.AbstractXWikiURL: Class org.xwiki.url.AbstractXWikiURL removed
182 org.xwiki.url.URLCreationException: Class org.xwiki.url.URLCreationException removed
183 org.xwiki.url.UnsupportedURLException: Class org.xwiki.url.UnsupportedURLException removed
184 org.xwiki.url.XWikiEntityURL: Class org.xwiki.url.XWikiEntityURL removed
185 org.xwiki.url.XWikiURL: Class org.xwiki.url.XWikiURL removed
186 org.xwiki.url.XWikiURLFactory: Class org.xwiki.url.XWikiURLFactory removed
187 org.xwiki.url.XWikiURLManager: Class org.xwiki.url.XWikiURLManager removed
188 org.xwiki.url.XWikiURLSerializer: Class org.xwiki.url.XWikiURLSerializer removed
189 org.xwiki.url.XWikiURLType: Class org.xwiki.url.XWikiURLType removed
190 {{/code}}
191
192 * XWikiURL (now Resource) should only be in the Execution Context and not in the Request.
193
194 {{code language="none"}}
195 org.xwiki.container.servlet.ServletRequest: Method 'public org.xwiki.url.XWikiURL getURL()' has been removed
196 org.xwiki.container.servlet.ServletRequest: Method 'public void setXWikiURL(org.xwiki.url.XWikiURL)' has been removed
197 org.xwiki.container.portlet.PortletRequest: Method 'public org.xwiki.url.XWikiURL getURL()' has been removed
198 org.xwiki.container.portlet.PortletRequest: Method 'public void setXWikiURL(org.xwiki.url.XWikiURL)' has been removed
199 org.xwiki.container.Request: Field XWIKI_URL has been removed, but it was previously a constant
200 {{/code}}

Get Connected