Wiki source code of Release Notes for XWiki 6.4

Version 12.1 by Vincent Massol on 2015/01/21

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 The 6.4 release is the last major release of the 6.x development Cycle and as such was mainly dedicated to improvements and bugfixes on things introduced during 6.X.
8
9 This version introduces some developer oriented improvements: allow wiki based skins to overwrite macro.vm template, allow filesystem skins indicating explicitly the skin they are inheriting from, allow any component to be injected with its ComponentDescriptor, Panels and UI extensions are now executed with the right of their author so among other things they can use APIs requiring Programming rights.
10
11 It also brings UI improvements in the Menu application, a new Mail application (and Mail-related improvements, such as the ability to send massive number of emails) and lots of Flamingo skin improvements (Mobile-friendliness to mention one), while offering developers the ability to write LESS in Skin Extensions, and a cool icon picker.
12
13 Last but not least, this version provides the ability to rate Extensions inside the Extension Repository and visualise them inside the Extension Manager.
14
15 = New and Noteworthy (since XWiki 6.3) =
16
17 [[Full list of issues fixed and Dashboard for 6.4>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=12998]].
18
19 == Menu Application ==
20
21 Taking advantage of the ability to have LESS inside our [[StyleSheetExtensions>>extensions:Extension.Skin Extension Plugin||anchor="HUseLESS"]], we improved the [[Menu Application>>extensions:Extension.Menu Application]], on Flamingo based skins, making it responsive and also adapting its styling according to the active [[Flamingo Theme>>extensions:Extension.Flamingo Theme Application]].
22 Colibri based skins preserve the initial styling.
23
24 {{gallery}}
25 image:ReleaseNotesXWiki64M2@menu_flamingo_charcoal.png
26 image:ReleaseNotesXWiki64M2@menu_flamingo_united.png
27 image:ReleaseNotesXWiki64M2@menu_flamingo_darkly.png
28 image:ReleaseNotesXWiki64M2@menu_flamingo_simplex.png
29 image:ReleaseNotesXWiki64M2@menu_flamingo_charcoal_responsive.png
30 {{/gallery}}
31
32 == Flamingo Skin ==
33
34 We partially restored the behaviour of the top level menu from version 6.2, with some improvements:
35 * For tablet and desktop:
36 ** the menu label is a link used for navigation
37 ** the toggle (arrow / caret) is used for opening the drop down menu, but should be better separated from the label
38 * On phones the behaviour remains the same: taping on the label opens the menu
39
40 Default: {{image reference="[email protected]"/}}
41 Hover Link: {{image reference="[email protected]"/}}
42 Hover Toggle: {{image reference="[email protected]"/}}
43 Open: {{image reference="[email protected]"/}}
44
45 The history table, under each page, is now responsive to the screen size:(((
46 {{image reference="[email protected]" /}}
47 )))
48
49 Some improvements have been made on the responsive tables (including the livetables) and we have fixed the broken livetables for mobiles on some places:(((
50 {{image reference="[email protected]" width="30%"/}} {{image reference="[email protected]" width="30%"/}} {{image reference="[email protected]" width="30%"/}}
51 )))
52
53 == Rating Features ==
54
55 The Contrib ratings project has been moved to platform. Java APIs have been broken by the package renaming but script APIs have been kept retro-compatible and the UI is mostly the same. See [[Ratings Application>>extensions:Extension.Ratings Application]].
56
57 It's now possible to rate extensions in [[Extension Repository>>extensions:Extension.Repository Application]] and any repository handler can expose extension rating that are displayed (read only for now) in [[Extension Manager>>extensions:Extension.Extension Manager Application]].
58
59 {{image reference="[email protected]"/}} {{image reference="[email protected]"/}}
60
61 == Wiki Configuration ==
62
63 A new "Configuration > Wiki" section is added in Administration where you can configure the current wiki, whether it is the main wiki or a subwiki.
64
65 {{image reference="ReleaseNotesXWiki64M3@wikiDescriptorEditingAdministration-cropped.png"/}}
66
67 For more information, see the [[documentation>>extensions:Extension.Wiki Application||anchor="HConfigureWiki"]].
68
69 == New Parameters for Document Tree Macro ==
70
71 We added 3 new parameters to the [[Document Tree Macro>>extensions:Extension.Document Tree Macro]]:
72
73 * **filterByClass**: show only the documents that have an object of the specified type. The value of this parameter is the full name of an XWiki document that holds a class definition. For example, 'Blog.CategoryClass' can be used to show only the documents that represent blog categories.
74 * **openTo**: the id of the node to open the tree to. All the ancestors of the specified node, up to the root of the tree, will be opened also.
75 * **showOnlyViewable**: show only the wiki, space and document nodes for which the current user has view right. If this is set to false then the wiki, space and document nodes that are not viewable by the current user are listed in the tree using their names. The user won't be able to see their content by following their links though (the user will just be aware of their existence).
76
77 == Mail Feature ==
78
79 * The mail feature has a new Category in the Admin UI (see the [[Mail Application>>extensions:Extension.Mail Application]] for details).(((
80 {{image reference="[email protected]"/}}
81 )))
82 * There's now the possibility to configure default BCC addresses which will be added by default to all emails sent using the [[Mail Sender API>>extensions:Extension.Mail Sender API]].(((
83 {{image reference="[email protected]"/}}
84 )))
85 * The [[Mail Sender API>>extensions:Extension.Mail Sender API]] now checks for permission before sending emails, when using it from scripts (i.e. when using the Mail Sender Script Service). There are currently 2 possible strategies that you configure in your ##xwiki.properties## file(((
86 {{code language="none"}}
87 #-# [Since 6.4M2]
88 #-# Defines which authorization checks are done when sending mails using the Mail Sender Script Service.
89 #-# Example of valid values:
90 #-# - "programmingrights": the current document must have Programming Rights
91 #-# - "alwaysallow": no check is performed. This is useful when running XWiki in a secure environment where we
92 #-# want to allow all users to be able to send emails through the Script Service.
93 #-# The default is:
94 # mail.sender.scriptServiceCheckerHint = programmingrights
95 {{/code}}
96 )))
97 * The [[Mail Sender API>>extensions:Extension.Mail Sender API]] has been modified to support sending a large number of mails at once. In addition the [[Mail Admin UI>>extensions:Extension.Mail Application]] has been improved to display the statuses of mails (when they're sent by XWiki features specifying that the mail statuses should be persisted).(((
98 {{image reference="[email protected]"/}}
99
100 {{image reference="[email protected]"/}}
101 )))
102 * You can now specify the delay to wait between each mail being sent, in milliseconds. This is done to support mail throttling and not be considered a spammer by mail servers. For example if you wish to wait 10 seconds (if not specified the default is 8 seconds, which is 450 mails per hour), set the following in your ##xwiki.properties##:(((
103 {{code language="none"}}
104 mail.sender.sendWaitTime = 10000
105 {{/code}}
106
107 The configuration parameter can also be changed from the [[Mail Admin UI>>extensions:Extension.Mail Application]]:
108
109 {{image reference="[email protected]"/}}
110 )))
111 * We now save both an error summary and a full error description when a mail fails to be sent when using the Database Mail Listener. This allows to see the full stack trace of the problem to more easily debug it.(((
112 {{image reference="[email protected]"/}}
113 )))
114 * The Mail Type is now displayed in the [[Mail Sender Status Admin UI>>extensions:Extension.Mail Application]]:(((
115 {{image reference="[email protected]"/}}
116 )))
117 * The ##MailResult.isSent()## API has been renamed to ##MailResult.isProcessed()## to avoid thinking that it'll return true if all mails have been sent successfully. What it does is simply return true when all mails have been processed, whether they've been sent successfully or not.
118 * A new scripting API has been added to set the mail type:(((
119 {{code language="none"}}
120 $message.setType("Some type")
121 {{/code}}
122 )))
123 * In the [[Mail Sender Status Admin UI>>extensions:Extension.Mail Application]] we now only display mails sent by the current wiki unless we're on the main wiki.
124 * The [[Mail Application>>extensions:Extension.Mail Application]] doesn't require Programming Rights for installation anymore.
125 * Account Validation email results are now saved and visible in the [[Mail Application>>extensions:Extension.Mail Application]].
126 * Some new [[Mail Sender Storage script services>>extensions:Extension.Mail Sender Storage]] have been added: ability to delete mail statuses for a single mail and for a whole batch, and ability to load mail statuses with criteria.
127 * When messages are sent with the API they are now persisted locally before they are effectively sent, one by one. This means that even if XWiki crashes when mails are being sent, their statuses will be correctly displayed in the [[Mail Sender Status Admin UI>>extensions:Extension.Mail Application]] and can be resent.
128 * The Java API has been modified to use Strings in all places where it was previously using a UUID, in order to allow for change in unique id generation in the future.
129 * The wiki is not displayed in the [[Mail Sender Status Admin UI>>extensions:Extension.Mail Application]](((
130 {{image reference="mailwiki.png"/}}
131 )))
132
133 == Wikis ==
134
135 A "Wikis" category has been created in the administration, where the configuration have been moved and split in different sections:(((
136 |=Left menu|=Right menu
137 |{{image reference="[email protected]"/}}|{{image reference="[email protected]"/}}
138 )))
139
140 == Extension Manager incompatible exceptions ==
141
142 When trying to install an incompatible extension (i.e. you are running XWiki 6.2.4 and want to install FAQ Application 6.3), you are now displayed a proper error instead of having to read through the install log to understand what went wrong, and you are instructed to use the ##Description > Stable Versions## section to manually (for now) find a compatible version of the extension that you want to install.
143
144 {{image reference="[email protected]"/}}
145
146 == Solr server setup package ==
147
148 Everything needed to setup an XWiki index in a remote Solr server is now packaged in a standalone project (##xwiki-platform-search-solr-server-data##). A Debian package (##xwiki-solr-data##) has also been provided to make easier to keep it up to date.
149
150 == Miscellaneous ==
151
152 * It's [[now possible to send Registration emails in HTML>>extensions:Extension.Administration Application||anchor="HRegistration"]] (by default they're sent in plain text). This is achieved by fully supporting any MIME content in the "Validation Email Content" and "Confirmation Email Content" sections of the Registration Administration UI. For example for the "Validation Email Content" field, you could use the following template to send HTML emails:(((
153 {{code language="none"}}
154 #set ($wikiname = $request.serverName)
155 #set ($host = ${request.getRequestURL()})
156 #set ($host = ${host.substring(0, ${host.indexOf('/', ${mathtool.add(${host.indexOf('//')}, 2)})})})
157 Subject: Validate your account on ${wikiname}
158 Content-type: text/html; charset=iso-8859-1
159
160 <p>Hello <b>${xwiki.getUserName("XWiki.$xwikiname", false)}</b>,</p>
161 <p>This email address was used to register a new account on ${wikiname}. If you did not make the request, please ignore this message.</p>
162 <p>In order to activate your account, please follow this link:
163 ${host}${xwiki.getURL('XWiki.AccountValidation', 'view', "validkey=${validkey}&xwikiname=${xwikiname}")}</p>
164 {{/code}}
165 )))
166 * The selected tree node is now highlighted even when links are enabled:(((
167 {{image reference="[email protected]" /}}
168 )))
169 * A list of icons supported by XWiki have been created, with mapping for Silk and Font Awesome. Which means that we now propose a list of icons that are both present in Silk and Font Awesome.
170 * The list of columns in the UserDirectory customization screen is now sorted alphabetically
171 * The accuracy of the attachment content type detection has been improved. If the file name extension is unknown then we attempt to detect the content type from the first bytes of the file content. You can check this by attaching a text file without the 'txt' file name extension.
172 * Displaying the 'Stable versions' label in an extension's description in Extension Manager before and after the list of versions is retrieved.
173 * A click to the Document Index does not lead to an other space anymore.
174 * [[extensions:Extension.Tag Cloud Macro]] has now a new parameter (spaces) to display a tag cloud from multiple spaces.
175
176 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.
177
178 = For Developers =
179
180 == Icon Picker ==
181
182 An [[icon picker>>extensions:Extension.Icon Theme Application||anchor="#HIconPicker"]] has been created to help users selecting an image in the list of supported icons.
183
184 {{image reference="[email protected]"/}}
185
186 This picker is already used in [[Application Within Minutes>>extensions:Extension.App Within Minutes Application]] for the application's icon selection.
187
188 == Skin Extensions ==
189
190 [[Now you can use LESS in your Skin Extensions!>>extensions:Extension.Skin Extension Plugin||anchor="HUseLESS"]]. You just need to set the new property "Content Type" to LESS inside your Skin Extension object:
191
192 {{image reference="[email protected]"/}}.
193
194 == Admin ConfigurableClass ==
195
196 The [[##ConfigurableClass## mechanism>>extensions:Extension.Administration Application||anchor="HMakingyourapplicationconfigurablewithConfigurableClass"]] has been improved to be able to contribute new categories in the Admin UI. For example the "Email" Category in the following screenshot is contributed through a ##ConfigurableClass##:
197
198 {{image reference="[email protected]"/}}
199
200 It was configured using:
201
202 {{image reference="[email protected]"/}}
203
204 == Velocity changes ==
205
206 === Remove a Velocity Engine from the cache ===
207
208 ##org.xwiki.velocity.VelocityFactory## now provide an API to remove a cached Velocity Engine.
209
210 === Overriding Velocimacros in wiki-based skins ===
211
212 It's now possible to override the ##macros.vm## template in a wiki based skin (object property and attachment). Any modification to this template is also taken into account (the Velocity engine is recreated when the template is modified).
213
214 === Cleanup unprotected namespaces ===
215
216 VelocityEngine automatically get rid of the passed namespace at the end of execution unless it's protected.
217
218 In practice in means that the following:
219
220 {{code language="java"}}
221 engine.evaluate(new VelocityContext(), new StringWriter(), "namespace", "#macro(mymacro)toto#end")
222
223 Writer out = new StringWriter();
224 engine.evaluate(new VelocityContext(), out, "namespace", "#mymacro()")
225
226 System.out.println(out.toString())
227 {{/code}}
228
229 will now print
230
231 {{code language="none"}}
232 #mymacro()
233 {{/code}}
234
235 To get
236
237 {{code language="none"}}
238 toto
239 {{/code}}
240
241 you need the following
242
243 {{code language="java"}}
244 engine.startedUsingMacroNamespace("namespace")
245
246 try {
247 engine.evaluate(new VelocityContext(), new StringWriter(), "namespace", "#macro(mymacro)toto#end")
248
249 Writer out = new StringWriter();
250 engine.evaluate(new VelocityContext(), out, "namespace", "#mymacro()")
251
252 System.out.println(out.toString())
253 } finally {
254 engine.stoppedUsingMacroNamespace("namespace")
255 }
256 {{/code}}
257
258 == Skins system improvements ==
259
260 Support for a new ##skin.properties## configuration file has been introduced in filesystem skins.
261
262 Right now it supports a ##parent## property to indicate another skin to inherit from. If set to an empty value ({{code language="properties"}}parent={{/code}}) the skin will directly inherit from the WAR; if not set at all it will behave as before which means inherit from whatever is configured in ##xwiki.cfg##'s ##xwiki.defaultbaseskin## property.
263
264 == Component Metadata Access ==
265
266 If your Component implementation needs to get access to its component metadata (i.e. its ##ComponentDescriptor##) then it can [[get it injected automatically>>extensions:Extension.Component Module||anchor="HComponentMetadata"]]. For example:
267
268 {{code language="java"}}
269 import org.xwiki.component.descriptor.ComponentDescriptor;
270 ...
271 @Component
272 @Singleton
273 public class MyComponentImpl implements MyComponent
274 {
275 @Inject
276 private ComponentDescriptor<MyComponent> descriptor;
277
278 public void doSomething()
279 {
280 String hint = this.descriptor.getRoleHint();
281 ...
282 }
283 }
284 {{/code}}
285
286 == Panels executed with the rights of their author ==
287
288 It's now possible to write script requiring programming right in panels as long as you have programming right, same as wiki macros.
289
290 == UI extensions executed with the rights of their author ==
291
292 What you can execute in UI extension used to depend on current document author right, it's now based on the own ui extension author.
293
294 == Rendering ==
295
296 XWiki Rendering now provide an HTML5 Renderer.
297
298 == Miscellaneous ==
299
300 * Added new APIs to get all the icon themes present on the wiki, and all icons that these icon themes contain.(((
301 {{code language="velocity"}}
302 $services.icon.getIconSetNames()
303 $services.icon.getIconNames()
304 $services.icon.getIconNames("Font Awesome")
305 {{/code}}
306 )))
307 * A new parameter has been added to the ##get## action and the ##plain## xpage: ##htmlHeaderAndFooter##, which add the HTML headers (##<html>##,##<head>##,##<body>##, etc...) and footers (##</body>##, ##</html>##, etc...). It could be useful to create light popups that display only the document content without any UI.
308 * XWikiAttachment now provide ##setAuthorReference## and ##getAuthorReference## APIs
309 * ##org.xwiki.logging.event.LogEvent## now have a getTimestamp() method returning the number of milliseconds elapsed from 1/1/1970 until logging event was created.
310 * A SOLR-based implementation of the standard REST search resource has been added
311 * The [[Solr Query>>extensions:Extension.Solr Search Query API]] parameter ##xwiki.supportedLocales## has a new default value: the list of supported locales configured for the current wiki (where you execute the search).
312 * The ##{{{@Component}}}## annotation is no longer inheritable. Thus each component implementation class must now define it and not rely on it being present in some Abstract class.
313 * The XWiki build now verifies that all components are correctly listed in ##META-INF/components.txt## files and that the threading model is explicitly defined (i.e. that either ##{{{@Singleton}}}## or ##{{{@InstantiationStrategy(ComponentInstantiationStrategy.PER_LOOKUP)}}}## is used). If not, the build fails. A new ##{{{@Component}}}## annotation parameter has been added for explicitly mentioning that a Component should not be statically registered (these components are usually used in tests). It's used as follows:(((
314 {{code language="java"}}
315 @Component(staticRegistration = false)
316 {{/code}}
317 )))
318 * You can now control in which order the sections added via the [[ConfigurableClass>>extensions:Extension.Administration Application||anchor="HFieldsyoucandefine"]] are displayed in the administration.
319 * New APIs to generate unescaped display user name:
320 ** ##com.xpn.xwiki.XWiki#getPlainUserName(DocumentReference userReference, XWikiContext context)##
321 ** ##com.xpn.xwiki.XWiki#getUserName(DocumentReference userReference, String format, boolean link, boolean escapeXML, XWikiContext context)##
322 ** ##com.xpn.xwiki.api.XWiki#getPlainUserName(DocumentReference userReference)##
323 * New script oriented APIs to get document author/contentAuthor/creator as ##DocumentReference##
324 * It's now possible to provide metadatas to ##MacroContentParser#parse## API
325 * It's now possible to know what namespace a ComponentManager instance is associated with by casting it to ##org.xwiki.component.manager.NamespacedComponentManager##. See [[Component Module documentation>>http://extensions.xwiki.org/xwiki/bin/view/Extension/Component+Module||anchor="HNamespacedComponentManager"]].
326 * Added getCurrentWikiDescriptor() method to the wiki API and script service to be consistent with the existing getCurrentWikiId() method
327 * The ClassLoader automatically set as Thread ClassLoader is now dynamic meaning that any modification of the context wiki will automatically change the actual Thread ClassLoader. It used to be set to whatever was the wiki in the URL at ExecutionContext init.
328 * [[A new CSS class>>platform:DevGuide.SpecialCSSClasses||anchor="HClassesfortheresponsiveness"]] have been added in Flamingo, to handle responsive tables.
329 * The #sheetTitle Velocity macro supports a new use case: displaying the sheet title if the current document doesn't have an object of some type:(((
330 {{code language="none"}}
331 #sheetTitle('The sheet used to display objects of type Space.MyClass', 'Space.MyClass')
332 {{/code}}
333 )))
334
335 == Upgrades ==
336
337 The following dependencies have been upgraded:
338
339 * [[httpclient 4.3.6>>http://jira.xwiki.org/browse/XCOMMONS-681]]
340 * [[commons-codec 1.10>>http://jira.xwiki.org/browse/XCOMMONS-684]]
341 * [[Groovy 2.3.8>>http://jira.xwiki.org/browse/XCOMMONS-704]]
342 * [[JGroups 3.6.1>>http://jira.xwiki.org/browse/XWIKI-11523]]
343 * [[Pygments 2.0.1>>http://jira.xwiki.org/browse/XWIKI-11522]]
344 * [[Joda-Time 2.6>>http://jira.xwiki.org/browse/XWIKI-11516]]
345 * [[Bootstrap 3.3.1>>http://jira.xwiki.org/browse/XWIKI-11381]]
346 * [[Bootswatch 3.3.1+2>>http://jira.xwiki.org/browse/XWIKI-11569]]
347 * [[slf4j 1.7.9>>http://jira.xwiki.org/browse/XCOMMONS-712]]
348 * [[Lucene and SOLR 4.10.3>>http://jira.xwiki.org/browse/XWIKI-11603]]
349
350 = Translations =
351
352 The following translations have been updated:
353
354 {{language codes="da, de, es, fr, ko, lv, pl, pt_BR, ro, ru, sv, tr"/}}
355
356 = Tested Browsers & Databases =
357
358 {{include reference="TestReports.ManualTestReportSummaryXWiki64"/}}
359
360 = Performances tests compared to <last super stable version> =
361
362 <a summary of the comparison with latest super stable version>
363
364 More details on <link to the test report>.
365
366 = Known issues =
367
368 * [[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]]
369
370 = Backward Compatibility and Migration Notes =
371
372 == General Notes ==
373
374 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.
375
376 == Issues specific to XWiki 6.4 ==
377
378 * VelocityEngine automatically get rid of the passed namespace at the end of execution unless it's protected. See [[Velocity section>>||anchor="HVelocitychanges"]].
379 * If upgrading the content in the DistributionWizard, and the upgrade is from XWiki 6.2.x or 6.3, you might get a conflict for the document Blog.BlogSheet. Unless you have done modifications to that document, please keep the new version; otherwise please keep the merged, or if not available, keep your version. For details see issue [[XWIKI-11450>>http://jira.xwiki.org/browse/XWIKI-11450]].
380
381 == API Breakages ==
382
383 The following APIs were modified since XWiki 6.3:
384
385 * It's very unlikely that this class is implemented by anything else and it does not make much sense to not have this method, since this is not really a cache behind it but a Map that keep engines forever it may create a memory leak on a big farm running for a long time(((
386 {{code language="none"}}
387 org.xwiki.velocity.VelocityFactory: Method 'public org.xwiki.velocity.VelocityEngine removeVelocityEngine(java.lang.String)' has been added to an interface
388 {{/code}}
389 )))
390
391 * This shouldn't be a backward incompatible change since it's a method addition on an Annotation.(((
392 {{code language="none"}}
393 org.xwiki.component.annotation.Component: Method 'public boolean staticRegistration()' has been added to an interface
394 {{/code}}
395 )))
396
397 * Does not make much sense allowing to register a JMX bean and not to unregister it.(((
398 {{code language="none"}}
399 org.xwiki.management.JMXBeanRegistration: Method 'public void unregisterMBean(java.lang.String)' has been added to an interface
400 {{/code}}
401 )))
402
403 * Young API, this method needs to be available for consistency with the getMainWikiDescriptor/Id pair of methods(((
404 {{code language="none"}}
405 org.xwiki.wiki.descriptor.WikiDescriptorManager: Method 'public org.xwiki.wiki.descriptor.WikiDescriptor getCurrentWikiDescriptor()' has been added to an interface
406 {{/code}}
407 )))
408
409 * WYSIWYG's MacroService API was not previously considering a multiwiki environment.(((
410 {{code language="none"}}
411 org.xwiki.gwt.wysiwyg.client.plugin.macro.MacroService: Method 'public org.xwiki.gwt.wysiwyg.client.plugin.macro.MacroDescriptor getMacroDescriptor(java.lang.String, java.lang.String, java.lang.String)' has been added to an interface
412 org.xwiki.gwt.wysiwyg.client.plugin.macro.MacroService: Method 'public java.util.List getMacroDescriptors(java.lang.String, java.lang.String)' has been added to an interface
413 org.xwiki.gwt.wysiwyg.client.plugin.macro.MacroServiceAsync: Method 'public void getMacroDescriptor(java.lang.String, java.lang.String, java.lang.String, com.google.gwt.user.client.rpc.AsyncCallback)' has been added to an interface
414 org.xwiki.gwt.wysiwyg.client.plugin.macro.MacroServiceAsync: Method 'public void getMacroDescriptors(java.lang.String, java.lang.String, com.google.gwt.user.client.rpc.AsyncCallback)' has been added to an interface
415 {{/code}}
416 )))
417
418 * Add new methods to the Icon Set Module(((
419 {{code language="none"}}
420 org.xwiki.icon.IconManager: Method 'public java.util.List getIconNames()' has been added to an interface
421 org.xwiki.icon.IconManager: Method 'public java.util.List getIconNames(java.lang.String)' has been added to an interface
422 org.xwiki.icon.IconSetManager: Method 'public java.util.List getIconSetNames()' has been added to an interface
423 {{/code}}
424 )))
425
426 * LESS refactoring.(((
427 {{code language="none"}}
428 org.xwiki.lesscss.LessCompilerScriptService: Method 'public boolean clearCacheFromFileSystemSkin(java.lang.String)' has been removed
429 org.xwiki.lesscss.LessCompilerScriptService: Return type of method 'public org.xwiki.lesscss.ColorTheme getColorThemeFromSkinFile(java.lang.String)' has been changed to org.xwiki.lesscss.colortheme.ColorTheme
430 org.xwiki.lesscss.LessCompilerScriptService: Return type of method 'public org.xwiki.lesscss.ColorTheme getColorThemeFromSkinFile(java.lang.String, java.lang.String)' has been changed to org.xwiki.lesscss.colortheme.ColorTheme
431 org.xwiki.lesscss.ColorTheme: Class org.xwiki.lesscss.ColorTheme removed
432 org.xwiki.lesscss.ColorThemeCache: Class org.xwiki.lesscss.ColorThemeCache removed
433 org.xwiki.lesscss.LESSCache: Class org.xwiki.lesscss.LESSCache removed
434 org.xwiki.lesscss.LESSColorThemeConverter: Class org.xwiki.lesscss.LESSColorThemeConverter removed
435 org.xwiki.lesscss.LESSCompiler: Class org.xwiki.lesscss.LESSCompiler removed
436 org.xwiki.lesscss.LESSCompilerException: Class org.xwiki.lesscss.LESSCompilerException removed
437 org.xwiki.lesscss.LESSSkinFileCache: Class org.xwiki.lesscss.LESSSkinFileCache removed
438 org.xwiki.lesscss.LESSSkinFileCompiler: Class org.xwiki.lesscss.LESSSkinFileCompiler removed
439 {{/code}}
440 )))
441
442 * Lots of refactoring on the new Mail module, which is a young API(((
443 {{code language="none"}}
444 org.xwiki.mail.MailResultListener: Class org.xwiki.mail.MailResultListener removed
445 org.xwiki.mail.MailSender: Method 'public void send(javax.mail.internet.MimeMessage, javax.mail.Session)' has been removed
446 org.xwiki.mail.MailSender: Parameter 1 of 'public void sendAsynchronously(javax.mail.internet.MimeMessage, javax.mail.Session, org.xwiki.mail.MailResultListener)' has changed its type to java.lang.Iterable
447 org.xwiki.mail.MailSender: Parameter 3 of 'public void sendAsynchronously(javax.mail.internet.MimeMessage, javax.mail.Session, org.xwiki.mail.MailResultListener)' has changed its type to org.xwiki.mail.MailListener
448 org.xwiki.mail.MailSender: Return type of method 'public void sendAsynchronously(javax.mail.internet.MimeMessage, javax.mail.Session, org.xwiki.mail.MailResultListener)' has been changed to org.xwiki.mail.MailResult
449 org.xwiki.mail.MailSender: Method 'public void waitTillSent(long)' has been removed
450 org.xwiki.mail.MailSenderConfiguration: Method 'public java.util.List getBCCAddresses()' has been added to an interface
451 org.xwiki.mail.MailSenderConfiguration: Method 'public java.lang.String getScriptServicePermissionCheckerHint()' has been added to an interface
452 org.xwiki.mail.MailSenderConfiguration: Method 'public long getSendWaitTime()' has been added to an interface
453 org.xwiki.mail.script.MimeMessageWrapper: In method 'public MimeMessageWrapper(org.xwiki.mail.internal.ExtendedMimeMessage, javax.mail.Session, org.xwiki.mail.MailSender, org.xwiki.context.Execution, org.xwiki.component.manager.ComponentManager)' the number of arguments has changed
454 org.xwiki.mail.script.MimeMessageWrapper: Accessibility of method 'public MimeMessageWrapper(org.xwiki.mail.internal.ExtendedMimeMessage, javax.mail.Session, org.xwiki.mail.MailSender, org.xwiki.context.Execution, org.xwiki.component.manager.ComponentManager)' has been decreased from public to package
455 org.xwiki.mail.script.MimeMessageWrapper: Method 'public java.util.concurrent.BlockingQueue getErrors()' has been removed
456 org.xwiki.mail.script.MimeMessageWrapper: Method 'public void send()' has been removed
457 org.xwiki.mail.script.MimeMessageWrapper: Method 'public void sendAsynchronously()' has been removed
458 org.xwiki.mail.script.MimeMessageWrapper: Method 'public void waitTillSent(long)' has been removed
459 {{/code}}
460 )))
461
462 * Switched to the generics-aware commons-collections4.(((
463 {{code language="none"}}
464 com.xpn.xwiki.monitor.api.MonitorPlugin: Return type of method 'public org.apache.commons.collections.buffer.CircularFifoBuffer getLastTimerData()' has been changed to org.apache.commons.collections4.queue.CircularFifoQueue
465 com.xpn.xwiki.monitor.api.MonitorPlugin: Return type of method 'public org.apache.commons.collections.buffer.CircularFifoBuffer getLastUnfinishedTimerData()' has been changed to org.apache.commons.collections4.queue.CircularFifoQueue
466 {{/code}}
467 )))

Get Connected