Wiki source code of Release Notes for XWiki 4.3

Version 1.1 by Vincent Massol on 2012/11/21

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 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.
8
9 = New and Noteworthy (since XWiki 4.2) =
10
11 == Default date picker ==
12
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.
14
15 {{image reference="DatePicker.png"/}}
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.
18
19 == User and Group picker ==
20
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.
22
23 {{image reference="userPicker-editMultiple.png"/}}
24
25 In single selection mode whenever you select an user it overwrites the previously selected user.
26
27 {{image reference="userPicker-editSingle-objectEditor.png"/}}
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.
30
31 {{image reference="userPicker-viewMultiple.png"/}}
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.
34
35 {{image reference="groupPicker-editMultiple.png"/}}
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.
38
39 {{image reference="userPicker-scope.png"/}}
40
41 You can check this if you edit a group from a subwiki (in a multiwiki environment).
42
43 {{image reference="groupSheet-edit.png"/}}
44
45 == Workspace Templates ==
46
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.
48
49 {{image reference="workspaceTemplates.png"/}}
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.
52
53 == Experimental Solr based search engine ==
54
55 A new and experimental search engine based on [[Apache Solr>>http://lucene.apache.org/solr/]] is now available.
56
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]].
58
59 {{image reference="solrSearchFilters.png"/}}
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##.
62
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.
64
65 {{image reference="solrSearchAdmin.png"/}}
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)##.
68
69 == Extension Manager improvements ==
70
71 === UI ===
72
73 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.
74
75 {{image reference="EM-AsyncDependencyLoading.png"/}}
76
77 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.
78
79 {{image reference="EM-liveInstallPlan.png"/}}
80
81 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.
82
83 === Private repositories ===
84
85 Maven and XWiki repositories now support authentication. You can indicate a user and a password in ##xwiki.properties## file the following way:
86
87 {{code language="properties"}}
88 extension.repositories=privatemavenid:maven:http://host.com/private/maven/
89 extension.repositories.privatemavenid.auth.user=someuser
90 extension.repositories.privatemavenid.auth.user=password
91
92 extension.repositories=extensions.xwiki.org:xwiki:http://extensions.xwiki.org/xwiki/rest/
93 extension.repositories.extensions.xwiki.org.auth.user=someuser
94 extension.repositories.extensions.xwiki.org.auth.user=password
95 {{/code}}
96
97 == Distribution Wizard improvements ==
98
99 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.
100
101 {{image reference="DistributionWizard-emptyDatabase.png"/}}
102
103 When a step is done we visually mark it.
104
105 {{image reference="DistributionWizard-stepDone.png"/}}
106
107 == Miscellaneous ==
108
109 * XWiki's multiwiki feature (a.k.a "virtual mode") now works with the HSQLDB database
110 * It's now possible to configure the LDAP timeout. See ##xwiki.authentication.ldap.timeout## property in xwiki.cfg file.
111 * New available [[Rendering syntax>>rendering:Main.WebHome]]: [[APT>>http://maven.apache.org/doxia/references/apt-format.html]]
112 * Technical pages of the [[IRCBot Application>>extensions:Extension.IRC Bot Application]] are now hidden and the application now registers itself in the Application panel:(((
113 {{image reference="ircbotapp.png"/}}
114 )))
115 * Search Admin UI improvements ({{jira style="enum" url="http://jira.xwiki.org"}}XWIKI-8408{{/jira}}):(((
116 {{image reference="searchAdminUINew.png"/}}
117 )))
118 * Automatically register translations for the FAQ and IRCBot applications
119 * Important Bug Fixes:
120 ** Fixed failure to import Office documents when using Filesystem Attachments.
121 ** Fixed regression that caused "share by email" and "reset password" functions to fail to send any email.
122
123 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.
124
125 = For Developers =
126
127 == New Localization Module ==
128
129 A new localization module has been introduced to replace the old XWikiMessageTool.
130
131 See [[extensions:Extension.Localization Module]] for more details.
132
133 == REST API improvements ==
134
135 Some improvements have been done to the REST API in order to allow more powerful searches of the data stored in the wiki.
136
137 * Results can be ordered using the ##/wikis/{wikiName}/search## and ##/wikis/{wikiName}/spaces/{spaceName}/search## resources with the following parameters:
138 ** //orderField//: one of the XWiki document field, as specified in [[HQL Query Examples in Velocity>>platform:DevGuide.velocityHqlExamples]]
139 ** //order//: ##asc## or ##desc##". By default ##asc## is used.
140
141 * Advanced search queries can be specified using ##/wikis/{wikiName}/query## resources with the following parameters:
142 ** //q//: the query to be executed (it depends on the query type)
143 ** //type//: ##hql##, ##xwql## or ##lucene##. Depending on the query type, the //q// parameter will contain a query matching the type
144 *** For ##hql## it's like a searchDocuments query, as shown in specified in [[HQL Query Examples in Velocity>>platform:DevGuide.velocityHqlExamples]].
145 *** For ##xwql## the user is allowed to use XWQL syntax for short queries ([[XWiki Query Language Specification>>dev:Design.XWiki Query Language Specification]])
146 *** For ##lucene## it's a standard Lucene query handled by the Lucene plugin ([[Lucene Plugin>>extensions:Extension.Lucene Plugin]])
147 ** Standard parameters like //start//, //number// can be specified to control the number of the results to be returned.
148
149 * Multi-wiki Lucene search using the ##/wikis/query## resource with the following parameters:
150 ** //q//: the Lucene query handled by the Lucene plugin ([[Lucene Plugin>>extensions:Extension.Lucene Plugin]])
151 ** //wikis//: a comma separated list of wikis where to perform the search.
152
153 * XARs can be imported in Wikis by POSTing it to the /wikis/{wikiName}
154 * New wikis can be created using the /wikimanager resource. (This resource is only available with XWiki Enterprise Manager)
155
156 For more information see [[XWiki RESTful API>>platform:Features.XWikiRESTfulAPI]]
157
158 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]].
159
160 == Execution context property declarations ==
161
162 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.
163
164 == New Scope property for wiki components and UI extensions ==
165
166 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:
167
168 * Current Wiki, the component/UI extension will be available in the current wiki
169 * Global, the component/UI extension will be available in all the wikis (wiki farms)
170 * Current User, the component/UI extension will only be available for its author
171
172 == Deprecated and Retired projects ==
173
174 * The ##userdirectorty## and ##usertools## plugins have been retired since they were unmaintained and mostly replaced by other features such as the Invitation module.
175
176 == Upgrades ==
177
178 The following dependencies have been upgraded:
179
180 * [[HSQLDB 2.2.9>>http://hsqldb.org/doc/2.0/changelist_2_0.txt]]
181 * [[mysql-connector-java 5.1.21>>http://dev.mysql.com/doc/refman/5.1/en/cj-news-5-1-x.html]]
182 * [[slf4j 1.7.2>>http://www.slf4j.org/news.html]]
183 * logback [[1.0.7>>http://logback.qos.ch/news.html]]
184 * [[guava 13.0.1>>http://code.google.com/p/guava-libraries/wiki/Release13]]
185 * [[Lucene 3.6.1>>https://wiki.apache.org/lucene-java/Lucene3.6.1]]
186 * [[XStream 1.4.3>>http://xstream.codehaus.org/changes.html]]
187 * [[commons-io 2.4>>http://commons.apache.org/io/upgradeto2_4.html]]
188 * [[httpclient 4.2.2>>http://www.apache.org/dist/httpcomponents/httpclient/RELEASE_NOTES.txt]]
189 * [[commons-configuration 1.9>>http://commons.apache.org/configuration/changes-report.html#a1.9]]
190 * [[jcl-over-slf4j and log4j-over-slf4j 1.7.2>>http://www.slf4j.org/news.html]]
191 * 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]]
192 * [[JGroups 3.2.0.Final>>http://belaban.blogspot.fr/2012/10/jgroups-320final-released.html]]
193 * [[Xerces-J 2.10.0>>http://xerces.apache.org/xerces2-j/releases.html]]
194 * [[JavaMail 1.4.5>>http://www.oracle.com/technetwork/java/javamail/index-138643.html]]
195 * [[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]]
196 * [[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]]
197
198 == Miscellaneous ==
199
200 * New ##org.xwiki.rendering.block.CompositeBlock## introduce to allow passing several Blocks as one Block
201 * New ##$services.model.getEntityReferenceValue## method that returns the value configured for a specific entity type
202 * 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.
203 * Fixed a bug about incorrect results in multi-wiki lucene search in the REST API.
204 * Add a ##java.util.Locale## converter which allow:
205 ** using Locale in rendering macro parameter(s)
206 ** support Java method with Locale parameter(s) in Velocity. See [[Method Arguments Uberspector>>extensions:Extension.Velocity Module||anchor="HMethodArgumentsUberspector"]] for more details.
207 * 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.
208 * Activity Stream UI and Color Theme UI have been moved to their own modules.
209
210 == Translations ==
211
212 The following translations have been updated:
213
214 {{language codes="fr, sv, da, de, pt_BR"/}}
215
216 = Tested Browsers =
217
218 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]]):
219
220 {{velocity}}
221 ## name = iexplorer, firefox, chrome, safari, opera
222 {{/velocity}}
223
224 {{browser name="firefox" version="10.6.1"/}}
225
226 = Known issues =
227
228 * [[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]]
229
230 = Test Report =
231
232 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.
233
234 = Backward Compatibility and Migration Notes =
235
236 == General Notes ==
237
238 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
239
240 {{warning}}
241 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.
242 {{/warning}}
243
244 == Issues specific to XWiki 4.3 ==
245
246 * 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.
247 * 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.
248 * 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}}.
249
250 == API Breakages ==
251
252 The following APIs were modified since XWiki 4.2:
253
254 {{code language="none"}}
255 <clirr output here>
256 {{/code}}

Get Connected