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 brings in the ability to set password policies in order to define the complexity of the passwords chosen for users authentication. This version provide a lot of bugs fixes and also represents a stabilization phase after many dependencies upgrades.

Some important bugs have been found since XWiki 11.9 has been released:

TypeKeySummaryStatusCreated Date
BugXWIKI-16834Migration R1138000XWIKI16709 is very long on myxwiki.orgClosed04-Nov-2019

New and Noteworthy (since XWiki 11.8.1)

Full list of issues fixed and Dashboard for 11.9.

For Users

No changes!

For Admins

Password Security Policy


It is now possible to chose some password policy rules that are applied when passwords are chosen (for registration) or when they are changed (by users or administrators).
The password policy rules are available in the Administration > Users & Rights > Registration.

You might find more details on the User Management.

Miscellaneous

  • Live storage of job log: The log of the job is now stored on the filesystem next to the statux.xml in live:

    • very low memory footprint
    • it's possible to see the log even of the status is not yet serialized
  • Main wiki descriptor used in path based mode: The main wiki descriptor is now also used to find out the the protocol, the domain and the port to use when generating an URL in path based mode in a background thread (typically the mails).

For Developers

Live storage of job log


JobStatus#getLog() is now deprecated and replaced by JobStatus#getLogTail() which provide more streamed APIs to navigate in the log.

Miscellaneous

  • Execution context push/pop: Helpers has been adding in ExecutionContextManager to have a better control on the way to push/pop ExecutionContext instances. See Context Module for more details.

  • Document default locale: Added a script API to set the document default locale

  • Bypass log grabbing: It's now possible to force a log to end up in the main log even when during a job that is supposed to grab it.

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: 

  • Spanish
  • French
  • Croatian
  • Latvian
  • Marathi
  • Russian
  • Slovak
  • Uyghur
  • Ukrainian
  • Simplified Chinese

Tested Browsers & Databases

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

 BrowserTests performed and results
Chrome30.pngGoogle Chrome 78Smoke tests
Firefox30.pngMozilla Firefox 70New and Noteworthy Features + Jira Tickets Marked as Fixed in the Release Notes
Edge30.pngMicrosoft Edge 18Smoke tests
IE30.pngInternet Explorer 11Not Tested
Safari30.pngSafari 13Not Tested

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

 DatabaseTests performed and results
hypersql.pngHyperSQL 2.5.0Not Tested
mysql.pngMySQL 5.7Smoke tests
oracle.pngOracle 12cNew and Noteworthy Features + Jira Tickets Marked as Fixed in the Release Notes
postgresql.pngPostgreSQL 11Smoke tests

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

 Servlet ContainerTests performed and results
tomcat-icon.pngTomcatNot Tested
jetty-icon.pngJetty (XWiki Standalone packaging)New and Noteworthy Features + Jira Tickets Marked as Fixed in the Release Notes + Smoke tests
jetty-icon.pngJettyNot 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.

Issues specific to XWiki 11.9

  • the main wiki descriptor is now also used to find out the the protocol, the domain and the port to use when generating an URL in path based mode in a background thread (typically the mails). You might want to make sure what's in it is accurate to avoid bad suprises.

API Breakages

