This is the release notes for XWiki Commons, XWiki Rendering, XWiki Platform and XWiki Enterprise. They share the same release notes as they are released together and have the same version.
This release candidate brings a couple of improvements and bugfixes to Extension Manager and other bundled components.
New and Noteworthy (since XWiki 8.1 Milestone 2)
Full list of issues fixed and Dashboard for 8.1.
Miscellaneous
See the full list of JIRA issues fixed in this release.
For Developers
Context and cache inconsistency hunting
- XWikiHibernate* store implementations don't take into account the passed XWikiContext anymore and will even log a warning if the passed XWikiContext is not the same as the one in the ExecutionContext
- XWikiCacheStore make sure to recalculate the cache based based on whatever the actual store return instead of assuming the passes XWikiDocument is what it will received
Extension Manager improvements
- introduced new ExtensionNotFoundException exception to get more information about why exactly the resolve failed in extension repository API
- provide API to search installed extensions in several all namespaces
Upgrades
The following dependencies have been upgraded:
Miscellaneous
- introduced JobFinishingEvent to be called at the end of the job execution before starting to close it
- introduced new JobStatus#getError() which return the exception that filled the job main execution (if any) (it's also logged in the log as an error like before)
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 | Test Result | |
---|---|---|
![]() | Google Chrome 50 | Jira Tickets Marked as Fixed in the Release Notes |
![]() | Mozilla Firefox | Not Tested |
![]() | Internet Explorer 10 | Not Tested |
![]() | Internet Explorer 11 | Not Tested |
Here is the list of databases we support and how they have been tested for this release:
Database | Test Result | |
---|---|---|
![]() | HyperSQL | Not Tested |
![]() | MySQL 5.7.11 | Jira Tickets Marked as Fixed in the Release Notes |
![]() | Oracle | Not Tested |
![]() | PostgreSQL | Not Tested |
Known issues
Backward Compatibility and Migration Notes
General Notes
When upgrading make sure you compare your xwiki.cfg, xwiki.properties and web.xml files with the newest version since some configuration parameters may have been modified or added. Note that you should add xwiki.store.migration=1 so that XWiki will attempt to automatically migrate your current database to the new schema. Make sure you backup your Database before doing anything.
API Breakages
The following APIs were modified since XWiki 8.0:
- ? return type makes signature more complex for nothing
- Violation type:java.method.returnTypeTypeParametersChanged
- Code:## Old:
method java.util.List<? extends org.xwiki.extension.ExtensionDependency> org.xwiki.extension.AbstractExtension::getDependencies()
## New:
method java.util.List<org.xwiki.extension.ExtensionDependency> org.xwiki.extension.AbstractExtension::getDependencies()
- Violation type:
- ? return type makes signature more complex for nothing
- Violation type:java.method.returnTypeTypeParametersChanged
- Code:## Old:
method java.util.Collection<? extends org.xwiki.extension.ExtensionDependency> org.xwiki.extension.Extension::getDependencies()
## New:
method java.util.Collection<org.xwiki.extension.ExtensionDependency> org.xwiki.extension.Extension::getDependencies()
- Violation type:
- ? return type makes signature more complex for nothing
- Violation type:java.method.returnTypeTypeParametersChanged
- Code:## Old:
method java.util.Collection<? extends org.xwiki.extension.ExtensionDependency> org.xwiki.extension.wrap.WrappingExtension<E extends org.xwiki.extension.Extension>::getDependencies()
## New:
method java.util.Collection<org.xwiki.extension.ExtensionDependency> org.xwiki.extension.wrap.WrappingExtension<E extends org.xwiki.extension.Extension>::getDependencies()
- Violation type:
- ? return type makes signature more complex for nothing
- Violation type:java.method.returnTypeTypeParametersChanged
- Code:## Old:
method java.util.List<? extends org.xwiki.extension.ExtensionDependency> org.xwiki.extension.AbstractExtension::getDependencies()
## New:
method java.util.List<org.xwiki.extension.ExtensionDependency> org.xwiki.extension.AbstractExtension::getDependencies()
- Violation type:
- ? return type makes signature more complex for nothing
- Violation type:java.method.returnTypeTypeParametersChanged
- Code:## Old:
method java.util.Collection<? extends org.xwiki.extension.ExtensionDependency> org.xwiki.extension.Extension::getDependencies()
## New:
method java.util.Collection<org.xwiki.extension.ExtensionDependency> org.xwiki.extension.Extension::getDependencies()
- Violation type:
- ? return type makes signature more complex for nothing
- Violation type:java.method.returnTypeTypeParametersChanged
- Code:## Old:
method java.util.Collection<? extends org.xwiki.extension.ExtensionDependency> org.xwiki.extension.wrap.WrappingExtension<E extends org.xwiki.extension.Extension>::getDependencies()
## New:
method java.util.Collection<org.xwiki.extension.ExtensionDependency> org.xwiki.extension.wrap.WrappingExtension<E extends org.xwiki.extension.Extension>::getDependencies()
- Violation type:
- CopyStatusPage page object was renamed to CopyOrRenameStatusPage since it is needed in both places.
- Violation type:java.method.returnTypeChanged
- Code:## Old:
method org.xwiki.test.ui.po.CopyStatusPage org.xwiki.test.ui.po.CopyOverwritePromptPage::clickCopyButton()
## New:
method org.xwiki.test.ui.po.CopyOrRenameStatusPage org.xwiki.test.ui.po.CopyOverwritePromptPage::clickCopyButton()
- Violation type:
- CopyStatusPage page object was renamed to CopyOrRenameStatusPage since it is needed in both places.
- Violation type:java.method.returnTypeChanged
- Code:## Old:
method org.xwiki.test.ui.po.CopyStatusPage org.xwiki.test.ui.po.CopyPage::clickCopyButton()
## New:
method org.xwiki.test.ui.po.CopyOrRenameStatusPage org.xwiki.test.ui.po.CopyPage::clickCopyButton()
- Violation type:
- CopyStatusPage page object was renamed to CopyOrRenameStatusPage since it is needed in both places.
- Violation type:java.class.removed
- Code:## Old:
class org.xwiki.test.ui.po.CopyStatusPage
- Violation type:
- Minor change unlikely to break anything in practice
- Violation type:java.method.returnTypeChanged
- Code:## Old:
method void org.xwiki.test.ui.TestUtils::setDefaultCredentials(org.apache.commons.httpclient.UsernamePasswordCredentials)
## New:
method org.apache.commons.httpclient.UsernamePasswordCredentials org.xwiki.test.ui.TestUtils::setDefaultCredentials(org.apache.commons.httpclient.UsernamePasswordCredentials)
- Violation type: