Last modified by Thomas Mortagne on 2017/03/24

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
5 {{warning}}
6 We have found an important regression in this release: the //Add > Page// and //Add > Page from Office// menu entries are not visible in some cases for simple users (with no administration rights). See [[XWIKI-9183>>]] for more details. The problem is going to be fixed in 5.1 Milestone 2. We are very sorry for the inconvenience.
7 {{/warning}}
9 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.
11 This is the first milestone for the 5.1 release. It brings an improved Solr search UI with faceted search and a couple of bug fixes and other small improvements.
13 = New and Noteworthy (since XWiki 5.0) =
15 [[Full list of issues fixed and Dashboard for 5.1>>]].
17 == Solr search UI overhaul ==
19 We have redesigned the Solr search page to include faceted search and we improved the display of the advanced search options and the search results. Solr search is still not enabled by default because you still have to manually trigger the index from the administration, but we're working on this and we are confident that 5.1 final will have automatic Solr indexing and Solr enabled by default. See the documentation for the [[Solr Search Application>>doc:extensions:Extension.Solr Search Application]] for more details.
21 {{image reference="solr-search.png" width="400px"/}}
23 == Miscellaneous ==
25 * Moved the User Directory feature [[to an application on its own>>extensions:Extension.User Directory Application]].
26 * Moved the XWiki Syntax Help feature [[to an application on its own>>extensions:Extension.Help Application]].
27 * When an user wants to change his password, he now has to enter his current password for more security. Live validation of his new password validity (length) has also been added.
28 {{image reference="ChangeOwnPassword .png"/}}
29 * The attachment upload input now remains visible after uplading one or more files:(((
30 {{image reference="attachmentUpload.png"/}}
31 )))
32 * The "Send to" input from the [[Share page>>doc:platform:Features.DocumentLifecycle||anchor="HSharePagebyEmail"]] dialog displays a scope toggle when you are in a subwiki (or an workspace) that allows you to control whether the suggested users are local or global.(((
33 {{image reference="sharePage-scopeToggle.png"/}}
34 )))
36 See the [[full list of JIRA issues>>]] fixed in this release.
38 = For Developers =
40 == Upgrades ==
42 The following dependencies have been upgraded:
44 * logback 1.0.13
45 * commons-compress 1.5
46 * commons-codec 1.8
47 * httpclient 4.2.5
48 * diffutils 1.3
49 * Doxia 1.4
50 * JGroups 3.3
51 * HTMLCleaner 2.5
52 * Lucene and Solr 4.3
54 == Miscellaneous ==
56 * All REST responses now specify the version of XWiki running on the server in the ##XWiki-Version## HTTP header, and the current user in the ##XWiki-User## header.
57 * You can now provide a version summary (comment) when updating a page using REST. You can retrieve the version summary either by getting the page or by getting the page history, in which case you get the summary for each page revision.
58 * We added a new [[special CSS class name>>doc:platform:DevGuide.SpecialCSSClasses]], ##useTitleAsTip##, that, combined with ##withTip##, will allow you to have a tip (place-holder) different than the initial value of the text input.
59 * A new URL parameter has been added to reference non aggregated JavaScript files: ##?minify=false##. See the [[Debugging Guide>>dev:Community.Debugging||anchor="HDebuggingJavaScript"]].
60 * Added API to easily create a DocumentReference from a LocalDocumentReference
61 {{code language="java"}}DocumentReference documentReference = new DocumentReference(localReference, wikiReference);{{/code}}
63 = Translations =
65 The following translations have been updated:
67 {{language codes="da, de, fr, lv, pt_BR, ru, sv"/}}
69 = Tested Browsers & Databases =
71 {{include reference="TestReports.ManualTestReportXWiki51M1Summary"/}}
73 = Known issues =
75 * [[Bugs we know about>>]]
77 = Backward Compatibility and Migration Notes =
79 == General Notes ==
81 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
83 {{warning}}
84 Always make sure you compare your ##xwiki.cfg## and files with the newest version since some configuration parameters were added. Note that you should add so that XWiki will attempt to automatically migrate your current database to the new schema. Make sure you backup your Database before doing anything.
85 {{/warning}}
87 == Issues specific to XWiki 5.1 Milestone 1 ==
89 * The data type of the 'email' property from the user profile has changed from ##String## to ##Email##, a specialized type [[introduced in 4.2>>ReleaseNotes.ReleaseNotesXWiki42||anchor="HNewfieldtypesforemailandlistofpages"]]. Unfortunately this change doesn't apply automatically when you upgrade from an older version so you have to do it your self:(((
90 1. edit ##XWiki.XWikiUsers## with the class editor
91 1. delete the 'email' property
92 1. add a new property of type ##Email## named 'email' with 'e-Mail' as pretty name
93 1. save
94 )))The values of both ##String## and ##Email## data types are stored in the same database table so there souldn't be any migration issues for existing users.
96 == API Breakages ==
98 The following APIs were modified since XWiki 5.0.2:
100 * Young API: New method to separate job setup from job start to put real jobs in queue.
102 {{code language="none"}}
103 org.xwiki.job.Job: Method 'public void initialize(org.xwiki.job.Request)' has been added to an interface
104 {{/code}}
106 * Young API: The URL module has never been finished and we started working on it again.
108 {{code language="none"}}
109 org.xwiki.url.InvalidURLException: Class org.xwiki.url.InvalidURLException removed
110 {{/code}}

Get Connected