ReleaseNotesXWikiEnterprise20M4
Release Notes for XWiki Enterprise 2.0 Milestone 4
This is the fourth and last milestone for the XWiki enterprise 2.0 version (Roadmap).
New and Noteworthy (since XWiki Enterprise 2.0 Milestone 3)
At a glance (see below for details):
- Introduces new Colibri skin
- Improvements and bugfixes in the new network event distribution system
- Improvements in the scheduler
- Improvements in the watchlist
- Introduces activity stream plugin
- Adds macros categories support
- Adds attachment support to mail created from template
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. The Colibri skin colors and decorative images are defined in ColorTheme objects inside Wiki documents, that can be changed directly in the web interface.
Several predefined themes are bundled with XE:
Remote Observation Manager
- Most of the core and standard plugins code is now using an observation module instead of the old notification system
- Add support for upload actions (to be notified form attachment modifications)
- Lazy loading is now used when XWiki receives a document modification event or injects a local document modification event (the document will be retrieved from the database only if needed)
See How to setup a cluster of XWiki instance based on distributed events to test it.
Scheduler improvements
- Allow to manually trigger a job (execute it once)
- Upgrade to Quartz 1.6.5
Watchlist improvements
- big speed improvement by refactoring the watchlist based on activity stream plugin
- 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
Macros categories
Each macro can now be added in a default category the macro author thinks appropriate. It's also possible to overwrite the macro category with configuration.
The macros categories are mainly used in WYSIWYG to make it easier to find the macros to use.
Important bugs fixed
- XWIKI-4175 - Livetable sorting failed when the text of the header column is clicked
Known issues
Backward Compatibility and Migration Notes
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 2.0M3:
- Rendering Module
- 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.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.converter.Converter: Parameter 2 of 'public void convert(java.io.Reader, org.xwiki.rendering.parser.Syntax, org.xwiki.rendering.parser.Syntax, org.xwiki.rendering.renderer.printer.WikiPrinter)' has changed its type to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.converter.Converter: Parameter 3 of 'public void convert(java.io.Reader, org.xwiki.rendering.parser.Syntax, org.xwiki.rendering.parser.Syntax, org.xwiki.rendering.renderer.printer.WikiPrinter)' has changed its type to org.xwiki.rendering.syntax.Syntax
[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 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.EmptyBlockChainingListener: In method 'public void beginDefinitionList()' the number of arguments has changed
[ERROR] org.xwiki.rendering.listener.chaining.EmptyBlockChainingListener: In method 'public void endDefinitionList()' the number of arguments has changed
[ERROR] org.xwiki.rendering.listener.chaining.EmptyBlockChainingListener: 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.MacroCategoryManager: Parameter 1 of 'public java.util.Set getMacroCategories(org.xwiki.rendering.parser.Syntax)' has changed its type to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.macro.MacroCategoryManager: Parameter 2 of 'public java.util.Set getMacroIds(java.lang.String, org.xwiki.rendering.parser.Syntax)' has changed its type to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.macro.MacroId: Parameter 2 of 'public MacroId(java.lang.String, org.xwiki.rendering.parser.Syntax)' has changed its type to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.macro.MacroId: Return type of method 'public org.xwiki.rendering.parser.Syntax getSyntax()' has been changed to org.xwiki.rendering.syntax.Syntax
[ERROR] org.xwiki.rendering.macro.MacroManager: Parameter 1 of 'public java.util.Set getMacroIds(org.xwiki.rendering.parser.Syntax)' has changed its type to org.xwiki.rendering.syntax.Syntax
[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.PrintRendererFactory: 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: 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