Version 94.1 by Thomas Mortagne on 2014/03/26

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 is the first release for the 6.x cycle. It introduces the move to Java 7 as minimum version, a new experimental skin and various improvements on existing features.
8
9 = New and Noteworthy (since XWiki 5.4) =
10
11 [[Full list of issues fixed and Dashboard for 6.0>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=12193]].
12
13 == Moved to Java 7 as minimum version ==
14
15 The minimum required Java version to run XWiki is now Java 7. It's not just the minimum officially supported version, XWiki won't work anymore on Java 6.
16
17 == Wiki Application ==
18
19 * In the Wiki Index, all the wikis that the user can not access [[are not displayed anymore>>extensions:Extension.Wiki Application||anchor="HNewmenusandWikiIndex"]].
20 * Now, by default, guest users can see a subwiki depending if they can see the main one. But of course, it is still possible to manually give view right to guest users in the subwiki's administration.
21
22 == New Chart Renderers ==
23
24 The ##stackedbar## and ##stackedbar3D## plot renderers were added in the [[Chart Macro>>extensions:Extension.Chart Macro]]:
25
26 {{image reference="stackedbar.png"/}}
27
28 {{image reference="stackedbar3D.png"/}}
29
30 == Panels Application Improvements ==
31
32 * The [[Panels Application>>extensions:Extension.Panels Application]] is now available from the Applications Panel:(((
33 {{image reference="panels-application.png"/}}
34 )))
35 * The Panels Application's home page now uses a LiveTable to display the list of available Panels:(((
36 {{image reference="panels-home.png"/}}
37 )))
38
39 == Standard XAR import scalability ==
40
41 The standard XAR import (in administration) is now based on [[WikiStream>>extensions:Extension.WikiStream Module]] by default. This means that you should (at last) be able to import a XAR of any size (as long as you can attach it to the import page since that's how import UI is working right now).
42
43 You can put back old system if any issue using ##xwiki.action.import.xar.usewikistream## property in ##xwiki.cfg## file.
44
45 == Experimental Flamingo Skin ==
46
47 A new skin is now bundled in XWiki: **Flamingo**. The skin use the well-known [[Bootstrap framework>>http://getbootstrap.com/]] framework which gives us a modern look-and-feel and makes the UI responsive and thus working on mobile devices.
48
49 {{warning}}
50 The skin is currently an alpha version and should not be used in production. In addition, only the view and edit modes are currently implemented (no administration, might have problems with applications...).
51 {{/warning}}
52
53 {{image reference="flamingo.png" width="65%"/}}
54
55 {{image reference="flamingo-edit.png" width="65%"/}}
56
57 To active the skin (for testing purpose only at the moment), edit ##XWiki.DefaultSkin## and put "##flamingo##" in the "base skin" field or add ##?skin=flamingo## to your URLs.
58
59 == Miscellaneous ==
60
61 * The document references are displayed as //wiki >> Space >> Page// path in the extension install log.(((
62 {{image reference="docRefInExtensionLog.png"/}}
63 )))
64 * The "membership type" options are more clear(((
65 {{image reference="membershipType.png"/}}
66 )))
67 * The date search facets have a new option 'Older than 30 days':(((
68 {{image reference="dateFacet.png"/}}
69 )))
70 * Added built in support for Apple's open directory groups in LDAP authenticator
71 * Generate extension event in Wikistream XAR input module when the XAR contains extension informations
72 * Add new Locale based API to manipulate current Locale:(((
73 ~{~{code language="velocity}}
74 $xcontext.locale
75 $xcontext.interfaceLocale
76 ~{~{/code}}
77 )))
78 * The [[Container Macro>>extensions:Extension.Container Macro]] is now responsive. So if there is not enough place to display several columns side by side, they are displayed instead one after the other in a vertical alignment.(((
79 [[{{image reference="responsive.png" width="35%"/}}>>attach:responsive.png]]
80 )))
81 * The Windows Installer (EXE) now also work on Windows 8 and Windows 8.1.
82 * By default the Total Installs and Active Installs figures displayed by the [[Active Installs Application>>extensions:Extension.Active Installs Server Application]] now counts non-SNAPSHOT XWiki Enterprise instances (it used to count everything: SNAPSHOTs installs and even non-XE instances).
83 * Authenticators can be installed as extensions. Note that they still require to modify xwiki.cfg to indicate the selected authenticator.
84 * A new macro ~{~{watchlist/}} can be used to embed the watchlist of the current user on any page. This is especially useful for a dashboard:(((
85 {{image reference="watchlist.png"/}}
86 )))
87 * Debian installer allow XWiki to create new wikis by default in MySQL
88
89 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+%226.0-milestone-1%22&tempMax=1000]] fixed in this release.
90
91 = For Developers =
92
93 == Solr ==
94
95 === Advanced Search Suggest Sources ===
96
97 The [[Search Suggest>>extensions:Extension.Search Application||anchor="HSearchSuggest"]] feature retrieves live search results from various configurable sources. These sources specify the search engine to use and the search query. The search doesn't perform well, at least on Solr, if we use only the search query because each query is different (when the input text is different) so the cache is not used efficiently. Best is to rely on the filter cache but for this we need to be able to specify the filter query.
98
99 Starting with this release you are able to specify more advanced search parameters in the search query and they will be passed directly to the search engine. This currently works with Solr. As an example, the following statement from the 'query' property of a Search Suggest Source
100
101 {{code language="none"}}
102 type:DOCUMENT AND (title:(__INPUT__*) OR name:(__INPUT__*))
103 {{/code}}
104
105 could be written as
106
107 {{code language="none"}}
108 fq=type:DOCUMENT
109 qf=title^2 name
110 {{/code}}
111
112 Note that:
113
114 * you would use the filter query which is the same for all search requests to this Search Suggest Source so it will be cached by Solr
115 * you would be able to specify the boost for each field you want to search in
116 * the query statement used is '~_~_INPUT~_~_' by default, if not specified.
117
118 In order to preserve backward compatibility with existing Solr Search Suggest Sources, we use the following convention:
119
120 > A line that doesn't start with 'xxx=' specifies the query statement; in other words, existing Solr Search Suggest Sources are specifying only the query statement.
121
122 For example:
123
124 {{code language="none"}}
125 foo __INPUT__* bar
126 fq=type:DOCUMENT
127 qf=title^2 name
128 {{/code}}
129
130 means the query statement is 'foo ~_~_INPUT~_~_* bar'. Which is equivalent to:
131
132 {{code language="none"}}
133 q=foo __INPUT__* bar
134 fq=type:DOCUMENT
135 qf=title^2 name
136 {{/code}}
137
138 See the [[Solr common query parameters>>http://wiki.apache.org/solr/CommonQueryParameters]] and the [[Extended DisMax query parser parameters>>http://wiki.apache.org/solr/ExtendedDisMax#Parameters]] documentation for details on what parameters you can pass to the search engine.
139
140 === Search UI Configuration ===
141
142 Application developers can now easily create a dedicated search page for their application, tailored for the application data. You can take a look at the [[FAQ application>>extensions:Extension.FAQ Application]] for example:
143
144 {{code language="none"}}
145 {{include reference="XWiki.SearchCode"/}}
146
147 {{velocity output="false"}}
148 #if ($searchEngine == 'solr')
149 ## Customize the Solr Search UI for the FAQ application.
150 #set ($solrConfig = {
151 'queryFields': 'title^3 property.FAQCode.FAQClass.answer',
152 'facetFields': ['creator', 'creationdate', 'author', 'date', 'mimetype', 'attauthor', 'attdate', 'attsize'],
153 'filterQuery': [
154 'type:DOCUMENT',
155 "wiki:$xcontext.database",
156 "space_exact:$doc.space",
157 'class:FAQCode.FAQClass'
158 ]
159 })
160 #end
161 {{/velocity}}
162
163 {{velocity}}
164 {{include reference="$searchPage"/}}
165 {{/velocity}}
166 {{/code}}
167
168 === Faceting on Object Properties ===
169
170 In XWiki 5.3 we added support for [[faceting on object properties>>ReleaseNotesXWiki53||anchor="HFacetingandSortingonObjectProperties"]] but the facets were not displayed nicely. We improved the facet display in this release so that the property type is taken into account: e.g. a facet on a date property will be displayed using the date facet (same as for the document creation date or the last modification date). Moreover, you can now configure the facet displayer to use and even create your own facet displayer. See the [[Solr Search Application>>extensions:Extension.Solr Search Application||anchor="HFacetingonObjectProperties"]] for details.
171
172 == Action API ==
173
174 This [[Action API module>>extensions:Extension.Action API]] is the entry point for all UIs and in charge of calling the correct backend code to display what the user has asked for (it's the Controller in MVC terminology).
175
176 Note that right now most Actions are still implemented the old way in the oldcore module without Components and using Struts. The goal is to progressively rewrite them using this new Action API.
177
178 == WebJars Integration ==
179
180 The [[WebJars integration>>extensions:Extension.WebJars Integration]] solves the issue of packaging JavaScript frameworks by bundling them as JARs. This allows XWiki Extensions to depend on JavaScript frameworks an be installable by the Extension Manager Application.
181
182 == LiveTable Query Filters ==
183
184 It's now possible to specify which [[Query filters to apply when retrieving LiveTable data>>extensions:Extension.Livetable Macro]].
185
186 For example if you want to show always hidden docs, then you would use:
187
188 {{code language="none"}}
189 ...
190 'queryFilters': 'currentLanguage',
191 ...
192 {{/code}}
193
194 And if you wish to show all docs for all languages and hidden docs you would use:
195
196 {{code language="none"}}
197 ...
198 'queryFilters': '',
199 ...
200 {{/code}}
201
202 == Miscellaneous ==
203
204 * The XAR plugins's ##format## mojo now handles properly the ##defaultLanguage## element: if a document has translation we assume it means the document is not a technical document and thus we set the default language to be English. This allows the XWiki SOLR Search to return results when the English language is selected in language facet.
205 * The XAR plugin's ##verify## mojo now also handles the ##defaultLanguage## check accordingly.
206 * The XAR plugin's ##verify## mojo now checks for missing license headers (if the ##formatLicense## configuration property is set to ##true##).
207 * The XAR plugin's ##format## and ##verify## mojos now support including/excluding files.
208 * We changed a bit the behaviour of Solr search with respect to the current language. We stopped using the (dynamically computed) 'locales' filter by default. We now rely only on the 'locale' facet, which has the current language preselected. See [[XWIKI-9977>>http://jira.xwiki.org/browse/XWIKI-9977]] for the full story.
209 * ##$services.wiki.getAll()## makes a better use of its internal cache, so the performances are better.
210 * New API to test if logs of specific level exist in LogQueue.
211 * Added support for several sets of properties for the same reference in ##org.xwiki.model.reference.EntityReferenceSet##.
212
213 == Deprecated and Retired projects ==
214
215 * ##xwiki-platorm-wiki-manager## has been removed from the platform. It is still available on the [[contrib repository>>https://github.com/xwiki-contrib/xwiki-platform-wiki-manager]] and via the extensions [[extensions:Extension.Wiki Manager Plugin]] and [[extensions:Extension.Wiki Manager Application]].
216
217 == Upgrades ==
218
219 The following dependencies have been upgraded:
220
221 * [[Logback 1.1.0>>http://jira.xwiki.org/browse/XCOMMONS-523]]
222 * [[commons-codec 1.9>>http://jira.xwiki.org/browse/XCOMMONS-524]]
223 * [[JRuby 1.7.10>>http://jira.xwiki.org/browse/XWIKI-8680]]
224 * [[cssparser 0.9.13>>http://jira.xwiki.org/browse/XCOMMONS-526]]
225 * [[doxia 1.5>>http://jira.xwiki.org/browse/XRENDERING-330]]
226 * [[Groovy 2.2.1>>http://jira.xwiki.org/browse/XCOMMONS-527]]
227 * [[HttpClient 4.3.2>>http://jira.xwiki.org/browse/XCOMMONS-528]]
228 * [[JGroups 3.4.2>>http://jira.xwiki.org/browse/XWIKI-9969]]
229 * [[XStream 1.4.6>>http://jira.xwiki.org/browse/XCOMMONS-529]]
230 * [[SLF4J 1.7.6>>http://jira.xwiki.org/browse/XCOMMONS-530]]
231 * [[Commons FileUpload 1.3.1>>http://jira.xwiki.org/browse/XCOMMONS-532]]
232 * [[Aether 0.9.0.M4>>http://jira.xwiki.org/browse/XCOMMONS-444]]
233 * [[GWT 2.6>>http://jira.xwiki.org/browse/XWIKI-10073]]
234 * [[SmartGWT 4.0>>http://jira.xwiki.org/browse/XCOMMONS-536]]
235 * [[Jest 0.1.0>>http://jira.xwiki.org/browse/XWIKI-10158]]
236 * [[Maven 3.2.1>>http://jira.xwiki.org/browse/XCOMMONS-546]]
237 * [[commons-beanutils 1.9.1>>http://jira.xwiki.org/browse/XCOMMONS-547]]
238 * [[commons-compress 1.8>>http://jira.xwiki.org/browse/XCOMMONS-525]]
239 * [[commons-lang3 3.3.1>>http://jira.xwiki.org/browse/XCOMMONS-548]]
240 * [[Guava 16.0.1>>http://jira.xwiki.org/browse/XCOMMONS-481]]
241 * [[Apache Lucene and Solr 4.7.0>>http://jira.xwiki.org/browse/XWIKI-8911]]
242
243 = Translations =
244
245 The following translations have been updated:
246
247 {{language codes="de, fr, it, lv, sv, pt_BR, nl, es, tr"/}}
248
249 = Tested Browsers & Databases =
250
251 {{include reference="TestReports.ManualTestReportXWiki60M1Summary"/}}
252
253 = Known issues =
254
255 * [[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]]
256
257 = Backward Compatibility and Migration Notes =
258
259 == General Notes ==
260
261 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.
262
263 == Moved to Java 7 as minimum version ==
264
265 The minimum required Java version to run XWiki is now Java 7. It's not just the minimum officially supported version, XWiki won't work on Java 6.
266
267 == Crypto Modules moved to Commons ==
268
269 The crypto modules (except the script service) have been moved to xwiki-commons. Developers should be careful to update their dependencies.
270
271 == Active Installs ==
272
273 The Active Installs feature now requires an ElasticSearch server version 1.0.0 or greater.
274
275 == API Breakages ==
276
277 The following APIs were modified since XWiki 5.4.2:
278
279 * Moved some method from EntityResource to Resource and changed EntityResource constructor:(((
280 {{code language="none"}}
281 org.xwiki.resource.EntityResource: In method 'public EntityResource(org.xwiki.model.reference.EntityReference)' the number of arguments has changed
282 org.xwiki.resource.EntityResource: Method 'public java.lang.String getAction()' has been removed
283 org.xwiki.resource.EntityResource: Method 'public void setAction(java.lang.String)' has been removed
284 org.xwiki.resource.Resource: Method 'public org.xwiki.resource.ActionId getActionId()' has been added to an interface
285 {{/code}}
286 )))
287
288 * This method is available on the Window object:(((
289 {{code language="none"}}
290 org.xwiki.gwt.dom.client.DOMUtils: Method 'public void stop(org.xwiki.gwt.dom.client.Window)' has been removed
291 {{/code}}
292 )))

Get Connected