Release Notes for XWiki 5.2 Milestone 1

Version 28.1 by Vincent Massol on 2013/08/01

This is the release notes for XWiki Platform, XWiki Enterprise and XWiki Enterprise Manager. They share the same release notes as they are released together and have the same version.

<insert description of release here>

New and Noteworthy (since XWiki 5.1)

Full list of issues fixed and Dashboard for 5.2.

<feature N>

<description of feature N>

Miscellaneous

  • The create new wiki wizard is now using the user and group pickers in the last step ("Initial global members")

    createNewWiki-rights.png

  •  The profile menu is now consistent with the admin menu.

userProfile.png

See the full list of JIRA issues fixed in this release.

For Developers

New Filter Module

Commons get a new base module for all streaming systems based on filters like Rendering and the coming Wiki Stream. See Filter Module documentation.

JSON parsing in Velocity

$jsontool.parse('["json string"]') can now be used to parse a serialized JSON into json-lib arrays or objects.

Only valid JSON strings can be parsed. JSONP is not supported. If the argument is not valid JSON, then null is returned, parsing exceptions are cought.

Query String escaping

The following method $escapetool.url(Map<String, ?>) has been added to the escapetool module. It allows to create a properly url-escaped query string from a map of parameters.
For example $escapetool.url({'alice': ['A&A', 'M&M'], 'bob': [13, 27]}) would return alice=A%26A&alice=M%26M&bob=13&bob=27. See XCOMMONS-435

New Eclipse cs extension

XCOMMONS-353 made our checkstyle.xml file unusable as it is in Eclipse cs because of the custom rule that could not be found in the Eclipse classpath.

xwiki-commons-tool-verification-resources module is now also an Eclipse cs extension which mean you can just drop its jar in Eclipse plugins/ folder and you will get the XWiki checkstyle configuration listed in the standard configurations.

New XWikiDocument API to remove an attachment

XWikiDocument#deleteAttachment methods have been deprecated in favor of the combination of XWikiDocument#removeAttachment and XWiki#saveDocument. This make attachment deletion follow the same behavior as xobject and among other things allow doing all sort of modifications to a XWikiDocument without touching the database until we decide to apply them by saving the document.

Deprecated and Retired projects

Upgrades

The following dependencies have been upgraded:

  • Infinispan 5.3
  • Tika 1.4
  • JGroups 3.3.4
  • Maven 3.1.0
  • Aether 0.9.0.M2 (moved from org.sonatype.aether to org.eclipse.aether)
  • CSSParser 0.9.9

Miscellaneous

  • The way to declare the type supporter by a org.xwiki.properties.converter.Converter component changed from role hint to generic type. See Properties Module documentation for more details. The old way is still supported for retro-compatibility.

Translations

The following translations have been updated: 

Tested Browsers & Databases

Known issues

Backward Compatibility and Migration Notes

General Notes

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

Always make sure you compare your xwiki.cfg and xwiki.properties files with the newest version since some configuration parameters were added. Note that 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.

Issues specific to XWiki <version>

<issues specific to the project>

API Breakages

The following APIs were modified since <project> <version - 1>:

<clirr output here>
Tags:
   

Get Connected