Wiki source code of Release Notes for XWiki 6.0

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

Get Connected