The following APIs were modified since XWiki 11.8.1:

  • This API was marked as unstable. Breakage needed because of https://jira.xwiki.org/browse/XCOMMONS-1722.
    • Violation type:
      java.method.numberOfParametersChanged
    • Code:
      ## Old:
      method void org.xwiki.diff.display.UnifiedDiffConflictElement<E>::<init>(org.xwiki.diff.Conflict<E>, int)

      ## New:
      method void org.xwiki.diff.display.UnifiedDiffConflictElement<E>::<init>(org.xwiki.diff.Conflict<E>)
  • This API was marked as unstable. Breakage needed because of https://jira.xwiki.org/browse/XCOMMONS-1722.
    • Violation type:
      java.method.returnTypeChangedCovariantly
    • Code:
      ## Old:
      method E org.xwiki.diff.display.UnifiedDiffConflictElement<E>::getCurrentElement()

      ## New:
      method java.util.List<E> org.xwiki.diff.display.UnifiedDiffConflictElement<E>::getCurrentElement()
  • This API was marked as unstable. Breakage needed because of https://jira.xwiki.org/browse/XCOMMONS-1722.
    • Violation type:
      java.method.returnTypeChangedCovariantly
    • Code:
      ## Old:
      method E org.xwiki.diff.display.UnifiedDiffConflictElement<E>::getNextElement()

      ## New:
      method java.util.List<E> org.xwiki.diff.display.UnifiedDiffConflictElement<E>::getNextElement()
  • This API was marked as unstable. Breakage needed because of https://jira.xwiki.org/browse/XCOMMONS-1722.
    • Violation type:
      java.method.returnTypeChangedCovariantly
    • Code:
      ## Old:
      method E org.xwiki.diff.display.UnifiedDiffConflictElement<E>::getPreviousElement()

      ## New:
      method java.util.List<E> org.xwiki.diff.display.UnifiedDiffConflictElement<E>::getPreviousElement()
  • This API was marked as unstable. Breakage needed because of https://jira.xwiki.org/browse/XCOMMONS-1722.
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method void org.xwiki.diff.display.UnifiedDiffElement<E, F>::<init>(int, org.xwiki.diff.display.UnifiedDiffElement.Type, E, org.xwiki.diff.Conflict<E>)
  • This API was marked as unstable. Breakage needed because of https://jira.xwiki.org/browse/XCOMMONS-1722.
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method org.xwiki.diff.display.UnifiedDiffConflictElement<E> org.xwiki.diff.display.UnifiedDiffElement<E, F>::getConflict()
  • This API was marked as unstable. Breakage needed because of https://jira.xwiki.org/browse/XCOMMONS-1722.
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method boolean org.xwiki.diff.display.UnifiedDiffElement<E, F>::isConflicting()
  • Not a breakage
    • Violation type:
      java.annotation.added
    • Code:
      ## Old:
      method java.lang.String org.xwiki.filter.xar.input.XARInputProperties::getObjectPropertyType()

      ## New:
      method java.lang.String org.xwiki.filter.xar.input.XARInputProperties::getObjectPropertyType()
  • Not a breakage
    • Violation type:
      java.annotation.added
    • Code:
      ## Old:
      method java.lang.String org.xwiki.filter.xar.input.XARInputProperties::getObjectPropertyType()

      ## New:
      method java.lang.String org.xwiki.filter.xar.input.XARInputProperties::getObjectPropertyType()
  • Not a breakage
    • Violation type:
      java.annotation.attributeValueChanged
    • Code:
      ## Old:
      method boolean org.xwiki.filter.xar.input.XARInputProperties::isWithExtension()

      ## New:
      method boolean org.xwiki.filter.xar.input.XARInputProperties::isWithExtension()
  • Not a breakage
    • Violation type:
      java.field.serialVersionUIDChanged
    • Code:
      ## Old:
      null

      ## New:
      field com.xpn.xwiki.objects.BaseObject.serialVersionUID
  • Not a breakage
    • Violation type:
      java.field.serialVersionUIDChanged
    • Code:
      ## Old:
      null

      ## New:
      field com.xpn.xwiki.objects.BaseProperty<R extends org.xwiki.model.reference.EntityReference>.serialVersionUID

Credits

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

Alex Cotiugă
Clemens Robbenhaar
DenisF
Eduard Moraru
Fawad Ali
Gabriel Răileanu
Joan
Kadeer
Marius Dumitru Florea
Oana-Lavinia Florean
rnveach
Santiago W. Fernández Lorenzo
Sebastian Ferguson
Simon Urli
sugov5
Thomas Mortagne
Vincent Massol
xrichard

Tags:
Created by Alex Cotiugă on 2019/10/24
   

Get Connected