Release Notes for XWiki 11.9
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.
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
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.
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
Upgrades
The following runtime dependencies have been upgraded (they have a different release cycle than XWiki Commons, XWiki Rendering and XWiki Platform):
- CSS4J 1.0.1
- Jetty 9.4.21.v20190926] (for the XWiki Standard Standalone packaging)
- Woodstox 6.0.2
- TrueVFS 0.12.1
- Tika 1.22
- Protobuf Java 3.9.2
- Protobuf Java 3.10.0
- Plexus Utils 3.3.0
- MChange Commons 0.2.18
- Joda-Time 2.10.4
- Javassist 3.26.0-GA
- Jackson 2.9.10
- JFFI 1.2.21
- Hibernate 5.4.6
- Gson 2.8.6
- Checker Qual 2.11.1
- CKEditor Integration 1.38
- Bouncy Castle 1.64
- Apache PDFBox 2.0.17
- ASM 7.2
Translations
The following translations have been updated:
Tested Browsers & Databases
Here is the list of browsers we support and how they have been tested for this release:
Browser | Tests performed and results | |
---|---|---|
Google Chrome 78 | Smoke tests | |
Mozilla Firefox 70 | New and Noteworthy Features + Jira Tickets Marked as Fixed in the Release Notes | |
Microsoft Edge 18 | Smoke tests | |
Internet Explorer 11 | Not Tested | |
Safari 13 | Not Tested |
Here is the list of databases we support and how they have been tested for this release:
Database | Tests performed and results | |
---|---|---|
HyperSQL 2.5.0 | Not Tested | |
MySQL 5.7 | Smoke tests | |
Oracle 12c | New and Noteworthy Features + Jira Tickets Marked as Fixed in the Release Notes | |
PostgreSQL 11 | Smoke tests |
Here is the list of Servlet Containers we support and how they have been tested for this release:
Servlet Container | Tests performed and results | |
---|---|---|
Tomcat | Not Tested | |
Jetty (XWiki Standalone packaging) | New and Noteworthy Features + Jira Tickets Marked as Fixed in the Release Notes + Smoke tests | |
Jetty | Not 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>)
- Violation type:
- 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()
- Violation type:
- 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()
- Violation type:
- 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()
- Violation type:
- 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>)
- Violation type:
- 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()
- Violation type:
- 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()
- Violation type:
- 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()
- Violation type:
- 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()
- Violation type:
- 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()
- Violation type:
- Not a breakage
- Violation type:java.field.serialVersionUIDChanged
- Code:## Old:
null
## New:
field com.xpn.xwiki.objects.BaseObject.serialVersionUID
- Violation type:
- 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
- Violation type:
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