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.

Allow to perform custom decisions in case of merge conflict


The Diff module now takes new API to enhance the 3-way merge operation. The MergeResult is now capable to return a list of Conflict object which gives some more information about the conflicts that occured during the merge. Those conflicts can be solved on a case-by-case basis by specifiying 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.

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.

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: 

  • German
  • French
  • Japanese
  • Korean
  • Norwegian
  • Portuguese (Brazil)
  • Russian

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:

  • Not an API breakage (we replaced it with a generic get() method that can also be used to access $services.diff.display)
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method org.xwiki.script.service.ScriptService org.xwiki.diff.script.DiffScriptService::getDisplay()

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
Tags:
Created by Vincent Massol on 2019/08/05
   

Get Connected