Last modified by Thomas Mortagne on 2023/10/13

<
From version < 42.2 >
edited by Eduard Moraru
on 2012/11/13
To version < 43.1 >
edited by Eduard Moraru
on 2012/11/13
>
Change comment: CLIRR report

Summary

Details

Page properties
Content
... ... @@ -190,7 +190,6 @@
190 190  
191 191  * Many REST API module classes that were not meant to be public have been moved to internal package.(((
192 192  {{code language="none"}}
193 -org.xwiki.rest.model.jaxb.Page: Removed field version
194 194  org.xwiki.rest.ComponentsObjectFactory: Class org.xwiki.rest.ComponentsObjectFactory removed
195 195  org.xwiki.rest.Constants: Field ALLOWED_VALUES_ATTRIBUTE_NAME has been removed, but it was previously a constant
196 196  org.xwiki.rest.Constants: Field RELEASABLE_COMPONENT_REFERENCES has been removed, but it was previously a constant
... ... @@ -273,6 +273,12 @@
273 273  {{/code}}
274 274  )))
275 275  
275 +* The version field has been moved from Page to PageSummary which is the superclass of Page(((
276 +{{code language="none"}}
277 +org.xwiki.rest.model.jaxb.Page: Removed field version
278 +{{/code}}
279 +)))
280 +
276 276  * Added methods for creating workspaces and retrieving workspace templates.(((
277 277  {{code language="none"}}
278 278  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
... ... @@ -279,3 +279,97 @@
279 279  org.xwiki.workspace.WorkspaceManager: Method 'public java.util.List getWorkspaceTemplates()' has been added to an interface
280 280  {{/code}}
281 281  )))
287 +
288 +* The plugin has been moved to its own module. Not a breakage.(((
289 +{{code language="none"}}
290 +com.xpn.xwiki.plugin.feed.FeedPlugin: Class com.xpn.xwiki.plugin.feed.FeedPlugin removed
291 +com.xpn.xwiki.plugin.feed.FeedPlugin$EntriesComparator: Class com.xpn.xwiki.plugin.feed.FeedPlugin$EntriesComparator removed
292 +com.xpn.xwiki.plugin.feed.FeedPlugin$SyndEntryComparator: Class com.xpn.xwiki.plugin.feed.FeedPlugin$SyndEntryComparator removed
293 +com.xpn.xwiki.plugin.feed.FeedPluginApi: Class com.xpn.xwiki.plugin.feed.FeedPluginApi removed
294 +com.xpn.xwiki.plugin.feed.SyndEntryDocumentSource: Class com.xpn.xwiki.plugin.feed.SyndEntryDocumentSource removed
295 +com.xpn.xwiki.plugin.feed.SyndEntryDocumentSource$PropertySelector: Class com.xpn.xwiki.plugin.feed.SyndEntryDocumentSource$PropertySelector removed
296 +com.xpn.xwiki.plugin.feed.SyndEntrySource: Class com.xpn.xwiki.plugin.feed.SyndEntrySource removed
297 +com.xpn.xwiki.plugin.feed.SyndEntrySourceApi: Class com.xpn.xwiki.plugin.feed.SyndEntrySourceApi removed
298 +com.xpn.xwiki.plugin.feed.UpdateThread: Class com.xpn.xwiki.plugin.feed.UpdateThread removed
299 +com.xpn.xwiki.plugin.feed.XWikiFeedFetcher: Class com.xpn.xwiki.plugin.feed.XWikiFeedFetcher removed
300 +com.xpn.xwiki.plugin.feed.XWikiFeedFetcher$CredentialSupplier: Class com.xpn.xwiki.plugin.feed.XWikiFeedFetcher$CredentialSupplier removed
301 +{{/code}}
302 +)))
303 +
304 +* IRCBot is still a young API. Added a new initialize() method to support installing the IRC Bot application in a subwiki(((
305 +{{code language="none"}}
306 +org.xwiki.ircbot.IRCBot: Method 'public void initialize(java.lang.String)' has been added to an interface
307 +{{/code}}
308 +)))
309 +
310 +* WikiComponent is still a young API. Moved the class to the internal package(((
311 +{{code language="none"}}
312 +org.xwiki.component.wiki.MethodOutputHandler: Class org.xwiki.component.wiki.MethodOutputHandler removed
313 +org.xwiki.component.wiki.WikiComponentInvocationHandler: Class org.xwiki.component.wiki.WikiComponentInvocationHandler removed
314 +{{/code}}
315 +)))
316 +
317 +* WikiComponent is still a young API. Replaced the getRole() method with getRoleType() to implement XWIKI-8233, "Allow wiki components to implement parameterized types"(((
318 +{{code language="none"}}
319 +org.xwiki.component.wiki.WikiComponent: Method 'public java.lang.Class getRole()' has been removed
320 +org.xwiki.component.wiki.WikiComponent: Method 'public java.lang.reflect.Type getRoleType()' has been added to an interface
321 +{{/code}}
322 +)))
323 +
324 +* WikiComponent is still a young API. Removed some unnecessary methods(((
325 +{{code language="none"}}
326 +org.xwiki.component.wiki.WikiComponent: Method 'public java.util.Map getHandledMethods()' has been removed
327 +org.xwiki.component.wiki.WikiComponent: Method 'public java.util.List getImplementedInterfaces()' has been removed
328 +{{/code}}
329 +)))
330 +
331 +* WikiComponent is still a young API. Added this method to implement XWIKI-8234, "Allow wiki components to be registered at different levels (user / wiki / global)"(((
332 +{{code language="none"}}
333 +org.xwiki.component.wiki.WikiComponent: Method 'public org.xwiki.model.reference.DocumentReference getAuthorReference()' has been added to an interface
334 +org.xwiki.component.wiki.WikiComponent: Method 'public org.xwiki.component.wiki.WikiComponentScope getScope()' has been added to an interface
335 +{{/code}}
336 +)))
337 +
338 +* UIExtension is still a young API. Replaced the List of Block by a Block since Block can now hold a list of Block(((
339 +{{code language="none"}}
340 +org.xwiki.uiextension.UIExtension: Return type of method 'public java.util.List execute()' has been changed to org.xwiki.rendering.block.Block
341 +{{/code}}
342 +)))
343 +
344 +* UIExtension is still a young API. getName() has been renamed to getId()(((
345 +{{code language="none"}}
346 +org.xwiki.uiextension.UIExtension: Method 'public java.lang.String getId()' has been added to an interface
347 +org.xwiki.uiextension.UIExtension: Method 'public java.lang.String getName()' has been removed
348 +{{/code}}
349 +)))
350 +
351 +* 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(((
352 +{{code language="none"}}
353 +com.xpn.xwiki.objects.ElementInterface: Method 'public boolean apply(com.xpn.xwiki.objects.ElementInterface, boolean)' has been added to an interface
354 +{{/code}}
355 +)))
356 +
357 +* Elemenents 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.(((
358 +{{code language="none"}}
359 +com.xpn.xwiki.objects.ListProperty: Field list is now final
360 +{{/code}}
361 +)))
362 +
363 +* Removed language field because the information is now stored as Locale instead of String and it should have never been protected anyway.(((
364 +{{code language="none"}}
365 +com.xpn.xwiki.doc.XWikiDocument: Removed field language
366 +{{/code}}
367 +)))
368 +
369 +* 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. We might as well remove the getter.(((
370 +{{code language="none"}}
371 +com.xpn.xwiki.XWiki: Method 'public void setUrlPatternMatcher(org.securityfilter.filter.URLPatternMatcher)' has been removed
372 +com.xpn.xwiki.XWiki: Method 'public org.securityfilter.filter.URLPatternMatcher getUrlPatternMatcher()' has been removed
373 +{{/code}}
374 +)))
375 +
376 +* FIXME: add description(((
377 +{{code language="none"}}
378 +com.xpn.xwiki.tool.backup.ImportMojo: Field MPNAME_DESCRIPTION has been removed, but it was previously a constant
379 +{{/code}}
380 +)))

Get Connected