Release Notes for XWiki 11.7-rc-1

Version 11.1 by Thomas Mortagne on 2019/08/20
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.

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

This release brings a new date picker and various merge improvements. Developers will also be able to reuse the standard color picker and the merge API give more details about the conflicts.

New and Noteworthy (since XWiki 11.6)

Full list of issues fixed and Dashboard for 11.7.

For Users

Improved Date Picker

 
The Date picker used to edit date properties has been improved. The new version is better integrated with the Bootstrap-based Flamingo skin and its UI adapts better to the provided date format configuration (e.g. by hiding UI elements that don't make sense). Checkout the Date Time Picker documentation for more information.

For Admins

No changes!

For Developers

Color Picker

 
The color picker used by the Flamingo Theme Application can now be re-used thanks to a new Velocity macro:

#set ($colorPickerParams = {
  'name': 'color',
  'value': '#85d4a9'
})
#colorPicker($colorPickerParams)

Checkout the Color Picker documentation for more information.

Date Time Picker

 
A new Velocity macro is available to create a date & time picker:

#set ($dateTimePickerParams = {
  'name': 'date',
  'data-format': 'dd/MM/yyyy HH:mm:ss'
})
#dateTimePicker($dateTimePickerParams)

Checkout the Date Time Picker documentation for more information.

Miscellaneous

  • Display conflict information inside unified diff: The display diff API allows to display information about conflicts.
    The APIs to build unified diff takes as input a list of conflict elements that have been computed during a merge: some conflict information are then available in the resulting unified diff blocks, and can be used to present conflicts and possible decisions inside an UI presenting unified diff.

  • Allow to perform custom decisions in case of merge conflict: The Diff module now offers new APIs to enhance the 3-way merge operation. The MergeResult is now capable of returning a list of Conflict objects which gives some information about the conflicts that occurred during the merge. Those conflicts can be solved on a case-by-case basis by specifying some ConflictDecision in the MergeConfiguration that is passed to the merge operation.

    The main goal here is to allow more fine-grained conflict resolution when performing a merge operation.

Upgrades

The following runtime dependencies have been upgraded (they have a different release cycle than XWiki Commons, XWiki Rendering and XWiki Platform):

Translations

The following translations have been updated: 

Known issues

Backward Compatibility and Migration Notes

General Notes

  • When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added:
    • xwiki.cfg
    • xwiki.properties
    • web.xml
    • hibernate.cfg.xml
  • Add xwiki.store.migration=1 in xwiki.cfg so that XWiki will attempt to automatically migrate your current database to any new schema. Make sure you backup your Database before doing anything.

API Breakages

The following APIs were modified since XWiki 11.6:

Failed to execute the [groovy] macro. Cause: [startup failed: Script102.groovy: 9: unable to resolve class XmlSlurper  @ line 9, column 12.      result = new XmlSlurper().parseText(xml)                ^  1 error ]. Click on this message for details.

Credits

The following people have contributed code and translations to this release (sorted alphabetically):

  • Alex Cotiugă
  • Björn Ludwig
  • Christian Fröhlich
  • Clemens Robbenhaar
  • Clément Aubin
  • exveria1015
  • Jarle Sandmo
  • Marius Dumitru Florea
  • Oana-Lavinia Florean
  • Pyungkyu Moon
  • RICARDO FAULHABER
  • Simon Urli
  • Thomas Mortagne
  • Vincent Massol
  • Vyacheslav Sukharnikov
  • xrichard

Get Connected