Version 57.1 by Thomas Mortagne on 2013/11/20

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 This release comes with a new syntax quide, an improved faceted search and the ability to import content from Confluence wiki. Also, the wiki creation wizard has now support for creating wiki templates and for choosing the user scope (local, global or both). This release also includes a lot of bug fixes (33) and a few improvements (19) so you should definitely check it out.
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 === New WikiStream application ===
48
49 A new generic UI has been introduced to manipulate WikiStream modules easily. See [[extensions:Extension.XWiki Platform - WikiStream - UI]] for more details.
50
51 === Script service improvements ===
52
53 * added a properties converter for ##WikiStreamType## to make easier to manipulate it from Velocity
54 * made APIs asynchronous
55
56 === Confluence XML input module for WikiStream ===
57
58 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]].
59
60 === New XHTML based Confluence syntax ===
61
62 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.
63
64 == New Syntax Guide ==
65
66 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##.
67
68 {{image reference="helpui221.png"/}}
69
70 {{image reference="helpui222.png"/}}
71
72 == Multi-Wiki ==
73
74 * The "create wiki" wizard now offers the ability to create a new wiki template:(((
75 {{image reference="wizard-new-template.png"/}}
76 )))
77 * 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:(((
78 {{image reference="wizard-user-scope.png"/}}
79 )))
80 * When the user creates a wiki from a template, a new step is displayed in the wizard, while the system is provisioning the wiki:(((
81 {{image reference="wizard-provisioning.png"/}}
82 )))
83 * The "users" section in the administration of a (sub)wiki gives the opportunity to change the user scope setting, and the membership type too:(((
84 {{image reference="admin-wiki-users.png"/}}
85 )))
86 * In the "wikis" section of the administration of the main wiki, the created templates are displayed:(((
87 {{image reference="admin-wiki-template.png"/}}
88 )))
89 * It is also possible to edit wikis directly from the wiki index.
90 * All the documentation is available on the [[application page>>extensions:Extension.Wiki Application]].
91
92 == Miscellaneous ==
93
94 * 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]]).
95 * The Statistics Application now has an entry point in the Applications Panel (only visible by Admins by default):(((
96 {{image reference="statsentry.png"/}}
97 )))
98 * The Scheduler Application now has an entry point in the Applications Panel (only visible by Admins by default):(((
99 {{image reference="schedulerentry.png"/}}
100 )))
101 * 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##).
102 * Deleted users do not appear anymore in the "Top Active Members" list in the wiki dashboard.
103
104 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.
105
106 = For Developers =
107
108 == Multi-Wiki ==
109
110 * 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 are created and how users can access to them.
111
112 == Deprecated and Retired projects ==
113
114 * Workspace has been moved to https://github.com/xwiki-contrib/xwiki-platform-workspace
115
116 == Upgrades ==
117
118 The following dependencies have been upgraded:
119
120 * [[Groovy 2.1.9>>http://jira.xwiki.org/browse/XWIKI-9603]]
121 * [[Bouncy Castle Crypto package 1.49>>http://jira.xwiki.org/browse/XWIKI-9631]] (Warning: Not fully binary compatible)
122
123 == Miscellaneous ==
124
125 * 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
126 * [[New Java API + a few new APIs in the Git module>>extensions:Extension.Git Module]]
127
128 = Translations =
129
130 The following translations have been updated:
131
132 {{language codes="de, fr, it, lv, ru, sv, uk"/}}
133
134 = Tested Browsers & Databases =
135
136 {{include reference="TestReports.ManualTestReportXWiki53M2Summary"/}}
137
138 = Known issues =
139
140 * [[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]]
141
142 = Backward Compatibility and Migration Notes =
143
144 == General Notes ==
145
146 == General Notes ==
147
148 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.
149
150 == API Breakages ==
151
152 The following APIs were modified since XWiki 5.2.1:
153
154 * Requesting a dependency without indicating the namespace does not really make sense. This interface is not really supposed to be implemented anyway.
155
156 {{code language="none"}}
157 org.xwiki.extension.ExtensionManager: Method 'public org.xwiki.extension.Extension resolveExtension(org.xwiki.extension.ExtensionDependency, java.lang.String)' has been added to an interface
158 {{/code}}
159
160 * Needed to filter search by namespace. This interface is not really supposed to be implemented anyway.
161
162 {{code language="none"}}
163 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
164 {{/code}}
165
166 * Young API.
167
168 {{code language="none"}}
169 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
170 {{/code}}
171
172 * Young API that has been refactored to introduce the new Resource module.
173
174 {{code language="none"}}
175 org.xwiki.url.AbstractXWikiURL: Class org.xwiki.url.AbstractXWikiURL removed
176 org.xwiki.url.URLCreationException: Class org.xwiki.url.URLCreationException removed
177 org.xwiki.url.UnsupportedURLException: Class org.xwiki.url.UnsupportedURLException removed
178 org.xwiki.url.XWikiEntityURL: Class org.xwiki.url.XWikiEntityURL removed
179 org.xwiki.url.XWikiURL: Class org.xwiki.url.XWikiURL removed
180 org.xwiki.url.XWikiURLFactory: Class org.xwiki.url.XWikiURLFactory removed
181 org.xwiki.url.XWikiURLManager: Class org.xwiki.url.XWikiURLManager removed
182 org.xwiki.url.XWikiURLSerializer: Class org.xwiki.url.XWikiURLSerializer removed
183 org.xwiki.url.XWikiURLType: Class org.xwiki.url.XWikiURLType removed
184 {{/code}}
185
186 * XWikiURL (now Resource) should only be in the Execution Context and not in the Request.
187
188 {{code language="none"}}
189 org.xwiki.container.servlet.ServletRequest: Method 'public org.xwiki.url.XWikiURL getURL()' has been removed
190 org.xwiki.container.servlet.ServletRequest: Method 'public void setXWikiURL(org.xwiki.url.XWikiURL)' has been removed
191 org.xwiki.container.portlet.PortletRequest: Method 'public org.xwiki.url.XWikiURL getURL()' has been removed
192 org.xwiki.container.portlet.PortletRequest: Method 'public void setXWikiURL(org.xwiki.url.XWikiURL)' has been removed
193 org.xwiki.container.Request: Field XWIKI_URL has been removed, but it was previously a constant
194 {{/code}}

Get Connected