From version 1.1 >
edited by Vincent Massol
on 2019/07/15
To version < 2.1 >
edited by Vincent Massol
on 2019/07/15
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -20,7 +20,7 @@
20 20  
21 21  The following runtime dependencies have been upgraded (they have a different release cycle than [[XWiki Commons>>http://commons.xwiki.org]], [[XWiki Rendering>>http://rendering.xwiki.org]] and [[XWiki Platform>>http://platform.xwiki.org]]):
22 22  
23 -* <list libraries that have been upgraded>
23 +* [[CSS4J 1.0.0RC1>>https://jira.xwiki.org/browse/XWIKI-16583]]
24 24  
25 25  = Translations =
26 26  

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.

New and Noteworthy (since XWiki )

Full list of issues fixed and Dashboard for .

For Users

Visual Diff


You can now view how a page has changed visually from one version to another. The changes are computed on the rendered page content. You can click on the ellipsis to expand the context (to see the parts that have not changed). See the documentation for more information.

For Admins

Enable/Disable user account


it is now possible to disable a user account and to enable it back from his/her profile. A disabled user is able to login but cannot perform any action once logged-in.

Multiple login attacks protection


A new Authentication Security Module has been integrated to prevent attacks on user accounts. This module allows to perform different strategies in case of repeated authentication failures.
For now two strategies are provided:
  - to ask user to answer a CAPTCHA challenge (default strategy)
  - to disable user account (in which case an administrator would have to activate it back)

The strategy is triggered whenever a user repeatedly failed to login in a given time window. The number of failed attempts and the duration of the time window are configurable in Administration > Authentication. Default values are 3 failed attempts in 5 minutes would trigger a CAPTCHA challenge for users.

Miscellaneous

  • Tomcat 9 based Debian Package: Tomcat 9 is now the current stable branch of Tomcat so we provide a Debian Package of XWiki based on it.

  • Check user inactive status by default: If you configured the registration page to enable the Use Email Verification, then new registered users are by default inactive until they fill a form. Starting with this release the active status is checked by default at login. The previous option to enable this in the Administration > Registration page, Authentication Active Check, has been removed.

  • Allow to disable the edit conflict mechanism: We introduced in XWiki 11.2 a mechanism that allows user to detect edition conflicts on a page and we are continuing to improving it. However this feature is still experimental and might have unwanted consequences on older extensions. So we added the possibility to completely disable the feature if needed, with a new property in xwiki.properties:
    edit.conflictChecking.enabled = true

    You can set this property to false and restart the wiki in case of trouble. In that case, please let us know so we can improve our feature.

For Developers

Add a new binding for wikimacro


A new binding has been introduced for Wikimacro, the different information of the wikimacro are then available through wikimacro. The old binding xcontext.macro remains but is considered as deprecated and shouldn't be used anymore.

One important change in this binding concerns the parameters: those are now available through wikimacro.parameters.xxx (instead of xcontext.macro.params.xxx), and their values are now automatically converted to the type given in the WikiMacroParameterClass. 

HTML Diff Script Service


A new script service is available to compute the visual changes between two HTML fragments:


  #set ($htmlDiff = $services.diff.html.unified($previousHTML, $nextHTML))
  #if ($htmlDiff == '')
    No changes.
  #elseif ("$!htmlDiff" == '')
    Failed to compute the changes.
  #else
    $htmlDiff
  #end

Checkout the Diff Module's documentation for more information.

New Async macro


A new Async macro was introduce to make easy to execute asynchronous and/or cached wiki content. See Async Macro for more details.

Moved Modules

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: 

  • Language
  • Language

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

API Breakages

The following APIs were modified since :

Credits

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

Get Connected