Version 10.1 by Thomas Mortagne on 2013/06/10

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 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.
6
7 This is the second milestone for the 5.1 release. It brings automatic Solr indexing and a few bug fixes.
8
9 = New and Noteworthy (since XWiki 5.1 Milestone 1) =
10
11 [[Full list of issues fixed and Dashboard for 5.1>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=11595]].
12
13 == SOLR indexing improvements ==
14
15 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.
16
17 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.
18
19 == Miscellaneous ==
20
21 * Share Page feature can now send email in German.
22 * Added support for new Google Analytics "Universal" tracking method
23
24 See the [[full list of JIRA issues>>http://jira.xwiki.org/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?jqlQuery=project+in+%28XCOMMONS%2C+XRENDERING%2C+XWIKI%2C+XE%2C+XEM%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+%3D+%225.0-milestone-2%22&tempMax=1000]] fixed in this release.
25
26 = For Developers =
27
28 == Upgrades ==
29
30 The following dependencies have been upgraded:
31
32 * jQuery 1.10.1
33 * Require.js 2.1.6
34
35 == Miscellaneous ==
36
37 * A new Velocity macro is available to display the title of a [[sheet>>doc:extensions:Extension.Sheet Module]]. 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.:(((
38 {{code language="none"}}#if ($doc.fullName == 'AppWithinMinutes.LiveTableViewSheet')LiveTable View Sheet#{else}#evaluate($doc.title)#end{{/code}}
39 This can now be written as:
40 {{code language="none"}}#sheetTitle('LiveTable View Sheet' $doc.fullName.equals('AppWithinMinutes.LiveTableViewSheet')){{/code}}
41 or, if the sheet has an object of type ##XWiki.SheetDescriptorClass##:
42 {{code language="none"}}#sheetTitle('LiveTable View Sheet'){{/code}}
43 )))
44 * 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):(((
45 {{code language="none"}}
46 require(['jQueryNoConflict'], function($) {
47 // Your code here.
48 })
49 {{/code}}
50 )))
51 * Add render method in Localization module taking syntax without parameters:(((
52 {{code language="velocity"}}
53 $services.localization.render('some.key', 'xhtml/1.0')
54 {{/code}}
55 )))
56
57 = Translations =
58
59 The following translations have been updated:
60
61 {{language codes="none, none"/}}
62
63 = Tested Browsers & Databases =
64
65 {{include reference="TestReports.ManualTestReportTemplateSummary"/}}
66
67 = Known issues =
68
69 * [[Bugs we know about>>http://jira.xwiki.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=category+%3D+%22Top+Level+Projects%22+AND+issuetype+%3D+Bug+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC]]
70
71 = Backward Compatibility and Migration Notes =
72
73 == General Notes ==
74
75 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
76
77 {{warning}}
78 Always make sure you compare your ##xwiki.cfg## and ##xwiki.properties## files with the newest version since some configuration parameters were 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.
79 {{/warning}}
80
81 == API Breakages ==
82
83 The following APIs were modified since XWiki 5.0.3:
84
85 * Young API: New method to separate job setup from job start to put real jobs in queue.
86
87 {{code language="none"}}
88 org.xwiki.job.Job: Method 'public void initialize(org.xwiki.job.Request)' has been added to an interface
89 {{/code}}
90
91 * Young API: The URL module has never been finished and we started working on it again.
92
93 {{code language="none"}}
94 org.xwiki.url.InvalidURLException: Class org.xwiki.url.InvalidURLException removed
95 {{/code}}

Get Connected