Release Notes for XWiki 14.5

Last modified by Marius Dumitru Florea on 2022/08/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 improves the new WYSIWYG editor image dialog and adds support for refactoring links when deleting wiki pages. Moreover, the PDF export application (not bundled by default) adds support for Docker-based multi-page PDF export. Last but not least this release fixes many bugs, including a few security issues.

The following regressions were introduced in this release (and found after it was released). Please check them out and if they impact you we recommend waiting to upgrade to a version where they are fixed.

New and Noteworthy (since XWiki 14.4.1)

Full list of issues fixed and Dashboard for 14.5.

For Users

Docker-based Multi-page PDF Export

 
The PDF Export Application (not bundled by default) added support for Docker-based multi-page PDF export. When installed, this application enhances the export modal to allow for multi-page selection when performing PDF export. Moreover, the PDF is now generated by default asynchronously on the server-side (in a background thread) using a headless Chrome web browser running inside a Docker container. At the end, the user is redirected to the generated PDF (as a temporary resource).

New CKEditor Image Dialog Improvements

 
The new CKEditor Image Dialog comes with two new tabs to select images. Users can now use the id of an icon, or use external URLs.
In addition, the image dimensions are now locked by default, and the ratio between the width and height of an images is preserved when one of them is changed.

Ability to redirect deleted page link to a new page

 
When deleting a page, users can now select, using a page picker, a new target to be used for updating links that where pointing to the deleted page.

To fix eventual broken external links (e.g. bookmarks, links from emails), they can also create an automatic redirect from the old location to the new target.

In addition, to support restoring a deleted page with a redirect created (i.e. a page with the same name, but with a XWiki.RedirectClass added), a Replace action was added for the deleted pages. See Index Application Documentation.

For Admins

  • Active Installs 2: New anonymous information is now sent by Active Installs (number of pages and number of users in both the main wiki and the subwikis).

  • Block not allowed macro install: The Install button is disabled for user who don't have the right to install a macro in the WYSIWYG macro picker.

For Developers

  • Temporary Resource Script Service: A new script service is available to check if a temporary resource exists and to get its URL:

    {{velocity}}
    #set ($tempResourceReference = ...)
    #if ($services.resource.temporary.exists($tempResourceReference))
      [[Download>>path:$services.resource.temporary.getURL($tempResourceReference)]]
    #end
    {{/velocity}}
  • Global Job Runner JavaScript Module: The xwiki-job-runner JavaScript module has been published in the global RequireJS configuration which means it can now be used directly without specifying its path:

    require(['xwiki-job-runner'], function(JobRunner) {
      ...
    }

    See the Job Module documentation for more information.

  • Mimetype provided for attachments in Document Tree response: The mimetype is now provided for attachments when calling XWiki.Document to retrieve the document tree hierarchy.

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:
Edge30.pngMicrosoft Edge 103Tests run and results
Chrome30.pngGoogle Chrome 103Not Tested
Firefox30.pngMozilla Firefox 102Jira Tickets Marked as Fixed in the Release Notes
Safari30.pngSafari 15Not Tested

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

 DatabaseTested on:
hypersql.pngHyperSQL 2.6.1Not Tested
postgresql.pngPostgreSQL 14Not Tested
mysql.pngMySQL 8Tests run and results
oracle.pngOracle 19cJira Tickets Marked as Fixed in the Release Notes
mariadb.pngMariaDB 10.6Not 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.64
jetty-icon.pngJetty 10.0.7 (XWiki Standalone packaging)
jetty-icon.pngJetty 10.0.7Not 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 14.4.1:

No breakage!

Credits

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

  • Manuel Leduc
  • Marius Dumitru Florea
  • Michael Hamann
  • Oana-Lavinia Florean
  • Prachi Joshi
  • Simon Urli
  • Simpel
  • Thomas Mortagne
  • Vincent Massol

Get Connected