Wiki source code of Release Notes for XWiki 6.0 Milestone 1
Last modified by Thomas Mortagne on 2017/03/24
Hide last authors
author | version | line-number | content |
---|---|---|---|
1.1 | 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 | |||
93.1 | 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. | |
1.1 | 8 | ||
9 | = New and Noteworthy (since XWiki 5.4) = | ||
10 | |||
100.1 | 11 | [[Full list of issues fixed and Dashboard for 6.0>>https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=12193]]. | |
1.1 | 12 | ||
32.1 | 13 | == Moved to Java 7 as minimum version == | |
1.1 | 14 | ||
63.1 | 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. | |
1.1 | 16 | ||
96.1 | 17 | == Extension Manager UI Improvements == | |
18 | |||
19 | You can now choose to resolve all merge conflicts in the same way, when upgrading an extension. This means that whenever you get a merge conflict, you can choose to resolve the remaining merge conflicts by keeping the currently selected version. So for instance if you resolve the current merge conflict by keeping the new version then you can choose to resolve all the following merge conflicts by using the new version (whatever that may be). | ||
20 | |||
21 | {{image reference="EM-mergeConflict-action.png" /}} | ||
22 | |||
23 | Notice also that the upgrade log is collapsed when the upgrade is paused (waiting for your input). You can expand it by clicking on its label. | ||
24 | |||
25 | The Extension Manager is now asking for a confirmation before deleting unneeded wiki pages. This can happen for instance when you perform an upgrade and some wiki pages have been removed or renamed in the new version of the XAR extension, or if you uninstall a XAR extension. You can select which pages to keep and which pages to delete. The wiki pages that have modifications are not selected by default to prevent loosing those changes by mistake. | ||
26 | |||
98.2 | 27 | {{image reference="EM-cleanPagesAfterUninstall.png" /}} | |
96.1 | 28 | ||
29 | See the [[Extension Manager Application documentation>>extensions:Extension.Extension Manager Application]] for more details. | ||
30 | |||
95.1 | 31 | == Wiki Application Improvements == | |
19.1 | 32 | ||
21.1 | 33 | * In the Wiki Index, all the wikis that the user can not access [[are not displayed anymore>>extensions:Extension.Wiki Application||anchor="HNewmenusandWikiIndex"]]. | |
62.1 | 34 | * 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. | |
19.1 | 35 | ||
35.1 | 36 | == New Chart Renderers == | |
37 | |||
38 | The ##stackedbar## and ##stackedbar3D## plot renderers were added in the [[Chart Macro>>extensions:Extension.Chart Macro]]: | ||
39 | |||
40 | {{image reference="stackedbar.png"/}} | ||
41 | |||
42 | {{image reference="stackedbar3D.png"/}} | ||
43 | |||
55.1 | 44 | == Panels Application Improvements == | |
45 | |||
46 | * The [[Panels Application>>extensions:Extension.Panels Application]] is now available from the Applications Panel:((( | ||
47 | {{image reference="panels-application.png"/}} | ||
48 | ))) | ||
49 | * The Panels Application's home page now uses a LiveTable to display the list of available Panels:((( | ||
58.1 | 50 | {{image reference="panels-home.png"/}} | |
55.1 | 51 | ))) | |
52 | |||
66.1 | 53 | == Standard XAR import scalability == | |
54 | |||
83.1 | 55 | 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). | |
66.1 | 56 | ||
57 | You can put back old system if any issue using ##xwiki.action.import.xar.usewikistream## property in ##xwiki.cfg## file. | ||
58 | |||
73.1 | 59 | == Experimental Flamingo Skin == | |
70.1 | 60 | ||
73.1 | 61 | 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. | |
70.1 | 62 | ||
76.1 | 63 | {{warning}} | |
92.1 | 64 | 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...). | |
76.1 | 65 | {{/warning}} | |
70.1 | 66 | ||
73.1 | 67 | {{image reference="flamingo.png" width="65%"/}} | |
70.1 | 68 | ||
92.1 | 69 | {{image reference="flamingo-edit.png" width="65%"/}} | |
70 | |||
73.1 | 71 | 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. | |
72 | |||
1.1 | 73 | == Miscellaneous == | |
74 | |||
13.1 | 75 | * The document references are displayed as //wiki >> Space >> Page// path in the extension install log.((( | |
76 | {{image reference="docRefInExtensionLog.png"/}} | ||
77 | ))) | ||
18.1 | 78 | * The "membership type" options are more clear((( | |
47.1 | 79 | {{image reference="membershipType.png"/}} | |
18.1 | 80 | ))) | |
45.1 | 81 | * The date search facets have a new option 'Older than 30 days':((( | |
82 | {{image reference="dateFacet.png"/}} | ||
83 | ))) | ||
42.1 | 84 | * Added built in support for Apple's open directory groups in LDAP authenticator | |
85 | * Generate extension event in Wikistream XAR input module when the XAR contains extension informations | ||
43.1 | 86 | * Add new Locale based API to manipulate current Locale:((( | |
99.1 | 87 | {{code language="velocity"}} | |
43.1 | 88 | $xcontext.locale | |
89 | $xcontext.interfaceLocale | ||
98.3 | 90 | {{/code}} | |
43.1 | 91 | ))) | |
61.2 | 92 | * 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.((( | |
60.1 | 93 | [[{{image reference="responsive.png" width="35%"/}}>>attach:responsive.png]] | |
94 | ))) | ||
63.1 | 95 | * The Windows Installer (EXE) now also work on Windows 8 and Windows 8.1. | |
68.1 | 96 | * 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). | |
81.1 | 97 | * Authenticators can be installed as extensions. Note that they still require to modify xwiki.cfg to indicate the selected authenticator. | |
85.1 | 98 | * 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:((( | |
99 | {{image reference="watchlist.png"/}} | ||
100 | ))) | ||
89.1 | 101 | * Debian installer allow XWiki to create new wikis by default in MySQL | |
18.1 | 102 | ||
100.1 | 103 | See the [[full list of JIRA issues>>https://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. | |
1.1 | 104 | ||
105 | = For Developers = | ||
106 | |||
51.1 | 107 | == Solr == | |
47.1 | 108 | ||
51.1 | 109 | === Advanced Search Suggest Sources === | |
110 | |||
48.2 | 111 | 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. | |
48.1 | 112 | ||
113 | 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 | ||
114 | |||
115 | {{code language="none"}} | ||
116 | type:DOCUMENT AND (title:(__INPUT__*) OR name:(__INPUT__*)) | ||
117 | {{/code}} | ||
118 | |||
119 | could be written as | ||
120 | |||
121 | {{code language="none"}} | ||
122 | fq=type:DOCUMENT | ||
123 | qf=title^2 name | ||
124 | {{/code}} | ||
125 | |||
126 | Note that: | ||
127 | |||
128 | * 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 | ||
129 | * you would be able to specify the boost for each field you want to search in | ||
130 | * the query statement used is '~_~_INPUT~_~_' by default, if not specified. | ||
131 | |||
132 | In order to preserve backward compatibility with existing Solr Search Suggest Sources, we use the following convention: | ||
133 | |||
134 | > 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. | ||
135 | |||
136 | For example: | ||
137 | |||
138 | {{code language="none"}} | ||
139 | foo __INPUT__* bar | ||
140 | fq=type:DOCUMENT | ||
141 | qf=title^2 name | ||
142 | {{/code}} | ||
143 | |||
144 | means the query statement is 'foo ~_~_INPUT~_~_* bar'. Which is equivalent to: | ||
145 | |||
146 | {{code language="none"}} | ||
147 | q=foo __INPUT__* bar | ||
148 | fq=type:DOCUMENT | ||
149 | qf=title^2 name | ||
150 | {{/code}} | ||
151 | |||
48.3 | 152 | 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. | |
48.1 | 153 | ||
51.1 | 154 | === Search UI Configuration === | |
49.1 | 155 | ||
52.1 | 156 | 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: | |
49.1 | 157 | ||
50.1 | 158 | {{code language="none"}} | |
159 | {{include reference="XWiki.SearchCode"/}} | ||
160 | |||
52.1 | 161 | {{velocity output="false"}} | |
50.1 | 162 | #if ($searchEngine == 'solr') | |
52.1 | 163 | ## Customize the Solr Search UI for the FAQ application. | |
164 | #set ($solrConfig = { | ||
165 | 'queryFields': 'title^3 property.FAQCode.FAQClass.answer', | ||
166 | 'facetFields': ['creator', 'creationdate', 'author', 'date', 'mimetype', 'attauthor', 'attdate', 'attsize'], | ||
167 | 'filterQuery': [ | ||
168 | 'type:DOCUMENT', | ||
169 | "wiki:$xcontext.database", | ||
170 | "space_exact:$doc.space", | ||
171 | 'class:FAQCode.FAQClass' | ||
172 | ] | ||
173 | }) | ||
50.1 | 174 | #end | |
175 | {{/velocity}} | ||
176 | |||
177 | {{velocity}} | ||
178 | {{include reference="$searchPage"/}} | ||
179 | {{/velocity}} | ||
180 | {{/code}} | ||
181 | |||
51.1 | 182 | === Faceting on Object Properties === | |
183 | |||
184 | 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. | ||
185 | |||
27.1 | 186 | == Action API == | |
1.1 | 187 | ||
27.1 | 188 | 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). | |
1.1 | 189 | ||
27.1 | 190 | 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. | |
1.1 | 191 | ||
28.1 | 192 | == WebJars Integration == | |
193 | |||
194 | 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. | ||
195 | |||
54.1 | 196 | == LiveTable Query Filters == | |
197 | |||
198 | It's now possible to specify which [[Query filters to apply when retrieving LiveTable data>>extensions:Extension.Livetable Macro]]. | ||
199 | |||
200 | For example if you want to show always hidden docs, then you would use: | ||
201 | |||
202 | {{code language="none"}} | ||
203 | ... | ||
204 | 'queryFilters': 'currentLanguage', | ||
205 | ... | ||
206 | {{/code}} | ||
207 | |||
208 | And if you wish to show all docs for all languages and hidden docs you would use: | ||
209 | |||
210 | {{code language="none"}} | ||
211 | ... | ||
212 | 'queryFilters': '', | ||
213 | ... | ||
214 | {{/code}} | ||
215 | |||
26.2 | 216 | == Miscellaneous == | |
217 | |||
218 | * 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. | ||
219 | * The XAR plugin's ##verify## mojo now also handles the ##defaultLanguage## check accordingly. | ||
220 | * The XAR plugin's ##verify## mojo now checks for missing license headers (if the ##formatLicense## configuration property is set to ##true##). | ||
34.1 | 221 | * The XAR plugin's ##format## and ##verify## mojos now support including/excluding files. | |
100.1 | 222 | * 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>>https://jira.xwiki.org/browse/XWIKI-9977]] for the full story. | |
31.1 | 223 | * ##$services.wiki.getAll()## makes a better use of its internal cache, so the performances are better. | |
64.1 | 224 | * New API to test if logs of specific level exist in LogQueue. | |
65.1 | 225 | * Added support for several sets of properties for the same reference in ##org.xwiki.model.reference.EntityReferenceSet##. | |
26.2 | 226 | ||
27.1 | 227 | == Deprecated and Retired projects == | |
228 | |||
40.1 | 229 | * ##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]]. | |
27.1 | 230 | ||
1.1 | 231 | == Upgrades == | |
232 | |||
233 | The following dependencies have been upgraded: | ||
234 | |||
100.1 | 235 | * [[Logback 1.1.0>>https://jira.xwiki.org/browse/XCOMMONS-523]] | |
236 | * [[commons-codec 1.9>>https://jira.xwiki.org/browse/XCOMMONS-524]] | ||
237 | * [[JRuby 1.7.10>>https://jira.xwiki.org/browse/XWIKI-8680]] | ||
238 | * [[cssparser 0.9.13>>https://jira.xwiki.org/browse/XCOMMONS-526]] | ||
239 | * [[doxia 1.5>>https://jira.xwiki.org/browse/XRENDERING-330]] | ||
240 | * [[Groovy 2.2.1>>https://jira.xwiki.org/browse/XCOMMONS-527]] | ||
241 | * [[HttpClient 4.3.2>>https://jira.xwiki.org/browse/XCOMMONS-528]] | ||
242 | * [[JGroups 3.4.2>>https://jira.xwiki.org/browse/XWIKI-9969]] | ||
243 | * [[XStream 1.4.6>>https://jira.xwiki.org/browse/XCOMMONS-529]] | ||
244 | * [[SLF4J 1.7.6>>https://jira.xwiki.org/browse/XCOMMONS-530]] | ||
245 | * [[Commons FileUpload 1.3.1>>https://jira.xwiki.org/browse/XCOMMONS-532]] | ||
246 | * [[Aether 0.9.0.M4>>https://jira.xwiki.org/browse/XCOMMONS-444]] | ||
247 | * [[GWT 2.6>>https://jira.xwiki.org/browse/XWIKI-10073]] | ||
248 | * [[SmartGWT 4.0>>https://jira.xwiki.org/browse/XCOMMONS-536]] | ||
249 | * [[Jest 0.1.0>>https://jira.xwiki.org/browse/XWIKI-10158]] | ||
250 | * [[Maven 3.2.1>>https://jira.xwiki.org/browse/XCOMMONS-546]] | ||
251 | * [[commons-beanutils 1.9.1>>https://jira.xwiki.org/browse/XCOMMONS-547]] | ||
252 | * [[commons-compress 1.8>>https://jira.xwiki.org/browse/XCOMMONS-525]] | ||
253 | * [[commons-lang3 3.3.1>>https://jira.xwiki.org/browse/XCOMMONS-548]] | ||
254 | * [[Guava 16.0.1>>https://jira.xwiki.org/browse/XCOMMONS-481]] | ||
255 | * [[Apache Lucene and Solr 4.7.0>>https://jira.xwiki.org/browse/XWIKI-8911]] | ||
1.1 | 256 | ||
257 | = Translations = | ||
258 | |||
259 | The following translations have been updated: | ||
260 | |||
88.1 | 261 | {{language codes="de, fr, it, lv, sv, pt_BR, nl, es, tr"/}} | |
1.1 | 262 | ||
263 | = Tested Browsers & Databases = | ||
264 | |||
90.2 | 265 | {{include reference="TestReports.ManualTestReportXWiki60M1Summary"/}} | |
1.1 | 266 | ||
267 | = Known issues = | ||
268 | |||
100.1 | 269 | * [[Bugs we know about>>https://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]] | |
1.1 | 270 | ||
271 | = Backward Compatibility and Migration Notes = | ||
272 | |||
273 | == General Notes == | ||
274 | |||
275 | 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. | ||
276 | |||
33.1 | 277 | == Moved to Java 7 as minimum version == | |
1.1 | 278 | ||
33.1 | 279 | 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. | |
1.1 | 280 | ||
53.1 | 281 | == Crypto Modules moved to Commons == | |
282 | |||
283 | The crypto modules (except the script service) have been moved to xwiki-commons. Developers should be careful to update their dependencies. | ||
284 | |||
75.1 | 285 | == Active Installs == | |
286 | |||
287 | The Active Installs feature now requires an ElasticSearch server version 1.0.0 or greater. | ||
288 | |||
1.1 | 289 | == API Breakages == | |
290 | |||
94.1 | 291 | The following APIs were modified since XWiki 5.4.2: | |
1.1 | 292 | ||
94.1 | 293 | * Moved some method from EntityResource to Resource and changed EntityResource constructor:((( | |
1.1 | 294 | {{code language="none"}} | |
94.1 | 295 | org.xwiki.resource.EntityResource: In method 'public EntityResource(org.xwiki.model.reference.EntityReference)' the number of arguments has changed | |
296 | org.xwiki.resource.EntityResource: Method 'public java.lang.String getAction()' has been removed | ||
297 | org.xwiki.resource.EntityResource: Method 'public void setAction(java.lang.String)' has been removed | ||
298 | org.xwiki.resource.Resource: Method 'public org.xwiki.resource.ActionId getActionId()' has been added to an interface | ||
1.1 | 299 | {{/code}} | |
94.1 | 300 | ))) | |
301 | |||
302 | * This method is available on the Window object:((( | ||
303 | {{code language="none"}} | ||
304 | org.xwiki.gwt.dom.client.DOMUtils: Method 'public void stop(org.xwiki.gwt.dom.client.Window)' has been removed | ||
305 | {{/code}} | ||
306 | ))) |