Release Notes for XWiki 11.7-rc-1

Last modified by Ilie Andriuta on 2019/09/03

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: 

Tested Browsers & Databases

Here is the list of browsers we support and how they have been tested for this release:

 BrowserTests performed and results
Chrome30.pngGoogle Chrome 76Not Tested
Firefox30.pngMozilla Firefox 68New and Noteworthy Features + Jira Tickets Marked as Fixed in the Release Notes
Edge30.pngMicrosoft Edge 18Not Tested
IE30.pngInternet Explorer 11Not Tested
Safari30.pngSafari 12Not Tested

Here is the list of databases we support and how they have been tested for this release:

 DatabaseTests performed and results
hypersql.pngHyperSQL 2.5.0Not Tested
mysql.pngMySQL 5.7Not Tested
oracle.pngOracle 12cNew and Noteworthy Features + Jira Tickets Marked as Fixed in the Release Notes
postgresql.pngPostgreSQL 11Not Tested

Here is the list of Servlet Containers we support and how they have been tested for this release:

 Servlet ContainerTests performed and results
tomcat-icon.pngTomcatNot Tested
jetty-icon.pngJetty (XWiki Standalone packaging)New and Noteworthy Features + Jira Tickets Marked as Fixed in the Release Notes
jetty-icon.pngJettyNot Tested

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:
   

Get Connected