Release Notes for XWiki 5.1 Milestone 2
This is the release notes for XWiki Platform, XWiki Enterprise and XWiki Enterprise Manager. They share the same release notes as they are released together and have the same version.
This is the second milestone for the 5.1 release. It brings automatic Solr indexing and a few bug fixes.
New and Noteworthy (since XWiki 5.1 Milestone 1)
Full list of issues fixed and Dashboard for 5.1.
SOLR indexing improvements
The SOLR search module now automatically indexes all modifications made to the wiki. The manual indexing in the administration UI should also be a lot more stable since all the actual reading of wiki documents and their indexing is now done in a safe background thread.
What is still missing is some synchronization at startup to make sure that the SOLR index automatically has the whole wiki in its index. This should be taken care of in XWiki 5.1 RC1.
Miscellaneous
- Share Page feature can now send email in German.
- Added support for new Google Analytics "Universal" tracking method
See the full list of JIRA issues fixed in this release.
For Developers
Upgrades
The following dependencies have been upgraded:
- jQuery 1.10.1
- Require.js 2.1.6
Miscellaneous
- A new Velocity macro is available to display the title of a sheet. Most of the times when you have a sheet you want to display some text when the user visits the sheet page and something different when the user visits a page where the sheet is applied. Up until now the solution was to write an if in the sheet title to check if the current document is the sheet. E.g.:
#if ($doc.fullName == 'AppWithinMinutes.LiveTableViewSheet')LiveTable View Sheet#{else}#evaluate($doc.title)#end
This can now be written as:
#sheetTitle('LiveTable View Sheet' $doc.fullName.equals('AppWithinMinutes.LiveTableViewSheet'))
or, if the sheet has an object of type XWiki.SheetDescriptorClass:
#sheetTitle('LiveTable View Sheet') - A new 'jQueryNoConflict' module is available. All it does is calling jQuery.noConflict(false) to prevent conflicts with Prototype.js (with respect to $ global variable):require(['jQueryNoConflict'], function($) {
// Your code here.
}) - Add render method in Localization module taking syntax without parameters
Translations
The following translations have been updated:
Tested Browsers & Databases
Known issues
Backward Compatibility and Migration Notes
General Notes
You may also want to import the default wiki XAR in order to benefit from all the improvements listed above.
API Breakages
The following APIs were modified since XWiki 5.0.3:
- Young API: New method to separate job setup from job start to put real jobs in queue.
- Young API: The URL module has never been finished and we started working on it again.