Release Notes for XWiki Enterprise 2.1 RC 1

Version 10.1 by Thomas Mortagne on 2017/03/24

First and only release candidate of the XWiki Enterprise 2.1 version (Roadmap). 

This release is mostly a bugfix and stabilization release.

New and Noteworthy (since XWiki Enterprise 2.1M1)

New Features and Improvements

  • The Blog application is now using the xwiki/2.0 syntax and the new WYSIWYG editor
  • Allow XWiki.XWikiAllGroup to be an implicit group, containing all the users without explicitly listing them as objects
  • When renaming a page, also update the "parent" field of subpages (Patch from Caleb James De Lisle)
  • [Platform] Ability to register a component for the current user or for the current wiki instead of globally. Note that this will be used in the near future to allow registering Wiki Macros in multiwiki mode without the macros being visible in other wikis.
  • Updated translations : de (including WYSIWYG), es, fr (including WYSIWYG), gl, lv, nl, pl, ro, sv, zh
  • All Features and Improvements also present in XWiki Enterprise 2.0.4

Important Bug Fixes

  • XWIKI-4626 : Go to, Search and Document Index doesn't work with Chines page names
  • XWIKI-4623 : The rollback confirmation dialog does not prevent bots from rollbacking documents
  • XWIKI-4161 : XML tags are displayed after copy&paste word-doc in office importer
  • XWIKI-4517 : NullPointerException thrown when switching to Source tab before the rich text area has finished loading
  • XWIKI-4631 : Creating a new space with non-ASCII characters in the name results in a broken title
  • All Bug fixes also present in XWiki Enterprise 2.0.4

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

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

  • The CSS for the Search Panel has been modified to apply to the CLASS attributes globalsearch and globalsearchinput (See XSCOLIBRI-85 for more details). As a result you'll need to reimport the Panels.Search panel (from the XE XAR for example) in your wiki or the search panel will not be displayed correctly.

API Breakages

The following APIs were modified since XWiki Enterprise 2.1M1:

[ERROR] org.xwiki.component.manager.ComponentManager: Method 'public org.xwiki.component.manager.ComponentEventManager getComponentEventManager()' has been added to an interface
[ERROR] org.xwiki.component.manager.ComponentManager: Method 'public org.xwiki.component.manager.ComponentManager getParent()' has been added to an interface
[ERROR] org.xwiki.component.manager.ComponentManager: Method 'public void setParent(org.xwiki.component.manager.ComponentManager)' has been added to an interface
[ERROR] org.xwiki.rendering.block.HeaderBlock: Method 'public void generateId()' has been removed
[ERROR] org.xwiki.rendering.block.HeaderBlock: Method 'public java.lang.String getPlainTextTitle()' has been removed
[ERROR] org.xwiki.rendering.listener.chaining.LookaheadChainingListener: Return type of method 'public org.xwiki.rendering.listener.chaining.LookaheadChainingListener$Event getNextEvent()' has been changed to org.xwiki.rendering.listener.QueueListener$Event
[ERROR] org.xwiki.rendering.listener.chaining.LookaheadChainingListener: Return type of method 'public org.xwiki.rendering.listener.chaining.LookaheadChainingListener$Event getNextEvent(int)' has been changed to org.xwiki.rendering.listener.QueueListener$Event
[ERROR] org.xwiki.rendering.listener.chaining.LookaheadChainingListener$Event: Class org.xwiki.rendering.listener.chaining.LookaheadChainingListener$Event removed
Tags:
   

Get Connected