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

Version 12.6 by Vincent Massol on 2021/05/18
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.13\.4RC1.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.

This release continues to bring Live Data improvments in particular the capability to perform inline edition of data in tables and to filter boolean values. In the same spirit, some existing live tables in XWiki Standard have been converted to Live Data including the list of releases, panels, wikis or likes. The release also provides other minor improvments like the refactoring of references in macros, or a new REST API for the icon theme application.

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.13\.4RC1.WebHome]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.
13.3)

Full list of issues fixed and Dashboard for XWiki 13.4-rc-1.

For Users

Live Data Inline Editing

 
The Live Data Macro has been improved to support inline editing. When the edit mode is allowed on a live data macro, a user with the edit right on the content of a cell can double click on a cell to edit it. The content of the cell is then converted into a form. Pressing escape will cancel the modifications, whereas clicking outside the edited cell will save its content and the Live Data will be reloaded to reflect the update.

Improved Live Data Macro L&F

 
The UI of the Live Data Macro has suffered a couple of changes:

  • the hamburger menu has been moved to the right side, after the pagination
  • the reload button has been moved inside the menu
  • the menu groups are better separated
  • added loading animation
  • added support for resizing the columns in the table layout
  • improved labels

See the Live Data Macro documentation for more information.

Live Data Boolean Filter

 
The Live Data Macro now provides a new Boolean filter, allowing boolean values to be filtered using a drop-down field instead of a text field.

Miscellaneous

  • Refactoring for references in macros: When a page is moved or renamed, the link and image references located inside inline-editable macros are now updated as well.

  • Releases list: The list of Releases is now displayed using the Live Data Macro.

  • Wikis lists: The lists of wikis and wiki templates of the Wiki Application are now displayed using the Live Data Macro.

  • Mail Sending Status list: The Mail Sending Status list of the Mail Application is now displayed using the Live Data Macro.

  • Improved Notification Widget Style: Notification widget messages are now displayed with a style that is more aligned with XWiki UI guidelines regarding spacing, border and font weight.

  • Panels list: The list of Panels is now displayed using the Live Data Macro.

  • Likes list in the user profile: The list of likes of a user are now displayed using the Live Data Macro.

For Admins

No changes!

For Developers

  • InputSource and OutputTarget converter improvements: The InputSource and OutputTarget converters used for example during macros and filters UI are now extensible so any extension can add support for supporting conversion from more Java types and support for more references prefixes. See Filter Module for more details

  • Icon REST API: The Icon Theme Application is now providing a REST API. This API allows to request the icons metadata of the provided icon themes.

    For instance:

    # Request two icons from the current theme:
    curl -H 'Accept: application/json' http://localhost:8080/xwiki/rest/wikis/xwiki/iconThemes/icons?name=add&name=home
    # # {"icons":[{"name":"add","iconSetType":"FONT","iconSetName":"Font Awesome","cssClass":"fa fa-plus","url":null},{"name":"home","iconSetType":"FONT","iconSetName":"Font Awesome","cssClass":"fa fa-home","url":null}],"missingIcons":[]}

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

Changes in web.xml

  • XWikiXmlRpcContextInitializationFilter filter has been renamed to XWikiRESTContextInitializationFilter to be more consistent with the current sistuation (XMLRPC support is long gone).
  • org.xwiki.wysiwyg.filter.XWikiContextInitializationFilter is now deprecated and replaced with the more generic name com.xpn.xwiki.web.XWikiContextInitializationFilter (which does exactly the same thing)

API Breakages

No API breakage since XWiki 13.3.

Credits

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

Clément
Clément Aubin
DenisF
Eduard Moraru
Francisco García Moreno
Jarle Sandmo
Manuel Leduc
Marius Dumitru Florea
Nick Mancuso
Shashwat Jaiswal
Simon Urli
slauriere
Thomas Mortagne
Vincent Massol
xrichard

Tags:
   

Get Connected