Last modified by Thomas Mortagne on 2023/10/13

<
From version < 11.1 >
edited by Vincent Massol
on 2015/01/21
To version < 13.2 >
edited by Vincent Massol
on 2015/01/21
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -380,8 +380,94 @@
380 380  
381 381  == API Breakages ==
382 382  
383 -The following APIs were modified since <project> <version - 1>:
383 +The following APIs were modified since XWiki 6.3:
384 384  
385 +* Needed to make sure transformations are executed with the right metadata(((
385 385  {{code language="none"}}
386 -<clirr output here>
387 +org.xwiki.rendering.macro.MacroContentParser: Method 'public org.xwiki.rendering.block.XDOM parse(java.lang.String, org.xwiki.rendering.transformation.MacroTransformationContext, boolean, org.xwiki.rendering.listener.MetaData, boolean)' has been added to an interface
387 387  {{/code}}
389 +)))
390 +
391 +* 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(((
392 +{{code language="none"}}
393 +org.xwiki.velocity.VelocityFactory: Method 'public org.xwiki.velocity.VelocityEngine removeVelocityEngine(java.lang.String)' has been added to an interface
394 +{{/code}}
395 +)))
396 +
397 +* This shouldn't be a backward incompatible change since it's a method addition on an Annotation.(((
398 +{{code language="none"}}
399 +org.xwiki.component.annotation.Component: Method 'public boolean staticRegistration()' has been added to an interface
400 +{{/code}}
401 +)))
402 +
403 +* Does not make much sense allowing to register a JMX bean and not to unregister it.(((
404 +{{code language="none"}}
405 +org.xwiki.management.JMXBeanRegistration: Method 'public void unregisterMBean(java.lang.String)' has been added to an interface
406 +{{/code}}
407 +)))
408 +
409 +* Young API, this method needs to be available for consistency with the getMainWikiDescriptor/Id pair of methods(((
410 +{{code language="none"}}
411 +org.xwiki.wiki.descriptor.WikiDescriptorManager: Method 'public org.xwiki.wiki.descriptor.WikiDescriptor getCurrentWikiDescriptor()' has been added to an interface
412 +{{/code}}
413 +)))
414 +
415 +* WYSIWYG's MacroService API was not previously considering a multiwiki environment.(((
416 +{{code language="none"}}
417 +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
418 +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
419 +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
420 +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
421 +{{/code}}
422 +)))
423 +
424 +* Young API. Add new methods to the Icon Set Module(((
425 +{{code language="none"}}
426 +org.xwiki.icon.IconManager: Method 'public java.util.List getIconNames()' has been added to an interface
427 +org.xwiki.icon.IconManager: Method 'public java.util.List getIconNames(java.lang.String)' has been added to an interface
428 +org.xwiki.icon.IconSetManager: Method 'public java.util.List getIconSetNames()' has been added to an interface
429 +{{/code}}
430 +)))
431 +
432 +* Young API. LESS refactoring.(((
433 +{{code language="none"}}
434 +org.xwiki.lesscss.LessCompilerScriptService: Method 'public boolean clearCacheFromFileSystemSkin(java.lang.String)' has been removed
435 +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
436 +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
437 +org.xwiki.lesscss.ColorTheme: Class org.xwiki.lesscss.ColorTheme removed
438 +org.xwiki.lesscss.ColorThemeCache: Class org.xwiki.lesscss.ColorThemeCache removed
439 +org.xwiki.lesscss.LESSCache: Class org.xwiki.lesscss.LESSCache removed
440 +org.xwiki.lesscss.LESSColorThemeConverter: Class org.xwiki.lesscss.LESSColorThemeConverter removed
441 +org.xwiki.lesscss.LESSCompiler: Class org.xwiki.lesscss.LESSCompiler removed
442 +org.xwiki.lesscss.LESSCompilerException: Class org.xwiki.lesscss.LESSCompilerException removed
443 +org.xwiki.lesscss.LESSSkinFileCache: Class org.xwiki.lesscss.LESSSkinFileCache removed
444 +org.xwiki.lesscss.LESSSkinFileCompiler: Class org.xwiki.lesscss.LESSSkinFileCompiler removed
445 +{{/code}}
446 +)))
447 +
448 +* Young API. Lots of refactoring on the new Mail module(((
449 +{{code language="none"}}
450 +org.xwiki.mail.MailResultListener: Class org.xwiki.mail.MailResultListener removed
451 +org.xwiki.mail.MailSender: Method 'public void send(javax.mail.internet.MimeMessage, javax.mail.Session)' has been removed
452 +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
453 +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
454 +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
455 +org.xwiki.mail.MailSender: Method 'public void waitTillSent(long)' has been removed
456 +org.xwiki.mail.MailSenderConfiguration: Method 'public java.util.List getBCCAddresses()' has been added to an interface
457 +org.xwiki.mail.MailSenderConfiguration: Method 'public java.lang.String getScriptServicePermissionCheckerHint()' has been added to an interface
458 +org.xwiki.mail.MailSenderConfiguration: Method 'public long getSendWaitTime()' has been added to an interface
459 +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
460 +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
461 +org.xwiki.mail.script.MimeMessageWrapper: Method 'public java.util.concurrent.BlockingQueue getErrors()' has been removed
462 +org.xwiki.mail.script.MimeMessageWrapper: Method 'public void send()' has been removed
463 +org.xwiki.mail.script.MimeMessageWrapper: Method 'public void sendAsynchronously()' has been removed
464 +org.xwiki.mail.script.MimeMessageWrapper: Method 'public void waitTillSent(long)' has been removed
465 +{{/code}}
466 +)))
467 +
468 +* Switched to the generics-aware commons-collections4.(((
469 +{{code language="none"}}
470 +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
471 +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
472 +{{/code}}
473 +)))

Get Connected