Wiki source code of Release Notes for XWiki 6.3

Version 3.6 by Thomas Mortagne on 2014/11/12

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
7 <insert description of release here>
8
Thomas Mortagne 2.1 9 = New and Noteworthy (since XWiki 6.2.4) =
Marius Dumitru Florea 1.1 10
Thomas Mortagne 2.2 11 [[Full list of issues fixed and Dashboard for 6.3>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=12693]].
Marius Dumitru Florea 1.1 12
Thomas Mortagne 2.2 13 == Extension Manager and Repository improvements ==
Marius Dumitru Florea 1.1 14
Thomas Mortagne 2.2 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
17 * When importing an extension unknown but valid versions are not removed anymore
18 * The extension source URL and issue manager URL are now displayed in the extension description when available.
Thomas Mortagne 3.3 19 {{image reference="ReleaseNotesXWiki63M2@scmissuemanagement.png"/}}
Marius Dumitru Florea 1.1 20
Thomas Mortagne 2.2 21 == User Directory customized globally ==
22
23 The administrator of the wiki can customize the default columns to be displayed by the user directory.
24
Thomas Mortagne 3.4 25 {{image reference="ReleaseNotesXWiki63M1@userDirectoryGloballyConfigurableInAdministration.png"/}}
Thomas Mortagne 2.2 26
27 For more information, see the [[documentation>>extensions:Extension.User Directory Application]]
28
29 == Flamingo ==
30
31 {{info}}
32 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!
33 {{/info}}
34
35 * The 'Add' button has been moved back to the top bar and the search bar to the right:(((
36 {{image reference="ReleaseNotesXWiki622@flamingo-add.png" width="60%"/}}
37 )))
38 * 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:(((
39 {{image reference="ReleaseNotesXWiki622@flamingo-add-options.png"/}}
40 )))
41 * 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:(((
42 {{image reference="ReleaseNotesXWiki622@flamingo-menubar.png"/}}
43 )))
44 * To navigate to the current Wiki/Space/Page in the top bar, there is now a new "Go to..." item:(((
45 |=Wiki|=Space|=Page
46 |{{image reference="ReleaseNotesXWiki622@flamingo-goto-wiki.png"/}}|{{image reference="ReleaseNotesXWiki622@flamingo-goto-space.png"/}}|{{image reference="ReleaseNotesXWiki622@flamingo-goto-page.png"/}}
47 )))
48 * The languages selection is now located in the top bar. It is displayed only when the multilingual mode is enabled:(((
49 {{image reference="ReleaseNotesXWiki622@languages.png" width="60%"/}}
50 When there is no translation available:
51 {{image reference="ReleaseNotesXWiki622@languages-no-alternative.png"/}}
52 When there is some translations available:
53 {{image reference="ReleaseNotesXWiki622@languages-with-alternatives.png"/}}
54 )))
55 * The [[Livetable>>extensions:Extension.Livetable Macro]] is now responsive to the screen size, so you can use them with smartphones:(((
56 {{image reference="ReleaseNotesXWiki622@Livetable-Responsive.png"/}}
57 )))
58 * The Flamingo Theme Application now uses a new Color Picker.(((
59 {{image reference="ReleaseNotesXWiki621@NewColorPicker.png"/}}
60 )))
61 * To sum up, this is the new look:(((
62 {{image reference="ReleaseNotesXWiki622@flamingo.png"/}}
63 )))
64
Thomas Mortagne 3.5 65 * 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.(((
66 {{image reference="ReleaseNotesXWiki63M1@flamingo-add.png"/}}
67 )))
68
Thomas Mortagne 3.1 69 === Flamingo Themes Application ===
70
71 Now, when you click on "Manage color theme" in the Administration, you reach the [[new application to manage the Flamingo Themes>>extensions:Extension.Flamingo Theme Application]]:
72
73 {{image reference="ReleaseNotes.ReleaseNotesXWiki624@FlamingoThemeWebHome.png" width="50%"/}}
74
75 You can use it to change the current theme, modify any theme or create new ones.
76
77 We have also added 3 new themes: Marina, Garden and Kitty.
78
79 {{gallery}}
80 image:Marina.png
81 image:Garden.png
82 image:Kitty.png
83 {{/gallery}}
84
85 === Bootswatch Themes for Flamingo ===
86
87 XWiki comes with [[16 new themes for Flamingo>>extensions:Extension.Bootswatch Themes for Flamingo]], that have been adapted from [[Bootswatch>>http://bootswatch.com/]].
88
89 {{gallery}}
90 image:Cerulean.png
91 image:Cosmo.png
92 image:Cyborg.png
93 image:Darkly.png
94 image:Flatly.png
95 image:Journal.png
96 image:Lumen.png
97 image:Paper.png
98 image:Readable.png
99 image:Sandstone.png
100 image:Simplex.png
101 image:Slate.png
102 image:Spacelab.png
103 image:Superhero.png
104 image:United.png
105 image:Yeti.png
106 {{/gallery}}
107
Thomas Mortagne 2.2 108 == Panels Application ==
109
110 It is now possible to select which applications are displayed in the App Bar, and which are not:
111
112 {{image reference="customizable-app-bar.png"/}}
113
Thomas Mortagne 3.1 114 == Document Tree Macro ==
115
116 We introduce [[a new wiki macro>>extensions:Extension.Document Tree Macro]] to display the hierarchy of documents:
117
118 {{code language="none"}}
119 {{documentTree /}}
120 {{/code}}
121
122 {{image reference="docHierarchyTree.png"/}}
123
124 === Document Index Tree ===
125
126 The new [[Document Tree Macro>>extensions:Extension.Document Tree Macro]] is now used in the Wiki document index.
127
128 {{image reference="index-alldocs-tree.png"/}}
129
130 === Navigation Panel ===
131
132 We also changed the Navigation Panel to use the new [[Document Tree Macro>>extensions:Extension.Document Tree Macro]].
133
134 {{info}}
135 Very importantly the old Navigation Panel was a performance hog on large wikis and it's not longer the case (since nodes are now opened dynamically and not all documents are loaded in memory)!
136 {{/info}}
137
138 {{image reference="navigationPanel.png"/}}
139
Marius Dumitru Florea 1.1 140 == Miscellaneous ==
141
Thomas Mortagne 2.2 142 * The default color themes (DefaultColorTheme and FlamingoDefaultTheme) have been renamed Azure and Charcoal.
143 * In the select field of the 'color theme' property, in the administration, the color themes are now ordered by name.
144 * 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.
145 * Improved L&F when a template fails to render:(((
146 {{image reference="templateerror.png" width="650px"/}}
147 )))
148 * 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.(((
149 {{image reference="ColorThemeDisplayer.png"/}}
150 )))
151 * 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).
152 * 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"]].
153 * 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]]
154 * Office macro can now take a URL as input. See [[extensions:Extension.Office Macro]] for more details
155 * The standalone distribution now uses Jetty 9.2.3.v20140905 (was using version 8.1.15.v20140411 in XWiki 6.3-milestone-1). This should be transparent for the user since XWiki provides its own start/stop scripts around Jetty.
156 * The Delete Space feature now lists the documents inside the space you are going to delete. This should help people differentiate between the UI of Delete Page and the UI of Delete Space so that fewer mistakes occur when not paying much attention:(((
157 {{image reference="deleteSpaceListDocuments.png"/}}
158 )))
Thomas Mortagne 3.1 159 * Updated [[XAR export URL format>>platform:Features.Exports||anchor="HXARExport"]] to allow exporting a full space, a full wiki, or any list of pages matching a pattern. For example:(((
160 {{code language="none"}}
161 http://localhost:8080/xwiki/bin/export/Main/WebHome?format=xar&name=test&pages=Main.%25
162 http://localhost:8080/xwiki/bin/export/Main/WebHome?format=xar&name=test&pages=%25.%25
163 http://localhost:8080/xwiki/bin/export/Main/WebHome?format=xar&name=test&pages=%25.%25Home
164 {{/code}}
165 )))
166 * Added an edit button to easily change the default Welcome message that is displayed on the homepage. Users have reportedly been struggling with this task for a while now and, until we come up with a new format for the homepage, this is the solution we have proposed to make things easier.(((
167 {{image reference="editWelcomeMessage.png"/}}
168 )))
169 * The configuration of the [[Applications Panel>>extensions:Extension.Panels Application||anchor="HApplicationPanel"]] now works with touch-screen devices too.
170 * The Standalone Distribution [[now has a new startup parameter to enable monitoring/managing the Jetty instance>>platform:AdminGuide.Monitoring||anchor="HJMXConsole"]]. You can use it with ##start_xwiki.sh -j## (or ##start_xwiki.sh ~-~-jmx##).
171 * Updated the notification message when the panel layout is saved to use the standard notification widget.
Marius Dumitru Florea 1.1 172
173 = For Developers =
174
Thomas Mortagne 2.2 175 == Velocity macros to display users and groups ==
Marius Dumitru Florea 1.1 176
Thomas Mortagne 2.2 177 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:
Marius Dumitru Florea 1.1 178
Thomas Mortagne 2.2 179 {{code language="none"}}
180 {{velocity}}
181 {{html wiki="true"}}
182 = Users =
183 == Just one ==
184 #displayUser('XWiki.Admin')
Marius Dumitru Florea 1.1 185
Thomas Mortagne 2.2 186 == List of users ==
187 #displayUser(['Admin', 'XWiki.mflorea'])
Marius Dumitru Florea 1.1 188
Thomas Mortagne 2.2 189 == A reference of a user ==
190 #displayUser($xcontext.userReference)
Marius Dumitru Florea 1.1 191
Thomas Mortagne 2.2 192 == A list of references of users ==
193 #displayUser([$xcontext.userReference, $otherUserReference])
Marius Dumitru Florea 1.1 194
Thomas Mortagne 2.2 195 = Groups =
196 == Just one ==
197 #displayGroup('XWiki.XWikiAdminGroup')
Marius Dumitru Florea 1.1 198
Thomas Mortagne 2.2 199 == List of groups ==
200 #displayGroup(['XWikiAdminGroup','XWiki.HRGroup'])
201
202 == A reference of a group ==
203 #set($adminGroupRef = $services.model.resolveDocument('XWiki.XWikiAdminGroup'))
204 #set($allGroupRef = $services.model.resolveDocument('XWiki.XWikiAllGroup'))
205 #displayGroup($adminGroupRef)
206
207 == A list of references of groups ==
208 #displayGroup([$adminGroupRef, $allGroupRef])
209
210 {{/html}}
211 {{/velocity}}
212 {{/code}}
213
214 == New Velocity Tools ==
215
216 * 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.
217 * New Exception Tool ##$exceptiontool##: A [[new tool>>extensions:Extension.Velocity Module||anchor="HVelocityTools"]] to manipulate Java Exceptions (get root cause, convert into String, etc).
218 * ##$stringtool## moved from ##org.apache.commons.lang3.StringUtils## to ##org.xwiki.text.StringUtils## which extends the first one and add new stuff
219
220 == Ability to catch Exceptions from Velocity ==
221
222 A new Velocity Directive has been added to catch Exceptions from Velocity. In addition a new ###displayUnhandledException()## velocity macro has also been added to nicely display an exception to the user.
223
224 For example:
225
226 {{code language="velocity"}}
227 #try()
228 #set($outputSyntax = $xwiki.getAvailableRendererSyntax($request.outputSyntax, $request.outputSyntaxVersion))
229 #if ($outputSyntax)
230 ## If the passed syntax is not an HTML-compatible syntax we need to HTML-escape it so that it can be
231 ## displayed fine in HTML (since at the point this vm file is called we're already inside an HTML page with
232 ## panels on the side, header, etc).
233 #set($syntaxType = $outputSyntax.type.toIdString())
234 #if (($syntaxType == "xhtml") || ($syntaxType == "html"))
235 #set ($renderedContent = $tdoc.getRenderedContent($outputSyntax))
236 #else
237 ## Make sure to print correctly the result when it's not HTML
238 #set ($renderedContent = "<pre>$escapetool.html($tdoc.getRenderedContent($outputSyntax))</pre>")
239 #end
240 #else
241 #set ($renderedContent = $tdoc.getRenderedContent())
242 #end
243 #end
244 ...
245 <div id="xwikicontent">
246 #if ("$!exception" != '')
247 #displayUnhandledException($exception)
248 #else
249 $renderedContent
250 #end
251 </div>
252 ...
253 {{/code}}
254
255 This generates the following in case of error rendering the page:
256
257 {{image reference="renderingerror.png"/}}
258
259 == New #displayException macro ==
260
261 Displays an error message with a title that can be clicked and expands to display an exception.
262
263 Example from a wiki page:
264
265 {{code language="none"}}
266 {{velocity}}
267 #set ($message = $services.mailsender.createMessage())
268 $message.send()
269
270 {{html}}
271 #displayException("hello world", $services.mailsender.lastError)
272 {{/html}}
273 {{/velocity}}
274 {{/code}}
275
276 == Component Disposal ==
277
278 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:
279
280 {{code language="java"}}
281 @Component
282 @Singleton
283 @DisposePriority(10000)
284 public class DefaultHibernateSessionFactory implements HibernateSessionFactory, Disposable
285 {
286 ...
287 @Override
288 public void dispose() throws ComponentLifecycleException
289 {
290 ... called after other components in order to shut down the database late...
291 }
292 ...
293 }
294 {{/code}}
295
296 See the [[Component Reference documentation>>extensions:Extension.Component Module]] for other details.
297
298 == New LiveTable Filtering Option ==
299
300 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:
301
302 {{code language="none"}}
303 #set ($columnsProperties = {
304 'doc.name': {'type': 'text', 'size': 10, 'link': 'view'},
305 ...
306 'myDatabaseList': {'type': 'text', 'size': 10, 'match': 'partial'},
307 ...
308 })
309 {{/code}}
310
311 Checkout the [[LiveTable Macro documentation>>extensions:Extension.Livetable Macro||anchor="HParameter24columnsProperties"]] for more details about the **match** option.
312
313 == Solr JSON Service ==
314
315 You can now make search requests from JavaScript using the Solr JSON service. The results include all the information that is indexed by Solr so you can display them as you wish. See the [[Solr Search Application>>extensions:Extension.Solr Search Application||anchor="HJSONService"]] documentation for more details.
316
317 == Document Meta Informations ==
318
319 * We have introduced a new JavaScript API to get informations about the current document. See: [[platform:DevGuide.JavaScriptAPI||anchor="HGetsomeinformationsaboutthecurrentdocument"]].
320
Thomas Mortagne 3.1 321 == Tree Widget ==
322
323 We introduce a [[new JavaScript widget>>extensions:Extension.Tree Widget]] that can be used to create tree views for the structured data stored in the wiki. It is based on [[jsTree>>http://www.jstree.com/]] and thus has support for both static and dynamic (interactive) trees.
324
325 == Tree Macro ==
326
327 We introduce [[a new wiki macro>>extensions:Extension.Tree Macro]] that allows you to easily define a tree in a wiki page. It uses the tree widget.
328
329 {{code language="none"}}
330 {{tree}}
331 * Parent
332 ** Child
333 {{/tree}}
334
335 {{tree reference="Space.MyDynamicTree" /}}
336 {{/code}}
337
338 == Improved WebJars Integration ==
339
340 We added 2 new features to improve the WebJars Integration:
341
342 * You can now omit the WebJar version:(((
343 {{code language="none"}}
344 $services.webjars.url('angularjs', 'angular.js')
345 {{/code}}
346 )))
347 * You can use Velocity code in WebJar resources. This means you can use for instance Color Theme variables inside your CSS files that are packaged inside a WebJar:(((
348 {{code language="none"}}
349 $services.webjars.url('org.xwiki.contrib:my-webjar', 'style.css', {'evaluate': true})
350 {{/code}}
351 )))
352
353 See the [[WebJar Integration documentation>>extensions:Extension.WebJars Integration]] for more information.
354
Marius Dumitru Florea 1.1 355 == Miscellaneous ==
356
Thomas Mortagne 2.2 357 * The wiki provisioning job has now the current user set in the context.
358 * 10 new icons have been mapped into [[Font Awesome Icon Theme>>extensions:Extension.Font Awesome Icon Theme]].
359 * 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.
360 * [[It's possible to get DEBUG information only for shutdown operations>>dev:Community.Debugging||anchor="HLoggingshutdownoperations"]] by editing ##logback.xml## and setting:(((
361 {{code language="xml"}}
362 <logger name="org.xwiki.shutdown" level="debug"/>
363 {{/code}}
364 )))
365 * When importing an extension unknown but valid versions are not removed anymore
366 * New ##outputOnlyHtml## option for the ##livetable## macro to output only the HTML, without the syntax specific wrappers. See the [[documentation>>extensions:Extension.Livetable Macro||anchor="HAllacceptedvalues"]].
Thomas Mortagne 3.1 367 * Suggest widget now has an extra ##propagateEventKeyCodes## option where key codes can be listed so their events will be propagated. See the [[documentation>>platform:DevGuide.AutoSuggestWidget||anchor="HJavascriptparametersfortheXWiki.widgets.Suggestconstructor"]].
368 * Extended modalPopup.js to support specifying keyboard shortcut options for the defined actions. See the [[documentation>>platform:DevGuide.ModalPopup||anchor="HConstructorfieldsfortheModalPopupJavascriptclass"]].
369 * You can now [[render an icon from any icon theme present on the wiki>>extensions:Extension.Icon Theme Application||anchor="HUsagewithscripts"]], referenced by its name:(((
370 {{code language="velocity"}}
371 $services.icon.render('globe', 'Silk')
372 $services.icon.render('globe', 'Font Awesome')
373 {{/code}}
374 )))
Marius Dumitru Florea 1.1 375
Thomas Mortagne 2.2 376 == Upgrades ==
377
378 The following dependencies have been upgraded:
379
380 * [[JGroups 3.5.1>>http://jira.xwiki.org/browse/XWIKI-10987]]
381 * [[Tika 1.6>>http://jira.xwiki.org/browse/XWIKI-10956]]
382 * [[reflections 0.9.9>>http://jira.xwiki.org/browse/XCOMMONS-654]]
383 * [[Groovy 2.3.7>>http://jira.xwiki.org/browse/XCOMMONS-655]]
384 * [[jQuery 1.11.1>>http://jira.xwiki.org/browse/XWIKI-11094]]
385 * [[Doxia 1.6>>http://jira.xwiki.org/browse/XRENDERING-364]]
386 * [[Joda-Time 2.5>>http://jira.xwiki.org/browse/XRENDERING-365]]
387 * [[commons-compress 1.9>>http://jira.xwiki.org/browse/XCOMMONS-665]]
Thomas Mortagne 3.1 388 * [[httpcore 4.3.3>>http://jira.xwiki.org/browse/XCOMMONS-679]]
Thomas Mortagne 2.2 389
Marius Dumitru Florea 1.1 390 = Translations =
391
392 The following translations have been updated:
393
Thomas Mortagne 2.2 394 {{language codes="de, fr, lv"/}}
Marius Dumitru Florea 1.1 395
396 = Tested Browsers & Databases =
397
398 {{include reference="TestReports.ManualTestReportTemplateSummary"/}}
399
400 = Performances tests compared to <last super stable version> =
401
402 <a summary of the comparison with latest super stable version>
403
404 More details on <link to the test report>.
405
406 = Known issues =
407
408 * [[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]]
409
410 = Backward Compatibility and Migration Notes =
411
412 == General Notes ==
413
414 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.
415
Thomas Mortagne 2.2 416 == Programming Rights disabled for TextArea Properties ==
Marius Dumitru Florea 1.1 417
Thomas Mortagne 2.2 418 If you have a class with a TextArea property and in your sheet you use ##$doc.display()## to display this property then you must know that starting with this version the content of the TextArea is rendered without programming rights, even if the last author or content author of the document that has the object with the TextArea property has programming rights. In other words, if you use wiki syntax in the TextArea content and you use script macros inside, the code that requires programming rights won't be executed even if you have the necessary rights. The reason for this change is because we can't know for sure who is the last author of the TextArea's content. We may remove this limitation in the future if we add a way to know the author. A solution we are currently investigating is the usage of signed scripts in TextArea's content. Until then, if you really want to execute the content of your TextArea properties using programming rights then you can use ##$doc.getRenderedContent()## in your sheet, passing the content of the TextArea property.
Marius Dumitru Florea 1.1 419
Thomas Mortagne 3.1 420 == Change on velocity macro handling in skin templates ==
421
422 Wiki page does not have access anymore to Velocity macros defined in the skin templates (except for macro.vm special template).
423
Marius Dumitru Florea 1.1 424 == API Breakages ==
425
Thomas Mortagne 3.6 426 The following APIs were modified since XWiki 6.2:
Marius Dumitru Florea 1.1 427
Thomas Mortagne 3.1 428 * Add scm informations to extensions descriptors. Should be safe enough since most repository handlers extend AbstractExtension instead of directly implement Extension
429
Marius Dumitru Florea 1.1 430 {{code language="none"}}
Thomas Mortagne 2.2 431 org.xwiki.extension.Extension: Method 'public org.xwiki.extension.ExtensionIssueManagement getIssueManagement()' has been added to an interface
Thomas Mortagne 3.1 432 {{/code}}
Thomas Mortagne 2.2 433
Thomas Mortagne 3.1 434 * Add issue management informations to extensions descriptors. Should be safe enough since most repository handlers extend AbstractExtension instead of directly implement Extension
435
Thomas Mortagne 2.2 436 {{code language="none"}}
437 org.xwiki.extension.Extension: Method 'public org.xwiki.extension.ExtensionScm getScm()' has been added to an interface
Thomas Mortagne 3.1 438 {{/code}}
Thomas Mortagne 2.2 439
Thomas Mortagne 3.1 440 * Never really been supposed to be exposed as an API.
441
Thomas Mortagne 2.2 442 {{code language="none"}}
443 com.xpn.xwiki.objects.BaseElement: Accessibility of field localEntityReferenceSerializer has been weakened from protected to private
444 com.xpn.xwiki.doc.XWikiDocument: Method 'public java.lang.String ajc$privMethod$com_xpn_xwiki_doc_XWikiDocumentCompatibilityAspect$com_xpn_xwiki_doc_XWikiDocument$serializeReference(org.xwiki.model.reference.DocumentReference, org.xwiki.model.reference.EntityReferenceSerializer, org.xwiki.model.reference.DocumentReference)' has been removed
Thomas Mortagne 3.1 445 {{/code}}
Thomas Mortagne 2.2 446
Thomas Mortagne 3.1 447 * Changed the LESSCache interface and the LESS Script Service because the cache was poorly designed (see: [[XWIKI-10776>>http://jira.xwiki.org/browse/XWIKI-10776]]).
448
Thomas Mortagne 2.2 449 {{code language="none"}}
450 org.xwiki.lesscss.LessCompilerScriptService: Method 'public boolean clearCache(java.lang.String)' has been removed
451 org.xwiki.lesscss.LESSCache: Method 'public void clear(java.lang.String)' has been removed
452 org.xwiki.lesscss.LESSCache: Method 'public void clearFromColorTheme(java.lang.String)' has been added to an interface
453 org.xwiki.lesscss.LESSCache: Method 'public void clearFromFileSystemSkin(java.lang.String)' has been added to an interface
454 org.xwiki.lesscss.LESSCache: In method 'public java.lang.Object get(java.lang.String, java.lang.String, java.lang.String, java.lang.String)' the number of arguments has changed
455 org.xwiki.lesscss.LESSCache: In method 'public void set(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.Object)' the number of arguments has changed
456 {{/code}})))
Thomas Mortagne 3.1 457
458 * Added new methods to the unstable Icon Module
459
460 {{code language="none"}}
461 org.xwiki.icon.IconManager: Method 'public java.lang.String render(java.lang.String, java.lang.String)' has been added to an interface
462 org.xwiki.icon.IconManager: Method 'public java.lang.String render(java.lang.String, java.lang.String, boolean)' has been added to an interface
463 org.xwiki.icon.IconManager: Method 'public java.lang.String renderHTML(java.lang.String, java.lang.String)' has been added to an interface
464 org.xwiki.icon.IconManager: Method 'public java.lang.String renderHTML(java.lang.String, java.lang.String, boolean)' has been added to an interface
465 org.xwiki.icon.IconSetCache: Method 'public void clear(java.lang.String, java.lang.String)' has been added to an interface
466 org.xwiki.icon.IconSetCache: Method 'public org.xwiki.icon.IconSet get(java.lang.String, java.lang.String)' has been added to an interface
467 org.xwiki.icon.IconSetCache: Method 'public void put(java.lang.String, java.lang.String, org.xwiki.icon.IconSet)' has been added to an interface
468 org.xwiki.icon.IconSetManager: Method 'public org.xwiki.icon.IconSet getIconSet(java.lang.String)' has been added to an interface
469 {{/code}}

Get Connected