Wiki source code of Release Notes for XWiki 6.0

Version 19.2 by Vincent Massol on 2014/05/20

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 15.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 a new experimental Flamingo skin, new chart renderers, WebJars support and many other improvements.
Marius Dumitru Florea 1.1 8
Vincent Massol 18.1 9 {{error}}
10 A packaging issue was found that lead to the [[wrong inclusion of the Servlet JAR>>http://jira.xwiki.org/browse/XWIKI-10336]] in XWiki's ##WEB-INF/lib## directory. Some containers (like Tomcat) will refuse to start if this JAR is present. To fix this, simply remove it. This issue is fixed in 6.0.1 and 6.1-milestone-1 (not released yet at this time of writing).
11 {{/error}}
Marius Dumitru Florea 1.1 12 = New and Noteworthy (since XWiki 5.4.4) =
13
Thomas Mortagne 6.1 14 [[Full list of issues fixed and Dashboard for 6.0>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=12193]].
Marius Dumitru Florea 1.1 15
Thomas Mortagne 6.1 16 == Moved to Java 7 as minimum version ==
17
18 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.
19
Thomas Mortagne 6.7 20 == Wiki Application Improvements ==
21
22 * In the Wiki Index, all the wikis that the user can not access [[are not displayed anymore>>extensions:Extension.Wiki Application||anchor="HNewmenusandWikiIndex"]].
23 * 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.
24
25 == New Chart Renderers ==
26
27 The ##stackedbar## and ##stackedbar3D## plot renderers were added in the [[Chart Macro>>extensions:Extension.Chart Macro]]:
28
Thomas Mortagne 9.1 29 {{image reference="ReleaseNotesXWiki60M1@stackedbar.png"/}}
Thomas Mortagne 6.7 30
Thomas Mortagne 9.1 31 {{image reference="ReleaseNotesXWiki60M1@stackedbar3D.png"/}}
Thomas Mortagne 6.7 32
33 == Panels Application Improvements ==
34
35 * The [[Panels Application>>extensions:Extension.Panels Application]] is now available from the Applications Panel:(((
Thomas Mortagne 10.1 36 {{image reference="ReleaseNotesXWiki60M1@panels-application.png"/}}
Thomas Mortagne 6.7 37 )))
38 * The Panels Application's home page now uses a LiveTable to display the list of available Panels:(((
Thomas Mortagne 10.1 39 {{image reference="ReleaseNotesXWiki60M1@panels-home.png"/}}
Thomas Mortagne 6.7 40 )))
41
42 == Standard XAR import scalability ==
43
44 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).
45
46 You can put back old system if any issue using ##xwiki.action.import.xar.usewikistream## property in ##xwiki.cfg## file.
47
Guillaume Delhumeau 3.1 48 == New experimental Flamingo skin ==
Marius Dumitru Florea 1.1 49
Thomas Mortagne 6.7 50 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.
51
52 {{warning}}
53 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...).
54 {{/warning}}
55
Thomas Mortagne 10.1 56 {{image reference="ReleaseNotesXWiki60M1@flamingo.png" width="65%"/}}
Thomas Mortagne 6.7 57
Thomas Mortagne 10.1 58 {{image reference="ReleaseNotesXWiki60M1@flamingo-edit.png" width="65%"/}}
Thomas Mortagne 6.7 59
60 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.
61
Thomas Mortagne 6.8 62 We have made some progress in the [[flamingo skin>>extensions:Extension.Flamingo Skin]].
Thomas Mortagne 6.7 63
Thomas Mortagne 6.8 64 * The administration is now implemented:(((
Thomas Mortagne 11.1 65 {{image reference="ReleaseNotesXWiki60M2@flamingo-admin.png" width="65%"/}}
Thomas Mortagne 6.8 66 )))
67 * The user profile too:(((
Thomas Mortagne 11.1 68 {{image reference="ReleaseNotesXWiki60M2@flamingo-profile.png" width="65%"/}}
Thomas Mortagne 6.8 69 )))
70 * The "advanced" edit modes are better (object, class, rights):(((
Thomas Mortagne 11.1 71 {{image reference="ReleaseNotesXWiki60M2@flamingo-edit-objects.png" width="65%"/}}
Thomas Mortagne 6.8 72 )))
Thomas Mortagne 6.7 73
Thomas Mortagne 6.9 74 * The "page export" action is now handled via a modal popup:(((
Thomas Mortagne 12.1 75 image:ReleaseNotesXWiki60RC1@flamingo-export.png
Thomas Mortagne 6.9 76 )))
77 * Create/rename/delete actions are now handled by Flamingo:(((
Thomas Mortagne 12.1 78 image:ReleaseNotesXWiki60RC1@flamingo-create-page.png
Thomas Mortagne 6.9 79 )))
80
Guillaume Delhumeau 3.1 81 * [[AppWithinMinutes>>extensions:Extension.App Within Minutes Application]] is now compatible with Flamingo.
Marius Dumitru Florea 1.1 82
83 == Miscellaneous ==
84
Thomas Mortagne 13.6 85 * The document references are displayed as //wiki >> Space >> Page// path in the extension install log.(((
86 {{image reference="ReleaseNotesXWiki60M1@docRefInExtensionLog.png"/}}
87 )))
88 * The "membership type" options are more clear(((
89 {{image reference="ReleaseNotesXWiki60M1@membershipType.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 * 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.(((
94 [[{{image reference="ReleaseNotesXWiki60M1@responsive.png" width="35%"/}}>>attach:ReleaseNotesXWiki60M1@responsive.png]]
95 )))
96 * The Windows Installer (EXE) now also work on Windows 8 and Windows 8.1.
97 * 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).
98 * Authenticators can be installed as extensions. Note that they still require to modify xwiki.cfg to indicate the selected authenticator.
99 * 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:(((
100 {{image reference="ReleaseNotesXWiki60M1@watchlist.png"/}}
101 )))
102 * Debian installer allow XWiki to create new wikis by default in MySQL
Sergiu Dumitriu 17.1 103 * When authenticating over a HTTPS connection, the authentication will not be preserved when switching to HTTP, for improved security
Thomas Mortagne 13.2 104
Manuel Smeria 17.2 105 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%22&tempMax=1000]] fixed in this release.
Marius Dumitru Florea 1.1 106
107 = For Developers =
108
Thomas Mortagne 6.4 109 == WebJars Integration ==
110
111 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.
112
113 == Action API ==
114
115 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).
116
117 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.
118
Thomas Mortagne 6.5 119 == LiveTable Query Filters ==
120
121 It's now possible to specify which [[Query filters to apply when retrieving LiveTable data>>extensions:Extension.Livetable Macro]].
122
123 For example if you want to show always hidden docs, then you would use:
124
125 {{code language="none"}}
126 ...
127 'queryFilters': 'currentLanguage',
128 ...
129 {{/code}}
130
131 And if you wish to show all docs for all languages and hidden docs you would use:
132
133 {{code language="none"}}
134 ...
135 'queryFilters': '',
136 ...
137 {{/code}}
138
Denis Gervalle 19.1 139 == New Rendering Context ==
140
Vincent Massol 19.2 141 {{info}}See the [[Rendering Architecture>>rendering:Main.Architecture]] for more details.{{/info}}
142
Denis Gervalle 19.1 143 It's now possible to access the context of the rendering in progress from any components. The information initially provided by the ##org.xwiki.rendering.transformation.TransformationContext## and ##org.xwiki.rendering.transformation.MacroTransformationContext## (by arguments only to transformations and macro) are now available to any component using the ##org.xwiki.rendering.transformation.RenderingContext## role.
144
145 For this context to be properly actuated, any process that initiate a transformation without using the default implementation of ##org.xwiki.rendering.transformation.TransformationManager## role (or implement it) should take care of it. At the moment, there is no public API for this (internally we use org.xwiki.rendering.internal.transformation.MutableRenderingContext for this purpose), so it is highly recommended to use the transformation manager when possible.
146
Marius Dumitru Florea 1.1 147 == Deprecated and Retired projects ==
148
Thomas Mortagne 6.3 149 * ##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 150
151 == Upgrades ==
152
153 The following dependencies have been upgraded:
154
Thomas Mortagne 6.2 155 * [[commons-codec 1.9>>http://jira.xwiki.org/browse/XCOMMONS-524]]
156 * [[JRuby 1.7.10>>http://jira.xwiki.org/browse/XWIKI-8680]]
157 * [[cssparser 0.9.13>>http://jira.xwiki.org/browse/XCOMMONS-526]]
158 * [[doxia 1.5>>http://jira.xwiki.org/browse/XRENDERING-330]]
159 * [[Groovy 2.2.1>>http://jira.xwiki.org/browse/XCOMMONS-527]]
160 * [[HttpClient 4.3.2>>http://jira.xwiki.org/browse/XCOMMONS-528]]
161 * [[SLF4J 1.7.6>>http://jira.xwiki.org/browse/XCOMMONS-530]]
162 * [[Commons FileUpload 1.3.1>>http://jira.xwiki.org/browse/XCOMMONS-532]]
163 * [[Aether 0.9.0.M4>>http://jira.xwiki.org/browse/XCOMMONS-444]]
164 * [[GWT 2.6>>http://jira.xwiki.org/browse/XWIKI-10073]]
165 * [[SmartGWT 4.0>>http://jira.xwiki.org/browse/XCOMMONS-536]]
166 * [[Jest 0.1.0>>http://jira.xwiki.org/browse/XWIKI-10158]]
167 * [[Maven 3.2.1>>http://jira.xwiki.org/browse/XCOMMONS-546]]
168 * [[commons-beanutils 1.9.1>>http://jira.xwiki.org/browse/XCOMMONS-547]]
169 * [[commons-compress 1.8>>http://jira.xwiki.org/browse/XCOMMONS-525]]
170 * [[commons-lang3 3.3.1>>http://jira.xwiki.org/browse/XCOMMONS-548]]
171 * [[Guava 16.0.1>>http://jira.xwiki.org/browse/XCOMMONS-481]]
172 * [[HSQLDB 2.3.2>>http://jira.xwiki.org/browse/XE-1377]]
173 * [[htmlcleaner 2.8>>http://jira.xwiki.org/browse/XCOMMONS-559]]
174 * [[HttpClient 4.3.3>>http://jira.xwiki.org/browse/XCOMMONS-560]]
175 * [[JFreechart 1.0.17>>http://jira.xwiki.org/browse/XWIKI-9968]]
176 * [[JGroups 3.4.3>>http://jira.xwiki.org/browse/XWIKI-10196]]
177 * [[Joda-Time 2.3>>http://jira.xwiki.org/browse/XWIKI-10197]]
178 * [[Logback 1.1.2>>http://jira.xwiki.org/browse/XCOMMONS-563]]
Marius Dumitru Florea 2.1 179 * [[Lucene and Solr 4.7.2>>http://jira.xwiki.org/browse/XWIKI-10256]]
Thomas Mortagne 5.1 180 * [[Jython 2.7-b2>>http://jira.xwiki.org/browse/XWIKI-10295]]
Marius Dumitru Florea 1.1 181
182 == Miscellaneous ==
183
Thomas Mortagne 6.5 184 * 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.
185 * The XAR plugin's ##verify## mojo now also handles the ##defaultLanguage## check accordingly.
186 * The XAR plugin's ##verify## mojo now checks for missing license headers (if the ##formatLicense## configuration property is set to ##true##).
187 * The XAR plugin's ##format## and ##verify## mojos now support including/excluding files.
Thomas Mortagne 13.5 188 * You can bind a list or an array to a XWQL or HQL parameter:(((
189 {{code language="none"}}
190 {{velocity}}
191 #set ($query = $services.query.xwql('where doc.name in (:myList)'))
192 $query.bindValue('myList', ['Activity', 'BlogPostClass', 'Welcome']).execute()
193 {{/velocity}}
194 {{/code}}
195 )))
Thomas Mortagne 13.6 196 * Add new Locale based API to manipulate current Locale:(((
Thomas Mortagne 16.1 197 {{code language="velocity"}}
Thomas Mortagne 13.6 198 $xcontext.locale
199 $xcontext.interfaceLocale
200 {{/code}}
201 )))
Thomas Mortagne 6.5 202 * ##$services.wiki.getAll()## makes a better use of its internal cache, so the performances are better.
203 * New API to test if logs of specific level exist in LogQueue.
204 * Added support for several sets of properties for the same reference in ##org.xwiki.model.reference.EntityReferenceSet##.
Thomas Mortagne 6.9 205 * 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 206
207 = Translations =
208
209 The following translations have been updated:
210
211 {{language codes="none, none"/}}
212
213 = Tested Browsers & Databases =
214
Manuel Smeria 3.2 215 {{include reference="TestReports.ManualTestReportXWiki60Summary"/}}
Marius Dumitru Florea 1.1 216
217 = Known issues =
218
219 * [[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]]
220
221 = Backward Compatibility and Migration Notes =
222
223 == General Notes ==
224
225 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.
226
227 == Issues specific to XWiki <version> ==
228
229 <issues specific to the project>
230
231 == API Breakages ==
232
Thomas Mortagne 6.8 233 The following APIs were modified since XWiki 5.4.4:
Marius Dumitru Florea 1.1 234
Thomas Mortagne 6.8 235 * Moved some method from EntityResource to Resource and changed EntityResource constructor:(((
Marius Dumitru Florea 1.1 236 {{code language="none"}}
Thomas Mortagne 6.8 237 org.xwiki.resource.EntityResource: In method 'public EntityResource(org.xwiki.model.reference.EntityReference)' the number of arguments has changed
238 org.xwiki.resource.EntityResource: Method 'public java.lang.String getAction()' has been removed
239 org.xwiki.resource.EntityResource: Method 'public void setAction(java.lang.String)' has been removed
240 org.xwiki.resource.Resource: Method 'public org.xwiki.resource.ActionId getActionId()' has been added to an interface
Marius Dumitru Florea 1.1 241 {{/code}}
Thomas Mortagne 6.8 242 )))
243
244 * This method is available on the standard JavaScript ##Window## object:(((
245 {{code language="none"}}
246 org.xwiki.gwt.dom.client.DOMUtils: Method 'public void stop(org.xwiki.gwt.dom.client.Window)' has been removed
247 {{/code}}
248 )))
249
250 * This method did not make any sense and was unusable:(((
251 {{code language="none"}}
252 org.xwiki.model.reference.LocalDocumentReference: Method 'public org.xwiki.model.reference.WikiReference getWikiReference()' has been removed
253 {{/code}}
254 )))

Get Connected