Release Notes for XWiki Enterprise 2.0
More than 400 issues were fixed from XWiki Enterprise 1.9.3 to XWiki Enterprise 2.0.
New and Noteworthy (since XWiki Enterprise 1.9.3)
1 User Interface
Colibri skin
XWiki 2.0 introduces a new, lightweight, easily customizable skin. The main goal of the Colibri skin is to provide the proper support for fast and easy modifications of the look and feel of the wiki.
See Colibri skin documentation for more details.
Color Themes
Color Themes is an easy way to modify colors for your wiki:
We provide several predefined themes out of the box (and it's possible to create new ones):
New Title handling
The document title is now used as the top level header of pages. If no title is specified then it's extracted from the content of the page automatically.
This change has been done to all skins: Albatross, Toucan and Colibri.
New Search Interface
The default search page UI has been improved to be easier to understand and use.
New Tag Cloud Panel
A panel containing the tag cloud is now provided by default and can be used like any other panel.
General UI improvements
- The Space Index page has been modified to use the Livetable component:
- The top level menu has been refactored in the Colibri skin:
- More consistency
- Addition of a Create action to create page, space and import office documents
- The Administration Import page now allows uploading several XARs at once
- Document footer now allows adding Tags
- Button order in preview mode has been modified for improved usability
- Reorganized editor buttons to be more intuitive and less prone to erros
- Section editing now works for any section level. You can configure it using the new property xwiki.section.depth in xwiki.cfg file. By default sections level 1 and 2 can be edited.
- Space Index, Document Index and Orphaned Page now use the generic Livetable
- "History" tab gas been removed from the right panel in edit mode
- Improved the Group creation form
- Diff UI improvement
- Improved the Rename form
- Nicer pagination of the document history
- Display a friendly message instead of an error when clicking on History after having created a new page
- The "Rights editor help" panels has been removed
- Improved document footer section
- Improved tag display and editing
- Several IE6/7 bugfixes
- Documents created internally for XWiki's needs are now created under the superadmin user and are not visible to Simple Users by default (Advanced users and Admin see them though)
2 WYSIWYG
See WYSIWYG documentation for more details.
Macro improvements
- User can now double click on a macro to edit it and double click in the list of macro to insert it.
- Macro names are now displayed instead of their internal IDs.
- Macros are now categorized and it's possible to override macro category through configuration:
- The Insert Macro dialog box now has a live search for easily finding macros:
Other improvements
- Added IE8 support (thanks to the GWT 1.7.0 upgrade)
- Faster navigation for image and link insertion with tabs provided for easily selecting recently viewed pages and the addition of a search box
- Dialog boxes in the WYSIWYG editor have been aligned and are now following XWiki's usability guidelines
3 Macros
- New Formula macro for displaying Mathematical formulas. For example:
- New Info, Warning and Error macros.
- New Chart macro.
- New Ruby macro to use JRuby for adding scripts into wiki pages (same binding as for the existing Velocity and Groovy macros). Note that the ruby macro is not bundled with XWiki Enterprise by default. You can download it in the Ruby macro sheet.
- New Python macro to use Jython for adding scripts into wiki pages (same binding as for the existing Velocity and Groovy macros).
- New Footnote macro documentation. For example:
- Added ability to transform any wiki content into a Macro. See the Wiki Macro tutorial for more details.
- Improvements to the Script macros (groovy, velocity, python, ruby)
- It's now possible to add JARs attached to a page to the Script Macro class loader.
- All the script macros in the same rendering process (a document and it's included documents) share the same class loader. For example this makes possible to declare a Groovy class in a document and use it in other documents which includes it.
- It's now possible to not parse velocity macro content for wiki syntax by using the wiki="false" parameter.
- The Table Of Content macro now starts at the first level by default (it used to start at the second level by default).
4 Rendering
General improvements
- Section editing is now supported with XWiki Syntax 2.0
- Definition lists now support parameters
- Document syntax to use for new pages by default can now be configured on a per user level in user profiles
- Velocity Tools and Velocity configuration can now be specified in the xwiki.properties configuration file
- The following pages/apps have been converted to XWiki Syntax 2.0:
- Home page
- Class Editor Wizard
- Sandbox space
- Syntax Help
Output syntax parameter
It's now possible to decide which renderer to use to print the document content. For example if you want to generate a JSON page you can use "?outputSyntax=plain&xpage=plain" to make sure only the content is printed and there is no HTML syntax printed, just a plain text of what exactly was generated by a velocity macro (without macro markers HTML comments etc.)
See URL parsing documentation.
5 Watchlist
- Add watch/unwatch wiki in the Watch menu
- Improve notification email readability by displaying icons for objects, classes and properties
- Watch List support registering for user activity
- Put document metadata modifications in diffs
- Make the watchlist work across multiple wikis
- Put links to pages in email notifications
- In virtual mode allow each wiki to have its own watchlist email template document
- Add support for class and object diff in the mails
- Add support for full wiki watching
- Allow to create watchlist notifications for any interval of time
- Mails design improvement
6 Clustering
See Clustering administration documentation and Remote Observation Manager documentation for more details.
It's now possible to make different instances of XWiki or other programs shares events.
The main use cases for this are:
- clustering
- external monitoring of XWiki
7 Performance
- We have introduced a lighter XHTML renderer which avoid having all extra datas needed by the WYSIWYG, thus reducing a lot the size of rendered pages in view mode.
- JS and CSS files are now compressed.
- The watchlist feature now supports multi wiki and has improved performances to prevent farm wikis to be stuck when sending all notifications for all wikis (this is done by using the new Activity Stream feature).
8 Translations
- Added translations for Swedish
- Added translations for Korean
- Updated translations for lots of other languages
- Added internationalization support to the WYSWIWYG editor and added French translations
9 Changes for Developers
- Renderers are now real components. The same way it's possible to add any parser it's now possible to add any renderer for a specific output simply by registering it as a component. See Rendering Module for more details.
- New plain text parser. Pain text parser make possible to put in a page some plain text to render it exactly as it. The syntax name of plain text renderer is plain/1.0, you can enable it in xwiki.cfg.
- The WYSIWYG editor menus are now more easily configured since it nows reads the following XWikiPreferences properties:
- wysiwyg.plugins (the list of plugins to load)
- wysiwyg.menu (the top menu entries)
- wysiwyg.toolbar (the list of features to place on the tool bar)
- New color picker widget
- New Velocity RegexTool (usable using the $regextool variable in Velocity)
- Added new Activity Stream plugin to record events happening in the system with the following features:
- Applications can create their own activity streams to record custom events
- Provide a way to delete events after a configurable amount of time
- Allow to store all activity events in the main wiki in multi wiki mode
- New events for XWiki startup/shutdown. It's now possible for a component or a plugin to register to startup or shutdown events. It's very useful when some plugin need to start and stop an external service.
- Component Manager improvements
- Added way to programmatically provide the component instance when register it
- Added way to programmatically unregister component
- New Properties module that offers:
- Java bean populating support
- Java type conversion support
- Java bean validation support
- Upgraded several libraries:
- Upgraded to Quartz 1.6.5
- Upgraded to GWT 1.7
- Upgraded to Jython 2.5.1 RC3
- Upgraded to Smart GWT 1.2
- Upgraded to Prototype 1.6.1
10 Others
- The Scheduler now allows to manually trigger a job (execute it once)
Known issues
- The AllDocs page needs to be saved with a user having programming rights to work (otherwise the Attachment tab will show empty results). See XWIKI-4407 for more details.
- Bugs we know about
Backward Compatibility and Migration Notes
Notes specific to the 2.0 upgrade
- If you were already using the Watchlist you must upgrade the notification intervals in user profiles.
- We've added tables for the Activity Stream feature. In order for this to work you need to update your hibernate.cfg.xml file and make sure you add the activitystream.hbm.xml mapping as follows (the last line needs to be added under the existing mappings):
...
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
...
Note that if you don't add this mapping you'll get errors similar to:
Error number 13007 in 3: Exception while loading lock
Wrapped Exception: a different object with the same identifier value was already associated with the session: [com.xpn.xwiki.doc.XWikiLock#-136936580]
com.xpn.xwiki.XWikiException: Error number 13007 in 3: Exception while loading lock
Wrapped Exception: a different object with the same identifier value was already associated with the session: [com.xpn.xwiki.doc.XWikiLock#-136936580]
General Notes
You may also want to import the default wiki XAR in order to benefit from improvements listed above.
API Breakages
The following APIs were modified since XWiki Enterprise 1.9:
Rendering api
- Block.replace() has been replaced by Block.replaceChild()
- ParseException constructor and methods have been modified since they were unused
- XWikiXHTMLImageRenderer and XWikiXHTMLLinkRenderer classes have been moved to a XWiki-specific module so that the main Rendering module can be used standalone
- Merged SimpleXHTMLImageRenderer and XWikiXHTMLImageRenderer into DefaultXHTMLImageRenderer which now handles the case where we're inside a wiki or not
- Merged SimpleXHTMLLinkRenderer and XWikiXHTMLLinkRenderer into DefaultXHTMLLinkRenderer which now handles the case where we're inside a wiki or not
- AbstractBlock constructors has been refactored to make easier to create new common macros. Main change is that the macro author does not have to provide the MacroDescriptor anymore.
- Macro parameters bean are now supposed to use xwiki-properties annotations instead of org.xwiki.rendering.macro.descriptor.annotation.* annotations. Simply change org.xwiki.rendering.macro.descriptor.annotation.Parameter* by org.xwiki.properties.annotation.Property* to upgrade you macro parameters bean.
- Macro have to provide a human readable name in various AbstractMacro helpers constructors
- Big refactor around renderers and the way to use them since they are real components now
- Syntax, SyntaxFactory and SyntaxType classes moved to the proper package (org.xwiki.rendering.syntax)
- Definition lists now take parameters
- Details:
[ERROR] org.xwiki.rendering.block.AbstractBlock: Method 'public void setParameter(java.lang.String, java.lang.Object)' has been removed
[ERROR] org.xwiki.rendering.block.Block: Method 'public void replace(java.util.List)' has been removed
[ERROR] org.xwiki.rendering.block.Block: Method 'public void replaceChild(org.xwiki.rendering.block.Block, org.xwiki.rendering.block.Block)' has been added to an interface
[ERROR] org.xwiki.rendering.block.Block: Method 'public void replaceChild(java.util.List, org.xwiki.rendering.block.Block)' has been added to an interface
[ERROR] org.xwiki.rendering.block.MacroBlock: Method 'public java.lang.String getName()' has been removed
[ERROR] org.xwiki.rendering.block.PlainTextBlockFilter: In method 'public PlainTextBlockFilter(org.xwiki.rendering.renderer.LinkLabelGenerator)' the number of arguments has changed
[ERROR] org.xwiki.rendering.block.RawBlock: Parameter 2 of 'public RawBlock(java.lang.String, org.xwiki.rendering.parser.Syntax)' has changed its type to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.block.RawBlock: Return type of method 'public org.xwiki.rendering.parser.Syntax getSyntax()' has been changed to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.configuration.RenderingConfiguration: Method 'public java.util.Properties getMacroCategories()' has been added to an interface
[ERROR] org.xwiki.rendering.listener.Listener: In method 'public void beginDefinitionList()' the number of arguments has changed
[ERROR] org.xwiki.rendering.listener.Listener: In method 'public void endDefinitionList()' the number of arguments has changed
[ERROR] org.xwiki.rendering.listener.Listener: Parameter 2 of 'public void onRawText(java.lang.String, org.xwiki.rendering.parser.Syntax)' has changed its type to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.listener.WrappingListener: In method 'public void beginDefinitionList()' the number of arguments has changed
[ERROR] org.xwiki.rendering.listener.WrappingListener: In method 'public void endDefinitionList()' the number of arguments has changed
[ERROR] org.xwiki.rendering.listener.WrappingListener: Parameter 2 of 'public void onRawText(java.lang.String, org.xwiki.rendering.parser.Syntax)' has changed its type to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.listener.chaining.AbstractChainingListener: In method 'public AbstractChainingListener(org.xwiki.rendering.listener.chaining.ListenerChain)' the number of arguments has changed
[ERROR] org.xwiki.rendering.listener.chaining.AbstractChainingListener: In method 'public void beginDefinitionList()' the number of arguments has changed
[ERROR] org.xwiki.rendering.listener.chaining.AbstractChainingListener: In method 'public void endDefinitionList()' the number of arguments has changed
[ERROR] org.xwiki.rendering.listener.chaining.AbstractChainingListener: Parameter 2 of 'public void onRawText(java.lang.String, org.xwiki.rendering.parser.Syntax)' has changed its type to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.listener.chaining.BlockStateChainingListener: In method 'public void beginDefinitionList()' the number of arguments has changed
[ERROR] org.xwiki.rendering.listener.chaining.BlockStateChainingListener: In method 'public void endDefinitionList()' the number of arguments has changed
[ERROR] org.xwiki.rendering.listener.chaining.BlockStateChainingListener: Parameter 2 of 'public void onRawText(java.lang.String, org.xwiki.rendering.parser.Syntax)' has changed its type to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.listener.chaining.ConsecutiveNewLineStateChainingListener: In method 'public void endDefinitionList()' the number of arguments has changed
[ERROR] org.xwiki.rendering.listener.chaining.ConsecutiveNewLineStateChainingListener: Parameter 2 of 'public void onRawText(java.lang.String, org.xwiki.rendering.parser.Syntax)' has changed its type to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.listener.chaining.LookaheadChainingListener: In method 'public void beginDefinitionList()' the number of arguments has changed
[ERROR] org.xwiki.rendering.listener.chaining.LookaheadChainingListener: In method 'public void endDefinitionList()' the number of arguments has changed
[ERROR] org.xwiki.rendering.listener.chaining.LookaheadChainingListener: Parameter 2 of 'public void onRawText(java.lang.String, org.xwiki.rendering.parser.Syntax)' has changed its type to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.listener.chaining.TextOnNewLineStateChainingListener: In method 'public void beginDefinitionList()' the number of arguments has changed
[ERROR] org.xwiki.rendering.listener.chaining.TextOnNewLineStateChainingListener: Parameter 2 of 'public void onRawText(java.lang.String, org.xwiki.rendering.parser.Syntax)' has changed its type to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.macro.AbstractMacro: Parameter 1 of 'public AbstractMacro(org.xwiki.rendering.macro.descriptor.MacroDescriptor)' has changed its type to java.lang.String
[ERROR] org.xwiki.rendering.macro.AbstractMacro: Method 'protected void registerConverter(org.apache.commons.beanutils.Converter, java.lang.Class)' has been removed
[ERROR] org.xwiki.rendering.macro.AbstractMacroSource: Class org.xwiki.rendering.macro.AbstractMacroSource removed
[ERROR] org.xwiki.rendering.macro.MacroManager: Removed java.lang.Comparable from the set of implemented interfaces
[ERROR] org.xwiki.rendering.macro.MacroManager: Parameter 1 of 'public boolean exists(java.lang.String)' has changed its type to org.xwiki.rendering.macro.MacroId
[ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public boolean exists(java.lang.String, org.xwiki.rendering.parser.Syntax)' has been removed
[ERROR] org.xwiki.rendering.macro.MacroManager: Parameter 1 of 'public org.xwiki.rendering.macro.Macro getMacro(java.lang.String)' has changed its type to org.xwiki.rendering.macro.MacroId
[ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public org.xwiki.rendering.macro.Macro getMacro(java.lang.String, org.xwiki.rendering.parser.Syntax)' has been removed
[ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public java.util.Set getMacroIds()' has been added to an interface
[ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public java.util.Set getMacroIds(org.xwiki.rendering.syntax.Syntax)' has been added to an interface
[ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public java.util.Set getMacroNames(org.xwiki.rendering.parser.Syntax)' has been removed
[ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public int getPriority()' has been removed
[ERROR] org.xwiki.rendering.macro.MacroSource: Class org.xwiki.rendering.macro.MacroSource removed
[ERROR] org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor: In method 'public AbstractMacroDescriptor(java.lang.String, org.xwiki.rendering.macro.descriptor.ContentDescriptor, java.lang.Class)' the number of arguments has changed
[ERROR] org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor: Method 'protected java.lang.annotation.Annotation extractParameterAnnotation(java.lang.reflect.Method, java.lang.reflect.Method, java.lang.Class)' has been removed
[ERROR] org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor: Method 'protected void extractParameterDescriptor(java.beans.PropertyDescriptor, java.lang.Object)' has been removed
[ERROR] org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor: Parameter 2 of 'public DefaultMacroDescriptor(java.lang.String, java.lang.Class)' has changed its type to java.lang.String
[ERROR] org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor: Parameter 2 of 'public DefaultMacroDescriptor(java.lang.String, org.xwiki.rendering.macro.descriptor.ContentDescriptor, java.lang.Class)' has changed its type to java.lang.String
[ERROR] org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor: Parameter 3 of 'public DefaultMacroDescriptor(java.lang.String, org.xwiki.rendering.macro.descriptor.ContentDescriptor, java.lang.Class)' has changed its type to org.xwiki.rendering.macro.descriptor.ContentDescriptor
[ERROR] org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor: In method 'public DefaultMacroDescriptor(java.lang.String, org.xwiki.rendering.macro.descriptor.ContentDescriptor)' the number of arguments has changed
[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: In method 'public DefaultParameterDescriptor()' the number of arguments has changed
[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setDefaultValue(java.lang.Object)' has been removed
[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setDescription(java.lang.String)' has been removed
[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setMandatory(boolean)' has been removed
[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setName(java.lang.String)' has been removed
[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setType(java.lang.Class)' has been removed
[ERROR] org.xwiki.rendering.macro.descriptor.MacroDescriptor: Method 'public java.lang.String getDefaultCategory()' has been added to an interface
[ERROR] org.xwiki.rendering.macro.descriptor.MacroDescriptor: Method 'public java.lang.String getName()' has been added to an interface
[ERROR] org.xwiki.rendering.macro.descriptor.annotation.ParameterDescription: Class org.xwiki.rendering.macro.descriptor.annotation.ParameterDescription removed
[ERROR] org.xwiki.rendering.macro.descriptor.annotation.ParameterHidden: Class org.xwiki.rendering.macro.descriptor.annotation.ParameterHidden removed
[ERROR] org.xwiki.rendering.macro.descriptor.annotation.ParameterMandatory: Class org.xwiki.rendering.macro.descriptor.annotation.ParameterMandatory removed
[ERROR] org.xwiki.rendering.parser.ParseException: Parameter 2 of 'public ParseException(java.lang.String, java.lang.Exception)' has changed its type to java.lang.Throwable
[ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception)' has been removed
[ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception, java.lang.String, int)' has been removed
[ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception, java.lang.String, java.lang.String, int)' has been removed
[ERROR] org.xwiki.rendering.parser.ParseException: Method 'public java.lang.String getFileName()' has been removed
[ERROR] org.xwiki.rendering.parser.ParseException: Method 'public int getLineNumber()' has been removed
[ERROR] org.xwiki.rendering.parser.Parser: Return type of method 'public org.xwiki.rendering.parser.Syntax getSyntax()' has been changed to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.parser.Syntax: Class org.xwiki.rendering.parser.Syntax removed
[ERROR] org.xwiki.rendering.parser.SyntaxFactory: Class org.xwiki.rendering.parser.SyntaxFactory removed
[ERROR] org.xwiki.rendering.parser.SyntaxType: Class org.xwiki.rendering.parser.SyntaxType removed
[ERROR] org.xwiki.rendering.renderer.EventsRenderer: Class org.xwiki.rendering.renderer.EventsRenderer removed
[ERROR] org.xwiki.rendering.renderer.PlainTextRenderer: Class org.xwiki.rendering.renderer.PlainTextRenderer removed
[ERROR] org.xwiki.rendering.renderer.PrintRenderer: Method 'public void setPrinter(org.xwiki.rendering.renderer.printer.WikiPrinter)' has been added to an interface
[ERROR] org.xwiki.rendering.renderer.PrintRendererFactory: In method 'public org.xwiki.rendering.renderer.PrintRenderer createRenderer(org.xwiki.rendering.parser.Syntax, org.xwiki.rendering.renderer.printer.WikiPrinter)' the number of arguments has changed
[ERROR] org.xwiki.rendering.renderer.PrintRendererFactory: Method 'public java.util.List getAvailableSyntaxes()' has been removed
[ERROR] org.xwiki.rendering.renderer.PrintRendererFactory: Method 'public org.xwiki.rendering.syntax.Syntax getSyntax()' has been added to an interface
[ERROR] org.xwiki.rendering.renderer.TexRenderer: Class org.xwiki.rendering.renderer.TexRenderer removed
[ERROR] org.xwiki.rendering.renderer.XHTMLRenderer: Class org.xwiki.rendering.renderer.XHTMLRenderer removed
[ERROR] org.xwiki.rendering.renderer.XWikiSyntaxRenderer: Class org.xwiki.rendering.renderer.XWikiSyntaxRenderer removed
[ERROR] org.xwiki.rendering.renderer.chaining.AbstractChainingPrintRenderer: Class org.xwiki.rendering.renderer.chaining.AbstractChainingPrintRenderer removed
[ERROR] org.xwiki.rendering.renderer.printer.MonitoringWikiPrinter: Class org.xwiki.rendering.renderer.printer.MonitoringWikiPrinter removed
[ERROR] org.xwiki.rendering.renderer.xhtml.SimpleXHTMLImageRenderer: Class org.xwiki.rendering.renderer.xhtml.SimpleXHTMLImageRenderer removed
[ERROR] org.xwiki.rendering.renderer.xhtml.SimpleXHTMLLinkRenderer: Class org.xwiki.rendering.renderer.xhtml.SimpleXHTMLLinkRenderer removed
[ERROR] org.xwiki.rendering.renderer.xhtml.XHTMLImageRenderer: Method 'public org.xwiki.rendering.renderer.printer.XHTMLWikiPrinter getXHTMLWikiPrinter()' has been added to an interface
[ERROR] org.xwiki.rendering.renderer.xhtml.XHTMLLinkRenderer: Method 'public org.xwiki.rendering.renderer.printer.XHTMLWikiPrinter getXHTMLWikiPrinter()' has been added to an interface
[ERROR] org.xwiki.rendering.renderer.xhtml.XWikiXHTMLImageRenderer: Class org.xwiki.rendering.renderer.xhtml.XWikiXHTMLImageRenderer removed
[ERROR] org.xwiki.rendering.renderer.xhtml.XWikiXHTMLLinkRenderer: Class org.xwiki.rendering.renderer.xhtml.XWikiXHTMLLinkRenderer removed
[ERROR] org.xwiki.rendering.transformation.MacroTransformationContext: Return type of method 'public org.xwiki.rendering.parser.Syntax getSyntax()' has been changed to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.transformation.MacroTransformationContext: Parameter 1 of 'public void setSyntax(org.xwiki.rendering.parser.Syntax)' has changed its type to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.transformation.Transformation: Parameter 2 of 'public void transform(org.xwiki.rendering.block.XDOM, org.xwiki.rendering.parser.Syntax)' has changed its type to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.transformation.TransformationManager: Parameter 2 of 'public void performTransformations(org.xwiki.rendering.block.XDOM, org.xwiki.rendering.parser.Syntax)' has changed its type to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.util.ParserUtils: Method 'public java.util.List parsePlainText(java.lang.String)' has been removed
[ERROR] org.xwiki.rendering.util.RenderersUtils: Class org.xwiki.rendering.util.RenderersUtils removed
Component Manager api
- maven project artifact changed from xwiki-core-component to xwiki-core-component-api
- to get the ComponentManager in a component you need to declare it has like any other component requirement
@Component("somehint")
public class SomeComponent implements SomeComponentRole
{
@Requirement
private ComponentManager componentManager;
} - comonent role are now java.lang.Class instead of java.lang.String everiwhere in the apis
- Details:
[ERROR] org.xwiki.component.annotation.ComponentAnnotationLoader: Class org.xwiki.component.annotation.ComponentAnnotationLoader removed
[ERROR] org.xwiki.component.annotation.ComponentDescriptorFactory: Class org.xwiki.component.annotation.ComponentDescriptorFactory removed
[ERROR] org.xwiki.component.descriptor.ComponentDescriptor: Method 'public java.util.Collection getComponentConfiguration()' has been removed
[ERROR] org.xwiki.component.descriptor.ComponentDescriptor: Return type of method 'public java.lang.String getImplementation()' has been changed to java.lang.Class
[ERROR] org.xwiki.component.descriptor.ComponentProperty: Class org.xwiki.component.descriptor.ComponentProperty removed
[ERROR] org.xwiki.component.descriptor.DefaultComponentDescriptor: Method 'public void addComponentProperty(org.xwiki.component.descriptor.ComponentProperty)' has been removed
[ERROR] org.xwiki.component.descriptor.DefaultComponentDescriptor: Method 'public void addComponentProperty(java.lang.String, java.lang.String)' has been removed
[ERROR] org.xwiki.component.descriptor.DefaultComponentDescriptor: Method 'public java.util.Collection getComponentConfiguration()' has been removed
[ERROR] org.xwiki.component.descriptor.DefaultComponentDescriptor: Return type of method 'public java.lang.String getImplementation()' has been changed to java.lang.Class
[ERROR] org.xwiki.component.descriptor.DefaultComponentDescriptor: Parameter 1 of 'public void setImplementation(java.lang.String)' has changed its type to java.lang.Class
[ERROR] org.xwiki.component.descriptor.DefaultComponentProperty: Class org.xwiki.component.descriptor.DefaultComponentProperty removed
[ERROR] org.xwiki.component.logging.AbstractLogEnabled: Method 'protected void setupLogger(java.lang.Object)' has been removed
[ERROR] org.xwiki.component.logging.AbstractLogEnabled: Method 'protected void setupLogger(java.lang.Object, java.lang.String)' has been removed
[ERROR] org.xwiki.component.logging.AbstractLogEnabled: Method 'protected void setupLogger(java.lang.Object, org.xwiki.component.logging.Logger)' has been removed
[ERROR] org.xwiki.component.logging.Logger: Field LEVEL_DEBUG has been removed, but it was previously a constant
[ERROR] org.xwiki.component.logging.Logger: Field LEVEL_DISABLED has been removed, but it was previously a constant
[ERROR] org.xwiki.component.logging.Logger: Field LEVEL_ERROR has been removed, but it was previously a constant
[ERROR] org.xwiki.component.logging.Logger: Field LEVEL_INFO has been removed, but it was previously a constant
[ERROR] org.xwiki.component.logging.Logger: Field LEVEL_WARN has been removed, but it was previously a constant
[ERROR] org.xwiki.component.logging.Logger: Method 'public org.xwiki.component.logging.Logger getChildLogger(java.lang.String)' has been removed
[ERROR] org.xwiki.component.logging.Logger: Method 'public java.lang.String getName()' has been removed
[ERROR] org.xwiki.component.logging.Logger: Method 'public int getThreshold()' has been removed
[ERROR] org.xwiki.component.logging.Logger: Method 'public void setThreshold(int)' has been removed
[ERROR] org.xwiki.component.logging.VoidLogger: Method 'public org.xwiki.component.logging.Logger getChildLogger(java.lang.String)' has been removed
[ERROR] org.xwiki.component.logging.VoidLogger: Method 'public java.lang.String getName()' has been removed
[ERROR] org.xwiki.component.logging.VoidLogger: Method 'public int getThreshold()' has been removed
[ERROR] org.xwiki.component.logging.VoidLogger: Method 'public void setThreshold(int)' has been removed
[ERROR] org.xwiki.component.manager.ComponentManager: Method 'public org.xwiki.component.descriptor.ComponentDescriptor getComponentDescriptor(java.lang.Class, java.lang.String)' has been added to an interface
[ERROR] org.xwiki.component.manager.ComponentManager: Method 'public java.util.List getComponentDescriptorList(java.lang.Class)' has been added to an interface
[ERROR] org.xwiki.component.manager.ComponentManager: Method 'public void registerComponent(org.xwiki.component.descriptor.ComponentDescriptor, java.lang.Object)' has been added to an interface
[ERROR] org.xwiki.component.manager.ComponentManager: Method 'public void setComponentEventManager(org.xwiki.component.manager.ComponentEventManager)' has been added to an interface
[ERROR] org.xwiki.component.manager.ComponentManager: Method 'public void unregisterComponent(java.lang.Class, java.lang.String)' has been added to an interface
[ERROR] org.xwiki.component.phase.Composable: Class org.xwiki.component.phase.Composable removed
Observation Manager api
- maven project artifact changed from xwiki-core-observation to xwiki-core-observation-local
- ObservationManager#addListener and ObservationManager#removeListener does not need the org.xwiki.observation.event.Event anymore
- Details:
[ERROR] org.xwiki.observation.EventListener: Method 'public java.lang.String getName()' has been added to an interface
[ERROR] org.xwiki.observation.ObservationManager: Method 'public void addEvent(java.lang.String, org.xwiki.observation.event.Event)' has been added to an interface
[ERROR] org.xwiki.observation.ObservationManager: In method 'public void addListener(org.xwiki.observation.event.Event, org.xwiki.observation.EventListener)' the number of arguments has changed
[ERROR] org.xwiki.observation.ObservationManager: Method 'public org.xwiki.observation.EventListener getListener(java.lang.String)' has been added to an interface
[ERROR] org.xwiki.observation.ObservationManager: Method 'public void removeEvent(java.lang.String, org.xwiki.observation.event.Event)' has been added to an interface
[ERROR] org.xwiki.observation.ObservationManager: Parameter 1 of 'public void removeListener(org.xwiki.observation.EventListener)' has changed its type to java.lang.String
[ERROR] org.xwiki.observation.ObservationManager: Method 'public void removeListener(org.xwiki.observation.event.Event, org.xwiki.observation.EventListener)' has been removed
Dependencies
This release includes the following modules in the specified versions since XWiki Enterprise 1.9.3 was released:
Core/Web
Group Id | Artifact Id | New Version | Old Version | JIRA URL |
---|---|---|---|---|
com.xpn.xwiki.platform | xwiki-* | 2.0 | 1.9.3 | |
org.xwiki.platform | xwiki-* | 2.0 | 1.9.3 |
Applications
Group Id | Artifact Id | New Version | Old Version | JIRA URL |
---|---|---|---|---|
com.xpn.xwiki.platform.applications | xwiki-application-administration | 1.17 | 1.12 | jira |
com.xpn.xwiki.platform.applications | xwiki-application-blog | 1.12 | 1.8 | jira |
com.xpn.xwiki.platform.applications | xwiki-application-officeimporter | 1.11 | 1.9 | jira |
com.xpn.xwiki.platform.applications | xwiki-application-panels | 1.24 | 1.20.1 | jira |
com.xpn.xwiki.platform.applications | xwiki-application-scheduler | 1.12 | 1.11 | |
com.xpn.xwiki.platform.applications | xwiki-application-statistics | 1.5 | 1.4 | |
com.xpn.xwiki.platform.applications | xwiki-application-tag | 1.7 | 1.7 | |
com.xpn.xwiki.platform.applications | xwiki-application-watchlist | 1.20 | 1.16 | |
com.xpn.xwiki.platform.applications | xwiki-application-webdav | 1.2 | 1.2 | |
com.xpn.xwiki.platform.applications | xwiki-application-wiki-macro-bridge | 1.2 | N/A |
Plugins
Group Id | Artifact Id | New Version | Old Version | JIRA URL |
---|---|---|---|---|
com.xpn.xwiki.platform.plugins | xwiki-plugin-activitystream | 1.4 | N/A | |
com.xpn.xwiki.platform.plugins | xwiki-plugin-jodatime | 1.3 | 1.3 | |
com.xpn.xwiki.platform.plugins | xwiki-plugin-lucene | 1.10 | 1.8 | |
com.xpn.xwiki.platform.plugins | xwiki-plugin-mailsender | 1.13 | 1.10 | |
com.xpn.xwiki.platform.plugins | xwiki-plugin-scheduler | 1.12 | 1.9 | |
com.xpn.xwiki.platform.plugins | xwiki-plugin-skinx | 1.10 | 1.9 | |
com.xpn.xwiki.platform.plugins | xwiki-plugin-tag | 1.7 | 1.6 | |
com.xpn.xwiki.platform.plugins | xwiki-plugin-watchlist | 1.20 | 1.16 |
Skins
Group Id | Artifact Id | New Version | Old Version | JIRA URL |
---|---|---|---|---|
com.xpn.xwiki.platform.skins | xwiki-skin-albatross | 1.24 | 1.21 | |
com.xpn.xwiki.platform.skins | xwiki-skin-colibri | 1.3 | N/A | |
com.xpn.xwiki.platform.skins | xwiki-skin-toucan | 1.28 | 1.22 |
Top Level POM
Group Id | Artifact Id | New Version | Old Version | JIRA URL |
---|---|---|---|---|
com.xpn.xwiki.platform | xwiki | 27 | 24 |
Tools
Group Id | Artifact Id | New Version | Old Version | JIRA URL |
---|---|---|---|---|
org.xwiki.platform.tools | xwiki-jetty-resources | 1.16 | 1.14 | |
org.xwiki.platform.tools | xwiki-rootwebapp | 1.2 | 1.1 | |
org.xwiki.platform.tools | xwiki-xar-handlers | 1.9 | 1.8 | |
org.xwiki.platform.tools | xwiki-xar-plugin | 1.13 | 1.12 | |
org.xwiki.platform.tools | xwiki-configuration-resources | 1.32 | 1.27 | |
org.xwiki.platform.tools | xwiki-packager-plugin | 1.14 | 1.12 | |
org.xwiki.platform.tools | xwiki-license-resources | 1.1 | 1.0 | |
org.xwiki.platform.tools | xwiki-verification-resources | 1.14 | 1.13 |