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

Version 1.1 by Simon Urli on 2023/01/30
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.15\.0.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.15\.0.WebHome]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.
<version - 1>)

Full list of issues fixed and Dashboard for <final version here even for RC, e.g. 10.5>.

For Users

No changes!

For Admins

  • New tags right check strategy configuration: It is now possible to configure the algorithm used when checking view rights on tags (returned by the Tags API) by editing xwiki.properties.

    #-# [Since 14.4.8, 14.10.4, 15.0RC1]
    #-# Configure the tag selection algorithm to use.
    #-# The default algorithm is "exhaustive", which check all elements (documents and tags) for view right before returning
    #-# them. This exhaustive check can lead to tag clouds and tag lists being slow to compute on instances with very large 
    #-# amounts of tags or tagged documents (more than 5000 of elements).   
    #-# Note that it is advised to keep using the default implementation as much as possible, and to switch to the "unsafe"
    #-# option only when all performance improvements options have been exhausted 
    #-# (see https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Performances/)
    #-# The "unsafe" algorithm does not perform any right checks. It is approximately 10 times faster than "exhaustive"
    #-# but does not provide any guarantee that the current user won't be able to view a tag he/she is not allowed to. 
    #-# Therefore, we cannot recommend to use it unless tags performance is critical AND tags and document references are 
    #-# not considered as critical information.
    # tag.rightCheckStrategy.hint=exhaustive
    # tag.rightCheckStrategy.hint=unsafe

For Developers

New script service for URL security operations

 
A new script service has been introduced to allow performing security checks on URL. The script service currently provides a single method which can be used like that:

{{velocity}}
#set ($myURL = "http://xwiki.org")
#set ($safeURI = $services.security.url.parseToSafeURI($myURL))
## The URI is null if not safe.
#if ($safeURI)
  ## use it as an URI object. 
#end
{{/velocity}}

Miscellaneous

  • Restricted context macro: A new restricted parameter has been introduced in the context macro to allow executing content in a restricted content. See Context Macro for more details.

  • New script service for HTML operations: A new HTML script service has been introduced allowing to use the recently introduced HTMLElementSanitizer in scripts. It can be used in velocity with $services.html.xxx.

  • Extension plan in isolation: It's now much easier to run extension jobs isolated from the current instance. The following two new properties has been added to ExtensionRequest:

    • coreExtensionRepository: a custom repository to use to find available core extension
    • installedIgnored: true if already-installed extensions should not be taken into account while resolving the install plan

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

  • <list libraries that have been upgraded>

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.15\.0.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.15\.0.WebHome]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.
<version - 1>:

Credits

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

<code and translation contributors>

Get Connected