XWiki Enterprise 2.2 Milestone 1

Version 2.1 by Thomas Mortagne on 2010/01/15

First and last milestone of the XWiki Enterprise 2.2 version (Roadmap). 

This release mainly introduce new EntityReference and related APIs to remove all String manipulations around documents and attachments names and the possibility to register wiki macros for any user or wiki.

New and Noteworthy (since XWiki Enterprise 2.1.1)

  • Contextual wikimacros
    WarningTOTO
  • New entity reference manipulation API
    WarningTOTO
  • General UI improvements
    • In the wiki source code viewer, allow to toggle line numbers faster from Javascript
    • Enable full screen view when displaying the wiki source code (viewer=code)
    • Internationalize macro descriptors
    • Attachment trash
    • Display the contents of the Document Recycle Bin in the document index
    • ActionMenu: Add Profile submenu item to the "current user" menu
      XSCOLIBRI-170.png
    • Reorder the document actions in the "More actions" menu: copy, rename, delete
  • Development improvements
    • Added support for "xcontext" binding in 1.0 groovy macro
    • Allow set to null in velocity
    • Add an API method for creating a LinkedHashMap
    • New APIs for accessing deleted attachments from the trash
    • The class wizard should propose to add a SheetClass object to the class sheet
    • Add support for 'on page' style extensions
  • Office import improvements
    • Added support for Office2007 document formats
  • XAR Import improvements
    WarningTODO
  • Blog improvement
    • Add the Create a new post to category pages - when used by default select that category
  • Always use UTF-8 for URL encoding
  • Attachments should produce document modification events
  • Upgraded to Groovy 1.7
  • Lots of accessibility fixes
  • Lots of bugs fixes

Known issues

Backward Compatibility and Migration Notes

General Notes

Warning

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 <tt>xwiki.store.migration.databases=db1,db2,....

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

Warning

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.

Migration Notes

API Breakages

The following APIs were modified since XWiki Enterprise 2.0.3:

Rendering api

  • properties (rendering macros api and xwiki-properties module) "name" field has been changed for "id" and "name" now mean display/pretty name
ERROR] org.xwiki.rendering.macro.descriptor.ParameterDescriptor: Method 'public java.lang.String getId()' has been added to an interface

Get Connected