ReleaseNotesXWikiEnterprise20M2
Version 8.1 by Thomas Mortagne on 2009/07/26
ContentsThe [toc] macro is a standalone macro and it cannot be used inline
Release Notes for XWiki Enterprise 2.0 Milestone 2
Second milestone of the XWiki Enterprise 2.0 version (Roadmap).New and Noteworthy (since XWiki Enterprise 2.0 Milestone 1)
At a glance (see below for details):- Lots of improvements and new features in the new WYSIWYG editor
- Lots of improvements and bugfixes in the rendering engine and the syntax converter
- Improvements for the blog application
- It's now possible to choose the content renderer to use when viewing a page
- New Footnote macro
- New xwiki-properties module
- New Latvian translation
- New Swedish translation
- New Korean translation
New Wiki rendering 2.0 macros
See WikiMacroTutorial.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 dome 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.WYSIWYG improvements
- Add the ability to configure the colors displayed by the color picker
- Allow the page to link to to be searched for or selected from the most recently edited pages
- Component Manager should generate event when the component is registered instead of initialized
Rendering improvements
- New Section editing
- Allow default document syntax to be specified in User profile configuration
1.0 -> 2.0 syntax converter
- Converter should make sure code macro are forced standalone
- Converter should make sure to put get calls in {{html}} macros
- Converter should trim code macro content
Component Manager api improvements
- Add way to directly provide the component instance when register it
- Add way to unregister component
New Footnote macro
See Footnote20Macro.
New xwiki-properties module
- Java bean populating support
- Java type conversion support
- Java bean validation support
Among other things this mean the following changes for the 2.0 macros:
- any case is supported for macros parameters names
- public fields are now supported (not only getters and setters)
- java macro parameters bean is validated agains JSR 303 (See )
- macro properties java bean can implements RawProperties to get custom non converted parameters
- you can add support for any type conversion by implementing Converter component
- any Enum conversion is supported (no need to register each Enum subclass agains ConvertUtils anymore)
- support for Color conversion
See Properties module documentation.
Miscellaneous UI improvements
- Improved document footer section
- Improved tag display and editing
Important bugs fixed
- XWIKI-4033 - When saving after section edit entire page is overwritten
- XWIKI-4043 - Main.AllDocs not showing any documents in a farm
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.0M1:
- Rendering Module