Hide last authors
Thomas Mortagne 1.1 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 <insert description of release here>
8
9 = New and Noteworthy (since XWiki 4.3 Milestone 1) =
10
Eduard Moraru 24.3 11 == Experimental Solr based search engine ==
Eduard Moraru 24.2 12
Eduard Moraru 24.3 13 A new and experimental search engine based on [[Apache Solr>>http://lucene.apache.org/solr/]] is now available.
Eduard Moraru 24.2 14
15 The new search UI offers advanced search features and results highlighting. Future versions will also include [[Faceted Search>>http://en.wikipedia.org/wiki/Faceted_search]].
16
Thomas Mortagne 25.1 17 {{image reference="solrSearchFilters.png"/}}
Eduard Moraru 24.2 18
19 The new engine has it's own index, separate from the Lucene one, which is stored by default in the ##<permanent directory>/solr## folder. In the same folder you can also access Solr's configuration files together with the index's schema.xml which you can tweek to achieve better results. To change this folder's location, you can either pass the ##-Dsolr.solr.home## system property when you start the application container (tomcat/jetty/etc.) or you can set the ##search.solr.home## property in ##WEB-INF/xwiki.preferences##.
20
21 For now, indexing is done only __manually__ by using the Search Administration UI. Because of this, in order to get any search results, you have to go to ##Administration > Applications > Search## and index/reindex the wiki. Any changes in the content of the wiki will not be searchable until you manually reindex. This limitation will be removed in future versions, once the feature matures.
22
Thomas Mortagne 25.1 23 {{image reference="solrSearchAdmin.png"/}}
Eduard Moraru 24.2 24
25 This new search engine is not enable by default, since Lucene is still the default one, but, if you wish to try it out, it can be enable by going to ##Administration > Applications > Search > Search engine to use## and selecting ##Solr (Experimental)##.
26
Marius Dumitru Florea 10.1 27 == Default date picker ==
28
Marius Dumitru Florea 11.1 29 The date picker from [[AppWithinMinutes>>extensions:Extension.App Within Minutes Application]] is now the default picker for all [[XClass>>platform:DevGuide.DataModel]] properties of type Date. This means that you'll get a date picker when editing an object with a Date property even if you didn't use AppWithinMinutes to create the XClass.
Marius Dumitru Florea 10.1 30
Marius Dumitru Florea 12.1 31 {{image reference="DatePicker.png"/}}
Marius Dumitru Florea 10.1 32
33 If for some reason you don't want to use the new date picker then you can edit the XClass and uncheck "Use Date Picker" for the Date property.
34
Marius Dumitru Florea 35.1 35 == User and Group picker ==
Marius Dumitru Florea 10.1 36
Marius Dumitru Florea 35.1 37 We added a user and group picker that is used by default for all [[XClass>>platform:DevGuide.DataModel]] properties of type "List of Users" and "List of Groups". When multiple selection is enabled, each selected user is added to the list above the picker. You can remove individual users from the list of selected users or you can clear the entire list.
Marius Dumitru Florea 10.1 38
Marius Dumitru Florea 12.1 39 {{image reference="userPicker-editMultiple.png"/}}
Marius Dumitru Florea 10.1 40
41 In single selection mode whenever you select an user it overwrites the previously selected user.
42
Marius Dumitru Florea 12.1 43 {{image reference="userPicker-editSingle-objectEditor.png"/}}
Marius Dumitru Florea 10.1 44
45 The list of selected users is displayed in view mode in a similar way. For each user there is a link to their profile page.
46
Marius Dumitru Florea 12.1 47 {{image reference="userPicker-viewMultiple.png"/}}
Marius Dumitru Florea 10.1 48
Marius Dumitru Florea 35.1 49 The group picker behaves in the same way. The group alias is the name of the group document, the group name is the title of the group document while the group avatar is the first image attached to the group document.
50
51 {{image reference="groupPicker-editMultiple.png"/}}
52
53 The user and group picker can be configured to display a scope toggle that can be used to switch between local and global user/group suggestions.
54
55 {{image reference="userPicker-scope.png"/}}
56
57 You can check this if you edit a group from a subwiki (in a multiwiki environment).
58
59 {{image reference="groupSheet-edit.png"/}}
60
Thomas Mortagne 1.1 61 == Miscellaneous ==
62
Eduard Moraru 21.1 63 * Search Admin UI improvements ({{jira style="enum" url="http://jira.xwiki.org"}}XWIKI-8408{{/jira}}):(((
64 {{image reference="searchAdminUINew.png"/}}
65 )))
Vincent Massol 31.1 66 * Automatically register translations for the FAQ and IRCBot applications
Eduard Moraru 21.1 67
Vincent Massol 13.2 68 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+%224.3-milestone-2%22&tempMax=1000]] fixed in this release.
Thomas Mortagne 1.1 69
70 = For Developers =
71
Vincent Massol 22.2 72 == New Localization Module ==
73
74 A new localization module has been introduced to replace the old XWikiMessageTool.
75
76 See [[extensions:Extension.Localization Module]] for more details.
77
Vincent Massol 22.1 78 == REST API Improvements ==
Thomas Mortagne 1.1 79
Vincent Massol 22.1 80 Some improvements have been done to the REST API with respect to wiki management.
Thomas Mortagne 1.1 81
Vincent Massol 22.1 82 * XARs can be imported in Wikis by POSTing it to the /wikis/{wikiName}
83 * New wikis can be created using the /wikimanager resource. (This resource is only available with XWiki Enterprise Manager)
Fabio Mancinelli 16.1 84
Vincent Massol 22.1 85 For more information see [[XWiki RESTful API>>platform:Features.XWikiRESTfulAPI]]
86
87 In addition there was an XWiki REST API refactoring done with the introduction of a new ##xwiki-platform-rest-api## module containing all resource declarations. This is important for client and modules willing to use the REST API so that they can have all the information about resources using Java annotation. See [[XWiki RESTful API>>platform:Features.XWikiRESTfulAPI]].
88
Andreas Jonsson 2.1 89 == Execution context property declarations ==
90
91 Execution context properties can now be associated with various metadata attributes. See [[the documentation on the execution context>>doc:platform:DevGuide.SavingData||anchor="HExecutionContext"]] for more information.
92
Jean-Vincent Drean 30.1 93 == New Scope property for wiki components and UI extensions ==
94
95 A scope can now be defined for [[wiki components>>extensions:Extension.WikiComponent Module]] and [[UI extensions>>extensions:Extension.UIExtension Module]], it allows to restrict for which wiki(s) or which user they will be available:
96
97 * Current Wiki, the component/UI extension will be available in the current wiki
98 * Global, the component/UI extension will be available in all the wikis (wiki farms)
99 * Current User, the component/UI extension will only be available for its author
100
Thomas Mortagne 1.1 101 == Deprecated and Retired projects ==
102
103 <description of deprecated and retired projects>
104
105 == Upgrades ==
106
107 The following dependencies have been upgraded:
108
Eduard Moraru 32.3 109 * [[guava 13.0.1>>http://code.google.com/p/guava-libraries/wiki/Release13]]
Eduard Moraru 32.2 110 * [[Lucene 3.6.1>>https://wiki.apache.org/lucene-java/Lucene3.6.1]]
Thomas Mortagne 5.1 111 * [[XStream 1.4.3>>http://xstream.codehaus.org/changes.html]]
112 * [[commons-io 2.4>>http://commons.apache.org/io/upgradeto2_4.html]]
113 * [[httpclient 4.2.2>>http://www.apache.org/dist/httpcomponents/httpclient/RELEASE_NOTES.txt]]
114 * [[commons-configuration 1.9>>http://commons.apache.org/configuration/changes-report.html#a1.9]]
115 * [[jcl-over-slf4j and log4j-over-slf4j 1.7.2>>http://www.slf4j.org/news.html]]
116 * Groovy [[1.8.7>>http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10242&version=18317]] [[1.8.8>>http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10242&version=18684]]
117 * [[JGroups 3.2.0.Final>>http://belaban.blogspot.fr/2012/10/jgroups-320final-released.html]]
Thomas Mortagne 19.1 118 * [[Xerces-J 2.10.0>>http://xerces.apache.org/xerces2-j/releases.html]]
Thomas Mortagne 1.1 119
120 == Miscellaneous ==
121
122 <other dev stuff to add and link to JIRA for all issues fixed>
123
Thomas Mortagne 37.1 124 * Fixed a bug about incorrect results in multi-wiki lucene search in the REST API.
125 * Add a ##java.util.Locale## converter which allow:
Thomas Mortagne 39.1 126 ** using Locale in rendering macro parameter(s)
Thomas Mortagne 38.1 127 ** support Java method with Locale parameter(s) in Velocity. See [[Method Arguments Uberspector>>extensions:Extension.Velocity Module||anchor="HMethodArgumentsUberspector"]] for more details.
Thomas Mortagne 40.1 128 * Various String language based API of ##com.xpn.xwiki.XWiki## and ##com.xpn.xwiki.doc.XWikiDocument## classes are now deprecated for their newly introduced ##java.util.Locale## equivalents.
Fabio Mancinelli 32.1 129
Thomas Mortagne 1.1 130 = Translations =
131
132 The following translations have been updated:
133
Eduard Moraru 36.3 134 {{language codes="da, de, fr"/}}
135
Thomas Mortagne 1.1 136 = Known issues =
137
138 * [[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]]
139
140 = Backward Compatibility and Migration Notes =
141
142 == General Notes ==
143
144 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
145
146 {{warning}}
147 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.
148 {{/warning}}
149
Andreas Jonsson 13.1 150 == Issues specific to XWiki 4.3 Milestone 2 ==
Thomas Mortagne 1.1 151
Andreas Jonsson 13.1 152 * The methods setUrlPatternMatcher and getUrlPatternMatcher have been removed from the core class com.xpn.xwiki.XWiki. The underlying URLPatternMatcher could not really be used as a singleton instance and was causing irregular failures in the basic authentication method. Thus these methods cannot be meaningfully relied upon and have therefore been removed.
Thomas Mortagne 29.1 153 * When setting the value using setValue (or setList) on a list field in an XWiki object, the list will now be copied. To be able to update the list, you must call getValue (or getList) and update the returned list. This is due to {{jira style="enum" url="http://jira.xwiki.org"}}XWIKI-8398{{/jira}}.
Thomas Mortagne 1.1 154
155 == API Breakages ==
156
157 The following APIs were modified since <project> <version - 1>:
158
159 {{code language="none"}}
160 <clirr output here>
161 {{/code}}

Get Connected