Wiki source code of Release Notes for XWiki 7.4

Version 15.1 by Guillaume Delhumeau on 2015/12/28

Show last authors
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
7 <insert description of release here>
8
9 = New and Noteworthy (since XWiki 7.3) =
10
11 [[Full list of issues fixed and Dashboard for 7.4>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=13590]].
12
13 == Notifications & Watchlist ==
14
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...).(((
16 {{image reference="ReleaseNotesXWiki74M1@Notifications.png"/}}
17 )))
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="ReleaseNotesXWiki74M1@WatchList-Notifications.png"/}}
20 )))
21 * The livetable of the [[WatchList macro>>extensions:Extension.Watchlist Application]] have been updated to support Nested Pages.(((
22 {{image reference="WatchListTable.png"/}}
23 )))
24
25 == App Within Minutes ==
26
27 The application Code and Data pages are now being created. The Code page lists the application code pages.
28
29 {{image reference="ReleaseNotesXWiki74M1@awmCodeHomePage.png"/}}
30
31 The application Data page shows a live table with the application entries. The application home page has been modified to include the Data page.
32
33 {{image reference="ReleaseNotesXWiki74M1@awmDataHomePage.png"/}}
34
35 The application entries (custom) live table results page is not generated any more because it was used only to load the translations on demand and now they are loaded on the wiki or user scope, based on the user rights.
36
37 == Support for template hierarchies ==
38
39 When creating a new document from template, if the template has descendent documents under its path, those documents will also be copied over to the new document's location, preserving the hierarchy, as it was under the template document.
40
41 The save operation will display progress and if it was a Save&View operation, the form will be disabled until the operation is complete.
42
43 More details on the [[documentation page on document templates>>extensions:Extension.Administration Application||anchor="HUsingahierarchyofNestedDocumentsastemplate"]].
44
45 {{image reference="ReleaseNotesXWiki74M2@savingNewDocumentWithTemplateHierarchy.png" width="50%"/}}
46
47 == Automatic Redirect on Page Rename ==
48
49 The [[Rename Page>>platform:Features.DocumentLifecycle||anchor="HMove2FRename"]] action has a new option (selected by default) to create an automatic redirect from the old page location to the new one. This will ensure that the external links (e.g. the bookmarks) to the renamed page (and its children) will continue to work.
50
51 {{image reference="ReleaseNotesXWiki74M2@RenameConfirmFlamingo.png"/}}
52
53 == Database Search ==
54
55 The [[Database Search>>extensions:Extension.Search Application||anchor="HDatabaseSearch"]] UI has been modified to support nested pages.
56
57 {{image reference="ReleaseNotesXWiki74M2@databaseSearch.png"/}}
58
59 == Miscellaneous ==
60
61 * Some [[bootswatch themes>>extensions:Extension.Bootswatch Themes for Flamingo]] have now a more accurate logo.
62 * When the search button on the top menu is clicked, it now closes all other menus.
63 * The Sandbox now uses XWiki Syntax 2.1.
64 * Non terminal pages are now exported with their corresponding ##WebPreferences## page
65 * The "annotations" button in the "More Actions" menu has been moved in the same menu but with other actions and renamed "Annotate".(((
66 {{image reference="ReleaseNotesXWiki74M2@Annotate.png"/}}
67 )))
68 * The Create Page UI allows you to view and change the location of the new page (that is going to be created) even when you [[open directly the URL of a new page>>platform:Features.DocumentLifecycle||anchor="HByenteringdirectlytheURLofthenewpage"]].
69
70 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%22&tempMax=1000]] fixed in this release.
71
72 = For Developers =
73
74 == Flamingo ==
75
76 An extension point to add content inside the new "Notifications" menu has been added:
77
78 |=##[[org.xwiki.platform.notifications>>platform:ExtensionPoint.Notifications]]##
79 |{{image reference="ReleaseNotesXWiki74M1@NotificationsInside.png"/}}
80
81 == Tree Velocity Macros ==
82
83 You are now able to "call" the Document Tree from Velocity using something like this:
84
85 {{code language="none"}}
86 #documentTree({
87 'class': 'location-tree',
88 'finder': true,
89 'showAttachments': false,
90 'showRoot': $showRoot,
91 'showTerminalDocuments': false,
92 'showTranslations': false,
93 'showWikis': $showWikis
94 })
95 {{/code}}
96
97 The same is possible with the generic Tree Widget:
98
99 {{code language="none"}}
100 #tree({
101 'reference': 'XWiki.DocumentTree',
102 'root': 'document:xwiki:Sandbox.WebHome',
103 'openTo': 'document:xwiki:Sandbox.TestPage2'
104 })
105 {{/code}}
106
107 All the parameters that are available for the wiki macros (##~{~{documentTree}}## and ##~{~{tree}}##) should be available also for the corresponding Velocity macro.
108
109 == New public Abstract job ==
110
111 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.
112
113 == Miscellaneous ==
114
115 * 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.
116 * 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.(((
117 {{code language="none"}}
118 $escapetool.css('a#b.c d[e=f]g{h:i;j}k')
119 ## Output: a\\#b\\.c\\ d\\[e\\=f\\]g\\{h\\:i\\;j\\}k
120 {{/code}}
121 )))
122 * 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.(((
123 {{code language="none"}}
124 {{documentTree filterHiddenDocuments="false" /}}
125 {{/code}}
126 )))
127 * Temporary resources can now be forced to be downloaded by using the ##force-download=1## URL parameter
128
129 == Upgrades ==
130
131 The following dependencies have been upgraded:
132
133 * [[slf4j 1.7.13>>http://jira.xwiki.org/browse/XCOMMONS-879]]
134 * [[Joda-Time 2.9.1>>http://jira.xwiki.org/browse/XWIKI-12816]]
135 * [[commons-collections 3.2.2>>http://jira.xwiki.org/browse/XCOMMONS-881]]
136 * [[Maven 3.3.9>>http://jira.xwiki.org/browse/XCOMMONS-883]]
137 * [[Guice 4.0>>http://jira.xwiki.org/browse/XCOMMONS-883]]
138 * [[commons-dbcp2 2.1.1>>http://jira.xwiki.org/browse/XCOMMONS-884]]
139 * [[jboss-logging 3.1.4>>http://jira.xwiki.org/browse/XCOMMONS-885]]
140 * [[Woodstox 4.4.1>>http://jira.xwiki.org/browse/XWIKI-12853]]
141 * [[commons-net 3.4>>http://jira.xwiki.org/browse/XCOMMONS-887]]
142 * [[commons-collections 4.1>>http://jira.xwiki.org/browse/XCOMMONS-889]]
143
144 = Translations =
145
146 The following translations have been updated:
147
148 {{language codes="none, none"/}}
149
150 = Tested Browsers & Databases =
151
152 {{warning}}
153 The QA Tests are executed after the release has been done. Thus, they are being prepared now and will be published soon.
154 {{/warning}}
155
156 {{comment}}
157 TODO: uncomment and update with proper link when the report is ready.
158 {{include reference="TestReports.ManualTestReportTemplateSummary"/}}
159 {{/comment}}
160
161 = Performances tests compared to <last super stable version> =
162
163 <a summary of the comparison with latest super stable version>
164
165 More details on <link to the test report>.
166
167 = Known issues =
168
169 * [[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]]
170
171 = Backward Compatibility and Migration Notes =
172
173 == General Notes ==
174
175 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.
176
177 == Issues specific to XWiki 7.4 ==
178
179 * Better backward-compatibility for URLs has been added for the following 2 cases:
180 ** 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
181 ** The ##view## action can be specified even when the wiki is configured to hide the ##view## action.
182 ** Note that this fixes [[some backward-compatibility issue introduced in XWiki 7.2>>ReleaseNotes.ReleaseNotesXWiki72||anchor="HURLs"]]
183
184 == API Breakages ==
185
186 The following APIs were modified since <project> <version - 1>:
187
188 {{code language="none"}}
189 <clirr output here>
190 {{/code}}

Get Connected