Release Notes for XWiki 12.10.4

Last modified by Ilie Andriuta on 2021/02/12

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 is a bugfix release that covers important issues, including two blockers, that we have discovered since XWiki 12.10.3 has been released.

New and Noteworthy (since XWiki 12.10.3)

Dashboard for XWiki 12.10.4.

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:

Tested Browsers & Databases

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

 BrowserTested on:
Firefox30.pngMozilla Firefox 85Jira Tickets Marked as Fixed in the Release Notes
Edge30.pngMicrosoft Edge 88Not Tested
IE30.pngInternet Explorer 11Tests run and results
Chrome30.pngGoogle Chrome 88
Safari30.pngSafari 14Not Tested

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

 DatabaseTested on:
hypersql.pngHyperSQL 2.5.1Not Tested
oracle.pngOracle 19cJira Tickets Marked as Fixed in the Release Notes
mysql.pngMySQL 8Tests run and results
postgresql.pngPostgreSQL 13
mariadb.pngMariaDB 10.5Not Tested

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

 Servlet ContainerTested on:
tomcat-icon.pngTomcat 9.0.43
jetty-icon.pngJetty 9.4.29 (XWiki Standalone packaging)
jetty-icon.pngJetty 9.4.29Not 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.

API Breakages

The following APIs were modified since XWiki 12.10.3:

  • Unstable API: don't serialize unset fields to JSON
    • Violation type:
      java.annotation.added
    • Code:
      ## Old:
      class org.xwiki.livedata.LiveDataActionDescriptor

      ## New:
      class org.xwiki.livedata.LiveDataActionDescriptor
  • Unstable API: moved to edit action descriptor
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method java.lang.String org.xwiki.livedata.LiveDataEntryDescriptor::getAllowEditProperty()
  • Unstable API: moved to edit action descriptor
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method void org.xwiki.livedata.LiveDataEntryDescriptor::setAllowEditProperty(java.lang.String)
  • Unstable API: replaced by 'save'
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method java.util.Optional<java.lang.Object> org.xwiki.livedata.LiveDataEntryStore::add(java.util.Map<java.lang.String, java.lang.Object>) throws org.xwiki.livedata.LiveDataException
  • Unstable API: moved to entry descriptor
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method java.lang.String org.xwiki.livedata.LiveDataEntryStore::getIdProperty()
  • Unstable API: replaced by 'save'
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method java.util.Optional<java.lang.Object> org.xwiki.livedata.LiveDataEntryStore::update(java.util.Map<java.lang.String, java.lang.Object>) throws org.xwiki.livedata.LiveDataException
  • Unstable API: replaced by 'save'
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method boolean org.xwiki.livedata.LiveDataPropertyDescriptorStore::add(org.xwiki.livedata.LiveDataPropertyDescriptor) throws org.xwiki.livedata.LiveDataException
  • Unstable API: replaced by 'save'
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method boolean org.xwiki.livedata.LiveDataPropertyDescriptorStore::update(org.xwiki.livedata.LiveDataPropertyDescriptor) throws org.xwiki.livedata.LiveDataException
  • Unstable API: Use the default LiveDataConfigurationResolver instead
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method org.xwiki.livedata.LiveDataPropertyDescriptorStore org.xwiki.livedata.LiveDataSource::getPropertyTypes()
  • Not breaking: this annotation should not be used anymore.
    • Violation type:
      java.annotation.removed
    • Code:
      ## Old:
      method void org.xwiki.security.authentication.script.AuthenticationScriptService::resetAuthenticationFailureCounter(java.lang.String)

      ## New:
      method void org.xwiki.security.authentication.script.AuthenticationScriptService::resetAuthenticationFailureCounter(java.lang.String)

Credits

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

  • ClemDee
  • ClĂ©ment
  • Manuel Leduc
  • Marius Dumitru Florea
  • Simon Urli
  • Thomas Mortagne
  • Vincent Massol

Get Connected