Wiki source code of Release Notes for XWiki 5.2

Version 23.2 by Vincent Massol on 2013/11/09

Hide last authors
Marius Dumitru Florea 1.1 1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 This is the release notes for [[XWiki Commons>>http://commons.xwiki.org]], [[XWiki Rendering>>http://rendering.xwiki.org]], [[XWiki Platform>>http://platform.xwiki.org]] and [[XWiki Enterprise>>http://enterprise.xwiki.org]]. They share the same release notes as they are released together and have the same version.
6
Marius Dumitru Florea 9.3 7 {{warning}}
8 **The support of XWiki Enterprise Manager is stopped**. XWiki Enterprise now comes with the ability to create (sub)wikis by default, see below.
9 {{/warning}}
10
Vincent Massol 17.1 11 {{error}}
Vincent Massol 23.1 12 We've discovered several important regressions in this version after it was released:
Vincent Massol 22.1 13 * Several RSS feed regression ([[XWIKI-9576>>http://jira.xwiki.org/browse/XWIKI-9576]] and [[XWIKI-9610>>http://jira.xwiki.org/browse/XWIKI-9610]]): Makes some RSS readers show duplicate entries (for readers who use a Feed entry's URL as its unique id).
Vincent Massol 20.1 14 * [[a Watchlist regression>>http://jira.xwiki.org/browse/XWIKI-9601]]: Links in the HTML email sent by the Watchlist do not work anymore.
Vincent Massol 21.1 15 * Any Scheduler job that computes external URLs will have the generated URL be empty.
Vincent Massol 22.1 16 * [[Image attachments don't appear in the PDF export if their URL contains special characters>>http://jira.xwiki.org/browse/XWIKI-9611]].
Vincent Massol 23.1 17 * PDF export missing images
Vincent Massol 20.1 18
19 They are fixed in XWiki 5.2.1 and 5.3 Milestone 1 and can also be patched in your instance (see the issue for details).
Vincent Massol 17.1 20 {{/error}}
21
Marius Dumitru Florea 14.1 22 This release comes with multiwiki support enabled by default: users are able to create new wikis without the need to install additional extensions. This is possible because the Workspace Application has been integrated in XWiki Enterprise. We stopped the support for XWiki Enterprise Manager as a consequence. Apart from this, the new release brings a Solr-based live search (to replace the one based on Lucene) and the ability to track active XWiki installs. The Distribution Wizard has a new step to upgrade all wikis. Developers will be interested by the new Wiki Stream framework which can already be used to export large wikis in XAR format. A lot of bug fixes (135) and many improvements (50) complete this release and make it worth trying.
Marius Dumitru Florea 1.1 23
Marius Dumitru Florea 2.1 24 = New and Noteworthy (since XWiki 5.1) =
Marius Dumitru Florea 1.1 25
Marius Dumitru Florea 2.1 26 [[Full list of issues fixed and Dashboard for 5.2>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=11602]].
Marius Dumitru Florea 1.1 27
Marius Dumitru Florea 9.1 28 == Multi-wiki Support ==
Marius Dumitru Florea 1.1 29
Marius Dumitru Florea 9.4 30 XWiki Enterprise comes now with the ability for users to create their own wikis (a.k.a subwikis) without the need to install additional extensions. This supersedes the notion of "workspace" and consists in the integration of the [[Workspace Application>>extensions:Extension.Workspace Application]] in the default XWiki distribution.
Marius Dumitru Florea 1.1 31
Marius Dumitru Florea 9.1 32 {{image reference="ReleaseNotesXWiki52M2@add-wiki.png"/}}
33
34 This new menu entry appears only if a wiki template is created first, see below.
35
36 === Wiki Creation Right ===
37
38 The wiki creation is now possible for users who have the "createwiki" right. This right is only available for the main wiki users, exactly like the Programming Right.
39
Marius Dumitru Florea 9.2 40 === Wikis Administration Section ===
Marius Dumitru Florea 9.1 41
42 A new section is available in the administration of the main wiki. In this section, you can enable the wiki creation feature by creating a wiki template. It also manages who has the right to create new wikis.
43
44 {{image reference="ReleaseNotesXWiki52M2@admin-wikis.png"/}}
45
Marius Dumitru Florea 9.2 46 === Wiki Creation Wizard ===
Marius Dumitru Florea 9.1 47
48 A new wizard for the creation of a new wiki is now available from the "Add" menu.
49
50 {{image reference="ReleaseNotesXWiki52M2@createwiki1.png"/}}
51
52 {{image reference="ReleaseNotesXWiki52M2@createwiki2.png"/}}
53
54 === Home Menu ===
55
56 A new top level menu is available when there is more than one wiki.
57
58 {{image reference="ReleaseNotesXWiki52RC1@mainwiki-homemenu.png"/}}
59
60 {{image reference="ReleaseNotesXWiki52RC1@workspace-homemenu.png"/}}
61
62 The "main wiki" (the first you have when you start a new instance) is now called "**Home**".
63
Marius Dumitru Florea 10.1 64 == Solr-based Search Suggest ==
65
66 Starting with this version the [[search suggest>>doc:extensions:Extension.Search Application||anchor="HSearchSuggest"]] feature takes into account the configured search engine. To achieve this we added a new property to ##SearchSuggestSourceClass## that specifies the search engine used by the source. We also created a search suggest service based on Solr and we added search suggest sources that mimic the behaviour of the existing Lucene-based sources. As a result, the search suggest feature is now using Solr by default (as Solr is the default search engine starting with 5.1).
67
68 We also improved the search suggest administration section
69
70 {{image reference="ReleaseNotesXWiki52M2@searchSuggestAdminSection.png"/}}
71
72 and we simplified the source creation form.
73
74 {{image reference="ReleaseNotesXWiki52M2@searchSuggestSourceForm.png"/}}
75
Marius Dumitru Florea 11.1 76 The live search now displays a message when there are no results.
77
78 {{image reference="ReleaseNotesXWiki52RC1@liveSearch-noResults.png"/}}
79
Marius Dumitru Florea 10.1 80 == Distribution Wizard Step to Upgrade All Wikis ==
81
82 We added a new step to the [[Distribution Wizard>>doc:platform:Features.DistributionWizard]] to update the default set of wiki pages on each of the existing wikis. This step is triggered only if you choose to upgrade the entire farm in the "Upgrade Mode" step.
83
84 {{image reference="ReleaseNotesXWiki52RC1@dw-wikisStep.png" width="600px"/}}
85
86 == Active Installs Tracking ==
87
88 It' very important for the open source committers to understand how well or how badly they're faring when developing the XWiki open source project. So far we didn't know if the number of people using XWiki was increasing, decreasing or staying stable. This module allows us to know who's using XWiki.
89
90 It does the following:
91
92 * A client side JAR is bundled with XWiki and it sends a ping with data once per day
93 * A server side Application is installed on xwiki.org, allowing us to query the data sent and to display a counter of Active Installs of XWiki (i.e. installs for which we've received a ping in the last N days, for example at least one ping in the past month).
94
95 The data sent is anonymous and consists of the following:
96
97 * A unique id (UUID) representing the XWiki instance. Note that not even the IP is kept and there's no way to find who's having a give UUID (it's generated using Java's UUID implementation)
98 * The date of the ping
Marius Dumitru Florea 11.1 99 * The XWiki distribution id (e.g. ##org.xwiki.enterprise:xwiki-enterprise-web##)
100 * The version of your XWiki distribution (e.g. ##5.2##)
Marius Dumitru Florea 10.1 101 * The technical ids and versions of extensions you have installed.
102
103 This will allow us to present the following data:
104
105 * Number of total installs of XWiki
106 * Number of Active Installs
107 * Most used extensions across versions of XWiki
108 * How frequently the XWiki user base upgrades to newer versions of XWiki
109
110 {{image reference="ReleaseNotesXWiki52M2@stats.png"/}}
111
112 {{info}}
113 In the near future we'll offer a UI feature to opt-out (in the Administration pages) but at the moment if you wish to opt-out (please don't, we need your help, knowing who's using us and that it's growing is what keeps us motivated to continue developing XWiki!), then simply remove the ##WEB-INF/lib/xwiki-platform-activeinstalls*## JAR and restart.
114 {{/info}}
115
116 Reference documentation:
117
118 * [[Client side module>>extensions:Extension.Active Installs Client API]].
119 * [[Server side module>>extensions:Extension.Active Installs Server Application]].
120
Marius Dumitru Florea 9.1 121 == Toggle Email Address Obfuscation ==
122
123 The email configuration section in the [[Administration>>doc:extensions:Extension.Administration Application]] now has an option to enable/disable the obfuscation of the email addresses that are stored in object properties of [[type Email>>ReleaseNotes.ReleaseNotesXWiki42||anchor="HNewfieldtypesforemailandlistofpages"]]. The obfuscation is done by displaying only the first letter of the email account, e.g. //a...@domain.org//, the rest of the letters being replaced by an ellipsis. Email obfuscation is off by default.
124
125 {{image reference="ReleaseNotesXWiki52M1@generalEmailSettings.png"/}}
126
Marius Dumitru Florea 10.1 127 == Markdown Syntax 1.1 ==
128
129 We've added [[version 1.1 of the Rendering Syntax for Markdown>>rendering:Main.Markdown11]], adding support for:
130
131 * Macros
132 * Superscript and subscript
133 * (X)HTML improvements
134
135 == Export Large Wikis as XARs ==
136
137 It's possible to enable the use of new [[WikiStream>>doc:extensions:Extension.Wiki Stream Module]] framework in standard export action (use in the standard export UI for example). Among other things it allows exporting a wiki of pretty much any size.
138
139 [[WikiStream>>doc:extensions:Extension.Wiki Stream Module]] is too young to be enabled by default and will require heavy testing. In the meantime you can try it by uncommenting {{code}}# xwiki.action.export.xar.usewikistream=1{{/code}} at the end of xwiki.cfg file.
140
Marius Dumitru Florea 1.1 141 == Miscellaneous ==
142
Guillaume Delhumeau 18.1 143 * The blog application is now packaged by default in the Home wiki only (not in new wikis).
Guillaume Delhumeau 19.1 144
145 {{error}}
Guillaume Delhumeau 19.4 146 In the case you are using the blog application in your subwiki, **the upgrade will remove it**. You will have to **install the blog application again** through the [[extension manager>>extensions:Extension.Extension Manager Application]], but **you should take care if you have customized it**.
Guillaume Delhumeau 19.1 147 {{/error}}
148
Marius Dumitru Florea 11.1 149 * {{id name="userVerticalMenu"/}}The user profile menu is now consistent with the administration menu.(((
150 {{image reference="ReleaseNotesXWiki52M1@userProfile.png"/}}
151 )))
152 * The ##line## [[chart>>doc:extensions:Extension.Chart Macro]] type has two parameters, ##hideShapes## and ##hideLines##, to hide the shapes used to display the data points or to hide the interpolation lines that connect the data points.(((
153 {{image reference="ReleaseNotesXWiki52M2@lineWithoutShapes.png"/}}
154 )))
155 * When creating or editing a [[template provider>>doc:extensions:Extension.Administration Application||anchor="HCreatethetemplateprovider"]] the template name field is now mandatory.(((
156 {{image reference="ReleaseNotesXWiki52M2@templateNameMandatory.png"/}}
157 )))
158 * The checkboxes for the global rights settings are now displayed on the left of their labels.(((
159 {{image reference="ReleaseNotesXWiki52RC1@RightsAdministration-CheckboxOnTheLeft.png"/}}
160 )))
161 * The "Create a new wiki" link has been removed from the wiki index. Now, you can only use the //Add > Wiki// menu.
162 * The Distribution Wizard does not appear anymore just after creating a new wiki based on the default template.
Marius Dumitru Florea 1.1 163
Marius Dumitru Florea 2.1 164 See the [[full list of JIRA issues>>http://jira.xwiki.org/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?jqlQuery=project+in+%28XCOMMONS%2C+XRENDERING%2C+XWIKI%2C+XE%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+in+%28%225.2-milestone-1%22%2C+%225.2-milestone-2%22%2C+%225.2-rc-1%22%2C+%225.2%22%29&tempMax=1000]] fixed in this release.
Marius Dumitru Florea 1.1 165
166 = For Developers =
167
Marius Dumitru Florea 13.1 168 == JSON Parsing in Velocity ==
Marius Dumitru Florea 1.1 169
Marius Dumitru Florea 13.1 170 ##$jsontool.parse('["json string"]')## can now be used to parse a serialized JSON into [[json-lib>>http://json-lib.sourceforge.net/]] [[arrays>>http://json-lib.sourceforge.net/apidocs/jdk15/net/sf/json/JSONArray.html]] or [[objects>>http://json-lib.sourceforge.net/apidocs/jdk15/net/sf/json/JSONObject.html]].
Marius Dumitru Florea 1.1 171
Marius Dumitru Florea 13.1 172 Only valid JSON strings can be parsed. JSONP is not supported. If the argument is not valid JSON, then ##null## is returned, parsing exceptions are caught.
173
174 == Query String Escaping ==
175
176 The following method ##$escapetool.url(Map<String, ?>)## has been added to the escapetool module. It allows to create a properly URL-escaped query string from a map of parameters. The key in the map is the parameter name and the value can be an object, an array of objects or a collection of objects. ##String.valueOf(Object)## is used to serialize the objects (values). For example ##$escapetool.url({'alice': ['A&A', 'M&M'], 'bob': [13, 27]})## would return ##alice=A%26A&alice=M%26M&bob=13&bob=27##. See [[XCOMMONS-435>>http://jira.xwiki.org/browse/XCOMMONS-435]].
177
178 == New XWikiDocument API to Remove an Attachment ==
179
180 ##XWikiDocument#deleteAttachment## methods have been deprecated in favor of the combination of ##XWikiDocument#removeAttachment## and ##XWiki#saveDocument##. This make attachment deletion follow the same behavior as xobject and among other things allow doing all sort of modifications to a XWikiDocument without touching the database until we decide to apply them by saving the document.
181
182 == Choosing which types of attachments can be displayed inline (Security) ==
183
184 In order to prevent XSS via FileUpload, a new feature has been added : you can now specify in xwiki.properties which types of attachment can be displayed inline.
185 In the "Attachment" section of xwiki.properties, you can either precise a whitelist of mimetypes that can be displayed inline, or precise a blacklist of mimetypes that shouldn't be displayed inline (if you use this configuration, it is strongly advised to blacklist at least "text/html" and "text/javascript" mimetypes for security reasons).
186 Note that attachments provided by users having Programming Rights won't be affected by these restrictions.
187
188 == Forcing IE Compatibility Mode ==
189
190 Now, we force the Compatibility mode for Internet Explorer (IE) browsers to use the latest rendering mode.
191 Before, the IE browser displayed all intranet sites in compatibility mode by default. This means that even if the user was using IE9, he saw the content rendered with IE7 standards. Since we don't [[support>>dev:Community.BrowserSupportStrategy]] IE6/7 anymore this lead in displaying broken layout, scrollbars, etc. See [[XWIKI-8907>>http://jira.xwiki.org/browse/XWIKI-8907]].
192
193 == New Filter Module ==
194
195 Commons has a new core module for all streaming systems based on filters like Rendering and the [[Wiki Stream>>doc:extensions:Extension.Wiki Stream Module]]. See [[Filter Module documentation>>extensions:Extension.Filter Module]].
196
197 == New Wiki Stream Framework ==
198
199 Wiki Stream goal is to provide generic API to make easier for different representations of a wiki instance to communicate with each other.
200
Thomas Mortagne 15.1 201 It's still in a very early stage and the API might change during 5.x but it's already pretty complete and usable.
Marius Dumitru Florea 13.1 202
Thomas Mortagne 15.1 203 The the following streams modules are provided in 5.2:
204
Marius Dumitru Florea 13.1 205 * XWiki instance input (send WikiStream events from various data of the XWiki instance like the documents in the database etc.)
Thomas Mortagne 15.1 206 * XWiki instance output (generate and save various data of the XWiki instance like the documents from WikiStream events)
Marius Dumitru Florea 13.1 207 * XAR instance output (write a XAR package from WikiStream events)
Marius Dumitru Florea 13.2 208 * XAR instance input (generate WikiStream events from a XAR package)
Marius Dumitru Florea 13.1 209
210 == New Eclipse CS Extension ==
211
212 [[XCOMMONS-353>>http://jira.xwiki.org/browse/XCOMMONS-353]] made our checkstyle.xml file unusable as it is in Eclipse cs because of the custom rule that could not be found in the Eclipse classpath.
213
214 ##xwiki-commons-tool-verification-resources## module is now also an Eclipse cs extension which mean you can just drop its jar in Eclipse ##plugins/## folder and you will get the XWiki checkstyle configuration listed in the standard configurations.
215
Marius Dumitru Florea 1.1 216 == Deprecated and Retired projects ==
217
Marius Dumitru Florea 7.1 218 * Google plugin (##com.xpn.xwiki.plugin.google.GooglePlugin##) has been retired, you can find it on https://github.com/xwiki-contrib/retired/tree/master/xwiki-platform-google-plugin
Marius Dumitru Florea 1.1 219
220 == Upgrades ==
221
222 The following dependencies have been upgraded:
223
Marius Dumitru Florea 8.1 224 * Aether 0.9.0.M2 (moved from org.sonatype.aether to org.eclipse.aether)
225 * CSSParser 0.9.9
226 * [[Groovy 2.1.7>>http://jira.xwiki.org/browse/XCOMMONS-445]]
227 * [[HSQLDB 2.3.0>>http://jira.xwiki.org/browse/XE-1323]]
228 * Infinispan 5.3
229 * JGroups 3.3.4
230 * Maven 3.1.0
231 * Tika 1.4
232 * Xerces2-Java 2.11.0
Marius Dumitru Florea 1.1 233
234 == Miscellaneous ==
235
Marius Dumitru Florea 12.1 236 * Added support for custom facets in Solr search API
Marius Dumitru Florea 11.1 237 * New [[Instance Module>>extensions:Extension.Instance Module]] used to compute a unique id for each XWiki instance (used by the [[Active Installs Client API>>extensions:Extension.Active Installs Client API]]
Marius Dumitru Florea 12.1 238 * The way to declare the type supported by a ##org.xwiki.properties.converter.Converter## component changed from role hint to generic type. See [[Properties Module documentation>>extensions:Extension.Properties Module||anchor="HConvertercomponent28Recommended29"]] for more details. The old way is still supported for retro-compatibility.
239 * Added DocumentReference and EntityReference property converters which makes possible to:
240 ** use them in rendering macros parameters beans (see [[How to write a macro>>rendering:Main.ExtendingMacro||anchor="HMacroCode"]])
241 ** in Velocity pass a String directly to a method requiring a DocumentReference or EntityReference
242 * Added new API to the JODA Time plugin to get an ISO8601 formatter.
Marius Dumitru Florea 1.1 243
244 = Translations =
245
246 The following translations have been updated:
247
Marius Dumitru Florea 6.1 248 {{language codes="ca, cs, da, de, es, fr, gl, it, ko, lv, nl, pl, pt, pt_BR, ro, ru, sk, sv, uk, vi, zh, zh_TW"/}}
Marius Dumitru Florea 1.1 249
250 = Tested Browsers & Databases =
251
Manuel Smeria 14.2 252 {{include reference="TestReports.ManualTestReportXWiki52Summary"/}}
Marius Dumitru Florea 1.1 253
254 = Known issues =
255
256 * [[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]]
257
258 = Backward Compatibility and Migration Notes =
259
260 == General Notes ==
261
Vincent Massol 23.2 262 == General Notes ==
Marius Dumitru Florea 1.1 263
Vincent Massol 23.2 264 When upgrading make sure you compare your ##xwiki.cfg##, ##xwiki.properties## and ##web.xml## files with the newest version since some configuration parameters may have been modified or 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.
Marius Dumitru Florea 1.1 265
Marius Dumitru Florea 5.1 266 == Solr Index Format Change ==
Marius Dumitru Florea 1.1 267
Marius Dumitru Florea 3.1 268 If you're upgrading from XWiki 4.5.x to this version you'll need to perform a full re-indexation when using the Solr Search. This because in XWiki 4.5.x the Solr search was experimental and we've completely changed the indexing format in XWiki 5.1.
Marius Dumitru Florea 1.1 269
Marius Dumitru Florea 3.1 270 == Email Address Obfuscation ==
271
272 In [[4.2>>ReleaseNotes.ReleaseNotesXWiki42||anchor="HNewfieldtypesforemailandlistofpages"]] we introduced a new object property type called Email that can be used to store email addresses. In [[5.1>>ReleaseNotes.ReleaseNotesXWiki51||anchor="HUseremail"]] we decided to use this new property type in the user profile to store the user email address. With this change we also introuced a defaut custom displayer for the Email property type that obfuscates the email address in view mode. As a consequence the user profile email address became obfuscated by default. Starting with 5.2 we allow you to toggle the email address obfuscation from the administration. What is important to know is that the email address obfuscation is off by default. So if you upgrade from 5.1 and you want to preserve the obfuscation then you need to enable it from the administration.
273
Marius Dumitru Florea 4.1 274 == Instance Identifier ==
Marius Dumitru Florea 3.1 275
Marius Dumitru Florea 4.1 276 XWiki now creates a unique identifier in the database (this is used by the new Active Installs module and will be used in the future by the Extension Manager to identify your instance for example). You need to verify that your ##hibernate.cfg.xml## file has the following mapping definition next to the existing mapping definitions:
277
278 (((
Marius Dumitru Florea 3.1 279 {{code}}
280 ...
281 <mapping resource="instance.hbm.xml"/>
282 ...
283 {{/code}}
284 )))
285
Marius Dumitru Florea 1.1 286 == API Breakages ==
287
Marius Dumitru Florea 2.1 288 The following APIs were modified since XWiki 5.1:
Marius Dumitru Florea 1.1 289
Marius Dumitru Florea 2.1 290 * Moved to ##xwiki-commons-legacy-properties##
291
Marius Dumitru Florea 1.1 292 {{code language="none"}}
Marius Dumitru Florea 2.1 293 org.xwiki.properties.converter.AbstractCollectionConverter: Class org.xwiki.properties.converter.AbstractCollectionConverter removed
Marius Dumitru Florea 1.1 294 {{/code}}
Marius Dumitru Florea 2.1 295
296 * This method should never have existed
297
298 {{code language="none"}}
299 org.xwiki.rendering.listener.reference.ResourceType: Method 'public void setScheme(java.lang.String)' has been removed
300 {{/code}}
301
302 * Moved from ##xwiki-rendering-api## to ##xwiki-rendering-xml##
303
304 {{code language="none"}}
305 org.xwiki.rendering.renderer.printer.XHTMLWikiPrinter: Class org.xwiki.rendering.renderer.printer.XHTMLWikiPrinter removed
306 org.xwiki.rendering.renderer.printer.XMLWikiPrinter: Class org.xwiki.rendering.renderer.printer.XMLWikiPrinter removed
307 {{/code}}
308
309 * This field is not meant to be be modified, the final was just forgotten.
310
311 {{code language="none"}}
312 com.xpn.xwiki.XWikiContext: Field TYPE_PROVIDER is now final
313 {{/code}}
314
315 * Not an API. This should be internal.
316
317 {{code language="none"}}
318 com.xpn.xwiki.store.XWikiHibernateBaseStore: Method 'protected java.lang.String[] addHibernateSequenceIfRequired(java.lang.String[], java.lang.String, org.hibernate.Session)' has been removed
319 {{/code}}
320
321 * Has been moved to ##xwiki-platform-feed-api## since it was the only module using it. We also dropped jTidy in favor of HTMLCleaner.
322
323 {{code language="none"}}
324 com.xpn.xwiki.util.TidyMessageLogger: Class com.xpn.xwiki.util.TidyMessageLogger removed
325 {{/code}}
326
327 * Google API plugin has been retired
328
329 {{code language="none"}}
330 com.xpn.xwiki.plugin.google.GooglePlugin: Class com.xpn.xwiki.plugin.google.GooglePlugin removed
331 com.xpn.xwiki.plugin.google.GooglePluginApi: Class com.xpn.xwiki.plugin.google.GooglePluginApi removed
332 {{/code}}
333
334 * Return the number of imported documents
335
336 {{code language="none"}}
337 com.xpn.xwiki.tool.backup.Importer: Return type of method 'public void importXAR(java.io.File, java.lang.String, com.xpn.xwiki.XWikiContext)' has been changed to int
338 {{/code}}
339
340 * The JPQLParser generates source code (that should be internal but it is not) and the grammar has changed a bit.
341
342 {{code language="none"}}
343 org.xwiki.query.jpql.analysis.Analysis: Method 'public void caseAFuncnumComparableItem(org.xwiki.query.jpql.node.AFuncnumComparableItem)' has been added to an interface
344 org.xwiki.query.jpql.analysis.Analysis: Method 'public void caseAFuncstrComparableItem(org.xwiki.query.jpql.node.AFuncstrComparableItem)' has been added to an interface
345 org.xwiki.query.jpql.analysis.Analysis: Method 'public void caseAFunctimeComparableItem(org.xwiki.query.jpql.node.AFunctimeComparableItem)' has been added to an interface
346 org.xwiki.query.jpql.analysis.Analysis: Method 'public void caseAPathComparableItem(org.xwiki.query.jpql.node.APathComparableItem)' has been added to an interface
347 org.xwiki.query.jpql.node.AGroupbyItem: Parameter 1 of 'public AGroupbyItem(org.xwiki.query.jpql.node.PPath)' has changed its type to org.xwiki.query.jpql.node.PComparableItem
348 org.xwiki.query.jpql.node.AGroupbyItem: Method 'public org.xwiki.query.jpql.node.PPath getPath()' has been removed
349 org.xwiki.query.jpql.node.AGroupbyItem: Method 'public void setPath(org.xwiki.query.jpql.node.PPath)' has been removed
350 org.xwiki.query.jpql.node.AOrderbyItem: Parameter 1 of 'public AOrderbyItem(org.xwiki.query.jpql.node.PPath, org.xwiki.query.jpql.node.TOrderbySpec)' has changed its type to org.xwiki.query.jpql.node.PComparableItem
351 org.xwiki.query.jpql.node.AOrderbyItem: Method 'public org.xwiki.query.jpql.node.PPath getPath()' has been removed
352 org.xwiki.query.jpql.node.AOrderbyItem: Method 'public void setPath(org.xwiki.query.jpql.node.PPath)' has been removed
353 {{/code}}

Get Connected