Hide last authors
Ecaterina Moraru (Valica) 1.1 1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
Thomas Mortagne 52.1 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.
Ecaterina Moraru (Valica) 1.1 6
Marius Dumitru Florea 50.1 7 {{warning}}
Vincent Massol 55.3 8 **The support of XWiki Enterprise Manager is stopped**. XWiki Enterprise now comes with the ability to create subwikis by default, see below.
Marius Dumitru Florea 50.1 9 {{/warning}}
10
Ecaterina Moraru (Valica) 1.1 11 <insert description of release here>
12
Guillaume Delhumeau 6.1 13 = New and Noteworthy (since XWiki 5.2 Milestone 1) =
Ecaterina Moraru (Valica) 1.1 14
Guillaume Delhumeau 6.1 15 [[Full list of issues fixed and Dashboard for 5.2>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=11602]].
Ecaterina Moraru (Valica) 1.1 16
Vincent Massol 26.1 17 == Wiki Creation ==
Guillaume Delhumeau 9.1 18
Vincent Massol 26.1 19 XWiki Enterprise comes now with the ability for users to create their own wikis (a.k.a subwikis). This supersedes the notion of "workspace" and consist in the integration of the [[Workspace Application>>extensions:Extension.Workspace Application]] in the default XWiki distribution.
Guillaume Delhumeau 7.1 20
Marius Dumitru Florea 50.1 21 {{image reference="add-wiki.png"/}}
22
Guillaume Delhumeau 56.1 23 This new menu entry appears only if a wiki template is created first, see below.
24
Vincent Massol 26.1 25 === Wiki Creation Right ===
Guillaume Delhumeau 9.1 26
Vincent Massol 26.1 27 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.
Guillaume Delhumeau 7.1 28
Guillaume Delhumeau 56.1 29 === Wikis Section in the Administration ===
Vincent Massol 26.1 30
Guillaume Delhumeau 56.1 31 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.
32
Guillaume Delhumeau 29.1 33 {{image reference="admin-wikis.png"/}}
Guillaume Delhumeau 9.1 34
Guillaume Delhumeau 32.1 35 === New wiki creation wizard ===
36
37 A new wizard for the creation of a new wiki is now available from the "add" menu.
38
39 {{image reference="createwiki1.png"/}}
40
41 {{image reference="createwiki2.png"/}}
42
Guillaume Delhumeau 38.1 43 === XWiki Top Menu ===
Guillaume Delhumeau 33.2 44
Vincent Massol 55.1 45 A new top menu has appeared, near the "Profile" menu. It provides a link to the main wiki and to the Wiki Directory (which used to be the "Workspace Directory" - the list of all created wikis except the main one).
Guillaume Delhumeau 33.2 46
Guillaume Delhumeau 38.1 47 It is only available when more than one wiki is created, to prevent the user who only want a single wiki to have too much elements in the UI.
Guillaume Delhumeau 33.2 48
Guillaume Delhumeau 38.1 49 {{image reference="new-xwiki-menu.png"/}}
Guillaume Delhumeau 33.2 50
Guillaume Delhumeau 56.1 51 {{warning}}
52 The position of the new menu is still under discussion and may change in XWiki 5.2 final.
53 {{/warning}}
Vincent Massol 55.1 54
Marius Dumitru Florea 51.1 55 == Solr-based search suggest ==
56
57 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).
58
59 We also improved the search suggest administration section
60
Guillaume Delhumeau 56.1 61 {{image reference="searchSuggestAdminSection.png"/}}
Marius Dumitru Florea 51.1 62
63 and we simplified the source creation form.
64
Guillaume Delhumeau 56.1 65 {{image reference="searchSuggestSourceForm.png"/}}
Marius Dumitru Florea 51.1 66
Vincent Massol 20.1 67 == Active Installs Tracking ==
68
69 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.
70
71 It does the following:
Manuel Smeria 21.2 72
Vincent Massol 20.1 73 * A client side JAR is bundled with XWiki and it sends a ping with data once per day
74 * 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).
75
76 The data sent is anonymous and consists of the following:
Manuel Smeria 21.2 77
Vincent Massol 20.1 78 * 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)
79 * The date of the ping
Vincent Massol 22.2 80 * The version of your XWiki distribution
Vincent Massol 20.1 81 * The technical ids and versions of extensions you have installed.
82
83 This will allow us to present the following data:
Manuel Smeria 21.2 84
Vincent Massol 20.1 85 * Number of total installs of XWiki
86 * Number of Active Installs
87 * Most used extensions across versions of XWiki
88 * How frequently the XWiki user base upgrades to newer versions of XWiki
89
Vincent Massol 35.1 90 {{image reference="stats.png"/}}
91
Vincent Massol 20.1 92 {{info}}
93 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.
94 {{/info}}
95
Vincent Massol 23.1 96 Reference documentation:
Thomas Mortagne 24.1 97
Vincent Massol 23.1 98 * [[Client side module>>extensions:Extension.Active Installs Client API]].
99 * [[Server side module>>extensions:Extension.Active Installs Server Application]].
Vincent Massol 21.1 100
Ecaterina Moraru (Valica) 1.1 101 == Miscellaneous ==
102
Marius Dumitru Florea 3.1 103 * 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.(((
104 {{image reference="lineWithoutShapes.png"/}}
105 )))
Marius Dumitru Florea 15.1 106 * When creating or editing a [[template provider>>doc:extensions:Extension.Administration Application||anchor="HCreatethetemplateprovider"]] the template name field is now mandatory.(((
107 {{image reference="templateNameMandatory.png"/}}
108 )))
Vincent Massol 26.3 109 * 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]]
Ecaterina Moraru (Valica) 1.1 110
111 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%2C+XEM%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+%3D+%22<version>%22&tempMax=1000]] fixed in this release.
112
113 = For Developers =
114
Thomas Mortagne 25.1 115 == New WikiStream framework ==
Thomas Mortagne 24.1 116
117 Wiki Stream goal is to provide generic API to make easier for different representations of a wiki instance to communicate with each other.
118
119 It's still in a very early stage and the API might change during 5.x but it's already pretty complete and usable and the following streams modules are provided:
120
121 * XWiki instance input (send WikiStream events from various data of the XWiki instance like the documents in the database etc.)
122 * XAR instance output (write a XAR package from WikiStream events)
123
Ecaterina Moraru (Valica) 2.1 124 == Forcing IE Compatibility mode ==
Ecaterina Moraru (Valica) 1.1 125
Ecaterina Moraru (Valica) 2.1 126 Now, we force the Compatibility mode for Internet Explorer (IE) browsers to use the latest rendering mode.
127 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]].
Ecaterina Moraru (Valica) 1.1 128
Thomas Delafosse 11.1 129 == Choosing which types of attachments can be displayed inline (Security) ==
130
131 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.
132 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).
Vincent Massol 26.4 133 Note that attachments provided by users having Programming Rights won't be affected by these restrictions.
Thomas Delafosse 11.1 134
Vincent Massol 26.5 135 == Miscellaneous ==
136
137 * Added support for custom facets in Solr search API
138
Ecaterina Moraru (Valica) 1.1 139 == Upgrades ==
140
141 The following dependencies have been upgraded:
142
Vincent Massol 5.1 143 * [[HSQLDB 2.3.0>>http://jira.xwiki.org/browse/XE-1323]]
Thomas Mortagne 19.1 144 * [[Groovy 2.1.7>>http://jira.xwiki.org/browse/XCOMMONS-445]]
Ecaterina Moraru (Valica) 1.1 145
146 = Translations =
147
148 The following translations have been updated:
149
Marius Dumitru Florea 54.1 150 {{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"/}}
Ecaterina Moraru (Valica) 1.1 151
152 = Tested Browsers & Databases =
153
Manuel Smeria 21.2 154 {{include reference="TestReports.ManualTestReportXWiki52M2Summary"/}}
Ecaterina Moraru (Valica) 1.1 155
156 = Known issues =
157
158 * [[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]]
159
160 = Backward Compatibility and Migration Notes =
161
162 == General Notes ==
163
164 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
165
166 {{warning}}
167 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.
168 {{/warning}}
169
170 == API Breakages ==
171
Marius Dumitru Florea 57.1 172 The following APIs were modified since XWiki 5.1:
Ecaterina Moraru (Valica) 1.1 173
Marius Dumitru Florea 57.1 174 * Moved to ##xwiki-commons-legacy-properties##
175
Ecaterina Moraru (Valica) 1.1 176 {{code language="none"}}
Marius Dumitru Florea 57.1 177 org.xwiki.properties.converter.AbstractCollectionConverter: Class org.xwiki.properties.converter.AbstractCollectionConverter removed
Ecaterina Moraru (Valica) 1.1 178 {{/code}}
Marius Dumitru Florea 57.1 179
180 * This method should never have existed
181
182 {{code language="none"}}
183 org.xwiki.rendering.listener.reference.ResourceType: Method 'public void setScheme(java.lang.String)' has been removed
184 {{/code}}
185
186 * Moved from ##xwiki-rendering-api## to ##xwiki-rendering-xml##
187
188 {{code language="none"}}
189 org.xwiki.rendering.renderer.printer.XHTMLWikiPrinter: Class org.xwiki.rendering.renderer.printer.XHTMLWikiPrinter removed
190 org.xwiki.rendering.renderer.printer.XMLWikiPrinter: Class org.xwiki.rendering.renderer.printer.XMLWikiPrinter removed
191 {{/code}}
192
193 * This field is not meant to be be modified, the final was just forgotten.
194
195 {{code language="none"}}
196 com.xpn.xwiki.XWikiContext: Field TYPE_PROVIDER is now final
197 {{/code}}
198
199 * Has been moved to ##xwiki-platform-feed-api## since it was the only module using it. We also dropped jTidy in favor of HTMLCleaner.
200
201 {{code language="none"}}
202 com.xpn.xwiki.util.TidyMessageLogger: Class com.xpn.xwiki.util.TidyMessageLogger removed
203 {{/code}}
204
205 * Google API plugin has been retired
206
207 {{code language="none"}}
208 com.xpn.xwiki.plugin.google.GooglePlugin: Class com.xpn.xwiki.plugin.google.GooglePlugin removed
209 com.xpn.xwiki.plugin.google.GooglePluginApi: Class com.xpn.xwiki.plugin.google.GooglePluginApi removed
210 {{/code}}
211
212 * Return the number of imported documents
213
214 {{code language="none"}}
215 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
216 {{/code}}
217
218 * The JPQLParser generates source code (that should be internal but it is not) and the grammar has changed a bit.
219
220 {{code language="none"}}
221 org.xwiki.query.jpql.analysis.Analysis: Method 'public void caseAFuncnumComparableItem(org.xwiki.query.jpql.node.AFuncnumComparableItem)' has been added to an interface
222 org.xwiki.query.jpql.analysis.Analysis: Method 'public void caseAFuncstrComparableItem(org.xwiki.query.jpql.node.AFuncstrComparableItem)' has been added to an interface
223 org.xwiki.query.jpql.analysis.Analysis: Method 'public void caseAFunctimeComparableItem(org.xwiki.query.jpql.node.AFunctimeComparableItem)' has been added to an interface
224 org.xwiki.query.jpql.analysis.Analysis: Method 'public void caseAPathComparableItem(org.xwiki.query.jpql.node.APathComparableItem)' has been added to an interface
225 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
226 org.xwiki.query.jpql.node.AGroupbyItem: Method 'public org.xwiki.query.jpql.node.PPath getPath()' has been removed
227 org.xwiki.query.jpql.node.AGroupbyItem: Method 'public void setPath(org.xwiki.query.jpql.node.PPath)' has been removed
228 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
229 org.xwiki.query.jpql.node.AOrderbyItem: Method 'public org.xwiki.query.jpql.node.PPath getPath()' has been removed
230 org.xwiki.query.jpql.node.AOrderbyItem: Method 'public void setPath(org.xwiki.query.jpql.node.PPath)' has been removed
231 {{/code}}

Get Connected