Version 40.1 by Vincent Massol on 2016/08/23

Hide last authors
Guillaume Delhumeau 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
Guillaume Delhumeau 32.1 7 This release brings mostly usability improvements. You now have the ability to export children pages along with the current one in XAR and HTML formats. The rating of the extensions is displayed in the home page. You can easily use a color theme from the main wiki in other subwikis. New hints are displayed in the user profile preferences. Some suggestions are displayed when you try to reach a page or an attachment that does not exist.
Guillaume Delhumeau 1.1 8
Guillaume Delhumeau 32.1 9 For the developers, some improvements have been done, especially in the Script contexts.
10
11 Finally, more than 30 bugs have been fixed!
12
Guillaume Delhumeau 15.1 13 = New and Noteworthy (since XWiki 8.2) =
Guillaume Delhumeau 1.1 14
Guillaume Delhumeau 15.1 15 [[Full list of issues fixed and Dashboard for 8.3>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=13629]].
Guillaume Delhumeau 1.1 16
Vincent Massol 40.1 17 == New Children Macro ==
18
19 A new [[##~{~{children/}}## macro>>extensions:Extension.Children Macro.WebHome]] has been added to display a tree view of all children of the current page.
20
21 Example:
22
23 {{image reference="childrenmacro.png"/}}
24
Guillaume Delhumeau 13.1 25 == Export a page with children ==
26
27 It's now possible, for HTML and XAR formats, to export selected children along with the current page:
28
29 (((
30 {{image reference="export.png"/}}
31 )))
32
Thomas Mortagne 23.1 33 == Repository improvements ==
34
35 Rating is now displayed in the home page livetable.
Thomas Mortagne 35.1 36 The number of active installs is displayed for each extension in the home page livetable and in the extension page.
Thomas Mortagne 23.1 37
Thomas Mortagne 36.1 38 {{image reference="rating_home.png"/}}{{image reference="exo4.png"/}}
Thomas Mortagne 23.1 39
Vincent Massol 6.1 40 == Miscellaneous ==
Guillaume Delhumeau 1.1 41
Guillaume Delhumeau 5.1 42 * It's now possible, on a subwiki, to use a color theme coming from the main wiki (global themes):(((
Guillaume Delhumeau 2.1 43 {{image reference="FlamingoThemePicker.png"/}}
44 {{image reference="FlamingoThemesHome.png"/}}
45 )))
Vincent Massol 6.1 46 * The Blog Category Panel now has an entry for All blog posts with a RSS feed for all:(((
47 {{image reference="BlogPanel.png"/}}
48 )))
Manuel Smeria 8.1 49 * Added hints for User Profile Preferences:(((
50 {{image reference="userProfileHints.png"/}}
51 )))
Eduard Moraru 12.3 52 * Added suggestions for the "document not found" and "attachment not found" error screens. The suggestions address minor typos and misspelling (including lower case vs upper case), but also bad location requests:
53 ** Documents:
Eduard Moraru 12.2 54 {{image reference="docnotfound-suggestsions-mixed.png"/}}
Eduard Moraru 12.3 55 ** Attachments:
Eduard Moraru 12.2 56 {{image reference="attachmentnotfound-suggestsions-mixed.png"/}}
Thomas Mortagne 26.1 57 * It's now possible to customize a Maven repository in ##xwiki.properties## with any Aether property. See [[extensions:Extension.XWiki Commons - Extension - Repository - Maven]].
Thomas Mortagne 27.1 58 * It's now possible to change the socket and connection timeouts of a XWiki Repository in xwiki.properties. See [[extensions:Extension.XWiki Commons - Extension - Repository - XWiki]].
Thomas Mortagne 28.2 59 * Active installs client now send the memory used by the instance
Thomas Mortagne 30.1 60 * Debian packages now override standard configuration files handling for ##xwiki.cfg##, ##xwiki.properties## and ##web.xml## to provide 3 ways merge with standard dpkg and apt command line tools
Guillaume Delhumeau 1.1 61
Guillaume Delhumeau 15.1 62 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+%3D+%228.3-milestone-1%22&tempMax=1000]] fixed in this release.
Guillaume Delhumeau 1.1 63
64 = For Developers =
65
Thomas Mortagne 28.1 66 == Velocity and Script context improvements ==
67
68 ##VelocityContext## and ##ScriptContext## are here since a long time and were not fully a sync leading to many hack having to deal with both (and often forgetting one of the other).
69
70 They are now fully in synch (and if you find a use case where it's not true create a BUG on http://jira.xwiki.org) and VelocityContext is now close to internal detail. From now on if you want to set some binding for whatever script is going to be executed next you should to it trough ##ScriptContext## and completely forget that ##VelocityContext## ever existed in most cases.
71
72 New APIs to help with that:
73
74 * ##VelocityManager#evaluate(Writer out, String templateName, Reader source)## which execute the passed velocity content with the passed template name and write the result in the passed Writer. This method deal with ##VelocityContext## internally
75 * ##ScriptContextManager#getCurrentScriptContext()## should be used when you want to SET something in the current script context so that it end up in a script that might be executed later
76 * ##ScriptContextManager#getScriptContext()## is not new but should be used only if you want to get the ##ScriptContext## exactly as a script would get it (to see if it contains something you want to access), this should be a rare use case.
77
78 Another consequence of this is that you can (finally) do things like:
79
80 {{code}}
81 {{velocity}}
82 ## Setting some script binding in Velocity
83 #set($myvar = "toto")
84 {{/velocity}}
85
86 {{groovy}}
87 // Lets use the script binding that has been set in previous script
88 print myvar
89 {{/groovy}}
90 {{/code}}
91
92 The opposite was already possible but there was some limitations, for example it was impossible to overwrite in groovy a binding that was already in the ##VelocityContext##.
93
Thomas Mortagne 24.1 94 == Filter framework improvements ==
Guillaume Delhumeau 1.1 95
Vincent Massol 39.3 96 Thanks to Java 8 now supporting getting method parameter names through reflection, it's not required anymore to use ##@Name## annotation in the definition of a filter. See [[extensions:Extension.Filter Module||anchor="#HAnnotations"]] for more details.
Guillaume Delhumeau 1.1 97
Thomas Mortagne 33.1 98 It's also possible to override the name of the event (which is by default extracted from the method name) using the ##@Name## annotation.
99
Thomas Mortagne 39.1 100 Filter manager make sure to calculate the event descriptor based on the top most overridden method (usually coming from an interface). Various things were not always properly inherited (like event name or reflection based parameters names).
101
Thomas Mortagne 20.2 102 == Cache module moved to XWiki Commons ==
103
104 This mostly means that you can now use it in commons and rendering modules. Nothing change in the classes or packages names, just need to update group id and artifact id in your build tool.
105
Guillaume Delhumeau 1.1 106 == Deprecated and Retired projects ==
107
Thomas Mortagne 17.1 108 * Application Manager moved to https://github.com/xwiki-contrib/xwiki-platform-application-manager, it can still be installed as extension if required
Guillaume Delhumeau 1.1 109
110 == Upgrades ==
111
112 The following dependencies have been upgraded:
113
Thomas Mortagne 10.1 114 * [[Jackson 2.8.1>>http://jira.xwiki.org/browse/XCOMMONS-1015]]
115 * [[cssparser 0.9.20>>http://jira.xwiki.org/browse/XCOMMONS-1024]]
Thomas Mortagne 18.1 116 * [[Infinispan 8.2.4>>http://jira.xwiki.org/browse/XCOMMONS-1046]]
Thomas Mortagne 19.1 117 * [[JSON-Java 20160810>>http://jira.xwiki.org/browse/XCOMMONS-1045]]
Thomas Mortagne 31.1 118 * [[Bouncy Castle 1.55>>http://jira.xwiki.org/browse/XCOMMONS-1049]]
Guillaume Delhumeau 1.1 119
120 == Miscellaneous ==
121
Eduard Moraru 15.2 122 * 2 new generic extension points for the Document/Attachment Not Found views:
123 ** [[platform:ExtensionPoint.Document Does Not Exist]]
124 ** [[platform:ExtensionPoint.Attachment Does Not Exist]]
125 * 2 new specific extension points for providing recommendations in the Document/Attachment Not Found views:
126 ** [[platform:ExtensionPoint.Suggestions for Document Does Not Exist]]
127 ** [[platform:ExtensionPoint.Suggestions for Attachment Does Not Exist]]
Thomas Mortagne 37.1 128 * injected extension repositories can now be associated with a priority
Eduard Moraru 15.2 129
Guillaume Delhumeau 1.1 130 <other dev stuff to add and link to JIRA for all issues fixed>
131
132 = Translations =
133
134 The following translations have been updated:
135
136 {{language codes="none, none"/}}
137
138 = Tested Browsers & Databases =
139
140 {{warning}}
141 The QA Tests are executed after the release has been done. Thus, they are being prepared now and will be published soon.
142 {{/warning}}
143
144 {{comment}}
145 TODO: uncomment and update with proper link when the report is ready.
146 {{include reference="TestReports.ManualTestReportTemplateSummary"/}}
147 {{/comment}}
148
149 = Performances tests compared to <last super stable version> =
150
151 <a summary of the comparison with latest super stable version>
152
153 More details on <link to the test report>.
154
155 = Known issues =
156
157 * [[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]]
158
159 = Backward Compatibility and Migration Notes =
160
161 == General Notes ==
162
163 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.
164
Thomas Mortagne 16.1 165 == Issues specific to XWiki 8.3 Milestone 1 ==
Guillaume Delhumeau 1.1 166
Thomas Mortagne 17.1 167 === LDAP Module moved to Contrib ===
Guillaume Delhumeau 1.1 168
Thomas Mortagne 16.1 169 The module containing among other things the standard LDAP authenticator has been moved to http://github.com/xwiki-contrib/ldap and is not embedded anymore in XE. Starting with 8.3M1 you need to install it if you want to use it. See http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/#H8.3.x for more details on what between the XWiki Platform module and the new Contrib Extension.
170
Thomas Mortagne 20.1 171 === Cache module moved to XWiki Commons ===
172
173 The only thing that changed is the id of the modules. If you have any dependency on those you just need to change ##org.xwiki.platform:xwiki-platform-*## to ##org.xwiki.commons:xwiki-commons-*##
174
Guillaume Delhumeau 1.1 175 == API Breakages ==
176
177 The following APIs were modified since <project> <version - 1>:
178
179 {{comment}}
180 Remove!
181 {{backwardCompatiblityReport version="<version>"/}}
182 {{/comment}}
183
184 = Credits =
185
186 The following people have contributed code to this release (sorted alphabetically):
187
188 <code contributors>

Get Connected