Wiki source code of Release Notes for XWiki 4.3

Version 14.2 by Vincent Massol on 2012/11/30

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 {{error}}
6 2 important bugs have been found in this version:
7 * The order of Panels is not guaranteed
8 * Panels from the main wiki can't be used in subwikis
9
10 Those bugs will be fixed in XWiki 4.3.1. In the meantime we recommend to not install this version and to wait for 4.3.1 if you need those features.
11 {{/error}}
12
13 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.
14
15 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.
16
17 = New and Noteworthy (since XWiki 4.2) =
18
19 == Default date picker ==
20
21 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.
22
23 {{image reference="ReleaseNotesXWiki43M2@DatePicker.png"/}}
24
25 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.
26
27 == User and Group picker ==
28
29 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.
30
31 {{image reference="ReleaseNotesXWiki43M2@userPicker-editMultiple.png"/}}
32
33 In single selection mode whenever you select an user it overwrites the previously selected user.
34
35 {{image reference="ReleaseNotesXWiki43M2@userPicker-editSingle-objectEditor.png"/}}
36
37 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.
38
39 {{image reference="ReleaseNotesXWiki43M2@userPicker-viewMultiple.png"/}}
40
41 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.
42
43 {{image reference="ReleaseNotesXWiki43M2@groupPicker-editMultiple.png"/}}
44
45 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.
46
47 {{image reference="ReleaseNotesXWiki43M2@userPicker-scope.png"/}}
48
49 You can check this if you edit a group from a subwiki (in a multiwiki environment).
50
51 {{image reference="ReleaseNotesXWiki43M2@groupSheet-edit.png"/}}
52
53 == New 'Title' and 'Content' fields for App Within Minutes ==
54
55 We added two new field types to the field palette: Title and Content. They are very useful if you want to store some of your data in the title and/or the content of your application entries. All the rest of the field types store their values in object properties, i.e. in an object attached to the application entry. See the [[App Within Minutes documentation>>extensions:Extension.App Within Minutes Application||anchor="HFieldPalette"]] for more details.
56
57 {{image reference="ReleaseNotesXWiki43M2@AWM-fieldPalette.png"/}}
58
59 == Workspace Templates ==
60
61 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.
62
63 {{image reference="ReleaseNotesXWiki43M1@workspaceTemplates.png"/}}
64
65 Please see the current workaround for [[creating workspace templates>>http://jira.xwiki.org/browse/XWIKI-8285]] (as admin) until an easy UI becomes available.
66
67 == Experimental Solr based search engine ==
68
69 A new and experimental search engine based on [[Apache Solr>>http://lucene.apache.org/solr/]] is now available.
70
71 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]].
72
73 {{image reference="ReleaseNotesXWiki43M2@solrSearchFilters.png"/}}
74
75 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##.
76
77 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.
78
79 {{image reference="ReleaseNotesXWiki43M2@solrSearchAdmin.png"/}}
80
81 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)##.
82
83 == Extension Manager improvements ==
84
85 {{warning}}
86 If you're migrating from a version older than 4.2 or without any properly installed UI extensions you will notice that the Applications panel 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 (Note that the conflict UI will wrongly indicate that there's no changes). You thus need to manually go the the Administration and add the ##Panels.Applications## name to the Panels list.
87 {{/warning}}
88
89 === UI ===
90
91 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.
92
93 {{image reference="ReleaseNotesXWiki43M1@EM-AsyncDependencyLoading.png"/}}
94
95 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.
96
97 {{image reference="ReleaseNotesXWiki43M1@EM-liveInstallPlan.png"/}}
98
99 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.
100
101 === Private repositories ===
102
103 Maven and XWiki repositories now support authentication. You can indicate a user and a password in ##xwiki.properties## file the following way:
104
105 {{code language="properties"}}
106 extension.repositories=privatemavenid:maven:http://host.com/private/maven/
107 extension.repositories.privatemavenid.auth.user=someuser
108 extension.repositories.privatemavenid.auth.password=password
109
110 extension.repositories=extensions.xwiki.org:xwiki:http://extensions.xwiki.org/xwiki/rest/
111 extension.repositories.extensions.xwiki.org.auth.user=someuser
112 extension.repositories.extensions.xwiki.org.auth.password=password
113 {{/code}}
114
115 == Distribution Wizard improvements ==
116
117 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.
118
119 {{image reference="ReleaseNotesXWiki43M1@DistributionWizard-emptyDatabase.png"/}}
120
121 When a step is done we visually mark it.
122
123 {{image reference="ReleaseNotesXWiki43M1@DistributionWizard-stepDone.png"/}}
124
125 == Miscellaneous ==
126
127 * XWiki's multiwiki feature (a.k.a "virtual mode") now works with the HSQLDB database
128 * It's now possible to configure the LDAP timeout. See ##xwiki.authentication.ldap.timeout## property in xwiki.cfg file.
129 * New available [[Rendering syntax>>rendering:Main.WebHome]]: [[APT>>http://maven.apache.org/doxia/references/apt-format.html]]
130 * Technical pages of the [[IRCBot Application>>extensions:Extension.IRC Bot Application]] are now hidden and the application now registers itself in the Application panel:(((
131 {{image reference="ReleaseNotesXWiki43M1@ircbotapp.png"/}}
132 )))
133 * Search Admin UI improvements ({{jira style="enum" url="http://jira.xwiki.org"}}XWIKI-8408{{/jira}}):(((
134 {{image reference="ReleaseNotesXWiki43M2@searchAdminUINew.png"/}}
135 )))
136 * Automatically register translations for the FAQ and IRCBot applications
137 * XWiki Enterprise Manager does not override QuickLinks panel anymore, made useless by the new Applications panel
138 * Important Bug Fixes:
139 ** Fixed failure to import Office documents when using Filesystem Attachments.
140 ** Fixed regression that caused "share by email" and "reset password" functions to fail to send any email.
141
142 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.
143
144 = For Developers =
145
146 == New Localization Module ==
147
148 A new localization module has been introduced to replace the old XWikiMessageTool.
149
150 See [[extensions:Extension.Localization Module]] for more details.
151
152 == REST API improvements ==
153
154 Some improvements have been done to the REST API in order to allow more powerful searches of the data stored in the wiki.
155
156 * Results can be ordered using the ##/wikis/{wikiName}/search## and ##/wikis/{wikiName}/spaces/{spaceName}/search## resources with the following parameters:
157 ** //orderField//: one of the XWiki document field, as specified in [[HQL Query Examples in Velocity>>platform:DevGuide.velocityHqlExamples]]
158 ** //order//: ##asc## or ##desc##". By default ##asc## is used.
159
160 * Advanced search queries can be specified using ##/wikis/{wikiName}/query## resources with the following parameters:
161 ** //q//: the query to be executed (it depends on the query type)
162 ** //type//: ##hql##, ##xwql## or ##lucene##. Depending on the query type, the //q// parameter will contain a query matching the type
163 *** For ##hql## it's like a searchDocuments query, as shown in specified in [[HQL Query Examples in Velocity>>platform:DevGuide.velocityHqlExamples]].
164 *** For ##xwql## the user is allowed to use XWQL syntax for short queries ([[XWiki Query Language Specification>>dev:Design.XWiki Query Language Specification]])
165 *** For ##lucene## it's a standard Lucene query handled by the Lucene plugin ([[Lucene Plugin>>extensions:Extension.Lucene Plugin]])
166 ** Standard parameters like //start//, //number// can be specified to control the number of the results to be returned.
167
168 * Multi-wiki Lucene search using the ##/wikis/query## resource with the following parameters:
169 ** //q//: the Lucene query handled by the Lucene plugin ([[Lucene Plugin>>extensions:Extension.Lucene Plugin]])
170 ** //wikis//: a comma separated list of wikis where to perform the search.
171
172 * XARs can be imported in Wikis by POSTing it to the /wikis/{wikiName}
173 * New wikis can be created using the /wikimanager resource. (This resource is only available with XWiki Enterprise Manager)
174
175 For more information see [[XWiki RESTful API>>platform:Features.XWikiRESTfulAPI]]
176
177 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]].
178
179 == Easy creation of new XClass property types ==
180
181 It's now possible to create your own [[XClass property types>>platform:DevGuide.DataModel||anchor="HXWikiClasses2CObjects2CandProperties"]] without having to patch XWiki's old core. [[Adding a new property type>>platform:DevGuide.CreatingNewXClassPropertyTypes]] is as easy as implementing a component. This means you can extend the [[class editor>>platform:Features.PageEditing||anchor="HClasseseditingmode"]] and even the [[App Within Minutes>>extensions:Extension.App Within Minutes Application||anchor="HFieldPalette-1"]].
182
183 == Execution context property declarations ==
184
185 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.
186
187 == New Scope property for wiki components and UI extensions ==
188
189 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:
190
191 * Current Wiki, the component/UI extension will be available in the current wiki
192 * Global, the component/UI extension will be available in all the wikis (wiki farms)
193 * Current User, the component/UI extension will only be available for its author
194
195 == Deprecated and Retired projects ==
196
197 * The ##userdirectory## and ##usertools## plugins have been retired since they were unmaintained and mostly replaced by other features such as the Invitation module.
198
199 == Upgrades ==
200
201 The following dependencies have been upgraded:
202
203 * [[HSQLDB 2.2.9>>http://hsqldb.org/doc/2.0/changelist_2_0.txt]]
204 * [[mysql-connector-java 5.1.21>>http://dev.mysql.com/doc/refman/5.1/en/cj-news-5-1-x.html]]
205 * [[slf4j 1.7.2>>http://www.slf4j.org/news.html]]
206 * [[logback 1.0.7>>http://logback.qos.ch/news.html]]
207 * [[guava 13.0.1>>http://code.google.com/p/guava-libraries/wiki/Release13]]
208 * [[Lucene 3.6.1>>https://wiki.apache.org/lucene-java/Lucene3.6.1]]
209 * [[XStream 1.4.3>>http://xstream.codehaus.org/changes.html]]
210 * [[commons-io 2.4>>http://commons.apache.org/io/upgradeto2_4.html]]
211 * [[httpclient 4.2.2>>http://www.apache.org/dist/httpcomponents/httpclient/RELEASE_NOTES.txt]]
212 * [[commons-configuration 1.9>>http://commons.apache.org/configuration/changes-report.html#a1.9]]
213 * [[jcl-over-slf4j and log4j-over-slf4j 1.7.2>>http://www.slf4j.org/news.html]]
214 * [[Groovy 1.8.8>>http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10242&version=18684]]
215 * [[JGroups 3.2.0.Final>>http://belaban.blogspot.fr/2012/10/jgroups-320final-released.html]]
216 * [[Xerces-J 2.10.0>>http://xerces.apache.org/xerces2-j/releases.html]]
217 * [[JavaMail 1.4.5>>http://www.oracle.com/technetwork/java/javamail/index-138643.html]]
218 * [[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]]
219 * [[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]]
220
221 == Miscellaneous ==
222
223 * New ##org.xwiki.rendering.block.CompositeBlock## introduce to allow passing several Blocks as one Block
224 * New ##$services.model.getEntityReferenceValue## method that returns the value configured for a specific entity type
225 * 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.
226 * Fixed a bug about incorrect results in multi-wiki lucene search in the REST API.
227 * Add a ##java.util.Locale## converter which allow:
228 ** using Locale in rendering macro parameter(s)
229 ** support Java method with Locale parameter(s) in Velocity. See [[Method Arguments Uberspector>>extensions:Extension.Velocity Module||anchor="HMethodArgumentsUberspector"]] for more details.
230 * 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.
231 * Activity Stream UI and Color Theme UI have been moved to their own modules.
232
233 == Translations ==
234
235 The following translations have been updated:
236
237 {{language codes="fr, it, sv, da, de, pt_BR"/}}
238
239 = Tested Browsers & Databases =
240
241 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]]):
242
243 {{velocity}}
244 ## name = iexplorer, firefox, chrome, safari, opera
245 {{/velocity}}
246
247 {{browser name="iexplorer" version="8"/}}
248
249 {{browser name="iexplorer" version="9"/}}
250
251 {{browser name="firefox" version="16.0.2"/}}
252
253 {{browser name="firefox" version="17"/}}
254
255 {{browser name="chrome" version="23"/}}
256
257 Here's the list of databases tested with this version (i.e. databases that we've tested as working - Check the list of [[supported databases>>dev:Community.DatabaseSupportStrategy]]):
258
259 {{velocity}}
260 ## name = hsqldb, mysql, postgresql, oracle, opera
261 {{/velocity}}
262
263 {{database name="hsqldb" version="2.2.9"/}}
264
265 {{database name="mysql" version="5.1.54"/}}
266
267 {{database name="oracle" version="11.2.0.1.0"/}}
268
269 {{database name="postgresql" version="9.1.3"/}}
270
271 = Known issues =
272
273 * [[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]]
274
275 = Test Report =
276
277 You can check the [[manual test report>>TestReports.ManualTestReportXE43RC1]] to learn about what was tested and the results on various browsers.
278
279 = Backward Compatibility and Migration Notes =
280
281 == General Notes ==
282
283 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
284
285 {{warning}}
286 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.
287 {{/warning}}
288
289 == Issues specific to XWiki 4.3 ==
290
291 * Since the ##userdirectory## 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.
292 * 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.
293 * 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}}.
294
295 == API Breakages ==
296
297 The following APIs were modified since XWiki 4.2:
298
299 * [Young API] Introduce API to associate dependency status to the namespace:(((
300 {{code language="none"}}
301 org.xwiki.extension.InstalledExtension: Method 'public boolean isDependency(java.lang.String)' has been added to an interface
302 {{/code}}
303 )))
304 * [Young API] Introduce ExtensionRepositoryDescriptor as a replacement of ExtensionRepositoryId:(((
305 {{code language="none"}}
306 org.xwiki.extension.ExtensionManagerConfiguration: Method 'public java.util.Collection getExtensionRepositoryDescriptors()' has been added to an interface
307 org.xwiki.extension.repository.ExtensionRepository: Method 'public org.xwiki.extension.repository.ExtensionRepositoryDescriptor getDescriptor()' has been added to an interface
308 org.xwiki.extension.repository.ExtensionRepositoryFactory: Method 'public org.xwiki.extension.repository.ExtensionRepository createRepository(org.xwiki.extension.repository.ExtensionRepositoryDescriptor)' has been added to an interface
309 org.xwiki.extension.repository.ExtensionRepositoryManager: Method 'public org.xwiki.extension.repository.ExtensionRepository addRepository(org.xwiki.extension.repository.ExtensionRepositoryDescriptor)' has been added to an interface
310 org.xwiki.extension.repository.ExtensionRepositorySource: Method 'public java.util.Collection getExtensionRepositoryDescriptors()' has been added to an interface
311 {{/code}}
312 )))
313 * IRCBot is still a young API. Added a new initialize() method to support installing the IRC Bot application in a subwiki:(((
314 {{code}}
315 org.xwiki.ircbot.IRCBot: Method 'public void initialize(java.lang.String)' has been added to an interface
316 {{/code}}
317 )))
318 * WikiComponent is still a young API. Removed the method to implement XWIKI-8233 ("Allow wiki components to implement parameterized types"):(((
319 {{code}}
320 org.xwiki.component.wiki.WikiComponent: Method 'public org.xwiki.model.reference.DocumentReference getAuthorReference()' has been added to an interface
321 org.xwiki.component.wiki.WikiComponent: Method 'public java.util.Map getHandledMethods()' has been removed
322 org.xwiki.component.wiki.WikiComponent: Method 'public java.util.List getImplementedInterfaces()' has been removed
323 org.xwiki.component.wiki.WikiComponent: Method 'public java.lang.Class getRole()' has been removed
324 org.xwiki.component.wiki.WikiComponent: Method 'public java.lang.reflect.Type getRoleType()' has been added to an interface
325 org.xwiki.component.wiki.WikiComponent: Method 'public org.xwiki.component.wiki.WikiComponentScope getScope()' has been added to an interface
326 {{/code}}
327 )))
328 * WikiComponent is still a young API. Moved the class to the internal package:(((
329 {{code}}
330 org.xwiki.component.wiki.MethodOutputHandler: Class org.xwiki.component.wiki.MethodOutputHandler removed
331 org.xwiki.component.wiki.WikiComponentInvocationHandler: Class org.xwiki.component.wiki.WikiComponentInvocationHandler removed
332 {{/code}}
333 )))
334 * UIExtension is still a young API. Replaced the List of Block by a Block since Block can can now hold a list of Block:(((
335 {{code}}
336 org.xwiki.uiextension.UIExtension: Return type of method 'public java.util.List execute()' has been changed to org.xwiki.rendering.block.Block
337 org.xwiki.uiextension.UIExtension: Method 'public java.lang.String getId()' has been added to an interface
338 org.xwiki.uiextension.UIExtension: Method 'public java.lang.String getName()' has been removed
339 {{/code}}
340 )))
341 * Added a common method to all elements to set all the data from another element. Technically this does not really break anything because all elements are supposed to extends BaseElement:(((
342 {{code}}
343 com.xpn.xwiki.objects.ElementInterface: Method 'public boolean apply(com.xpn.xwiki.objects.ElementInterface, boolean)' has been added to an interface
344 {{/code}}
345 )))
346 * Elements must be added to the wrapping NotifyOnList to ensure that the property is marked 'dirty' when updated. To avoid that this mechanism is circumvented, the field is made final:(((
347 {{code}}
348 com.xpn.xwiki.objects.ListProperty: Field list is now final
349 {{/code}}
350 )))
351 * Stored as Locale now and should have never been protected anyway:(((
352 {{code}}
353 com.xpn.xwiki.doc.XWikiDocument: Removed field language
354 {{/code}}
355 )))
356 * URLPatternMatcher instances cannot generally be reused (because the underlaying Perl5Matcher cannot be reused) on different strings and with different patterns and a new instance must be produced on demand. It is, thus, meaningless to set an instance. If there is any code relying on this method, it is broken already. Thus, we should remove this without going through deprecation. The only place where getUrlPatternMatcher is used in core appears to be in XWikiAuthServiceImpl in processLogout. This method appears to fail occasionally because the urlPatternMatcher instance is reused.(((
357 {{code}}
358 com.xpn.xwiki.XWiki: Method 'public void setUrlPatternMatcher(org.securityfilter.filter.URLPatternMatcher)' has been removed
359 com.xpn.xwiki.XWiki: Method 'public org.securityfilter.filter.URLPatternMatcher getUrlPatternMatcher()' has been removed
360 {{/code}}
361 )))
362 * Added a method to allow schema update through liquibase before hibernate schema updates. This should not really break anything because all hibernate migration extends AbstractHibernateDataMigration which now implement a stub for this method.(((
363 {{code}}
364 com.xpn.xwiki.store.migration.hibernate.HibernateDataMigration: Method 'public java.lang.String getPreHibernateLiquibaseChangeLog()' has been added to an interface
365 {{/code}}
366 )))
367 * A new 'sendMessageFromTemplate' method was wrongly added before the 4.2 final release and then removed in 4.3 from master:(((
368 {{code}}
369 com.xpn.xwiki.plugin.mailsender.MailSender: Method 'public int sendMessageFromTemplate(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map)' has been removed
370 {{/code}}
371 )))
372 * Ignoring error on field version which has been moved from Page to PageSummary which is the superclass of Page:(((
373 {{code}}
374 org.xwiki.rest.model.jaxb.Page: Removed field version
375 {{/code}}
376 )))
377 * Ignoring error on REST DomainObjectFactory as it is internal code:(((
378 {{code}}
379 org.xwiki.rest.DomainObjectFactory: Class org.xwiki.rest.DomainObjectFactory removed
380 org.xwiki.rest.resources.BaseAttachmentsResource: Class org.xwiki.rest.resources.BaseAttachmentsResource removed
381 org.xwiki.rest.resources.BaseAttachmentsResource$AttachmentInfo: Class org.xwiki.rest.resources.BaseAttachmentsResource$AttachmentInfo removed
382 org.xwiki.rest.resources.BaseSearchResult: Class org.xwiki.rest.resources.BaseSearchResult removed
383 org.xwiki.rest.resources.BaseSearchResult$SearchScope: Class org.xwiki.rest.resources.BaseSearchResult$SearchScope removed
384 org.xwiki.rest.resources.BrowserAuthenticationResource: Class org.xwiki.rest.resources.BrowserAuthenticationResource removed
385 org.xwiki.rest.resources.ModificationsResource: Class org.xwiki.rest.resources.ModificationsResource removed
386 org.xwiki.rest.resources.RootResource: Class org.xwiki.rest.resources.RootResource removed
387 org.xwiki.rest.resources.SyntaxesResource: Class org.xwiki.rest.resources.SyntaxesResource removed
388 org.xwiki.rest.resources.attachments.AttachmentAtPageVersionResource: Class org.xwiki.rest.resources.attachments.AttachmentAtPageVersionResource removed
389 org.xwiki.rest.resources.attachments.AttachmentHistoryResource: Class org.xwiki.rest.resources.attachments.AttachmentHistoryResource removed
390 org.xwiki.rest.resources.attachments.AttachmentResource: Class org.xwiki.rest.resources.attachments.AttachmentResource removed
391 org.xwiki.rest.resources.attachments.AttachmentVersionResource: Class org.xwiki.rest.resources.attachments.AttachmentVersionResource removed
392 org.xwiki.rest.resources.attachments.AttachmentsAtPageVersionResource: Class org.xwiki.rest.resources.attachments.AttachmentsAtPageVersionResource removed
393 org.xwiki.rest.resources.attachments.AttachmentsResource: Class org.xwiki.rest.resources.attachments.AttachmentsResource removed
394 org.xwiki.rest.resources.classes.ClassPropertiesResource: Class org.xwiki.rest.resources.classes.ClassPropertiesResource removed
395 org.xwiki.rest.resources.classes.ClassPropertyResource: Class org.xwiki.rest.resources.classes.ClassPropertyResource removed
396 org.xwiki.rest.resources.classes.ClassResource: Class org.xwiki.rest.resources.classes.ClassResource removed
397 org.xwiki.rest.resources.classes.ClassesResource: Class org.xwiki.rest.resources.classes.ClassesResource removed
398 org.xwiki.rest.resources.comments.CommentResource: Class org.xwiki.rest.resources.comments.CommentResource removed
399 org.xwiki.rest.resources.comments.CommentVersionResource: Class org.xwiki.rest.resources.comments.CommentVersionResource removed
400 org.xwiki.rest.resources.comments.CommentsResource: Class org.xwiki.rest.resources.comments.CommentsResource removed
401 org.xwiki.rest.resources.comments.CommentsVersionResource: Class org.xwiki.rest.resources.comments.CommentsVersionResource removed
402 org.xwiki.rest.resources.objects.AllObjectsForClassNameResource: Class org.xwiki.rest.resources.objects.AllObjectsForClassNameResource removed
403 org.xwiki.rest.resources.objects.BaseObjectsResource: Class org.xwiki.rest.resources.objects.BaseObjectsResource removed
404 org.xwiki.rest.resources.objects.ObjectAtPageVersionResource: Class org.xwiki.rest.resources.objects.ObjectAtPageVersionResource removed
405 org.xwiki.rest.resources.objects.ObjectPropertiesAtPageVersionResource: Class org.xwiki.rest.resources.objects.ObjectPropertiesAtPageVersionResource removed
406 org.xwiki.rest.resources.objects.ObjectPropertiesResource: Class org.xwiki.rest.resources.objects.ObjectPropertiesResource removed
407 org.xwiki.rest.resources.objects.ObjectPropertyAtPageVersionResource: Class org.xwiki.rest.resources.objects.ObjectPropertyAtPageVersionResource removed
408 org.xwiki.rest.resources.objects.ObjectPropertyResource: Class org.xwiki.rest.resources.objects.ObjectPropertyResource removed
409 org.xwiki.rest.resources.objects.ObjectResource: Class org.xwiki.rest.resources.objects.ObjectResource removed
410 org.xwiki.rest.resources.objects.ObjectsAtPageVersionResource: Class org.xwiki.rest.resources.objects.ObjectsAtPageVersionResource removed
411 org.xwiki.rest.resources.objects.ObjectsForClassNameResource: Class org.xwiki.rest.resources.objects.ObjectsForClassNameResource removed
412 org.xwiki.rest.resources.objects.ObjectsResource: Class org.xwiki.rest.resources.objects.ObjectsResource removed
413 org.xwiki.rest.resources.pages.ModifiablePageResource: Class org.xwiki.rest.resources.pages.ModifiablePageResource removed
414 org.xwiki.rest.resources.pages.PageChildrenResource: Class org.xwiki.rest.resources.pages.PageChildrenResource removed
415 org.xwiki.rest.resources.pages.PageHistoryResource: Class org.xwiki.rest.resources.pages.PageHistoryResource removed
416 org.xwiki.rest.resources.pages.PageResource: Class org.xwiki.rest.resources.pages.PageResource removed
417 org.xwiki.rest.resources.pages.PageTagsResource: Class org.xwiki.rest.resources.pages.PageTagsResource removed
418 org.xwiki.rest.resources.pages.PageTranslationHistoryResource: Class org.xwiki.rest.resources.pages.PageTranslationHistoryResource removed
419 org.xwiki.rest.resources.pages.PageTranslationResource: Class org.xwiki.rest.resources.pages.PageTranslationResource removed
420 org.xwiki.rest.resources.pages.PageTranslationVersionResource: Class org.xwiki.rest.resources.pages.PageTranslationVersionResource removed
421 org.xwiki.rest.resources.pages.PageTranslationsResource: Class org.xwiki.rest.resources.pages.PageTranslationsResource removed
422 org.xwiki.rest.resources.pages.PageVersionResource: Class org.xwiki.rest.resources.pages.PageVersionResource removed
423 org.xwiki.rest.resources.pages.PagesResource: Class org.xwiki.rest.resources.pages.PagesResource removed
424 org.xwiki.rest.resources.spaces.SpaceAttachmentsResource: Class org.xwiki.rest.resources.spaces.SpaceAttachmentsResource removed
425 org.xwiki.rest.resources.spaces.SpaceResource: Class org.xwiki.rest.resources.spaces.SpaceResource removed
426 org.xwiki.rest.resources.spaces.SpaceSearchResource: Class org.xwiki.rest.resources.spaces.SpaceSearchResource removed
427 org.xwiki.rest.resources.spaces.SpacesResource: Class org.xwiki.rest.resources.spaces.SpacesResource removed
428 org.xwiki.rest.resources.tags.PagesForTagsResource: Class org.xwiki.rest.resources.tags.PagesForTagsResource removed
429 org.xwiki.rest.resources.tags.TagsResource: Class org.xwiki.rest.resources.tags.TagsResource removed
430 org.xwiki.rest.resources.wikis.WikiAttachmentsResource: Class org.xwiki.rest.resources.wikis.WikiAttachmentsResource removed
431 org.xwiki.rest.resources.wikis.WikiPagesResource: Class org.xwiki.rest.resources.wikis.WikiPagesResource removed
432 org.xwiki.rest.resources.wikis.WikiSearchResource: Class org.xwiki.rest.resources.wikis.WikiSearchResource removed
433 org.xwiki.rest.resources.wikis.WikisResource: Class org.xwiki.rest.resources.wikis.WikisResource removed
434 {{/code}}
435 )))
436 * Moved a lot of previously public API to internal packages. The initial implementation put everything in public packages which is wrong. This move is to correct the initial error, and leave in public packages only the classes that are really part of a public API. (See discussion: http://xwiki.markmail.org/thread/iqktyceut5bmw4rl )(((
437 {{code}}
438 org.xwiki.rest.exceptions.QueryExceptionMapper: Class org.xwiki.rest.exceptions.QueryExceptionMapper removed
439 org.xwiki.rest.exceptions.XWikiExceptionMapper: Class org.xwiki.rest.exceptions.XWikiExceptionMapper removed
440 org.xwiki.rest.ComponentsObjectFactory: Class org.xwiki.rest.ComponentsObjectFactory removed
441 org.xwiki.rest.Constants: Field ALLOWED_VALUES_ATTRIBUTE_NAME has been removed, but it was previously a constant
442 org.xwiki.rest.Constants: Field RELEASABLE_COMPONENT_REFERENCES has been removed, but it was previously a constant
443 org.xwiki.rest.Constants: Field XWIKI_COMPONENT_MANAGER has been removed, but it was previously a constant
444 org.xwiki.rest.RangeIterable: Class org.xwiki.rest.RangeIterable removed
445 org.xwiki.rest.Utils: Class org.xwiki.rest.Utils removed
446 org.xwiki.rest.XWikiAuthentication: Class org.xwiki.rest.XWikiAuthentication removed
447 org.xwiki.rest.XWikiJaxRsApplication: Class org.xwiki.rest.XWikiJaxRsApplication removed
448 org.xwiki.rest.XWikiRestletJaxRsApplication: Class org.xwiki.rest.XWikiRestletJaxRsApplication removed
449 org.xwiki.rest.XWikiRestletServlet: Class org.xwiki.rest.XWikiRestletServlet removed
450 org.xwiki.rest.XWikiSecretVerifier: Class org.xwiki.rest.XWikiSecretVerifier removed
451 org.xwiki.rest.XWikiSetupCleanupFilter: Class org.xwiki.rest.XWikiSetupCleanupFilter removed
452 org.xwiki.rest.representations.TextPlainReader: Class org.xwiki.rest.representations.TextPlainReader removed
453 org.xwiki.rest.representations.comments.FormUrlEncodedCommentReader: Class org.xwiki.rest.representations.comments.FormUrlEncodedCommentReader removed
454 org.xwiki.rest.representations.comments.TextPlainCommentReader: Class org.xwiki.rest.representations.comments.TextPlainCommentReader removed
455 org.xwiki.rest.representations.objects.FormUrlEncodedObjectReader: Class org.xwiki.rest.representations.objects.FormUrlEncodedObjectReader removed
456 org.xwiki.rest.representations.objects.FormUrlEncodedPropertyReader: Class org.xwiki.rest.representations.objects.FormUrlEncodedPropertyReader removed
457 org.xwiki.rest.representations.objects.TextPlainPropertyReader: Class org.xwiki.rest.representations.objects.TextPlainPropertyReader removed
458 org.xwiki.rest.representations.pages.FormUrlEncodedPageReader: Class org.xwiki.rest.representations.pages.FormUrlEncodedPageReader removed
459 org.xwiki.rest.representations.pages.TextPlainPageReader: Class org.xwiki.rest.representations.pages.TextPlainPageReader removed
460 org.xwiki.rest.representations.tags.FormUrlEncodedTagsReader: Class org.xwiki.rest.representations.tags.FormUrlEncodedTagsReader removed
461 org.xwiki.rest.representations.tags.TextPlainTagsReader: Class org.xwiki.rest.representations.tags.TextPlainTagsReader removed
462 {{/code}}
463 )))
464 * Not a breakage! This class has been moved to the xwiki-platform-rest-model where it logically belongs to:(((
465 {{code}}
466 org.xwiki.rest.Relations: Class org.xwiki.rest.Relations removed
467 {{/code}}
468 )))
469 * Not a breakage! The plugin has been moved to its own module.(((
470 {{code}}
471 com.xpn.xwiki.plugin.feed.FeedPlugin: Class com.xpn.xwiki.plugin.feed.FeedPlugin removed
472 com.xpn.xwiki.plugin.feed.FeedPlugin$EntriesComparator: Class com.xpn.xwiki.plugin.feed.FeedPlugin$EntriesComparator removed
473 com.xpn.xwiki.plugin.feed.FeedPlugin$SyndEntryComparator: Class com.xpn.xwiki.plugin.feed.FeedPlugin$SyndEntryComparator removed
474 com.xpn.xwiki.plugin.feed.FeedPluginApi: Class com.xpn.xwiki.plugin.feed.FeedPluginApi removed
475 com.xpn.xwiki.plugin.feed.SyndEntryDocumentSource: Class com.xpn.xwiki.plugin.feed.SyndEntryDocumentSource removed
476 com.xpn.xwiki.plugin.feed.SyndEntryDocumentSource$PropertySelector: Class com.xpn.xwiki.plugin.feed.SyndEntryDocumentSource$PropertySelector removed
477 com.xpn.xwiki.plugin.feed.SyndEntrySource: Class com.xpn.xwiki.plugin.feed.SyndEntrySource removed
478 com.xpn.xwiki.plugin.feed.SyndEntrySourceApi: Class com.xpn.xwiki.plugin.feed.SyndEntrySourceApi removed
479 com.xpn.xwiki.plugin.feed.UpdateThread: Class com.xpn.xwiki.plugin.feed.UpdateThread removed
480 com.xpn.xwiki.plugin.feed.XWikiFeedFetcher: Class com.xpn.xwiki.plugin.feed.XWikiFeedFetcher removed
481 com.xpn.xwiki.plugin.feed.XWikiFeedFetcher$CredentialSupplier: Class com.xpn.xwiki.plugin.feed.XWikiFeedFetcher$CredentialSupplier removed
482 {{/code}}
483 )))
484 * Module has been retired as it was unmaintained.(((
485 {{code}}
486 com.xpn.xwiki.plugin.userdirectory.Group: Class com.xpn.xwiki.plugin.userdirectory.Group removed
487 com.xpn.xwiki.plugin.userdirectory.UserDirectoryPlugin: Class com.xpn.xwiki.plugin.userdirectory.UserDirectoryPlugin removed
488 com.xpn.xwiki.plugin.userdirectory.UserDirectoryPluginAPI: Class com.xpn.xwiki.plugin.userdirectory.UserDirectoryPluginAPI removed
489 {{/code}}
490 )))
491 * Module has been retired as it was unmaintained.(((
492 {{code}}
493 com.xpn.xwiki.plugin.usertools.XWikiUserManagementTools: Class com.xpn.xwiki.plugin.usertools.XWikiUserManagementTools removed
494 com.xpn.xwiki.plugin.usertools.XWikiUserManagementToolsAPI: Class com.xpn.xwiki.plugin.usertools.XWikiUserManagementToolsAPI removed
495 com.xpn.xwiki.plugin.usertools.XWikiUserManagementToolsImpl: Class com.xpn.xwiki.plugin.usertools.XWikiUserManagementToolsImpl removed
496 {{/code}}
497 )))
498 * Added methods for creating workspaces and retrieving workspace templates. Vote mail: [[http://markmail.org/thread/gtxoszztc5lt7o4f]](((
499 {{code}}
500 org.xwiki.workspace.WorkspaceManager: Method 'public com.xpn.xwiki.plugin.wikimanager.doc.XWikiServer createWorkspace(java.lang.String, com.xpn.xwiki.plugin.wikimanager.doc.XWikiServer, java.lang.String)' has been added to an interface
501 org.xwiki.workspace.WorkspaceManager: Method 'public java.util.List getWorkspaceTemplates()' has been added to an interface
502 {{/code}}
503 )))

Get Connected