Release Notes for XWiki 15.7-rc-1

Last modified by Ilie Andriuta on 2023/11/23

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 provides two Quick Actions improvements. It is now possible to insert icons, and to upload new attachments, from the Quick Actions. It also comes with several bug fixes, including a security issue.

New and Noteworthy (since XWiki 15.6)

Full list of issues fixed and Dashboard for 15.7.

For Users

Quick Icon Insertion

 
You can now search for and insert icons using the keyboard, by typing / (slash) and selecting the icon Quick Action. This opens a drop down that lists all the available icons.

Quick Link to a new Attachment

 
You can now upload and link to an attachment using the keyboard, by typing / (slash) and selecting the Link Quick Action. This opens a drop-down that now supports uploading attachments.

Miscellaneous

  • Improved contrast on the App Within Minute application creation wizard for the active (green) and already finished steps (light grey).

  • Added keyboard support for the rich select used to pick a page template at page creation.

For Admins

Fine-grained control over how Chrome accesses XWiki

 
The "XWiki Host" PDF Export configuration parameter has been replaced by a new configuration parameter named "XWiki URI". While the old parameter was used to specify only the domain name or IP address of XWiki (required by the headless Chrome web browser to open the print preview page) the new parameter allows you to specify additionally the scheme (e.g. HTTP versus HTTPS) and the port number (e.g. 8080). This makes it easier to configure the remote Chrome so that it bypasses the proxy (e.g. SSO) in front of XWiki (e.g. by accessing directly the servlet engine that runs XWiki, such as Tomcat).

Note that the old "XWiki Host" configuration parameter is still taken into account (e.g. if it was set before upgrading to XWiki 15.7+) but the new "XWiki URI" parameter takes precedence (when set). We recommend updating your configuration to use the new parameter (in case you're using a remote Chrome and not the user's browser for PDF export). Migration is easy: just copy the value from the old parameter to the new one. This is possible because the scheme and port number are optional when specifying the "XWiki URI".

For more information checkout the PDF Export Application documentation.

For Developers

No changes!

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:

 BrowserTested on:
Firefox30.pngMozilla Firefox 119Jira Tickets Marked as Fixed in the Release Notes
Chrome30.pngGoogle Chrome 119Not Tested
Edge30.pngMicrosoft Edge 119Not Tested
Safari30.pngSafari 16Not 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.1Not Tested
mysql.pngMySQL 8.2Not Tested
postgresql.pngPostgreSQL 16Jira Tickets Marked as Fixed in the Release Notes
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.83Jira Tickets Marked as Fixed in the Release Notes
jetty-icon.pngJetty 10.0.15 (XWiki Standalone packaging)Not Tested
jetty-icon.pngJetty 10.0.15Not 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 15.7-rc-1

On startup after the upgrade, the search index will be emptied and all documents will be re-indexed to purge sensitive data from the search index. Features relying on the search index like the search itself but also the image picker or backlinks might be temporarily unavailable or incomplete.

API Breakages

The following APIs were modified since XWiki 15.6:

Unstable APIs

Not real backward compatibility breakages since they were done on APIs marked @Unstable (a.k.a Young APIs). Thus it's part of the contract that they can be broken until they become stable. They're listed purely for reference in case you decided to still use them (and thus agreed to be broken).

  • Replaced getXWikiHost() with getXWikiURI() in unstable configuration API.
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method java.lang.String org.xwiki.export.pdf.PDFExportConfiguration::getXWikiHost()
  • Replaced getXWikiHost() with getXWikiURI() in unstable configuration API.
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:


      ## New:
      method java.net.URI org.xwiki.export.pdf.PDFExportConfiguration::getXWikiURI() throws java.net.URISyntaxException

Credits

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

  • Anca Luca 
  • Dorian OUAKLI 
  • Gankov Andrey 
  • Manuel Leduc 
  • Marius Dumitru Florea 
  • Michael Hamann 
  • Nikita Petrenko 
  • Oana-Lavinia Florean 
  • Sautner 
  • Sereza7 
  • Simon Urli 
  • Simpel 
  • Thomas Mortagne 
  • Vincent Massol 
  • WestFarmer

Get Connected