Release Notes for XWiki 16.0.0

Last modified by Vincent Massol on 2024/01/30

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 stable 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 and security 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

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

The following translations have been updated:

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

Support for Java 11 has been dropped

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):

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

Get Connected