Wiki source code of Release Notes for XWiki 4.2

Version 14.1 by Jerome on 2012/09/27

Hide last authors
Jerome 1.1 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
Vincent Massol 8.1 7 This is the third release of the 4.x cycle ([[Roadmap>>Main.Roadmap]]).
Jerome 1.1 8
Vincent Massol 8.1 9 {{warning}}
10 If you're upgrading from an older version and you use the new Distribution Wizard to upgrade your wiki pages you'll notice that it'll ask you to merge all pages that have been modified between your version and XWiki 4.2. This is because currently the Distribution Wizard doesn't know which version you have and thus asks you to perform the merge manually. This operation may take a long time (up to 20 minutes or so). Thus at the moment if you're upgrading from a previous version we recommend that you Cancel the Distribution Wizard and instead [[Import the new XAR>>platform:AdminGuide.Upgrade]]. This problem is [[reported in this issue>>http://jira.xwiki.org/browse/XWIKI-8252]] and should be fixed in the next release.
11 {{/warning}}
12
Jerome 2.1 13 = New and Noteworthy (since XWiki 4.1) =
Jerome 1.1 14
Jerome 4.1 15 == Extension Manager improvements ==
16
17 Main improvements:
18
19 * Starting with this version you can downgrade an extension. In other words, you can install an older version of an extension even if a newer version is currently installed. This doesn't apply to core extensions, which cannot be uninstalled, upgraded or downgraded individually. In order to downgrade an extension that is already installed you need to search for an older version. Currently this is possible only using the advanced search.(((
20 {{image reference="EM-extensionDowngradePlan.png"/}}
21 )))
22 * From the main wiki of a wiki farm you now have the option to trigger extension jobs (install, uninstall, upgrade, downgrade, etc.) that target all the wikis. For instance, as you can see below, you can install an extension on the entire wiki farm:(((
23 {{image reference="EM-extensionGlobalInstall.png"/}}
24 )))
25 * The log messages have been improved to include links to the affected documents or extensions as indicated in the following image~:(((
26 {{image reference="EM-extensionLogMessage"/}}
27 )))
Jerome 6.1 28 * An administrator of a subwiki can now install XAR extension (as long as it does not require a JAR extension).
Jerome 4.1 29
Jerome 6.1 30 == Experimental install/upgrade wizard ==
Jerome 4.1 31
Jerome 6.1 32 Accessing a wiki page in view mode after an upgrade or when the database is empty (new install) will trigger a wizard that will allow you to install or update the default set of wiki pages and to upgrade or downgrade the extensions you may have previously installed.
Jerome 4.1 33
Jerome 6.1 34 The wizard currently has two steps. In the first step you can see which XWiki distribution you are running and what is its recommended default set of wiki pages (the default user interface). You should install, upgrade or downgrade the UI so that it matches the distribution version.
Jerome 4.1 35
Jerome 6.1 36 {{image reference="Distribution-MainUI.png"/}}
Jerome 4.1 37
Jerome 6.1 38 The step has three possible actions:
Jerome 4.1 39
Jerome 6.1 40 * Skip means 'go to the next step and ask me again after a server restart'
41 * Cancel means 'go to the next step and don't ask me again until I change my distribution'
42 * Continue, only after the recommended UI version is installed
Jerome 4.1 43
Jerome 6.1 44 In the second step you can upgrade the installed extensions. We group them in two categories:
Jerome 4.1 45
Jerome 6.1 46 * extensions that don't work with your current distribution but which have new versions available that are compatible with your current distribution. These extension require an upgrade.
47 * extensions that should work fine with your current distribution but which have upgrades available. Upgrading these extensions is optional.
48
49 {{image reference="Distribution-OutdatedExtensions.png"/}}
50
51 You can refresh the list of extensions by clicking on the Reload button. The Skip and Cancel buttons have the same meaning as in the previous step. The Continue button is available only after the required upgrades are performed.
52
53 At the end you'll be redirected back to the wiki page you have accessed in the first place.
54
Jerome 4.1 55 == Improvements to the Extension Repository Application ==
56
57 We modified the extension sheet to display the release notes for all the available versions of an extension. Check for instance the release notes for the [[Extended TODO Application>>extensions:Extension.Extended Todo Application#HReleaseNotes]]:
58
59 {{image reference="ER-releaseNotes.png"/}}
60
Jerome 7.1 61 == JIRA Macro ==
62
63 A [[new JIRA Macro>>extensions:Extension.JIRA Macro]] is now part of the Platform but is not bundled by default (you'll need to install it with the Extension Manager). We previously had a [[Contributed JIRA Macro>>extensions:Extension.Contrib JIRA Macro]] but we decided that the JIRA macro was a good candidate to have in the Platform and thus supported by the XWiki Development Team. Compared to the older Contributed JIRA Macro, the new Macro has the following advantages:
64
65 * No Programming Rights required
66 * Supports issue ordering
67 * Supports ability to register new Styles, new Data Sources and new Field Displayers
68 * Displays closed issues as Striked-out
69 * Written in Java with automated tests
70
71 {{image reference="extensions:Extension.JIRA Macro@jiraMacroDefault.png"/}}
72
Jerome 6.1 73 == New field types for email and list of pages ==
Jerome 4.1 74
Jerome 6.1 75 Two new types of class properties have been added:
Jerome 4.1 76
Jerome 6.1 77 * The //Email// type extends the normal //String// type, adding by default a validation regular expression that should accept only a valid email address
78 * The //Page// type extends the normal //DBList// type, and allows to select one or more documents from the current wiki
Jerome 4.1 79
Jerome 6.1 80 These two new properties are still in development, and further improvements will be implemented in the next milestone.
81
82 == Computed class fields ==
83
84 Another new type of class fields adds support for //virtual values// computed live from other class values, data from the database, data obtained from an external service, or practically any other source of data. These fields are non-editable and aren't stored in the database, since they only provide some wiki content that will be rendered each time such a property is displayed.
85
86 Traditionally, this kind of computation would have been written directly in the sheet used to display instances of that class, but putting it in a class field allows easier reuse of the code, since the property will be //displayed// in livetables, when indexing the document in Lucene, when displaying documents in an index page, and so on.
87
Jerome 4.1 88 == Improved upload UI ==
89
90 The new HTML5 FileUploader has been integrated in a few places:
91
92 * The standard attachment upload form
93 * The Import section of the Administration
94
95 See [[below>>||anchor="HNewHTML5FileUploadwidget"]] for more details about this feature.
96
97 == New logging administration UI ==
98
99 It's now possible to review and modify the log level for all registered loggers.
100
101 {{image reference="extensions:Extension.Logging Application@loggingadmin.png"/}}
102
103 == New Applications Panel ==
104
105 There's now a new "Applications" panel by default in XWiki Enterprise. This panel displays the applications present in your wiki.
106
107 {{image reference="applicationsPanelStandard.png"/}}
108
109 Administrators will get a couple of additional links, allowing them to install applications through the [[Extension Manager>>extensions:Extension.Extension Manager Application]], or to create new applications thanks to the [[App Within Minutes feature>>extensions:Extension.App Within Minutes Application]].
110
111 {{image reference="applicationsPanel.png"/}}
112
113 {{info}}
114 Note for application developers: your applications can provide their own entries in this menu by [[declaring a UI Extension>>extensions:Extension.UIExtension Module]].
115 {{/info}}
116
117 == Chart Macro Improvements ==
118
119 * The [[Chart macro>>extensions:Extension.Chart Macro]] will now automatically default to the ##inline## Data Source type when not specified and the Chart Macro has some content.
120 * [[Two new Chart types have been added: XY Line 3D and XY Step>>extensions:Extension.Chart Macro]]. Examples:(((
121 {{image reference="timeseries-line3D.png"/}}
122
123 {{image reference="timeseries-step.png"/}}
124 )))
125
126 == New Content Macro ==
127
128 The [[new Content macro>>extensions:Extension.Content Macro]] allows to enter content in any of the supported Syntaxes and thus allows to have content written in various syntaxes. For example, in a page in XWiki Syntax 2.0:
129
130 {{code}}
131 This is in **bold**
132
133 {{content syntax="confluence/1.0"}}
134 This is *bold* too!
135 {{/content}}
136 {{/code}}
137
138 == Documents Macro improvements ==
139
140 The ##~{~{documents}}## macro [[now supports specifying the list of columns to display>>extensions:Extension.Documents Macro]]. For example:
141
142 {{code}}
143 {{documents count="5" actions="false" space="Main" parent="Main.WebHome" columns="doc.title"/}}
144 {{/code}}
145
146 would display:
147
148 {{image reference="documents-columns.png"/}}
149
150 == Search improvements ==
151
152 The Lucene index also stores the MIME type of the indexed attachments, allowing to customize the search to only include or exclude attachments of a certain type. The new field is named [[##mimetype##>>doc:extensions:Extension.Search Application Query Syntax||anchor="Hmimetype"]] and it contains a valid MIME type string, as returned by the container in which XWiki is running. For example, add ##-mimetype:image/*## to a query to exclude all image attachments from the results, or add ##mimetype:application/pdf## to only search inside PDF attachments.
153
154 Remember that in case of an upgrade, you have to rebuild the entire index to have this new field for existing documents.
155
Jerome 11.1 156 == Miscellaneous ==
157
158 * the progress tab is selected by default when you view the extension details if there is a job running (e.g. install in progress) for that extension
159 * when there is a merge conflict, the 'Show changes' button updates the changes asynchronously without reloading the entire page
160 * attachments of pages installed with the extension manager now have the right author set: the current user instead of the author from the XAR as it used to be
161 * the file size of attachments installed with the extension manager is now properly set
162 * the installation process is now more robust with respect to the exceptions that can occur while installing a JAR extension with components
163 * Document attachments so far have been displayed in the order in which they are returned by the database, which most of the time happened to be the upload date. Starting with this version attachments are displayed ordered by their filename, which makes it easier to find an attachment, but support for selecting a different order (date, size, author...) will be added soon.
164 * Uploading attachments with '+' character in their file names using the WebDAV interface shouldn't pose any more problems.
165 * It's now possible to use Velocity scripts in the Copyright field in the Administration.
166 * The XWiki Installer now fully works on Windows 7. The XWiki Data is now put in the ##%APPDATA%\XWiki Enterprise <version>\data## directory, while the binaries are installed in ##Program Files##.
167 * It is no longer allowed to use scripts in comments. This reduces the security risk from users that only have comment rights.
168 * Macro parameters may now contain macro syntax. Example: {{{ {{box title="{{info}}Hello!{{/info}}" }}Lorem ipsum ...{{/box}} }}}
169 * Improve OOB support for JBoss AS7:
170 ** Removed Struts Taglibs completely since we don't use them and some were defined but not made available, causing errors in deployments on JBoss AS7 ({{jira style="enum" url="http://jira.xwiki.org"}}XWIKI-7986{{/jira}})
171 ** Fixed Logging conflict between JBoss AS and XWiki ({{jira style="enum" url="http://jira.xwiki.org"}}XWIKI-7987{{/jira}})
172 * The [[IRC Bot Application>>extensions:Extension.IRC Bot Application]] now recognizes XAR import events and when receiving one, it doesn't send subsequent IRC notifications for modified or created documents to avoid spamming the IRC channel.
173 * Display the request URL in the IRC channel when the Link Checker bot listener is active and a broken link is found, thus making it easier to reproduce and debug the broken link
174
Jerome 1.1 175 = For Developers =
176
Jerome 4.1 177 == New Git Module ==
Jerome 1.1 178
Jerome 4.1 179 A new, optional (i.e. not installed by default), [[Git Module has been added>>extensions:Extension.Git Module]]. It allows to easily perform Git operations from within wiki pages. For example to count all commits for the past year and list all committers who's committed code during this period, you could write in a wiki page:
Jerome 1.1 180
Jerome 4.1 181 {{code language="java"}}
182 {{groovy}}
183 import org.apache.commons.io.*
184 import org.eclipse.jgit.api.*
185 import org.eclipse.jgit.lib.*
186 import org.eclipse.jgit.revwalk.*
187 import org.eclipse.jgit.storage.file.*
188 import org.gitective.core.*
189 import org.gitective.core.filter.commit.*
190
191 def service = services.get("git")
192 def commonsRepository = service.getRepository("git://github.com/xwiki/xwiki-commons.git", "xwiki-commons")
193 // Do a Git pull to get latest commits
194 new Git(commonsRepository).pull().call()
195 def finder = new CommitFinder(commonsRepository)
196
197 def dateFilter = new CommitterDateFilter(System.currentTimeMillis() - 365*24*60*60*1000L)
198 def countFilter = new CommitCountFilter()
199 def authorFilter = new AuthorSetFilter()
200 def filters = new AndCommitFilter()
201 filters.add(countFilter, authorFilter)
202 finder.setFilter(dateFilter)
203 finder.setMatcher(filters)
204 finder.find()
205
206 println "There have been ${countFilter.count} commits in the past year!"
207 println ""
208
209 println "The following committers have participated in those commits:"
210 authorFilter.getPersons().each() {
211 println "* ${it.name} (${it.emailAddress})"
212 }
213 {{/groovy}}
214 {{/code}}
215
Vincent Massol 9.1 216 == Default custom displayers ==
Jerome 4.1 217
218 While XWiki allowed to specify a custom display for a given field, it was impossible to change the way field types, such as //DateProperty// or //IntegerProperty//, are displayed in general. Now it is possible to define custom displayers at the farm or wiki level, which gives the administrators more power to change the look and feel of the wiki. For example, this allows to use HTML5 input types for dates and numbers, to use custom suggestions for //list of users// fields, or to always add a validation input for all the //password// field types.
219
220 To use this feature, first you need to compute a //type// name for your property type. This is obtained from the java class simple name, removing the ##Class## suffix, and lowercasing. For example, for numbers the java class used is ##com.xpn.xwiki.objects.classes.NumberClass##, with the simple name ##NumberClass##, which gives ##number## as the type name. For a database list, we get ##dblist## from ##DBListClass##.
221
222 Next, there are three places where a default custom displayer can be defined.
223
224 1. If a document whose name is the //type// capitalized and suffixed with ##Displayer## exists in the ##XWiki## space in the current wiki, then its content is used as the default custom displayer for that type of property. For example, ##localwiki:XWiki.NumberDisplayer## and ##localwiki:XWiki.DblistDisplayer##.
225 1. If a document whose name is the //type// capitalized and suffixed with ##Displayer## exists in the ##XWiki## space in the main wiki, then its content is used as the default custom displayer for that type of property. For example, ##xwiki:XWiki.NumberDisplayer## and ##xwiki:XWiki.DblistDisplayer##.
226 1. If a velocity template whose name is the //type// suffixed with ##.vm## exists in the current skin, then it is evaluated as the default custom displayer for that type of property. A skin file can be defined in many places, such as an attachment of a skin document, a file in a named skin on the filesystem, or a file in the ##templates/## directory.
227
228 If a specific class property provides custom display code in the XClass, then that code takes priority over an eventual default custom displayer for that property.
229
230 As with property custom displayers, when evaluating the display code several objects are placed in the context:
231
232 * ##name## is the name of the property being displayed
233 * ##prefix## is the HTML name prefix to append to an eventual input field name, and contains the XClass name, an underscore, the object number, and another underscore, for example ##XWiki.XWikiUsers_0_##
234 * ##object## is the object owning the displayed property, an instance of the public ##com.xpn.xwiki.api.Object## class
235 * ##type## is the target display type, one of ##view##, ##edit##, ##hidden## or ##search##
236
237 == New API to manipulate log level ==
238
239 Several method as been added to ##org.xwiki.logging.LoggerManager## to manipulate the log level of registered loggers.
240
241 {{code language="java"}}
242 /**
243 * Associate the passed logger to the passed log level.
244 *
245 * @param loggerName the logger
246 * @param level the level of the logger
247 */
248 void setLoggerLevel(String loggerName, LogLevel level);
249
250 /**
251 * @param loggerName the logger
252 * @return the log level associated to the logger
253 */
254 LogLevel getLoggerLevel(String loggerName);
255
256 /**
257 * @return all the registered loggers
258 */
259 Collection<Logger> getLoggers();
260 {{/code}}
261
262
263 == New HTML5 File Upload widget ==
264
265 The [[File Upload widget>>doc:platform:DevGuide.HTML5Upload]] can enhance HTML input elements of type file to provide an interactive upload UI. It can submit files either automatically when the user selects local files, or after the user presses the container form's submit button.
266
267 To use this widget, it is enough to create a new instance of ##XWiki.FileUploader## passing the target ##input## element as the first parameter, and an optional configuration object as the second parameter.
268
269 {{code language="javascript"}}
270 new XWiki.FileUploader(targetInput, {
271 autoUpload: true,
272 progressAutohide: true
273 });
274 {{/code}}
275
276 [[image:platform:DevGuide.HTML5Upload@html5uploads.png||class="screenshot"]]
277
278 == JSRX and SSRX ==
279
280 It's now possible by default to add [[skin extensions>>extensions:Extension.Skin Extension Plugin]] located in JAR files. Example usage:
281
282 {{code}}
283 $xwiki.jsrx("/lib/codemirror.js")
284 $xwiki.ssrx("/lib/codemirror.css")
285 {{/code}}
286
287 == Attachment Picker improvements ==
288
289 It is now possible to specify a different document for the source (and target in case of uploads) of attachments, using the new ##targetdocname## macro parameter.
290
291 == Extension Manager improvements ==
292
293 * the custom Maven property <xwiki.extension.features> now accept any number of new lines and white spaces between elements(((
294 {{code language="xml"}}
295 <xwiki.extension.features>
296 org.xwiki.platform:xwiki-platform-oldcore,
297 com.xpn.xwiki.platform:xwiki-core
298 </xwiki.extension.features>
299 {{/code}}
300 )))
301 * new custom properties added to overwrite standard Maven properties:
302 ** ##xwiki.extension.name## to overwrite ##<name>##
303 ** ##xwiki.extension.summary## to overwrite ##<description>##
304 ** ##xwiki.extension.website## to overwrite ##<url>##
305
306 == XAR format improvement ==
307
308 It's now possible to indicate the extension identifier right in the XAR package descriptor (package.xml). Among other things this allow standard import UI to find what it currently importing and register it automatically as installed extension if it can be found in the registered repositories during import process.
309
310 The XAR Maven plugin automatically take care of adding this information to the generated package.xml for Maven project. If for some reason you need to indicate it by hand you can use the property <extensionId> under the the <infos> element in the package.xml file.
311
312 {{code language="xml"}}
313 <package>
314 <infos>
315 <name>XWiki Platform - Extension - UI</name>
316 <description>XWiki Extension Manager, an application for managing extensions in a wiki.</description>
317 <licence></licence>
318 <author>XWiki.Admin</author>
319 <extensionId>org.xwiki.platform:xwiki-platform-extension-ui</extensionId>
320 <version>4.2-SNAPSHOT</version>
321 <backupPack>true</backupPack>
322 </infos>
323 <files>
324 [...]
325 </files>
326 </package>
327 {{/code}}
328
329 == New UI Extension mechanism (experimental) ==
330
331 We're in the process of allowing applications to insert custom content in pre-defined places in the user interface. A first Extension Point has been defined in the new "Applications" panel, you can read more about this in the [[UI Extension module documentation>>extensions:Extension.UIExtension Module]].
332
Jerome 12.1 333 == Deprecated and Retired projects ==
334
335 <description of deprecated and retired projects>
336
337 == Upgrades ==
338
339 The following dependencies have been upgraded:
340
341 * Infinispan 5.1.5
342 * JDeb 0.11
343 * JGroups 3.1.0
344 * Tika 1.2
345 * GWT 2.5 RC1
346 * Selenium 2.25
347 * Prototype.js 1.7.1
348 * Jython 2.5.3
349 * Pegdown 1.1.0 (used by the XWiki Markdown Parser)
350 * Xalan 2.7.1
351
Jerome 4.1 352 == Miscellaneous ==
353
354 * The transformation context have a "restricted" flag to indicate that macros and other transformations should not perform modifications to the database, expensive computations or other potentially harmful operations. Developers of macros and other rendering extensions should pay attention to this flag.
355 * The messageSender macro now accepts 3 parameters that allow you to customize it by overriding the default displayed visibility levels for a message (that a user can choose from), the default selected visibility level and the default value (in case of user or group visibility). More details on {{jira style="enum" url="http://jira.xwiki.org"}}XWIKI-7974{{/jira}}.
356 * The [[new experimental Security API that was first released in XWiki 4.0>>xwiki:ReleaseNotes.ReleaseNotesXWikiEnterprise40||anchor="HNewRightsImplementation28Experimental29"]] is now bundled by default in XWiki Enterprise.
357 * It's now possible to access root ComponentManager using "root" role hint:(((
358 {{code language="java"}}
359 @Inject
360 @Named("root")
361 private ComponentManager rootComponentManager;
362 {{/code}}
363 )))
364 * A Provider has been added to easily access the context ComponentManager (a proxy which choose the right ComponentManager depending on context information like the current user and the current wiki)(((
365 {{code language="java"}}
366 @Inject
367 @Named("context")
368 private Provider<ComponentManager> contextComponentManager;
369 {{/code}}
370 )))
371 * The ##AbstractMockingComponentTestCase## testing framework class has been modified. Read the [[Testing page>>dev:Community.Testing]] for more details on how to use it.
372
Vincent Massol 10.1 373 = Translations =
Jerome 1.1 374
375 The following translations have been updated:
376
Jerome 4.1 377 {{language codes="da, fr, pt_BR, ru, zhm, hu, it, lv, sv"/}}
Jerome 1.1 378
379 = Tested Browsers =
380
381 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]]):
382
383 {{velocity}}
384 ## name = iexplorer, firefox, chrome, safari, opera
385 {{/velocity}}
386
387 {{browser name="browser" version="x.x"/}}
388
389 = Known issues =
390
391 * [[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]]
392
393 = Test Report =
394
395 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.
396
397 = Backward Compatibility and Migration Notes =
398
399 == General Notes ==
400
401 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
402
403 {{warning}}
404 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.
405 {{/warning}}
406
407 == Issues specific to XWiki <version> ==
408
409 <issues specific to the project>
410
411 == API Breakages ==
412
Jerome 13.1 413 The following APIs were modified since XWiki 4.1:
Jerome 1.1 414
Jerome 13.1 415 * The logging module is new and is still considered a "young API". Added new methods to manipulate loggers levels.(((
Jerome 1.1 416 {{code language="none"}}
Jerome 13.1 417 org.xwiki.logging.LoggerManager: Method 'public org.xwiki.logging.LogLevel getLoggerLevel(java.lang.String)' has been added to an interface
418 org.xwiki.logging.LoggerManager: Method 'public java.util.Collection getLoggers()' has been added to an interface
419 org.xwiki.logging.LoggerManager: Method 'public void setLoggerLevel(java.lang.String, org.xwiki.logging.LogLevel)' has been added to an interface
Jerome 1.1 420 {{/code}}
Jerome 13.1 421 )))
422 * Fix method name typo (adding new method). This interface is not really supposed to be implemented except by internal class.(((
423 {{code language="none"}}
424 org.xwiki.properties.PropertyDescriptor: Method 'public java.lang.reflect.Field getField()' has been added to an interface
425 {{/code}}
426 )))
Jerome 14.1 427 * New #isValid() method(((
Jerome 13.1 428 {{code language="none"}}
429 org.xwiki.extension.InstalledExtension: Method 'public boolean isValid(java.lang.String)' has been added to an interface
430 {{/code}}
431 )))
432 * The Extension module is relatively new and is still undergoing some API tuning. New method to access environment extension. Also added new methods to execute custom checking before installing/uninstalling an extension and new methods to access local:installed extensions.(((
433 {{code language="none"}}
434 org.xwiki.extension.handler.ExtensionHandler: Method 'public void checkInstall(org.xwiki.extension.Extension, java.lang.String, org.xwiki.job.Request)' has been added to an interface
435 org.xwiki.extension.handler.ExtensionHandler: Method 'public void checkUninstall(org.xwiki.extension.InstalledExtension, java.lang.String, org.xwiki.job.Request)' has been added to an interface
436 org.xwiki.extension.repository.CoreExtensionRepository: Method 'public org.xwiki.extension.CoreExtension getEnvironmentExtension()' has been added to an interface
437 org.xwiki.extension.repository.InstalledExtensionRepository: Method 'public org.xwiki.extension.InstalledExtension getInstalledExtension(org.xwiki.extension.ExtensionId)' has been added to an interface
438 org.xwiki.extension.repository.LocalExtensionRepository: Method 'public org.xwiki.extension.LocalExtension getLocalExtension(org.xwiki.extension.ExtensionId)' has been added to an interface
439 org.xwiki.job.Request: Method 'public boolean containsProperty(java.lang.String)' has been added to an interface
440 org.xwiki.job.Request: Method 'public java.lang.Object removeProperty(java.lang.String)' has been added to an interface
441 {{/code}}
442 )))
Jerome 14.1 443 * New methods in the oldcore/wikimacro bridge(((
444 {{code}}
445 org.xwiki.rendering.macro.wikibridge.WikiMacro: Method 'public org.xwiki.model.reference.DocumentReference getAuthorReference()' has been added to an interface
446 org.xwiki.rendering.macro.wikibridge.WikiMacroFactory: Method 'public boolean isAllowed(org.xwiki.model.reference.DocumentReference, org.xwiki.rendering.macro.wikibridge.WikiMacroVisibility)' has been added to an interface
447 {{/code}}
448 )))
449 * TODO Andreas: Explain why we have to break backward compatibility for the Chart module(((
450 {{code}}
451 org.xwiki.rendering.macro.chart.ChartDataSource: Field PARAMS has been removed, but it was previously a constant
452 org.xwiki.rendering.macro.chart.ChartDataSource: Field SOURCE has been removed, but it was previously a constant
453 org.xwiki.rendering.macro.chart.ChartMacroParameters: Method 'public java.util.Map getParametersMap()' has been removed
454 org.xwiki.chart.model.ChartModel: Method 'public org.jfree.chart.axis.Axis getAxis(int)' has been added to an interface
455 org.xwiki.chart.model.ChartModel: Method 'public java.lang.Number getCellValue(int, int)' has been removed
456 org.xwiki.chart.model.ChartModel: Method 'public int getColumnCount()' has been removed
457 org.xwiki.chart.model.ChartModel: Method 'public java.lang.String getColumnHeader(int)' has been removed
458 org.xwiki.chart.model.ChartModel: Method 'public org.jfree.data.general.Dataset getDataset()' has been added to an interface
459 org.xwiki.chart.model.ChartModel: Method 'public int getRowCount()' has been removed
460 org.xwiki.chart.model.ChartModel: Method 'public java.lang.String getRowHeader(int)' has been removed
461 org.xwiki.chart.model.DefaultChartModel: Class org.xwiki.chart.model.DefaultChartModel removed
462 {{/code}}
463 )))
464 * Removed protected method (registerWikiMacros) that was not supposed to be used from outside (was protected for unit tests hacks.)(((
465 {{code}}
466 com.xpn.xwiki.XWiki: Method 'protected void registerWikiMacros()' has been removed
467 {{/code}}
468 )))
469 * These classes below have never been used. It was supposed to be the start of the removal of Struts but since it hasn't progressed so far we're removing stray code from master. Experiments should be done on feature branches(((
470 {{code}}
471 org.xwiki.container.servlet.XWikiServlet: Class org.xwiki.container.servlet.XWikiServlet removed
472 {{/code}}
473 )))
474 * Added a new sendMessageFromTemplate method signature that uses a map of parameters instead of a VelocityContext(((
475 {{code}}
476 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 added to an interface
477 {{/code}}
478 )))

Get Connected