Release Notes for XWiki 11.4-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 release brings important improvements on the management of the conflicts encountered when editing a page as well as better explained messages, displayed to users, to easily understand the occurring issues. Also, a dedicated macro for inserting WikiMacro Content was introduced.
New and Noteworthy (since XWiki 11.3)
Full list of issues fixed and Dashboard for 11.4.
For Users
Allow to force save in case of editing conflict
Starting with XWiki 11.2RC1 we introduced a mechanism for detecting edit conflict during the edition of a page.
We introduced in this release a new window in case of editing conflict. You now have two main choices:
- force save the page: in that case you will override saved while you were editing the page; they are not really lost though since they might be retrieved in the previous version of the page.
- reload the editor: in that case your changes will be lost and the editor will be reloaded with the last version saved.
We display the diff between the version you're trying to save and the last version that has been saved, so you can copy some changes made and reapply them if you like. Note that you can also simply cancel the save and go back to the editor to make changes before trying again to save. You can click on the arrow of each action to have a quick description of what it actually means.
Display nice error message in case of path too long
In a few cases, an error might happen when creating a page, if its full path is too long. The full path is defined by the title of the page and the title of all parent pages. We now provide an UI for this error to explain what happens: the fix is generally to reduce the size of the title of the page, or to put it under another hierarchy.
Additional information when a delete operation fails
When an error happens while deleting a page, detailed information are displayed to help understand the problem.
For Admins
Filesystem store location: It's now possible to set the location of the filesystem store without modifying the general permanent directory using property store.file.directory of the file xwiki.properties.
For Developers
Inline editing for wiki macros
When developing a wiki macro, you can now insert the content of that macro by using a dedicated macro:
This new way of inserting the wiki macro content makes it by default editable directly in the WYSIWYG editor. If you want to test it, you can, for example, create the following wiki macro and try it:
{{box}}
{{wikimacrocontent/}}
{{/box}}
The content's size is $xcontext.macro.content.length() characters.
{{/velocity}}
Upgrades
The following runtime dependencies have been upgraded (they have a different release cycle than XWiki Commons, XWiki Rendering and XWiki Platform):
- Apache Solr 7.7.1
- AspectJ 1.9.4
- Groovy 2.5.7
- Infinispan 9.4.13.Final
- JBoss Marshalling 2.0.7
- JNA 5.3.1
- Joda-Time 2.10.2
- JSoup 1.12.1
- Pygments 2.4.0
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 74 | Not Tested | |
Mozilla Firefox 67 | Not Tested | |
Microsoft Edge 18 | Not Tested | |
Internet Explorer 11 | New and Noteworthy Features + Jira Tickets Marked as Fixed in the Release Notes | |
Safari 12 | 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.4.1 | Not Tested | |
MySQL 5.7 | New and Noteworthy Features + Jira Tickets Marked as Fixed in the Release Notes | |
Oracle 12c | Not Tested | |
PostgreSQL 11 | Not Tested |
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 | |
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.4RC1
- If you're upgrading XWiki you have to delete the 'solr' folder from the configured permanent directory of your XWiki instance in order for the Solr search to work. We upgraded Apache Solr in this release and this brought changes to the Solr schema and configuration files, which are cached in the 'solr' folder. Unfortunately we don't have support for automatic Solr search index migration at this point. The Solr index will be deleted as a result but it will be recreated automatically and the entire wiki will be re-indexed after a server restart.
API Breakages
The following APIs were modified since XWiki 11.3:
- Change the predicate to use directly the current object. The IgnoreElementRule class is still an unstable API
- Violation type:java.method.parameterTypeParameterChanged
- Code:## Old:
parameter void org.xwiki.rendering.wikimodel.xhtml.impl.IgnoreElementRule::<init>(===java.util.function.Predicate<org.xwiki.rendering.wikimodel.xhtml.impl.TagContext>===, boolean)
## New:
parameter void org.xwiki.rendering.wikimodel.xhtml.impl.IgnoreElementRule::<init>(===java.util.function.Predicate<org.xwiki.rendering.wikimodel.xhtml.impl.IgnoreElementRule>===, boolean)
- Violation type:
- Call the switch method with the info if it is from a begin or an end element. The IgnoreElementRule class is still an Unstable API.
- Violation type:java.method.numberOfParametersChanged
- Code:## Old:
method void org.xwiki.rendering.wikimodel.xhtml.impl.IgnoreElementRule::switchRule(org.xwiki.rendering.wikimodel.xhtml.impl.TagContext)
## New:
method void org.xwiki.rendering.wikimodel.xhtml.impl.IgnoreElementRule::switchRule(org.xwiki.rendering.wikimodel.xhtml.impl.TagContext, boolean)
- Violation type:
Credits
The following people have contributed code and translations to this release (sorted alphabetically):
Alex Cotiugă
Clément Aubin
GinPachi
Guillaume Delhumeau
Marius Dumitru Florea
Paul Libbrecht
Simon Urli
Thomas Mortagne
Vincent Massol
Vyacheslav Sukharnikov
xrichard