Wiki source code of Release Notes for XWiki 6.0

Version 16.1 by Thomas Mortagne on 2014/05/05

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

Get Connected