Release Notes for $doc.getValue('product') $doc.getValue('version')

Version 14.1 by Marius Dumitru Florea on 2022/06/28
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:ReleaseNotes.Data.XWiki.14\.5.WebHome]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

Contents

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.

<insert description of release here>

New and Noteworthy (since Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:ReleaseNotes.Data.XWiki.14\.5.WebHome]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.
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.

Moved Modules

<description deprecated, retired and moved projects>

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:

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 Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:ReleaseNotes.Data.XWiki.14\.5.WebHome]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

<issues specific to the project>

API Breakages

The following APIs were modified since Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:ReleaseNotes.Data.XWiki.14\.5.WebHome]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.
14.4.1:

Credits

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

<code and translation contributors>

Tags:
   

Get Connected