Version 33.1 by Vincent Massol on 2015/11/30

Hide last authors
Ecaterina Moraru (Valica) 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
Vincent Massol 29.1 7 This is our last stabilization release for the XWiki 7.x Cycle. It brings polishing and stabilization for the Nested Pages feature and the changes in UI that resulted from it, especially for the Watchlist.
Ecaterina Moraru (Valica) 1.1 8
Vincent Massol 28.1 9 = New and Noteworthy (since XWiki 7.3) =
Ecaterina Moraru (Valica) 1.1 10
Vincent Massol 28.1 11 [[Full list of issues fixed and Dashboard for 7.4>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=13590]].
Ecaterina Moraru (Valica) 1.1 12
Guillaume Delhumeau 5.1 13 == Notifications & Watchlist ==
Ecaterina Moraru (Valica) 1.1 14
Guillaume Delhumeau 5.1 15 * A new menu has been added to the top bar, on the right: the "notifications" menu (represented by a bell). In the future, it will be the place where you can find notifications about some events happening on the wiki (personal message, a page has been modified, etc...).(((
Vincent Massol 28.1 16 {{image reference="Notifications.png"/}}
Guillaume Delhumeau 5.1 17 )))
Vincent Massol 28.1 18 * In this menu, we have moved the Watchlist icons (watch this page, watch this wiki, etc...). These actions can be triggered with the new switch buttons(((
19 {{image reference="WatchList-Notifications.png"/}}
Guillaume Delhumeau 5.1 20 )))
21
Ecaterina Moraru (Valica) 1.1 22 == Miscellaneous ==
23
Guillaume Delhumeau 2.1 24 * Some [[bootswatch themes>>extensions:Extension.Bootswatch Themes for Flamingo]] have now a more accurate logo.
Guillaume Delhumeau 11.1 25 * When the search button on the top menu is clicked, it now closes all other menus.
Vincent Massol 32.2 26 * The Sandbox now uses XWiki Syntax 2.1.
Thomas Mortagne 19.1 27 * Non terminal pages are now exported with their corresponding ##WebPreferences## page
Ecaterina Moraru (Valica) 1.1 28
Guillaume Delhumeau 3.1 29 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+%227.4-milestone-1%22&tempMax=1000]] fixed in this release.
Ecaterina Moraru (Valica) 1.1 30
31 = For Developers =
32
Vincent Massol 33.1 33 == Flamingo ==
34
35 An extension point to add content inside the new "Notifications" menu has been added:
36
37 |=##[[org.xwiki.platform.notifications>>platform:ExtensionPoint.Notifications]]##
38 |{{image reference="NotificationsInside.png"/}}
39
Marius Dumitru Florea 27.1 40 == Tree Velocity Macros ==
Ecaterina Moraru (Valica) 1.1 41
Marius Dumitru Florea 27.1 42 You are now able to "call" the Document Tree from Velocity using something like this:
Ecaterina Moraru (Valica) 1.1 43
Marius Dumitru Florea 27.1 44 {{code language="none"}}
45 #documentTree({
46 'class': 'location-tree',
47 'finder': true,
48 'showAttachments': false,
49 'showRoot': $showRoot,
50 'showTerminalDocuments': false,
51 'showTranslations': false,
52 'showWikis': $showWikis
53 })
54 {{/code}}
55
56 The same is possible with the generic Tree Widget:
57
58 {{code language="none"}}
59 #tree({
60 'reference': 'XWiki.DocumentTree',
61 'root': 'document:xwiki:Sandbox.WebHome',
62 'openTo': 'document:xwiki:Sandbox.TestPage2'
63 })
64 {{/code}}
65
Marius Dumitru Florea 27.2 66 All the parameters that are available for the wiki macros (##~{~{documentTree}}## and ##~{~{tree}}##) should be available also for the corresponding Velocity macro.
Marius Dumitru Florea 27.1 67
Thomas Mortagne 31.1 68 == New public Abstract job ==
Thomas Mortagne 30.1 69
Thomas Mortagne 31.1 70 A public ##org.xwiki.job.AbstractJob## (and corresponding ##AbstractJobStatus##) is now provided to help implementing a Job. An ##AbstractJob## class already existed since a long time but it was in an internal package.
Thomas Mortagne 30.1 71
Ecaterina Moraru (Valica) 1.1 72 == Miscellaneous ==
73
Vincent Massol 18.1 74 * A new ##extractFirstReference(EntityType)## API has been added to ##EntityReference##: Extract the first entity of the given type from this one by traversing the current entity to the root. This differentiates it from ##extractReference(EntityType)## which extracts the last entity of the given type.
Marius Dumitru Florea 25.1 75 * The escape Velocity tool has a new method to escape CSS identifiers. This is similar to ##CSS.escape()## available in JavaScript, and is useful if you want to create CSS selectors dynamicaly using untrusted input.(((
76 {{code language="none"}}
77 $escapetool.css('a#b.c d[e=f]g{h:i;j}k')
78 ## Output: a\\#b\\.c\\ d\\[e\\=f\\]g\\{h\\:i\\;j\\}k
79 {{/code}}
80 )))
Marius Dumitru Florea 26.1 81 * The Document Tree Macro has a new parameter to control whether the hidden documents are filtered or not. Set to false to force the display of the hidden documents in the tree.(((
82 {{code language="none"}}
83 {{documentTree filterHiddenDocuments="false" /}}
84 {{/code}}
85 )))
Guillaume Delhumeau 7.1 86
Vincent Massol 28.1 87 == Upgrades ==
88
89 The following dependencies have been upgraded:
90
91 * [[slf4j 1.7.13>>http://jira.xwiki.org/browse/XCOMMONS-879]]
92 * [[Joda-Time 2.9.1>>http://jira.xwiki.org/browse/XWIKI-12816]]
93 * [[commons-collections 3.2.2>>http://jira.xwiki.org/browse/XCOMMONS-881]]
94 * [[Maven 3.3.9>>http://jira.xwiki.org/browse/XCOMMONS-883]]
95 * [[Guice 4.0>>http://jira.xwiki.org/browse/XCOMMONS-883]]
96 * [[commons-dbcp2 2.1.1>>http://jira.xwiki.org/browse/XCOMMONS-884]]
97 * [[jboss-logging 3.1.4>>http://jira.xwiki.org/browse/XCOMMONS-885]]
98 * [[Woodstox 4.4.1>>http://jira.xwiki.org/browse/XWIKI-12853]]
99 * [[commons-net 3.4>>http://jira.xwiki.org/browse/XCOMMONS-887]]
100 * [[commons-collections 4.1>>http://jira.xwiki.org/browse/XCOMMONS-889]]
101
Ecaterina Moraru (Valica) 1.1 102 = Translations =
103
104 The following translations have been updated:
105
106 {{language codes="none, none"/}}
107
108 = Tested Browsers & Databases =
109
110 {{warning}}
111 The QA Tests are executed after the release has been done. Thus, they are being prepared now and will be published soon.
112 {{/warning}}
113
114 {{comment}}
115 TODO: uncomment and update with proper link when the report is ready.
116 {{include reference="TestReports.ManualTestReportTemplateSummary"/}}
117 {{/comment}}
118
119 = Known issues =
120
121 * [[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]]
122
123 = Backward Compatibility and Migration Notes =
124
125 == General Notes ==
126
127 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.
128
Vincent Massol 17.1 129 == Issues specific to XWiki 7.4 Milestone 1 ==
Ecaterina Moraru (Valica) 1.1 130
Vincent Massol 17.1 131 * Better backward-compatibility for URLs has been added for the following 2 cases:
132 ** If the ##view## action is omitted in the URL and the first space name doesn't match an action name, then the "view" action is implied
133 ** The ##view## action can be specified even when the wiki is configured to hide the ##view## action.
134 ** Note that this fixes [[some backward-compatibility issue introduced in XWiki 7.2>>ReleaseNotes.ReleaseNotesXWiki72||anchor="HURLs"]]
Ecaterina Moraru (Valica) 1.1 135
136 == API Breakages ==
137
Vincent Massol 28.1 138 The following APIs were modified since XWiki 7.3:
Ecaterina Moraru (Valica) 1.1 139
Vincent Massol 32.1 140 * Was wrongly extending internal class:(((
Ecaterina Moraru (Valica) 1.1 141 {{code language="none"}}
Vincent Massol 32.1 142 org.xwiki.extension.job.history.ReplayJobStatus: Removed org.xwiki.job.internal.AbstractJobStatus from the list of superclasse
143 org.xwiki.extension.job.history.ReplayJobStatus: Removed org.xwiki.job.internal.DefaultJobStatus from the list of superclasse
144 org.xwiki.extension.xar.job.diff.DiffXarJobStatus: Removed org.xwiki.job.internal.AbstractJobStatus from the list of superclasse
145 org.xwiki.extension.xar.job.diff.DiffXarJobStatus: Removed org.xwiki.job.internal.DefaultJobStatus from the list of superclasse
146 org.xwiki.refactoring.job.EntityJobStatus: Removed org.xwiki.job.internal.AbstractJobStatus from the list of superclasse
147 org.xwiki.refactoring.job.EntityJobStatus: Removed org.xwiki.job.internal.DefaultJobStatus from the list of superclasse
Ecaterina Moraru (Valica) 1.1 148 {{/code}}
Vincent Massol 32.1 149 )))
150
151

Get Connected