Version 50.1 by Thomas Mortagne on 2014/10/14

Hide last authors
Thomas Mortagne 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
7 <insert description of release here>
8
9 = New and Noteworthy (since XWiki 6.2) =
10
Thomas Mortagne 48.1 11 [[Full list of issues fixed and Dashboard for 6.3>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=12693]].
Thomas Mortagne 1.1 12
Thomas Mortagne 3.1 13 == Extension Manager and Repository improvements ==
Thomas Mortagne 1.1 14
15 * ##<scm>## element from Maven ##pom.xml## is now supported and has been added to the standard in the API
16 * ##<issueManagement>## element from Maven ##pom.xml## is now supported and has been added to the standard in the API
Thomas Mortagne 50.1 17 * When importing an extension unknown but valid versions are not removed anymore
Thomas Mortagne 1.1 18
Eduard Moraru 46.4 19 == User Directory customized globally ==
Eduard Moraru 46.3 20
21 The administrator of the wiki can customize the default columns to be displayed by the user directory.
22
Thomas Mortagne 48.1 23 {{image reference="userDirectoryGloballyConfigurableInAdministration.png"/}}
Eduard Moraru 46.3 24
25 For more information, see the [[documentation>>extensions:Extension.User Directory Application]]
26
Guillaume Delhumeau 6.1 27 == Flamingo ==
28
Guillaume Delhumeau 40.1 29 {{info}}
30 The Flamingo skin was introduced as experimental in XWiki 6.0 & 6.1 and has been deemed usable in XWiki 6.2. However we're still tuning details. It happens that we did not all agree on the location of the "Add" button (some wanted it inside the content, next to the "Edit" buttons and others wanted it back at the top - You can [[follow the discussion here>>http://markmail.org/message/jqbcj4p4ryc56sms]] if you're interested ;)). Thus we've decided for the moment to put it back at the top where it was in the Colibri skin in order to not force our users to learn a new location for the moment. This is still a discussion in progress and if you have inputs and preferences please do not hesitate to let us know on the [[XWiki Users Mailing List>>dev:Community.MailingLists]] or on the [[related Issue>>http://jira.xwiki.org/browse/XWIKI-11167]]. Thanks!
31 {{/info}}
32
33 * The 'Add' button has been moved back to the top bar and the search bar to the right:(((
34 {{image reference="ReleaseNotesXWiki622@flamingo-add.png" width="60%"/}}
35 )))
36 * When you click on the 'add' button, the order of the choices have been inverted, to propose to create a page first, then a space, and finally a wiki:(((
37 {{image reference="ReleaseNotesXWiki622@flamingo-add-options.png"/}}
38 )))
39 * The Wiki/Space/Page buttons in the top bar have been changed and are no longer split into two parts. You do not need to click the arrow specifically any more to open the contextual menu:(((
40 {{image reference="ReleaseNotesXWiki622@flamingo-menubar.png"/}}
41 )))
42 * To navigate to the current Wiki/Space/Page in the top bar, there is now a new "Go to..." item:(((
43 |=Wiki|=Space|=Page
44 |{{image reference="ReleaseNotesXWiki622@flamingo-goto-wiki.png"/}}|{{image reference="ReleaseNotesXWiki622@flamingo-goto-space.png"/}}|{{image reference="ReleaseNotesXWiki622@flamingo-goto-page.png"/}}
45 )))
46 * The languages selection is now located in the top bar. It is displayed only when the multilingual mode is enabled:(((
47 {{image reference="ReleaseNotesXWiki622@languages.png" width="60%"/}}
48 When there is no translation available:
49 {{image reference="ReleaseNotesXWiki622@languages-no-alternative.png"/}}
50 When there is some translations available:
51 {{image reference="ReleaseNotesXWiki622@languages-with-alternatives.png"/}}
52 )))
53 * The [[Livetable>>extensions:Extension.Livetable Macro]] is now responsive to the screen size, so you can use them with smartphones:(((
54 {{image reference="ReleaseNotesXWiki622@Livetable-Responsive.png"/}}
55 )))
Guillaume Delhumeau 6.1 56 * The "Add" button has now a default action to create a new page. You can still create other kind of contents (Wiki, Space) by using the arrow, just like we do with the different "edit" actions.(((
57 {{image reference="flamingo-add.png"/}}
58 )))
Vincent Massol 31.1 59 * The Flamingo Theme Application now uses a new Color Picker.(((
60 {{image reference="ReleaseNotesXWiki621@NewColorPicker.png"/}}
61 )))
Guillaume Delhumeau 40.1 62 * To sum up, this is the new look:(((
63 {{image reference="ReleaseNotesXWiki622@flamingo.png"/}}
64 )))
Guillaume Delhumeau 6.1 65
Thomas Mortagne 1.1 66 == Miscellaneous ==
67
Guillaume Delhumeau 33.1 68 * The default color themes (DefaultColorTheme and FlamingoDefaultTheme) have been renamed Azure and Charcoal.
Vincent Massol 31.1 69 * In the administration, clicking the "Customize" button for customizing a Skin or a Color Theme now opens the page it leads to in edit mode.
Vincent Massol 10.1 70 * Improved L&F when a template fails to render:(((
Guillaume Delhumeau 14.1 71 {{image reference="templateerror.png" width="650px"/}}
Vincent Massol 10.1 72 )))
Guillaume Delhumeau 14.1 73 * We have created dedicated groups for Colibri and Flamingo Themes inside the Administration. Every themes can be used with both skins but they looks better when they are used with the corresponding theme.(((
74 {{image reference="ColorThemeDisplayer.png"/}}
75 )))
Thomas Mortagne 24.1 76 * The start/stop shell scripts provided with the Standalone Distribution have been improved to display usage information when an invalid parameter is passed or when the ##-h## or ##~-~-help## parameters are passed. Also note that the start script doesn't stop anymore a running XWiki instance if the ##-k## or ##~-~-kill## parameter is passed (this parameter has been removed).
Thomas Mortagne 30.1 77 * It's now possible to configure the maximum number of search results to be returned from a search operation using ##xwiki.authentication.ldap.maxresults## property in ##xwiki.cfg## file. See [[LDAP documentation>>platform:AdminGuide.Authentication||anchor="HGenericLDAPconfiguration"]].
Eduard Moraru 30.2 78 * The "Empty is today" option on Date fields of classes created with Application Within Minutes is now working as expected. See [[XWIKI-10296>>http://jira.xwiki.org/browse/XWIKI-10296]]
Thomas Mortagne 35.1 79 * Office macro can now take a URL as input. See [[extensions:Extension.Office Macro]] for more details
Thomas Mortagne 1.1 80
81 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%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+%3D+%22<version>%22&tempMax=1000]] fixed in this release.
82
83 = For Developers =
84
Marius Dumitru Florea 7.2 85 == Velocity macros to display users and groups ==
Thomas Mortagne 1.1 86
Marius Dumitru Florea 7.1 87 We extracted the code that displays in view mode a property of type 'List of Users' and 'List of Groups' from the corresponding custom displayers (found in ##displayer_users.vm## and ##displayer_groups.vm##) into two Velocity macros that can be used to display arbitrary users and groups, even when you don't have an object. Here's how you can use them:
Thomas Mortagne 1.1 88
Marius Dumitru Florea 7.1 89 {{code language="none"}}
90 {{velocity}}
91 {{html wiki="true"}}
92 = Users =
93 == Just one ==
94 #displayUser('XWiki.Admin')
95
96 == List of users ==
97 #displayUser(['Admin', 'XWiki.mflorea'])
98
99 == A reference of a user ==
100 #displayUser($xcontext.userReference)
101
102 == A list of references of users ==
103 #displayUser([$xcontext.userReference, $otherUserReference])
104
105 = Groups =
106 == Just one ==
107 #displayGroup('XWiki.XWikiAdminGroup')
108
109 == List of groups ==
110 #displayGroup(['XWikiAdminGroup','XWiki.HRGroup'])
111
112 == A reference of a group ==
113 #set($adminGroupRef = $services.model.resolveDocument('XWiki.XWikiAdminGroup'))
114 #set($allGroupRef = $services.model.resolveDocument('XWiki.XWikiAllGroup'))
115 #displayGroup($adminGroupRef)
116
117 == A list of references of groups ==
118 #displayGroup([$adminGroupRef, $allGroupRef])
119
120 {{/html}}
121 {{/velocity}}
122 {{/code}}
123
Thomas Mortagne 20.1 124 == New Velocity Tools ==
Clemens Robbenhaar 12.1 125
Vincent Massol 15.1 126 * New URL Tool ##$urltool##: A [[new tool>>extensions:Extension.Velocity Module||anchor="HVelocityTools"]] has been added with one method to parse query string from the URL ##$urltool.parseQuery(String)##. The value returned by this is method is a ##Map<String, List<String>>## which maps parameter names to (possibly multiple) values, and can be passed e.g. directly into ##$escapetool.url(Map<String, ?>)## to convert it back to a string. This is useful e.g. in cases where one want to pass a complete query string around between requests, as it happend for the PDF export; the ##$urltool## allows for a sane deserialization of the value passed around.
127 * New Exception Tool ##$exceptiontool##: A [[new tool>>extensions:Extension.Velocity Module||anchor="HVelocityTools"]] to manipulate Java Exceptions (get root cause, convert into String, etc).
Clemens Robbenhaar 12.1 128
Vincent Massol 16.1 129 == Ability to catch Exceptions from Velocity ==
130
Vincent Massol 27.1 131 A new Velocity Directive has been added to catch Exceptions from Velocity. In addition a new ###displayUnexpectedException()## velocity macro has also been added to nicely display an exception to the user.
Vincent Massol 16.1 132
133 For example:
134
135 {{code language="velocity"}}
136 #try()
137 #set($outputSyntax = $xwiki.getAvailableRendererSyntax($request.outputSyntax, $request.outputSyntaxVersion))
138 #if ($outputSyntax)
139 ## If the passed syntax is not an HTML-compatible syntax we need to HTML-escape it so that it can be
140 ## displayed fine in HTML (since at the point this vm file is called we're already inside an HTML page with
141 ## panels on the side, header, etc).
142 #set($syntaxType = $outputSyntax.type.toIdString())
143 #if (($syntaxType == "xhtml") || ($syntaxType == "html"))
144 #set ($renderedContent = $tdoc.getRenderedContent($outputSyntax))
145 #else
146 ## Make sure to print correctly the result when it's not HTML
147 #set ($renderedContent = "<pre>$escapetool.html($tdoc.getRenderedContent($outputSyntax))</pre>")
148 #end
149 #else
150 #set ($renderedContent = $tdoc.getRenderedContent())
151 #end
152 #end
153 ...
154 <div id="xwikicontent">
155 #if ("$!exception" != '')
Vincent Massol 27.1 156 #displayUnexpectedException($exception)
Vincent Massol 16.1 157 #else
158 $renderedContent
159 #end
160 </div>
161 ...
162 {{/code}}
163
164 This generates the following in case of error rendering the page:
165
166 {{image reference="renderingerror.png"/}}
167
Vincent Massol 27.1 168 == New #displayException macro ==
169
170 Displays an error message with a title that can be clicked and expands to display an exception.
171
172 Example from a wiki page:
173
174 {{code language="none"}}
175 {{velocity}}
176 #set ($message = $services.mailsender.createMessage())
177 $message.send()
178
179 {{html}}
180 #displayException("hello world", $services.mailsender.lastError)
181 {{/html}}
182 {{/velocity}}
183 {{/code}}
184
Vincent Massol 23.1 185 == Component Disposal ==
186
187 The order used by the ComponentManager to dispose its components is computed based on declared dependencies. However there might be cases when you wish a Component's ##dispose()## method to be called before or after all other components. In this case you can use the ##DisposePriority## annotation. The default priority is 1000. A higher value will mean disposing before all other components not having this annotation. For example:
188
189 {{code language="java"}}
190 @Component
191 @Singleton
192 @DisposePriority(10000)
193 public class DefaultHibernateSessionFactory implements HibernateSessionFactory, Disposable
194 {
195 ...
196 @Override
197 public void dispose() throws ComponentLifecycleException
198 {
199 ... called after other components in order to shut down the database late...
200 }
201 ...
202 }
203 {{/code}}
204
205 See the [[Component Reference documentation>>extensions:Extension.Component Module]] for other details.
206
Marius Dumitru Florea 46.2 207 == New LiveTable Filtering Option ==
Marius Dumitru Florea 46.1 208
209 You can now specify how the filter value should be matched against the stored value. One use case when this is useful is when you have a live table for an XClass that has a Database List property and you want to use a text input filter instead of the default drop down list filter. Currently the user has to enter the full value in the text input in order to filter. Would be good if partial matching would work. This is possible starting with this version:
210
211 {{code language="none"}}
212 #set ($columnsProperties = {
213 'doc.name': {'type': 'text', 'size': 10, 'link': 'view'},
214 ...
215 'myDatabaseList': {'type': 'text', 'size': 10, 'match': 'partial'},
216 ...
217 })
218 {{/code}}
219
Marius Dumitru Florea 46.2 220 Checkout the [[LiveTable Macro documentation>>extensions:Extension.Livetable Macro||anchor="HParameter24columnsProperties"]] for more details about the **match** option.
Marius Dumitru Florea 46.1 221
Vincent Massol 47.4 222 == Miscellaneous ==
223
224 * The wiki provisioning job has now the current user set in the context.
225 * 10 new icons have been mapped into [[Font Awesome Icon Theme>>extensions:Extension.Font Awesome Icon Theme]].
226 * It's now possible to overwrite the id of a Java bean property using an annotation. See [[extensions:Extension.Properties Module||anchor="HPopulateaJavaBean"]] for more.
227 * [[It's possible to get DEBUG information only for shutdown operations>>dev:Community.Debugging||anchor="HLoggingshutdownoperations"]] by editing ##logback.xml## and setting:(((
228 {{code language="xml"}}
229 <logger name="org.xwiki.shutdown" level="debug"/>
230 {{/code}}
231 )))
232
Thomas Mortagne 1.1 233 == Deprecated and Retired projects ==
234
235 <description of deprecated and retired projects>
236
237 == Upgrades ==
238
239 The following dependencies have been upgraded:
240
Thomas Mortagne 36.1 241 * [[JGroups 3.5.1>>http://jira.xwiki.org/browse/XWIKI-10987]]
Thomas Mortagne 20.1 242 * [[Tika 1.6>>http://jira.xwiki.org/browse/XWIKI-10956]]
Thomas Mortagne 24.1 243 * [[reflections 0.9.9>>http://jira.xwiki.org/browse/XCOMMONS-654]]
Thomas Mortagne 28.1 244 * [[Groovy 2.3.7>>http://jira.xwiki.org/browse/XCOMMONS-655]]
Vincent Massol 31.1 245 * [[jQuery 1.11.1>>http://jira.xwiki.org/browse/XWIKI-11094]]
Thomas Mortagne 37.1 246 * [[Doxia 1.6>>http://jira.xwiki.org/browse/XRENDERING-364]]
Thomas Mortagne 38.1 247 * [[Joda-Time 2.5>>http://jira.xwiki.org/browse/XRENDERING-365]]
Thomas Mortagne 44.1 248 * [[commons-compress 1.9>>http://jira.xwiki.org/browse/XCOMMONS-665]]
Thomas Mortagne 1.1 249
250 = Translations =
251
252 The following translations have been updated:
253
254 {{language codes="none, none"/}}
255
256 = Tested Browsers & Databases =
257
Manuel Smeria 32.1 258 {{include reference="TestReports.ManualTestReportXWiki63M1Summary"/}}
Thomas Mortagne 1.1 259
260 = Known issues =
261
262 * [[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]]
263
264 = Backward Compatibility and Migration Notes =
265
266 == General Notes ==
267
268 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.
269
270 == Issues specific to XWiki <version> ==
271
272 <issues specific to the project>
273
274 == API Breakages ==
275
276 The following APIs were modified since <project> <version - 1>:
277
278 {{code language="none"}}
279 <clirr output here>
280 {{/code}}

Get Connected