Wiki source code of Release Notes for XWiki 6.0

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

Get Connected