Wiki source code of Release Notes for XWiki 6.0

Version 8.1 by Thomas Mortagne on 2014/05/05

Hide last authors
Marius Dumitru Florea 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
Thomas Mortagne 6.1 7 First version of the 6.x cycle having for main theme performances. This version marks the move to Java 7 as minimum version and comes with among other things a new experimental Flamingo skin,
Marius Dumitru Florea 1.1 8
9 = New and Noteworthy (since XWiki 5.4.4) =
10
Thomas Mortagne 6.1 11 [[Full list of issues fixed and Dashboard for 6.0>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=12193]].
Marius Dumitru Florea 1.1 12
Thomas Mortagne 6.1 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
Thomas Mortagne 6.7 17 == Wiki Application Improvements ==
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
Thomas Mortagne 8.1 26 {{image reference="ReleaseNotesXWiki60@stackedbar.png"/}}
Thomas Mortagne 6.7 27
Thomas Mortagne 8.1 28 {{image reference="ReleaseNotesXWiki60@stackedbar3D.png"/}}
Thomas Mortagne 6.7 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
Guillaume Delhumeau 3.1 45 == New experimental Flamingo skin ==
Marius Dumitru Florea 1.1 46
Thomas Mortagne 6.7 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
Thomas Mortagne 6.8 59 We have made some progress in the [[flamingo skin>>extensions:Extension.Flamingo Skin]].
Thomas Mortagne 6.7 60
Thomas Mortagne 6.8 61 * The administration is now implemented:(((
62 {{image reference="flamingo-admin.png" width="65%"/}}
63 )))
64 * The user profile too:(((
65 {{image reference="flamingo-profile.png" width="65%"/}}
66 )))
67 * The "advanced" edit modes are better (object, class, rights):(((
68 {{image reference="flamingo-edit-objects.png" width="65%"/}}
69 )))
Thomas Mortagne 6.7 70
Thomas Mortagne 6.9 71 * The "page export" action is now handled via a modal popup:(((
72 image:flamingo-export.png
73 )))
74 * Create/rename/delete actions are now handled by Flamingo:(((
75 image:flamingo-create-page.png
76 )))
77
Guillaume Delhumeau 3.1 78 * [[AppWithinMinutes>>extensions:Extension.App Within Minutes Application]] is now compatible with Flamingo.
Marius Dumitru Florea 1.1 79
80 == Miscellaneous ==
81
Thomas Mortagne 6.7 82 * The document references are displayed as //wiki >> Space >> Page// path in the extension install log.(((
83 {{image reference="docRefInExtensionLog.png"/}}
84 )))
85 * The "membership type" options are more clear(((
86 {{image reference="membershipType.png"/}}
87 )))
88 * The date search facets have a new option 'Older than 30 days':(((
89 {{image reference="dateFacet.png"/}}
90 )))
91 * Added built in support for Apple's open directory groups in LDAP authenticator
92 * Generate extension event in Wikistream XAR input module when the XAR contains extension informations
93 * Add new Locale based API to manipulate current Locale:(((
94 {{code language="velocity}}
95 $xcontext.locale
96 $xcontext.interfaceLocale
97 {{/code}}
98 )))
99 * 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.(((
100 [[{{image reference="responsive.png" width="35%"/}}>>attach:responsive.png]]
101 )))
102 * The Windows Installer (EXE) now also work on Windows 8 and Windows 8.1.
103 * 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).
104 * Authenticators can be installed as extensions. Note that they still require to modify xwiki.cfg to indicate the selected authenticator.
Thomas Mortagne 6.5 105 * 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:(((
106 {{image reference="watchlist.png"/}}
107 )))
Thomas Mortagne 6.7 108 * Debian installer allow XWiki to create new wikis by default in MySQL
Marius Dumitru Florea 1.1 109
Thomas Mortagne 6.7 110
Marius Dumitru Florea 1.1 111 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+%22<version>%22&tempMax=1000]] fixed in this release.
112
113 = For Developers =
114
115 == <developer feature N> ==
116
117 <description of developer feature N>
118
Thomas Mortagne 6.4 119 == WebJars Integration ==
120
121 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.
122
123 == Action API ==
124
125 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).
126
127 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.
128
Thomas Mortagne 6.5 129 == LiveTable Query Filters ==
130
131 It's now possible to specify which [[Query filters to apply when retrieving LiveTable data>>extensions:Extension.Livetable Macro]].
132
133 For example if you want to show always hidden docs, then you would use:
134
135 {{code language="none"}}
136 ...
137 'queryFilters': 'currentLanguage',
138 ...
139 {{/code}}
140
141 And if you wish to show all docs for all languages and hidden docs you would use:
142
143 {{code language="none"}}
144 ...
145 'queryFilters': '',
146 ...
147 {{/code}}
148
Marius Dumitru Florea 1.1 149 == Deprecated and Retired projects ==
150
Thomas Mortagne 6.3 151 * ##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]].
Marius Dumitru Florea 1.1 152
153 == Upgrades ==
154
155 The following dependencies have been upgraded:
156
Thomas Mortagne 6.2 157 * [[commons-codec 1.9>>http://jira.xwiki.org/browse/XCOMMONS-524]]
158 * [[JRuby 1.7.10>>http://jira.xwiki.org/browse/XWIKI-8680]]
159 * [[cssparser 0.9.13>>http://jira.xwiki.org/browse/XCOMMONS-526]]
160 * [[doxia 1.5>>http://jira.xwiki.org/browse/XRENDERING-330]]
161 * [[Groovy 2.2.1>>http://jira.xwiki.org/browse/XCOMMONS-527]]
162 * [[HttpClient 4.3.2>>http://jira.xwiki.org/browse/XCOMMONS-528]]
163 * [[SLF4J 1.7.6>>http://jira.xwiki.org/browse/XCOMMONS-530]]
164 * [[Commons FileUpload 1.3.1>>http://jira.xwiki.org/browse/XCOMMONS-532]]
165 * [[Aether 0.9.0.M4>>http://jira.xwiki.org/browse/XCOMMONS-444]]
166 * [[GWT 2.6>>http://jira.xwiki.org/browse/XWIKI-10073]]
167 * [[SmartGWT 4.0>>http://jira.xwiki.org/browse/XCOMMONS-536]]
168 * [[Jest 0.1.0>>http://jira.xwiki.org/browse/XWIKI-10158]]
169 * [[Maven 3.2.1>>http://jira.xwiki.org/browse/XCOMMONS-546]]
170 * [[commons-beanutils 1.9.1>>http://jira.xwiki.org/browse/XCOMMONS-547]]
171 * [[commons-compress 1.8>>http://jira.xwiki.org/browse/XCOMMONS-525]]
172 * [[commons-lang3 3.3.1>>http://jira.xwiki.org/browse/XCOMMONS-548]]
173 * [[Guava 16.0.1>>http://jira.xwiki.org/browse/XCOMMONS-481]]
174 * [[HSQLDB 2.3.2>>http://jira.xwiki.org/browse/XE-1377]]
175 * [[htmlcleaner 2.8>>http://jira.xwiki.org/browse/XCOMMONS-559]]
176 * [[HttpClient 4.3.3>>http://jira.xwiki.org/browse/XCOMMONS-560]]
177 * [[JFreechart 1.0.17>>http://jira.xwiki.org/browse/XWIKI-9968]]
178 * [[JGroups 3.4.3>>http://jira.xwiki.org/browse/XWIKI-10196]]
179 * [[Joda-Time 2.3>>http://jira.xwiki.org/browse/XWIKI-10197]]
180 * [[Logback 1.1.2>>http://jira.xwiki.org/browse/XCOMMONS-563]]
Marius Dumitru Florea 2.1 181 * [[Lucene and Solr 4.7.2>>http://jira.xwiki.org/browse/XWIKI-10256]]
Thomas Mortagne 5.1 182 * [[Jython 2.7-b2>>http://jira.xwiki.org/browse/XWIKI-10295]]
Marius Dumitru Florea 1.1 183
184 == Miscellaneous ==
185
Thomas Mortagne 6.5 186 * 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.
187 * The XAR plugin's ##verify## mojo now also handles the ##defaultLanguage## check accordingly.
188 * The XAR plugin's ##verify## mojo now checks for missing license headers (if the ##formatLicense## configuration property is set to ##true##).
189 * The XAR plugin's ##format## and ##verify## mojos now support including/excluding files.
Marius Dumitru Florea 4.2 190 * You can bind a list or an array to a XWQL or HQL parameter:(((
Marius Dumitru Florea 4.1 191 {{code language="none"}}
192 {{velocity}}
Marius Dumitru Florea 4.2 193 #set ($query = $services.query.xwql('where doc.name in (:myList)'))
Marius Dumitru Florea 4.1 194 $query.bindValue('myList', ['Activity', 'BlogPostClass', 'Welcome']).execute()
195 {{/velocity}}
196 {{/code}}
197 )))
Thomas Mortagne 6.5 198 * Add new Locale based API to manipulate current Locale:(((
199 {{code language="velocity}}
200 $xcontext.locale
201 $xcontext.interfaceLocale
202 {{/code}}
203 )))
204 * ##$services.wiki.getAll()## makes a better use of its internal cache, so the performances are better.
205 * New API to test if logs of specific level exist in LogQueue.
206 * Added support for several sets of properties for the same reference in ##org.xwiki.model.reference.EntityReferenceSet##.
Thomas Mortagne 6.9 207 * The Wiki module does not handle the application descriptors of the deprecated [[Application Manager>>extensions:Extension.Application Manager Application]] anymore.
Marius Dumitru Florea 1.1 208
209 = Translations =
210
211 The following translations have been updated:
212
213 {{language codes="none, none"/}}
214
215 = Tested Browsers & Databases =
216
Manuel Smeria 3.2 217 {{include reference="TestReports.ManualTestReportXWiki60Summary"/}}
Marius Dumitru Florea 1.1 218
219 = Known issues =
220
221 * [[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]]
222
223 = Backward Compatibility and Migration Notes =
224
225 == General Notes ==
226
227 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.
228
229 == Issues specific to XWiki <version> ==
230
231 <issues specific to the project>
232
233 == API Breakages ==
234
Thomas Mortagne 6.8 235 The following APIs were modified since XWiki 5.4.4:
Marius Dumitru Florea 1.1 236
Thomas Mortagne 6.8 237 * Moved some method from EntityResource to Resource and changed EntityResource constructor:(((
Marius Dumitru Florea 1.1 238 {{code language="none"}}
Thomas Mortagne 6.8 239 org.xwiki.resource.EntityResource: In method 'public EntityResource(org.xwiki.model.reference.EntityReference)' the number of arguments has changed
240 org.xwiki.resource.EntityResource: Method 'public java.lang.String getAction()' has been removed
241 org.xwiki.resource.EntityResource: Method 'public void setAction(java.lang.String)' has been removed
242 org.xwiki.resource.Resource: Method 'public org.xwiki.resource.ActionId getActionId()' has been added to an interface
Marius Dumitru Florea 1.1 243 {{/code}}
Thomas Mortagne 6.8 244 )))
245
246 * This method is available on the standard JavaScript ##Window## object:(((
247 {{code language="none"}}
248 org.xwiki.gwt.dom.client.DOMUtils: Method 'public void stop(org.xwiki.gwt.dom.client.Window)' has been removed
249 {{/code}}
250 )))
251
252 * This method did not make any sense and was unusable:(((
253 {{code language="none"}}
254 org.xwiki.model.reference.LocalDocumentReference: Method 'public org.xwiki.model.reference.WikiReference getWikiReference()' has been removed
255 {{/code}}
256 )))

Get Connected