Hide last authors
Vincent Massol 1.1 1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
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.
7 This release brings several improvements in Workspaces, Extension Manager, Distribution Wizard, the REST API, new field pickers (Date, User and Groups), improved translation registration and new experimental Solr search.
9 = New and Noteworthy (since XWiki 4.2) =
11 == Default date picker ==
13 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.
Vincent Massol 2.1 15 {{image reference="[email protected]"/}}
Vincent Massol 1.1 16
17 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.
19 == User and Group picker ==
21 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.
Vincent Massol 2.1 23 {{image reference="[email protected]"/}}
Vincent Massol 1.1 24
25 In single selection mode whenever you select an user it overwrites the previously selected user.
Vincent Massol 2.1 27 {{image reference="[email protected]"/}}
Vincent Massol 1.1 28
29 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.
Vincent Massol 2.1 31 {{image reference="[email protected]"/}}
Vincent Massol 1.1 32
33 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.
Vincent Massol 2.1 35 {{image reference="[email protected]"/}}
Vincent Massol 1.1 36
37 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.
Vincent Massol 2.1 39 {{image reference="[email protected]"/}}
Vincent Massol 1.1 40
41 You can check this if you edit a group from a subwiki (in a multiwiki environment).
Vincent Massol 2.1 43 {{image reference="[email protected]"/}}
Vincent Massol 1.1 44
45 == Workspace Templates ==
47 Similar to what admins were doing with the [[Wiki Manager Application>>extensions:Extension.Wiki Manager Application]], we noticed the need for the [[Workspace Application>>extensions:Extension.Workspace Application]] to allow users to choose what type of workspace they want to create.
Vincent Massol 2.1 49 {{image reference="[email protected]"/}}
Vincent Massol 1.1 50
51 Please see the current workaround for [[creating workspace templates>>http://jira.xwiki.org/browse/XWIKI-8285]] (as admin) until an easy UI becomes available.
53 == Experimental Solr based search engine ==
55 A new and experimental search engine based on [[Apache Solr>>http://lucene.apache.org/solr/]] is now available.
57 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]].
Vincent Massol 2.1 59 {{image reference="[email protected]"/}}
Vincent Massol 1.1 60
61 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 tweak 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##.
63 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.
Vincent Massol 2.1 65 {{image reference="[email protected]"/}}
Vincent Massol 1.1 66
67 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)##.
69 == Extension Manager improvements ==
Vincent Massol 3.1 71 {{error}}
Thomas Mortagne 4.1 72 If you're migrating from a version older than 4.2 or without any properly installed UI extensions you will notice that the Applications Panels is not visible by default. This is caused by [[this issue>>http://jira.xwiki.org/browse/XWIKI-8461]] which should be fixed in XWiki 4.4. More specifically the XWiki Object Property for the Panels list in ##XWiki.XWikiPreferences## can't be merged in this situation and your old value is kept by default if you don't specifically choose to move to new version when getting the conflict resolution UI. You thus need to manually go the the Administration and add the ##Panels.Applications## name to the Panels list.
Vincent Massol 3.1 73 {{/error}}
Vincent Massol 1.1 75 === UI ===
77 When you click on "Show details" to get more information about an extension, the extension manager tries to resolve all the dependencies of that extension by making requests to the configured remote extension repositories. These requests slow down considerably the time needed to display the extension details. We fixed this by resolving only the local dependencies at first and then making consecutive AJAX requests to resolve the remote dependencies.
Vincent Massol 2.1 79 {{image reference="[email protected]"/}}
Vincent Massol 1.1 80
81 The install and uninstall plan is now progressively displayed while it is being created. This is especially useful for the Distribution Wizard since you don't have to wait anymore for the install plan to be created without getting any feedback about its progress.
Vincent Massol 2.1 83 {{image reference="[email protected]"/}}
Vincent Massol 1.1 84
85 As you can see in the previous image, we also limited the height of the progress tab and the extension job log is automatically scrolled to the end while the job is running.
87 === Private repositories ===
89 Maven and XWiki repositories now support authentication. You can indicate a user and a password in ##xwiki.properties## file the following way:
91 {{code language="properties"}}
92 extension.repositories=privatemavenid:maven:http://host.com/private/maven/
93 extension.repositories.privatemavenid.auth.user=someuser
94 extension.repositories.privatemavenid.auth.user=password
96 extension.repositories=extensions.xwiki.org:xwiki:http://extensions.xwiki.org/xwiki/rest/
97 extension.repositories.extensions.xwiki.org.auth.user=someuser
98 extension.repositories.extensions.xwiki.org.auth.user=password
99 {{/code}}
101 == Distribution Wizard improvements ==
103 The welcome step now lists only the available steps. For instance, when you install XWiki for the first time you don't have any extensions to upgrade so the "Extensions" step is not available.
Vincent Massol 2.1 105 {{image reference="[email protected]"/}}
Vincent Massol 1.1 106
107 When a step is done we visually mark it.
Vincent Massol 2.1 109 {{image reference="[email protected]"/}}
Vincent Massol 1.1 110
111 == Miscellaneous ==
113 * XWiki's multiwiki feature (a.k.a "virtual mode") now works with the HSQLDB database
114 * It's now possible to configure the LDAP timeout. See ##xwiki.authentication.ldap.timeout## property in xwiki.cfg file.
115 * New available [[Rendering syntax>>rendering:Main.WebHome]]: [[APT>>http://maven.apache.org/doxia/references/apt-format.html]]
116 * Technical pages of the [[IRCBot Application>>extensions:Extension.IRC Bot Application]] are now hidden and the application now registers itself in the Application panel:(((
Vincent Massol 2.1 117 {{image reference="[email protected]"/}}
Vincent Massol 1.1 118 )))
119 * Search Admin UI improvements ({{jira style="enum" url="http://jira.xwiki.org"}}XWIKI-8408{{/jira}}):(((
Vincent Massol 2.1 120 {{image reference="[email protected]"/}}
Vincent Massol 1.1 121 )))
122 * Automatically register translations for the FAQ and IRCBot applications
123 * Important Bug Fixes:
124 ** Fixed failure to import Office documents when using Filesystem Attachments.
125 ** Fixed regression that caused "share by email" and "reset password" functions to fail to send any email.
127 See the [[full list of JIRA issues>>http://jira.xwiki.org/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?jqlQuery=project%20in%20(XCOMMONS,%20XRENDERING,%20XWIKI,%20XE,%20XEM)%20and%20status%20=%20Closed%20and%20resolution%20=%20Fixed%20and%20fixVersion%20in%20(%224.3-milestone-1%22,%20%224.3-milestone-2%22,%20%224.3-rc-1%22,%20%224.3%22)]] fixed in this release.
129 = For Developers =
131 == New Localization Module ==
133 A new localization module has been introduced to replace the old XWikiMessageTool.
135 See [[extensions:Extension.Localization Module]] for more details.
137 == REST API improvements ==
139 Some improvements have been done to the REST API in order to allow more powerful searches of the data stored in the wiki.
141 * Results can be ordered using the ##/wikis/{wikiName}/search## and ##/wikis/{wikiName}/spaces/{spaceName}/search## resources with the following parameters:
142 ** //orderField//: one of the XWiki document field, as specified in [[HQL Query Examples in Velocity>>platform:DevGuide.velocityHqlExamples]]
143 ** //order//: ##asc## or ##desc##". By default ##asc## is used.
145 * Advanced search queries can be specified using ##/wikis/{wikiName}/query## resources with the following parameters:
146 ** //q//: the query to be executed (it depends on the query type)
147 ** //type//: ##hql##, ##xwql## or ##lucene##. Depending on the query type, the //q// parameter will contain a query matching the type
148 *** For ##hql## it's like a searchDocuments query, as shown in specified in [[HQL Query Examples in Velocity>>platform:DevGuide.velocityHqlExamples]].
149 *** For ##xwql## the user is allowed to use XWQL syntax for short queries ([[XWiki Query Language Specification>>dev:Design.XWiki Query Language Specification]])
150 *** For ##lucene## it's a standard Lucene query handled by the Lucene plugin ([[Lucene Plugin>>extensions:Extension.Lucene Plugin]])
151 ** Standard parameters like //start//, //number// can be specified to control the number of the results to be returned.
153 * Multi-wiki Lucene search using the ##/wikis/query## resource with the following parameters:
154 ** //q//: the Lucene query handled by the Lucene plugin ([[Lucene Plugin>>extensions:Extension.Lucene Plugin]])
155 ** //wikis//: a comma separated list of wikis where to perform the search.
157 * XARs can be imported in Wikis by POSTing it to the /wikis/{wikiName}
158 * New wikis can be created using the /wikimanager resource. (This resource is only available with XWiki Enterprise Manager)
160 For more information see [[XWiki RESTful API>>platform:Features.XWikiRESTfulAPI]]
162 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]].
164 == Execution context property declarations ==
166 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.
168 == New Scope property for wiki components and UI extensions ==
170 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:
172 * Current Wiki, the component/UI extension will be available in the current wiki
173 * Global, the component/UI extension will be available in all the wikis (wiki farms)
174 * Current User, the component/UI extension will only be available for its author
176 == Deprecated and Retired projects ==
178 * The ##userdirectorty## and ##usertools## plugins have been retired since they were unmaintained and mostly replaced by other features such as the Invitation module.
180 == Upgrades ==
182 The following dependencies have been upgraded:
184 * [[HSQLDB 2.2.9>>http://hsqldb.org/doc/2.0/changelist_2_0.txt]]
185 * [[mysql-connector-java 5.1.21>>http://dev.mysql.com/doc/refman/5.1/en/cj-news-5-1-x.html]]
186 * [[slf4j 1.7.2>>http://www.slf4j.org/news.html]]
187 * logback [[1.0.7>>http://logback.qos.ch/news.html]]
188 * [[guava 13.0.1>>http://code.google.com/p/guava-libraries/wiki/Release13]]
189 * [[Lucene 3.6.1>>https://wiki.apache.org/lucene-java/Lucene3.6.1]]
190 * [[XStream 1.4.3>>http://xstream.codehaus.org/changes.html]]
191 * [[commons-io 2.4>>http://commons.apache.org/io/upgradeto2_4.html]]
192 * [[httpclient 4.2.2>>http://www.apache.org/dist/httpcomponents/httpclient/RELEASE_NOTES.txt]]
193 * [[commons-configuration 1.9>>http://commons.apache.org/configuration/changes-report.html#a1.9]]
194 * [[jcl-over-slf4j and log4j-over-slf4j 1.7.2>>http://www.slf4j.org/news.html]]
195 * 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]]
196 * [[JGroups 3.2.0.Final>>http://belaban.blogspot.fr/2012/10/jgroups-320final-released.html]]
197 * [[Xerces-J 2.10.0>>http://xerces.apache.org/xerces2-j/releases.html]]
198 * [[JavaMail 1.4.5>>http://www.oracle.com/technetwork/java/javamail/index-138643.html]]
199 * [[Infinispan 5.1.8>>https://issues.jboss.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+ISPN+AND+fixVersion+in+%28%225.1.8.FINAL%22,%20%225.1.7.FINAL%22,%20%225.1.6.FINAL%22%29]]
200 * [[Hibernate Validator 4.3.0>>https://hibernate.onjira.com/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+HV+AND+fixVersion+in+%28%224.3.0.Final%22%2C+%224.3.0.CR1%22%2C+%224.3.0.Beta1%22%2C+%224.3.0.Alpha1%22%29]]
202 == Miscellaneous ==
204 * New ##org.xwiki.rendering.block.CompositeBlock## introduce to allow passing several Blocks as one Block
205 * New ##$services.model.getEntityReferenceValue## method that returns the value configured for a specific entity type
206 * Many classes in the REST API Server module that were not meant to be part of the public API have been moved to internal packages. This was done to correct a mistake that was done when the REST API module was initially developed.
207 * Fixed a bug about incorrect results in multi-wiki lucene search in the REST API.
208 * Add a ##java.util.Locale## converter which allow:
209 ** using Locale in rendering macro parameter(s)
210 ** support Java method with Locale parameter(s) in Velocity. See [[Method Arguments Uberspector>>extensions:Extension.Velocity Module||anchor="HMethodArgumentsUberspector"]] for more details.
211 * 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.
212 * Activity Stream UI and Color Theme UI have been moved to their own modules.
214 == Translations ==
216 The following translations have been updated:
218 {{language codes="fr, sv, da, de, pt_BR"/}}
220 = Tested Browsers =
222 Here's the list of browsers tested with this version (i.e. browsers that we've tested as working - Check the list of [[supported browsers>>dev:Community.BrowserSupportStrategy]]):
224 {{velocity}}
225 ## name = iexplorer, firefox, chrome, safari, opera
226 {{/velocity}}
228 {{browser name="firefox" version="10.6.1"/}}
230 = Known issues =
232 * [[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]]
234 = Test Report =
236 You can check the [[manual test report>>TestReports.WebHome#<anchor to test report>]] to learn about what was tested and the results on various browsers.
238 = Backward Compatibility and Migration Notes =
240 == General Notes ==
242 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
244 {{warning}}
245 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.
246 {{/warning}}
248 == Issues specific to XWiki 4.3 ==
250 * Since the ##userdirectorty## and ##usertools## have been retired you'll need to make sure that your ##xwiki.cfg## configuration files doesn't reference them anymore in the ##plugins## property.
251 * 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.
252 * 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}}.
254 == API Breakages ==
256 The following APIs were modified since XWiki 4.2:
258 {{code language="none"}}
259 <clirr output here>
260 {{/code}}

Get Connected