ReleaseNotesXWikiEnterprise20M4

Version 12.1 by Sergiu Dumitriu on 2009/08/26
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:ReleaseNotes.ReleaseNotesXWikiEnterprise20M4]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

Release Notes for XWiki Enterprise 2.0 Milestone 4

First (and hopefully last) release candidate for XWiki Enterprise 2.0 version (Roadmap).

New and Noteworthy (since XWiki Enterprise 2.0 Milestone 3)

At a glance (see below for details):

  • Introduce new Colibri skin
  • Improvements and bugfixes in the new network event distribution system
  • Improvements in the scheduler
  • Improvements in the watchlist
  • Introduce activity stream plugin
  • Add macros categories support
  • Add attachment support to mail created from template

Colibri skin

XWiki 2.0 introduces a new, lightweight, easily customisable skin. The main goal of the Colibri skin is to provide the propper 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.

colibri1.png

Several predefined themes are bundled with XE:

colibri2.png

Remote Observation Manager

  • Most of the core and standard plugins code is now using observation module instead of old notification system
  • Add support for upload actions (to be notified form attachment modifications)
  • When XWiki receive a document modification event it and inject a local document modification event it now use lazy loading document (document will be retrieved form the database only if needed)

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 notification for any interval of time
  • mails design improvement

Macros categories

Each macro can now provide a default category in which the macro author think it should goes. It's also possible to overwrite the macro category with configuration.

The macros categories are mainly used in WYSIWYG to make easier to find the macro to use.

macro-category.png}   {image:macro-filter.png

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

If you're running in a multiwiki setup you'll also need to define the property xwiki.store.migration.databases=all to your xwiki.cfg file or explicitly name all databases to be migrated as in xwiki.store.migration.databases=db1,db2,....

You may also want to import the default wiki XAR in order to benefit from improvements listed above.

Always make sure you compare your xwiki.cfg file with the newest version since some configuration parameters were added. Of note, 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.

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: 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.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
Tags:
   

Get Connected