Changes for page Release Notes for XWiki Enterprise 4.1
Last modified by Thomas Mortagne on 2023/10/13
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -227,14 +227,31 @@ 227 227 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. 228 228 {{/warning}} 229 229 230 +== Issues specific to XWiki Enterprise 4.1 Milestone 1 == 231 + 232 +The old experimental real-time synchronization plugin for the WYSIWYG content editor has been retired. We hope that its functionality will be replaced by the real-time editing feature developed on the [[Wiki 3.0>>https://github.com/xwiki-contrib/wiki30]] project. If you want to continue using the old plugin you need to: 233 + 234 +* take the code from [[##xwiki-contrib/retired## GitHub repo>>https://github.com/xwiki-contrib/retired/tree/master/xwiki-platform-wysiwyg-plugin-sync]] 235 +* add the client and server side as dependencies to the WYSIWYG client and server side respectively 236 +* modify ##WysiwygEditorFactory## to register the factory of the sync plugin 237 +* rebuild the editor and update the jars and client side resources on your XWiki Enterprise instance 238 + 230 230 == API Breakages == 231 231 232 232 The following APIs were modified since version 4.0: 233 233 243 +* Breakage in Query module done to support adding several Filters to a Query:((( 234 234 {{code language="none"}} 245 +org.xwiki.query.QueryFilter: Method 'public java.util.List filterResults(java.util.List)' has been added to an interface 246 +{{/code}} 247 +))) 248 +* This method should have been internal from the beginning:((( 249 +{{code language="none"}} 235 235 org.xwiki.environment.EnvironmentConfiguration: Class org.xwiki.environment.EnvironmentConfiguration removed 236 -org.xwiki.extension.job.plan.ExtensionPlan: Return type of method 'public java.util.Collection getTree()' has been changed to org.xwiki.extension.job.plan.ExtensionPlanTree 237 -org.xwiki.extension.version.VersionConstraint: Method 'public boolean isCompatible(org.xwiki.extension.version.Version)' has been added to an interface 251 +{{/code}} 252 +))) 253 +* The Job module is new and is still considered a "young API":((( 254 +{{code language="none"}} 238 238 org.xwiki.job.AbstractJob: Changed type of field status from org.xwiki.job.internal.DefaultJobStatus to org.xwiki.job.internal.AbstractJobStatus 239 239 org.xwiki.job.AbstractJob: Return type of method 'protected org.xwiki.job.internal.DefaultJobStatus createNewStatus(org.xwiki.job.Request)' has been changed to org.xwiki.job.internal.AbstractJobStatus 240 240 org.xwiki.job.AbstractJob: Method 'protected java.lang.String getId()' has been removed ... ... @@ -248,14 +248,35 @@ 248 248 org.xwiki.job.event.JobStartedEvent: Return type of method 'public java.lang.String getJobId()' has been changed to java.util.List 249 249 org.xwiki.job.event.status.JobStatus: Method 'public java.util.Date getEndDate()' has been added to an interface 250 250 org.xwiki.job.event.status.JobStatus: Method 'public java.util.Date getStartDate()' has been added to an interface 268 +{{/code}} 269 +))) 270 +* The Extension module is relatively new and is still undergoing some API tuning:((( 271 +{{code language="none"}} 272 +org.xwiki.extension.job.plan.ExtensionPlan: Return type of method 'public java.util.Collection getTree()' has been changed to org.xwiki.extension.job.plan.ExtensionPlanTree 273 +org.xwiki.extension.version.VersionConstraint: Method 'public boolean isCompatible(org.xwiki.extension.version.Version)' has been added to an interface 274 +{{/code}} 275 +))) 276 +* This class was added in 3.2M2 by error in a user-public package. It's been moved again in the internal package as it should have been. We don't expect many users to be affected by this:((( 277 +{{code language="none"}} 251 251 com.xpn.xwiki.doc.merge.MergeUtils: Class com.xpn.xwiki.doc.merge.MergeUtils removed 279 +{{/code}} 280 +))) 281 +* In 2.2M1 we refactored BaseCollection to add getXClass() but we forgot to add it to the ObjectInterface interface. Even though this could break user we think it's very limited since nobody should implement directly ObjectInterface; instead everyone should extend BaseClass or BaseCollection:((( 282 +{{code language="none"}} 252 252 com.xpn.xwiki.objects.ObjectInterface: Method 'public com.xpn.xwiki.objects.classes.BaseClass getXClass(com.xpn.xwiki.XWikiContext)' has been added to an interface 284 +{{/code}} 285 +))) 286 +* The Autotag plugin has been extracted from the oldcore module and is now a module on its own so the following are not real breakages:((( 287 +{{code language="none"}} 253 253 com.xpn.xwiki.plugin.autotag.AutoTagPlugin: Class com.xpn.xwiki.plugin.autotag.AutoTagPlugin removed 254 254 com.xpn.xwiki.plugin.autotag.AutoTagPluginAPI: Class com.xpn.xwiki.plugin.autotag.AutoTagPluginAPI removed 255 255 com.xpn.xwiki.plugin.autotag.FrenchStemmer: Class com.xpn.xwiki.plugin.autotag.FrenchStemmer removed 256 256 com.xpn.xwiki.plugin.autotag.Tag: Class com.xpn.xwiki.plugin.autotag.Tag removed 257 257 com.xpn.xwiki.plugin.autotag.TagCloud: Class com.xpn.xwiki.plugin.autotag.TagCloud removed 258 -org.xwiki.query.QueryFilter: Method 'public java.util.List filterResults(java.util.List)' has been added to an interface 293 +{{/code}} 294 +))) 295 +* The WYSIWYG Diff and Sync plugins have been extracted into their own modules so the following are not real breakages:((( 296 +{{code language="none"}} 259 259 org.xwiki.gwt.wysiwyg.client.Images: Method 'public com.google.gwt.resources.client.ImageResource sync()' has been removed 260 260 org.xwiki.gwt.wysiwyg.client.Strings: Method 'public java.lang.String sync()' has been removed 261 261 org.xwiki.gwt.wysiwyg.client.diff.AddDelta: Class org.xwiki.gwt.wysiwyg.client.diff.AddDelta removed ... ... @@ -286,3 +286,4 @@ 286 286 org.xwiki.wysiwyg.server.plugin.sync.SyncEngine: Class org.xwiki.wysiwyg.server.plugin.sync.SyncEngine removed 287 287 org.xwiki.wysiwyg.server.plugin.sync.SyncException: Class org.xwiki.wysiwyg.server.plugin.sync.SyncException removed 288 288 {{/code}} 327 +)))