Release Notes for XWiki 16.0.0-rc-1

Last modified by Ilie Andriuta on 2024/03/04

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 is the first release of the 16.x cycle. The most notable changes are the move to Java 17, a few Live Data improvements and some Live Table to Live Data migrations. Besides these there are many dependency upgrades, some of which require special attention when upgrading XWiki, and a couple of bug fixes.

New and Noteworthy (since XWiki 15.10.5)

Full list of issues fixed and Dashboard for 16.0.0.

For Users

Likers migrated to Live Data

 
The list of likers of a page is now displayed using a Live Data.

Affected children during page delete is now displayed with a Live Data

 
The list of affected children during page delete is now displayed with a Live Data.

Miscellaneous

  • Updated drag and drop feature of the Live Data Macro: The appearance of drag and drop controls for Live Data columns has been updated to be more straightforward to use. In addition, keyboard control is now fully supported for those controls. See Live Data documentation for more details on these new controls.

For Admins

  • Addition of "panel-header-color": Added a new parameter to the color theme, to control panel header text color. See the Flamingo Color Theme documentation.

  • The "Supported Languages" setting is now hidden when the wiki is not multilingual.

For Developers

Support for Live Data in Velocity

 
It is now possible to insert a Live Data using scripting instead of using the usual liveData macro.

Example using Velocity:

$services.liveData.render({
 'id': 'users',
 'properties': '_avatar,doc.name,first_name,last_name',
 'source': 'liveTable',
 'sourceParameters': 'className=XWiki.XWikiUsers&translationPrefix=xe.userdirectory.'
})

Support for Live Data description

 
The Live Data macro has a description parameter, allowing to define a textual description of the content of the Live Data.

Example:

{{liveData
  id="users"
  properties="_avatar,doc.name,first_name,last_name"
  source="liveTable"
  sourceParameters="className=XWiki.XWikiUsers&translationPrefix=xe.userdirectory."
  description="The list of all users:"
/}}

Upgrades

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

Translations

No translation changes were made.

Tested Browsers & Databases

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

 BrowserTested on:
Firefox30.pngMozilla Firefox 123Not Tested
Chrome30.pngGoogle Chrome 122Jira Tickets Marked as Fixed in the Release Notes
Edge30.pngMicrosoft Edge 122Not Tested
Safari30.pngSafari 17Not Tested

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

 DatabaseTested on:
hypersql.pngHyperSQL 2.7.2Not Tested
mariadb.pngMariaDB 11.3Jira Tickets Marked as Fixed in the Release Notes
mysql.pngMySQL 8.3Not Tested
postgresql.pngPostgreSQL 16Not Tested
oracle.pngOracle 19cNot Tested

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

 Servlet ContainerTested on:
tomcat-icon.pngTomcat 9.0.86Jira Tickets Marked as Fixed in the Release Notes
jetty-icon.pngJetty 10.0.19 (XWiki Standalone packaging)Not Tested
jetty-icon.pngJetty 10.0.19Not Tested

Security Issues

Security issues are not listed in issue lists or dashboards to avoid disclosing ways to use them, but they will appear automatically in them once they're disclosed. See the XWiki Security Policy for more details.

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.

Issues specific to XWiki 16.0.0-rc-1

Drop support of Java 11

XWiki now requires Java 17 to run.

Breaking changes in Groovy 4

The move to Groovy 4 comes with some deleted deprecated classes:

The Java Platform Module System (JPMS) requires that classes in distinct modules have distinct package names (known as the "split packaging requirement"). Groovy has its own "modules" that weren’t historically structured according to this requirement.

Groovy 3 provided duplicate versions of numerous classes (in old and new packages) to allow Groovy users to migrate towards the new JPMS compliant package names. See the Groovy 3 release notes for more details. Groovy 4 no longer provides the duplicate legacy classes.

In short, time to stop using groovy.util.XmlSlurper and start using groovy.xml.XmlSlurper. Similarly, you should now be using groovy.xml.XmlParser, groovy.ant.AntBuilder, groovy.test.GroovyTestCase and the other classes mentioned in the prior mentioned Groovy 3 release notes.

See http://groovy-lang.org/releasenotes/groovy-4.0.html#Groovy4.0-naming-changes for more details.

API Breakages

The following APIs were modified since XWiki 15.10.5:

No breakage!

Credits

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

  • 100ch
  • Dorian OUAKLI
  • Gankov Andrey
  • Gašper Kojek
  • Guillaume Delhumeau
  • Gunter Ohrner
  • Lucas Charpentier
  • Manuel Leduc
  • Marius Dumitru Florea
  • Michael Hamann
  • Nikita Petrenko
  • Oana-Lavinia Florean
  • Pierre Jeanjean
  • Raphaël Jakse
  • Simon Urli
  • Simpel
  • Thomas Mortagne
  • Vincent Massol
  • hongsikum
  • xeon

Get Connected