Release Notes for XWiki 13.5-rc-1
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 main focus of this release is stabilization. In addition, a new UI is now proposed to administrate the rights that are provided by extensions. On a final note, more Livetables are migrated to Live Data and a few improvements are proposed to developpers.
New and Noteworthy (since XWiki 13.4)
Full list of issues fixed and Dashboard for 13.5.
For Users
Menus list: The list of menus of the Menu Application is now displayed using the Live Data Macro.
Children list: The list of children of a Page are now displayed using the Live Data Macro.
User profile Groups list: The list of groups of a user in the user profile is now displayed using the Live Data Macro.
Orphaned Pages list: The list of Orphaned Pages of theĀ Index Application is now displayed using the Live Data Macro.
Siblings list: The list of siblings of a Page are now displayed using the Live Data Macro.
For Admins
New administration section for Extension Rights
A new administration section has been introduced allowing to display and set the extension rights: those are rights that some specific extensions might provide, and which are not part of the core rights. By default in XWiki Standard, the Like Right is displayed in there since it's part of the Like extension which is automatically installed.
For Developers
History delete event: It's now possible to be notified when a range of document history versions is deleted using the event org.xwiki.bridge.event.DocumentVersionRangeDeletedEvent. See Model Bridge API for more details.
New API to unregister a custom right: It was already possible to register a custom right, but we were missing the API to unregister it, this is now possible in the AuthorizationManager API.
Upgrades
The following runtime dependencies have been upgraded (they have a different release cycle than XWiki Commons, XWiki Rendering and XWiki Platform):
- CSS4J 3.5.1
- Snakeyaml 1.29
- PostgresSQL connector 42.2.22
- Hibernate 5.5.2
- Commons IO 2.10.0
- Liquibase 4.4.0
- Byte Buddy 1.11.2
- Apache PDFBox 2.0.24
- Protobuf Java 3.17.3
- Bouncy Castle 1.69
- JNR Constants 0.10.2
- JNR FFI 2.2.4
- JNR POSIX 3.1.7
- Checker Qual 3.14.0
- Commons Pool 2.10.0
- Infinispan 12.1.4 and Protostream 4.4.1
- Commons IO 2.9.0
- JBoss Logging 3.4.2
- Gson 2.8.7
- Netty 4.1.65.Final
- JFFI 1.3.4
- XStream 1.4.17
- MariaDB connector 2.7.3
- Error Prone annotations 2.7.1
- MySQL connector 8.0.25
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 | Tested on: | |
---|---|---|
Google Chrome 91 | Not Tested | |
Mozilla Firefox 89 | Jira Tickets Marked as Fixed in the Release Notes | |
Microsoft Edge 91 | Not Tested | |
Internet Explorer 11 | Tests run and results | |
Safari 14 | Not Tested |
Here is the list of databases we support and how they have been tested for this release:
Database | Tested on: | |
---|---|---|
HyperSQL 2.5.2 | Not Tested | |
MariaDB 10.5 | Jira Tickets Marked as Fixed in the Release Notes | |
MySQL 8 | Tests run and results | |
Oracle 19c | Not Tested | |
PostgreSQL 13 | Not Tested |
Here is the list of Servlet Containers we support and how they have been tested for this release:
Servlet Container | Tested on: | |
---|---|---|
Tomcat 9.0.48 | ||
Jetty 9.4.29 (XWiki Standalone packaging) | ||
Jetty 9.4.29 | 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.
Like Right moved to Extension Rights section
As explained in this dedicated release change, a new administration section has been provided for Extension Rights, and the Like rights should now be configured in there. So the Like right won't appear anymore in the Rights section of Administration, but all settings are kept as they were.
API Breakages
The following APIs were modified since XWiki 13.4:
Unknown Criticality
These violationq are missing a criticality and need to be fixed.
- Not a breakage, the old XWikiContextInitializationFilter content has been moved to a new class of the same name in a new package and old class now inherits from the new one
- Violation type:java.class.nonFinalClassInheritsFromNewClass
- Code:## Old:
class org.xwiki.wysiwyg.filter.XWikiContextInitializationFilter
## New:
class org.xwiki.wysiwyg.filter.XWikiContextInitializationFilter
- Violation type:
- Not a runtime breakage since that method has been moved to the oldcore legacy module
- Violation type:java.method.removed
- Code:## Old:
method java.util.List<java.lang.String> com.xpn.xwiki.XWiki::getConfiguredSyntaxes()
- Violation type:
- Not a runtime breakage since that method has been moved to the oldcore legacy module
- Violation type:java.method.removed
- Code:## Old:
method java.util.List<java.lang.String> com.xpn.xwiki.api.XWiki::getConfiguredSyntaxes()
- Violation type:
- Migrations classes are not meant to be referenced from Java and there is no point in keeping a migration which became useless.
- Violation type:java.class.removed
- Code:## Old:
class com.xpn.xwiki.store.migration.hibernate.R121001000XWIKI18145DataMigration
- Violation type:
- Unstable API: this method should not have been made public in first place, the cache clean is handled by listening on the events automatically.
- Violation type:java.method.removed
- Code:## Old:
method void org.xwiki.like.script.LikeScriptService::cleanCacheUIX()
- Violation type:
Credits
The following people have contributed code and translations to this release (sorted alphabetically):
AkMo3
Eduard Moraru
Guillaume Delhumeau
Jens Mittelbach
Manuel Leduc
Marius Dumitru Florea
Pratik Singh
Simon Urli
Thomas Mortagne
Vincent Massol