Wiki source code of Release Notes for XWiki 7.1

Version 9.2 by Jean SIMARD on 2015/06/16

Hide last authors
Ecaterina Moraru (Valica) 1.1 1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
5 This is the release notes for [[XWiki Commons>>]], [[XWiki Rendering>>]], [[XWiki Platform>>]] and [[XWiki Enterprise>>]]. They share the same release notes as they are released together and have the same version.
Ecaterina Moraru (Valica) 4.5 7 This release adds important changes and improvements for Extension Manager, Solr Search, Watchlist, a new experimental Flavors mechanism and a Debug mode for performance analysis.
Ecaterina Moraru (Valica) 1.1 8
Ecaterina Moraru (Valica) 4.5 9 Extension Manager provides a summary for the extension diff view in order to ease the navigation of the local code changes. A new Extension History section has also been added, offering support for selective export, import and replay of extension-related history records.
11 Solr Search UI is improved by making it responsive on small screens. The users can now sort, paginate and filter the search results without a page reload.
13 The Flavors and Watchlist Realtime option are currently still experimental, but you are encouraged to test them and provide feedback.
15 The WatchList performance has been improved, especially for the Realtime notification option. The Realtime Watchlist messages are displayed in a more user-friendly way, sending mails for a variety of events, threaded by your email client by the document they occurred in.
17 The Flavor mechanism is allowing the selection of Flavors in the wiki creation step. In the future, XWiki will offer different Flavors and these are steps towards this direction.
19 Under-the-hood there are various mail and job module improvements. The developers can now trigger old Prototype event listeners from jQuery and a new API is available to escape wiki syntax.
Ecaterina Moraru (Valica) 1.3 21 = New and Noteworthy (since XWiki 7.0) =
Ecaterina Moraru (Valica) 1.1 22
Ecaterina Moraru (Valica) 1.3 23 [[Full list of issues fixed and Dashboard for 7.1>>]].
Ecaterina Moraru (Valica) 1.1 24
Ecaterina Moraru (Valica) 1.7 25 == Extension Manager ==
Ecaterina Moraru (Valica) 1.1 26
Ecaterina Moraru (Valica) 1.9 27 === Diff View Summary ===
Ecaterina Moraru (Valica) 1.7 28
Ecaterina Moraru (Valica) 1.5 29 Since [[XWiki 7.0RC1>>ReleaseNotes.ReleaseNotesXWiki70RC1||anchor="HExtensionDiffView"]] you can view the local changes that have been made to the wiki pages of an installed extension. In this release we have improved the diff view by adding a summary that will help you navigate the changes.
Ecaterina Moraru (Valica) 1.1 30
Ecaterina Moraru (Valica) 1.6 31 {{image reference="[email protected]"/}}
Ecaterina Moraru (Valica) 1.5 32
Ecaterina Moraru (Valica) 1.11 33 === Extension History ===
35 The [[Extension Manager Application>>extensions:Extension.Extension Manager Application]] has a new section that shows the history of the extension-related actions (e.g. install, uninstall, repair, etc.) offering support for selective export, import and replay of history records. This basically means that an administrator can:
37 * keep track of the extensions that are installed/uninstalled on his wiki (see who performed the action and when, in reverse chronological order, most recent first)
38 * perform a couple of actions (e.g. install/upgrade a group of extensions) on a single wiki and then replay those actions on multiple wikis
40 {{image reference="[email protected]"/}}
Marius Dumitru Florea 3.1 42 ==== Replay an Upgrade ====
44 Using the new Extension History section you can record an upgrade performed with the Distribution Wizard and replay it on a different wiki. Check out the [[Distribution Wizard documentation>>platform:Features.DistributionWizard||anchor="HReplayInstallorUpgrade"]] for more details.
Ecaterina Moraru (Valica) 4.3 46 See the [[Extension Manager Application>>extensions:Extension.Extension Manager Application||anchor="HChanges"]] for more details.
Ecaterina Moraru (Valica) 1.7 48 == Solr Search ==
Ecaterina Moraru (Valica) 1.5 49
Ecaterina Moraru (Valica) 4.1 50 * We worked on making the search UI responsive on small screens. On mobile phones the list of search facets is now collapsed above the search results and the user can toggle it with a tap. We improved the way the search results of type Object and Object Property are displayed (check the result title and location / breadcrumb). We switched to using the icon themes for the search result icons and we also fixed some small spacing and alignment issues introduced by the migration from the old Colibri skin to the new Flamingo skin. Last but not least, we worked on refreshing the search UI without reloading the entire page when the user sorts the search results, uses the pagination or drills down the results using the search facets.(((
Ecaterina Moraru (Valica) 1.6 51 {{image reference="[email protected]"/}}
Ecaterina Moraru (Valica) 1.15 52 )))
Ecaterina Moraru (Valica) 4.1 53 * It's now possible to disable highlighting and faceting which are very slow tasks. Can be controlled directly from the search UI or from the Main.SolrSearchConfig document.(((
Ecaterina Moraru (Valica) 1.11 54 {{image reference="ReleaseNotesXWiki71RC1@solr_options.png"/}}
Ecaterina Moraru (Valica) 1.15 55 )))
Ecaterina Moraru (Valica) 1.5 57 See the [[Solr Search Application>>extensions:Extension.Solr Search Application]] documentation for more details.
Ecaterina Moraru (Valica) 1.7 59 == Watchlist ==
Ecaterina Moraru (Valica) 1.5 60
Ecaterina Moraru (Valica) 4.4 61 {{warning}}
62 The ##Realtime## option is currently experimental and disabled by default.
63 {{/warning}}
Ecaterina Moraru (Valica) 1.5 65 * The WatchList application now uses the new Mail API instead of the old and deprecated Mail Plugin.
66 * The WatchList Realtime notification option has been reworked and the previous performance penalty has been removed.
67 * A new option was added to Watch a page that was just shared by mail directly from the email's body.(((
Ecaterina Moraru (Valica) 1.6 68 {{image reference="[email protected]"/}}
Ecaterina Moraru (Valica) 1.5 69 )))
Ecaterina Moraru (Valica) 1.11 70 * The realtime watchlist messages are now handled separately from the schedules (hourly, daily, weekly) notifications. We have a separate template for them and, because of this, can now display them in a more user-friendly way and they can be threaded/grouped by your email client by the document they occurred in. For more information and screenshots, please see the [[documentation>>extensions:Extension.Watchlist Application||anchor="HRealtimenotifications"]].(((
71 {{image reference="ReleaseNotesXWiki71RC1@watchlistRealtimeChangesMailConversation.png"}}{{/image}}
72 )))
Ecaterina Moraru (Valica) 1.10 73 * Running multiple XWiki instances on the same machine is now possible without affecting WatchList's realtime email threading/grouping. See the [[documentation>>extensions:Extension.Watchlist Application||anchor="HMultipleXWikiinstancesonthesamemachine"]] for more details.
Ecaterina Moraru (Valica) 1.7 75 See the [[Watchlist Application>>extensions:Extension.Watchlist Application]] documentation for more details.
Ecaterina Moraru (Valica) 1.10 77 == Flavors ==
79 {{warning}}
80 This feature is experimental and not bundled in XWiki by default. However, you can install and try it, but only for test purpose.
81 {{/warning}}
Ecaterina Moraru (Valica) 4.1 83 * In the future, XWiki will offer different Flavors. A Flavor is a collection of applications. When you install a Flavor, you get a wiki fully configured for a use-case. In this release, we have implemented the ability to chose a Flavor when you create a new wiki.(((
Ecaterina Moraru (Valica) 1.10 84 {{image reference="[email protected]" width="50%"/}}
85 )))
Ecaterina Moraru (Valica) 4.1 87 * If no default distribution is configured, [[Distribution Wizard will now let you select the flavor to install>>platform:Features.DistributionWizard||anchor="HFlavor"]].(((
Ecaterina Moraru (Valica) 1.11 88 {{image reference="[email protected]"/}}
Ecaterina Moraru (Valica) 1.14 89 )))
Ecaterina Moraru (Valica) 1.11 90
Ecaterina Moraru (Valica) 1.10 91 See the [[Flavor Module>>extensions:Extension.Flavor Module]] documentation for more details.
Ecaterina Moraru (Valica) 1.16 93 == Debug mode ==
Ecaterina Moraru (Valica) 1.10 94
95 It's now possible to display various information about what happens during a request like the time spent on each step and sub steps.
Ecaterina Moraru (Valica) 1.11 96 The debug performance tree has been made a bit more dynamic to be able to open/close nodes.
Ecaterina Moraru (Valica) 1.10 97
Ecaterina Moraru (Valica) 1.13 98 {{image reference="[email protected]"/}}
Ecaterina Moraru (Valica) 1.10 99
100 == Miscellaneous ==
Ecaterina Moraru (Valica) 1.5 102 * The Script Macro has been improved to [[return any type of value even no binding is used to output content>>extensions:Extension.Script Macro||anchor="HReturn"]].
103 * The default Java version triggered as dependency for the Debian packages is not Java 8
104 * In the [[extensions:Extension.Administration Application]], when you change the space you are administrating, you don't lose the current section anymore (if the current section exists in that space).(((
Ecaterina Moraru (Valica) 1.6 105 {{image reference="[email protected]" width="50%"/}}
Ecaterina Moraru (Valica) 1.5 106 )))
107 * In edit mode, Password fields do not display the obfuscation placholder ({{{*******}}}) anymore when the password value is empty. For example this removes the confusion when editing the Mail Admin UI and users were thinking that the SMTP Server password was set.
108 * Not existing document won't end up in the document cache anymore. That mean request lots of not existing document won't ditch "real" documents from the cache anymore.
109 * In [[extensions:Extension.App Within Minutes Application]], the newly created applications don't have 'App Within Minutes' as parent, but the home page of the current wiki and their home page title doesn't contain the word 'Home' any more.
Ecaterina Moraru (Valica) 1.11 110 * The default document cache size has been increased from 100 to 500 elements
111 * Minor visual consistency improvement of the tag cloud header of the LiveTable
Ecaterina Moraru (Valica) 1.1 112
Ecaterina Moraru (Valica) 1.3 113 See the [[full list of JIRA issues>>]] fixed in this release.
Ecaterina Moraru (Valica) 1.1 114
115 = For Developers =
Ecaterina Moraru (Valica) 1.17 117 == Trigger Prototype Event Listeners from jQuery ==
Ecaterina Moraru (Valica) 1.1 118
Ecaterina Moraru (Valica) 1.17 119 The event listeners registered from Prototype are now notified when a custom XWiki event is fired using the jQuery API.
Ecaterina Moraru (Valica) 1.1 120
Ecaterina Moraru (Valica) 1.17 121 {{code language="js"}}
122 // Prototype (old code that you don't have time to rewrite)
123 document.observe('xwiki:dom:updated', function(event) {
124 event.memo.elements.each(function(element) {
125 // Do something.
126 });
127 });
128 ...
129 // jQuery (new code, in a different file/page)
130 require(['jquery', 'xwiki-events-bridge'], function($) {
131 $(document).trigger('xwiki:dom:updated', {'elements': $('.some-container').toArray()});
132 });
133 {{/code}}
135 See the [[developer's guide>>platform:DevGuide.JavaScriptAPI||anchor="HBridgingcustomXWikieventsbetweenPrototypeandjQuery"]] for more details.
137 == Integration tests for JavaScript with Jasmine + RequireJS + WebJars ==
139 Using Jasmine, we have written a few integration tests for JavaScript code that uses AMD (RequireJS) and that has dependencies packaged as Webjars. We found out that the Jasmine Maven Plugin has support for both [[AMD>>]] and [[WebJars>>]]. You can check out this [[commit>>]] to see how we configured the plugin in case you want to write similar tests for your extension or module.
Ecaterina Moraru (Valica) 1.18 141 == Mail API Improvements ==
Ecaterina Moraru (Valica) 1.17 142
Ecaterina Moraru (Valica) 1.18 143 * Send prepared mime message to multiple users as independent message. A new mime message cloning factory (hint "message") is available to be used with iterator factories. It duplicates a given source message as is, to allow sending it to multiple users as independent messages. See [[Example 5>>extensions:Extension.Mail Sender API||anchor="HExample5:SendapreparedMimeMessagetoalistofUsersandGroups"]] of the documentation for a sample.
144 * Mail API has been slightly modified to fix a bug when waiting for all mails to have been processed (the ##waitForProcessing()## wasn't really waiting!). As a consequence calls to ##MailResult.waitTillProcessed(long timeout)## and ##MailResult.isProcessed()## have been replaced by calls to ##MailStatusResult.waitTillProcessed(long timeout)## and ##MailStatusResult.isProcessed()##. Note that for backward compatibility reason the scripting API still supports the old API (but it's deprecated and you should move your code to use the new API).
145 * Mail Status Store API has been refactored to provides ordered result based on any status fields. A new method also ease loading a single status for a given messageId.
146 * When evaluating Velocity in Mail Templates, the Execution Context used is a clone of the one that was available when the ##send*(...)## method was called. Thus all Velocity bindings that were present are available from your Mail Template.
Ecaterina Moraru (Valica) 1.17 147
Ecaterina Moraru (Valica) 1.18 148 == Job Progress Improvements ==
150 It's now possible to associate message to each step of the progress. Also a new API have been added to make easier to notify about progress in scripts.
151 See for more details.
153 The progress is now a tree of step with an associated message and elapsed time for each one which can be retrieved during or after the progress is done. It's also automatically serialized in jobs statuses.
155 == Script oriented advanced extension search API ==
157 A new script oriented API has been added to use advanced extension search possibilities introduced in 7.0. See [[extensions:Extension.Extension Script Module||anchor="HSearch"]].
159 == Record and Replay Extension Actions ==
161 The [[Extension Module>>extensions:Extension.Extension Script Module]] has a new script service to access the extension history and to replay recorded history actions. The extension history records the extension related jobs (e.g. install, uninstall, etc.) along with the decisions taken by the user during the job execution (e.g. merge conflicts, delete unused pages). This means for instance that you can replay an upgrade without the need to handle again the merge conflicts.
163 The recording is performed by listening to the [[job events>>extensions:Extension.Job Module||anchor="HEvents"]] fired during the execution of an extension action, including the new ##QuestionAskedEvent## and ##QuestionAnsweredEvent## introduced in this release.
Ecaterina Moraru (Valica) 1.4 165 {{comment}}
Ecaterina Moraru (Valica) 1.1 166 == Deprecated and Retired projects ==
168 <description of deprecated and retired projects>
Ecaterina Moraru (Valica) 1.4 169 {{/comment}}
Ecaterina Moraru (Valica) 1.1 170
Ecaterina Moraru (Valica) 1.8 171 == Miscellaneous ==
Ecaterina Moraru (Valica) 1.17 173 * The XAR plugin's ##verify## mojo has been [[improved to allow passing a list of regexes to identify content and technical pages>>dev:Community.XARPlugin]]. For example:(((
174 {{code language="xml"}}
175 <plugin>
176 <groupId>org.xwiki.commons</groupId>
177 <artifactId>xwiki-commons-tool-xar-plugin</artifactId>
178 ...
179 <configuration>
180 ...
181 <!-- Consider all pages named *Translations as content pages by default -->
182 <contentPages>
183 <contentPage>.*Translations\.xml</contentPage>
184 </contentPages>
185 <!-- The EditTranslations page is not a Translation page and thus not a content page! -->
186 <technicalPages>
187 <technicalPage>EditTranslations\.xml</technicalPage>
188 </technicalPages>
189 </configuration>
190 </plugin>
191 {{/code}}
192 )))
193 * New ##$services.rendering.escape($content, $syntax)## method to escape XWiki syntax. See [[the documentation>>extensions:Extension.Rendering Module||anchor="HRenderingScriptService"]].
194 * The HTML5 renderer is now bundled in XWiki Enterprise.
195 * Added a new ##objectPolicy=updateOrCreate## parameter to the save action that allows editing and creating objects in one request. For more details, see [[the documentation>>platform:DevGuide.Standard URL Format||anchor="HParameter:objectPolicy"]].
196 * It is now possible to select the output syntax of a skin, in order to use the correct renderer.
197 * Ability to [[register a custom Resource Type>>extensions:Extension.Resource API||anchor="HAddinganewResourceTypeHandler"]].
198 * The WebJar integration now registers a ##webjar## URL type using a [[Resource Handler>>extensions:Extension.Resource API]] (it was reusing the ##bin## URL type before). The new WebJAR URL format is:(((
199 {{code language="none"}}
200 http://<server>/<context path>/webjars/<path/to/resource>[?version=<version>&evaluate=true|false]
201 {{/code}}
Ecaterina Moraru (Valica) 1.8 202
Ecaterina Moraru (Valica) 1.17 203 Note that you should use the [[exposed Script Service method to compute a WebJAR URL>>extensions:Extension.WebJars Integration]].
204 )))
205 * The mime type of uploaded attachment is now automatically stored in the database and won't be recalculated each time it's asked. Also a new API has been introduced in ##com.xpn.xwiki.doc.XWikiAttachment## to change it if needed.
206 * The ConfigurableClass mechanism now supports adding field hints / descriptions. See the [[documentation>>extensions:Extension.Administration Application||anchor="HFieldsyoucandefine"]].
207 * The ##xwiki-platform-legacy-crypto-script## legacy module has been removed as it was conflicting with the Bouncy Castle 1.52 upgrade and we considered that there was little chance that this module was used anywhere in any extension. If by chance (so to speak) you were using it, you'd need to use the newer ##xwiki-platform-crypto-script## module and rebuild your extension with it.
208 * Added advanced search support to ##org.xwiki.extension.repository.ExtensionRepositoryManager##
209 * The Velocity macros from the ##Main.SolrSearch## page have been moved to a separate page, ##Main.SolrSearchMacros##, which should ease the creation of a custom search page (e.g. if you want reuse some macros and to overwrite others).
210 * Added callable support to JobProgressManager. See [[extensions:Extension.Job Module||anchor="HNotifyaboutprogress"]].
Ecaterina Moraru (Valica) 1.18 211 * Extension upgrade plan job now support checking specific list of installed extensions (instead of the top level installed extensions)
212 * You can now [[disable the automatic start of Distribution Wizard>>platform:Features.DistributionWizard||anchor="HDisabletheautomaticstartofDistributionWizard"]] with two new options.
213 * It's possible to disable minification from configuration file. Set ##debug.minify## to ##false##.
Ecaterina Moraru (Valica) 1.17 214
Ecaterina Moraru (Valica) 1.1 215 == Upgrades ==
217 The following dependencies have been upgraded:
Ecaterina Moraru (Valica) 1.17 219 * [[commons-lang3 3.4>>]]
Thomas Mortagne 9.1 220 * [[Bootstrap 3.3.4>>]]
221 * [[Bootswatch 3.3.4+1>>]]
Ecaterina Moraru (Valica) 1.17 222 * [[Bouncy Castle 1.52>>]]
Thomas Mortagne 9.1 223 * [[cssparser 0.9.15>>]]
224 * [[Groovy 2.4.3>>]]
225 * [[httpclient and httpcore 4.4.1>>]]
Ecaterina Moraru (Valica) 1.17 226 * [[Infinispan 7.1.1>>]]
Thomas Mortagne 9.1 227 * [[Infinispan 7.2.1>>]]
228 * [[Infinispan 7.2.2>>]]
229 * [[JGroups 3.6.3>>]]
Ecaterina Moraru (Valica) 1.17 230 * [[Jython 2.7.0>>]]
Thomas Mortagne 9.1 231 * [[Less4j 1.11.0>>]]
232 * [[logback 1.1.3>>]]
Ecaterina Moraru (Valica) 1.17 233 * [[Lucene and Solr 4.10.4>>]]
Thomas Mortagne 9.1 234 * [[Maven 3.3.3>>]]
Ecaterina Moraru (Valica) 1.17 235 * [[org.eclipse.sisu.plexus to 0.3.1>>]]
Thomas Mortagne 9.1 236 * [[Quartz 2.2.1>>]]
Ecaterina Moraru (Valica) 1.18 237 * [[reflections 0.9.10>>]]
Thomas Mortagne 9.1 238 * [[sisu-guice 3.2.6>>]]
239 * [[slf4j 1.7.12>>]]
240 * [[Tika 1.8>>]]
Ecaterina Moraru (Valica) 1.1 241
242 = Translations =
244 The following translations have been updated:
Ecaterina Moraru (Valica) 4.1 246 {{language codes="de,fr,lv,sv,pt_BR"/}}
Ecaterina Moraru (Valica) 1.1 247
Ramona Conoro 6.1 248
Ecaterina Moraru (Valica) 1.1 249 = Tested Browsers & Databases =
Ramona Conoro 6.1 251 {{include reference="TestReports.ManualTestReportSummaryXWiki7.1"/}}
Ecaterina Moraru (Valica) 1.1 252
Ramona Conoro 6.1 253
Ecaterina Moraru (Valica) 1.3 254 {{comment}}
255 = Performances tests compared to 6.4.4 =
Ecaterina Moraru (Valica) 1.1 256
257 <a summary of the comparison with latest super stable version>
259 More details on <link to the test report>.
Ecaterina Moraru (Valica) 1.3 260 {{/comment}}
Ecaterina Moraru (Valica) 1.1 261
262 = Known issues =
264 * [[Bugs we know about>>]]
266 = Backward Compatibility and Migration Notes =
268 == General Notes ==
270 When upgrading make sure you compare your ##xwiki.cfg##, and ##web.xml## files with the newest version since some configuration parameters may have been modified or added. Note that you should add so that XWiki will attempt to automatically migrate your current database to the new schema. Make sure you backup your Database before doing anything.
Ecaterina Moraru (Valica) 1.3 272 {{comment}}
273 == Issues specific to XWiki 7.1 ==
Ecaterina Moraru (Valica) 1.1 274
275 <issues specific to the project>
Ecaterina Moraru (Valica) 1.3 276 {{/comment}}
Ecaterina Moraru (Valica) 1.1 277
Ecaterina Moraru (Valica) 1.19 278 == Mail API changes ==
280 The young mail API has been refactored to provide better and more detailed error reporting.
282 The MailState enumeration has been extended to report more detailed mail state (##prepare_success##, ##prepare_error##, ##send_success##, ##send_error## and ##send_fatal_error##). The MailListener interface has been extended to provide more detailed event. Now each mail batch should use new independent listener. The listener receive the batch identifier of its own batch when the mail preparation starts (###onPrepareBegin()##), and have to keep it for all subsequent events. Independent success and error events for both the prepare and send phases are provided for each message (###onPrepareMessageSuccess()##, ###onPrepareMessageError()##, ###onSendMessageSuccess()##, ###onSendMessagError()##). Moreover, premature interruption of the prepare phase is caught and reported (###onPrepareFatalError##). Inability of the send phase to retrieve a message for sending is also explicitly reported (###onSendMessageFatalError()##).
284 There is now more than one message state representing an error, therefore, the MailStatusResult interface has been extended with a ###getAllError()## method to retrieve all message status in error. Moreover, the ###getTotalMailCount()# may represent a partial total in case of failure of the prepare phase. In that case, it represents the number of mails sent to the send phase. As a consequence, ###isProcessed()# and ###waitTillProcess()# now considerer the batch to be processed when all successfully prepared mail has been sent, or failed to be prepared or sent.##
286 The mail API is now tracking individual message based on the standard Message-ID headers, which made it fully compliant with RFC-822 WRT the mail identification. Caller that want to specify custom Message-ID may do so by extending MimeMessage to preserve the Message-ID of the message. Caller is also responsible to ensure that different messages are identified by unique message identifier.
288 {{warning}}
289 Sending multiple messages with the same Message-ID is no more supported since it does not respect the RFC-822 standard.
290 {{/warning}}
292 Reusing the same Message-ID for retrying a failed message is allowed and will be tracked by the same status if the batch identifier is also reused.
Ecaterina Moraru (Valica) 1.1 294 == API Breakages ==
Ecaterina Moraru (Valica) 1.3 296 The following APIs were modified since XWiki 7.0.1:
Ecaterina Moraru (Valica) 1.1 297
Ecaterina Moraru (Valica) 1.20 298 * Add support for advanced search(((
Ecaterina Moraru (Valica) 1.1 299 {{code language="none"}}
Ecaterina Moraru (Valica) 1.20 300 org.xwiki.extension.repository.ExtensionRepositoryManager: Method 'public org.xwiki.extension.repository.result.IterableResult search(' has been added to an interface
Ecaterina Moraru (Valica) 1.1 301 {{/code}}
Ecaterina Moraru (Valica) 1.20 302 )))
Ecaterina Moraru (Valica) 1.21 303 * Add support for named steps(((
Ecaterina Moraru (Valica) 1.20 304 {{code language="none"}}
Ecaterina Moraru (Valica) 1.21 305 org.xwiki.job.event.status.JobProgress: Method 'public org.xwiki.job.event.status.JobProgressStep getCurrentStep()' has been added to an interface
306 org.xwiki.job.event.status.JobProgress: Method 'public org.xwiki.job.event.status.JobProgressStep getRootStep()' has been added to an interface
307 org.xwiki.job.event.status.JobProgressManager: Method 'public void endStep(java.lang.Object)' has been added to an interface
308 org.xwiki.job.event.status.JobProgressManager: Method 'public void pushLevelProgress(java.lang.Object)' has been added to an interface
309 org.xwiki.job.event.status.JobProgressManager: Method 'public void startStep(java.lang.Object)' has been added to an interface
310 org.xwiki.job.event.status.JobProgressManager: Method 'public void startStep(java.lang.Object, java.lang.String)' has been added to an interface
311 org.xwiki.job.event.status.JobProgressManager: Method 'public void startStep(java.lang.Object, java.lang.String, java.lang.String, java.lang.Object[])' has been added to an interface
312 org.xwiki.job.event.status.JobProgressManager: Method 'public void startStep(java.lang.Object, org.xwiki.logging.Message)' has been added to an interface
Ecaterina Moraru (Valica) 1.20 313 {{/code}}
314 )))
Ecaterina Moraru (Valica) 1.21 315 * Add new helper(((
Ecaterina Moraru (Valica) 1.20 316 {{code language="none"}}
Ecaterina Moraru (Valica) 1.21 317 org.xwiki.job.event.status.JobProgressManager: Method 'public java.lang.Object call(java.util.concurrent.Callable, java.lang.Object)' has been added to an interface
318 org.xwiki.job.event.status.JobProgressManager: Method 'public java.lang.Object call(java.util.concurrent.Callable, int, java.lang.Object)' has been added to an interface
Ecaterina Moraru (Valica) 1.20 319 {{/code}}
320 )))
Ecaterina Moraru (Valica) 1.21 321 * Add a new method to this young API(((
Ecaterina Moraru (Valica) 1.20 322 {{code language="none"}}
Ecaterina Moraru (Valica) 1.21 323 Method 'public org.xwiki.rendering.syntax.Syntax getOutputSyntax()' has been added to an interface
Ecaterina Moraru (Valica) 1.20 324 {{/code}}
325 )))
326 * Not really been removed but now return Object. Breaks code building that use this method but should be ok for runtime.(((
327 {{code language="none"}}
328 com.xpn.xwiki.XWiki: Method 'public com.xpn.xwiki.render.XWikiRenderingEngine getRenderingEngine()' has been removed
329 {{/code}}
330 )))
331 * Not used since a long time now (XWikiRenderingEngine is a component) and impossible to implement it without a trigerring most of the old rendering engine.(((
332 {{code language="none"}}
333 com.xpn.xwiki.XWiki: Method 'public void setRenderingEngine(com.xpn.xwiki.render.XWikiRenderingEngine)' has been removed
334 {{/code}}
335 )))
Ecaterina Moraru (Valica) 1.21 336 * Young API. Added handling of URL parameters(((
Ecaterina Moraru (Valica) 1.20 337 {{code language="none"}}
Ecaterina Moraru (Valica) 1.21 338 org.xwiki.url.ExtendedURL: In method 'public ExtendedURL(' the number of arguments has changed
Ecaterina Moraru (Valica) 1.20 339 {{/code}}
340 )))
341 * Never supposed to be an API(((
342 {{code language="none"}}
343 com.xpn.xwiki.plugin.scheduler.StatusListener: Class com.xpn.xwiki.plugin.scheduler.StatusListener removed
344 {{/code}}
345 )))
Ecaterina Moraru (Valica) 1.21 346 * Young API. Remove useless Session argument since the MimeMessage will be given a valid Session when it's deserialized from the mail content store for sending.(((
Ecaterina Moraru (Valica) 1.20 347 {{code language="none"}}
Ecaterina Moraru (Valica) 1.21 348 org.xwiki.mail.MimeMessageFactory: In method 'public java.lang.Object createMessage(javax.mail.Session, java.lang.Object, java.util.Map)' the number of arguments has changed
Ecaterina Moraru (Valica) 1.20 349 {{/code}}
350 )))
Ecaterina Moraru (Valica) 1.21 351 * Young API. Allow load a single message status and added sorting capabilities for multiple statuses.(((
352 {{code language="none"}}
353 org.xwiki.mail.MailStatusStore: In method 'public java.util.List load(java.util.Map, int, int)' the number of arguments has changed
354 org.xwiki.mail.MailStatusStore: Return type of method 'public java.util.List load(java.util.Map, int, int)' has been changed to org.xwiki.mail.MailStatus
355 org.xwiki.mail.MailStatusStore: Method 'public java.util.List load(java.util.Map, int, int, java.lang.String, boolean)' has been added to an interface
356 {{/code}}
357 )))
Thomas Mortagne 7.1 358 * Young API. Added explicit batchId argument to stop storing batchId in mime headers.(((
Ecaterina Moraru (Valica) 5.1 359 {{code language="none"}}
360 org.xwiki.mail.MailContentStore: In method 'public void save(javax.mail.internet.MimeMessage)' the number of arguments has changed
361 org.xwiki.mail.MailStatus: In method 'public MailStatus(javax.mail.internet.MimeMessage, org.xwiki.mail.MailState)' the number of arguments has changed
362 {{/code}}
363 )))
364 * Young API. Improve states and listener to provide more detailled and better reporting.(((
365 {{code language="none"}}
366 org.xwiki.mail.MailListener: Method 'public void onError(javax.mail.internet.MimeMessage, java.lang.Exception, java.util.Map)' has been removed
367 org.xwiki.mail.MailListener: Method 'public void onPrepare(javax.mail.internet.MimeMessage, java.util.Map)' has been removed
368 org.xwiki.mail.MailListener: Method 'public void onPrepareBegin(java.lang.String, java.util.Map)' has been added to an interface
369 org.xwiki.mail.MailListener: Method 'public void onPrepareEnd(java.util.Map)' has been added to an interface
370 org.xwiki.mail.MailListener: Method 'public void onPrepareFatalError(java.lang.Exception, java.util.Map)' has been added to an interface
371 org.xwiki.mail.MailListener: Method 'public void onPrepareMessageError(javax.mail.internet.MimeMessage, java.lang.Exception, java.util.Map)' has been added to an interface
372 org.xwiki.mail.MailListener: Method 'public void onPrepareMessageSuccess(javax.mail.internet.MimeMessage, java.util.Map)' has been added to an interface
373 org.xwiki.mail.MailListener: Method 'public void onSendMessageError(javax.mail.internet.MimeMessage, java.lang.Exception, java.util.Map)' has been added to an interface
374 org.xwiki.mail.MailListener: Method 'public void onSendMessageFatalError(java.lang.String, java.lang.Exception, java.util.Map)' has been added to an interface
375 org.xwiki.mail.MailListener: Method 'public void onSendMessageSuccess(javax.mail.internet.MimeMessage, java.util.Map)' has been added to an interface
376 org.xwiki.mail.MailListener: Method 'public void onSuccess(javax.mail.internet.MimeMessage, java.util.Map)' has been removed
377 org.xwiki.mail.MailState: Removed field FAILED
378 org.xwiki.mail.MailState: Removed field READY
379 org.xwiki.mail.MailState: Removed field SENT
380 {{/code}}
381 )))
Ecaterina Moraru (Valica) 1.21 382 * Young API. Large refactoring for adding the ability to register new URL Resource Types(((
383 {{code language="none"}}
384 org.xwiki.resource.AbstractResourceReference: Parameter 2 of 'public void addParameter(java.lang.String, java.lang.String)' has changed its type to java.lang.Object
385 org.xwiki.resource.ResourceReference: Parameter 2 of 'public void addParameter(java.lang.String, java.lang.String)' has changed its type to java.lang.Object
386 org.xwiki.resource.ResourceReferenceHandlerManager: Method 'public boolean canHandle(java.lang.Object)' has been added to an interface
387 org.xwiki.resource.ResourceReferenceResolver: Removed field TYPE_URL
388 org.xwiki.resource.ResourceReferenceResolver: In method 'public org.xwiki.resource.ResourceReference resolve(java.lang.Object, java.util.Map)' the number of arguments has changed
389 org.xwiki.resource.ResourceType: Method 'public org.xwiki.resource.ResourceType fromString(java.lang.String)' has been removed
390 {{/code}}
391 )))
Thomas Mortagne 7.1 392 * Young API. This method should not have been public from the start(((
Ecaterina Moraru (Valica) 5.1 393 {{code language="none"}}
394 org.xwiki.mail.script.AbstractMailScriptService: Accessibility of method 'public org.xwiki.mail.script.ScriptMailResult sendAsynchronously(java.lang.Iterable, org.xwiki.mail.MailListener, boolean)' has been decreased from public to protected
395 {{/code}}
396 )))
Ecaterina Moraru (Valica) 1.21 397 * Young API. Rename MimeMessageWrapper into ScriptMimeMessage (not a wrapper anymore). Velocity scripts are not affected by the change.(((
398 {{code language="none"}}
399 org.xwiki.mail.script.MailSenderScriptService: Return type of method 'public org.xwiki.mail.script.MimeMessageWrapper createMessage(java.lang.String, java.lang.Object, java.util.Map)' has been changed to org.xwiki.mail.script.ScriptMimeMessage
400 org.xwiki.mail.script.MailSenderScriptService: Return type of method 'public org.xwiki.mail.script.MimeMessageWrapper createMessage(java.lang.String, java.lang.Object)' has been changed to org.xwiki.mail.script.ScriptMimeMessage
401 org.xwiki.mail.script.MailSenderScriptService: Return type of method 'public org.xwiki.mail.script.MimeMessageWrapper createMessage()' has been changed to org.xwiki.mail.script.ScriptMimeMessage
402 org.xwiki.mail.script.MailSenderScriptService: Return type of method 'public org.xwiki.mail.script.MimeMessageWrapper createMessage(java.lang.String, java.lang.String)' has been changed to org.xwiki.mail.script.ScriptMimeMessage
403 org.xwiki.mail.script.MailSenderScriptService: Return type of method 'public org.xwiki.mail.script.MimeMessageWrapper createMessage(java.lang.String, java.lang.String, java.lang.String)' has been changed to org.xwiki.mail.script.ScriptMimeMessage
404 org.xwiki.mail.script.MimeMessageWrapper: Class org.xwiki.mail.script.MimeMessageWrapper removed
405 {{/code}}
406 )))
407 * Young API. Change of API to fix bug in waitForProcessin(). Scripting API has not been broken, only the Java API has(((
408 {{code language="none"}}
409 org.xwiki.mail.MailResult: Method 'public boolean isProcessed()' has been removed
410 org.xwiki.mail.MailResult: Method 'public void waitTillProcessed(long)' has been removed
411 org.xwiki.mail.MailStatusResult: Method 'public long getProcessedMailCount()' has been added to an interface
412 org.xwiki.mail.MailStatusResult: Method 'public long getSize()' has been removed
413 org.xwiki.mail.MailStatusResult: Method 'public long getTotalMailCount()' has been added to an interface
414 org.xwiki.mail.MailStatusResult: Method 'public boolean isProcessed()' has been added to an interface
415 org.xwiki.mail.MailStatusResult: Method 'public void waitTillProcessed(long)' has been added to an interface
Ecaterina Moraru (Valica) 5.1 416 org.xwiki.mail.MailStatusResult: Method 'public java.util.Iterator getAllErrors()' has been added to an interface
Ecaterina Moraru (Valica) 1.21 417 {{/code}}
418 )))
419 * Young API. Class moved to the "script" package. Script service usage is unchanged.(((
420 {{code language="none"}}
421 org.xwiki.mail.MailStorageScriptService: Class org.xwiki.mail.MailStorageScriptService removed
422 {{/code}}
423 )))

Get Connected