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.4) =
10
11 [[Full list of issues fixed and Dashboard for 8.0-milestone-1>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=13593]].
12
13 == Asynchronous Copy and Rename Page ==
14
15 The copy and rename page operations are now performed asynchronously, in a background thread, when triggered from the UI. Clicking on the Copy/Rename button takes you to a status page where you can see the options that have been selected and the progress of the operation. The advanced users have access to the operation log.
16
17 {{image reference="copyProgress.png" width="600"/}}
18
19 The progress bar is replaced with the operation status at the end in order to let you know if the operation succeeded or failed. You can use the breadcrumbs to navigate to the new page or the old one.
20
21 {{image reference="renameStatus.png" width="600"/}}
22
23 See the [[Page Lifecycle documentation>>platform:Features.DocumentLifecycle]] for more information.
24
25 == Improved Location Picker ==
26
27 The location picker used on the Create, Copy and Rename page UI is now hiding the advanced edit fields (wiki, parent and name) for simple users. Simple users will have to use the tree picker to select the target location. As a consequence the form validation is now performed on the fields that are visible to the current user.
28
29 {{image reference="simpleLocationPickerValidation.png" width="600"/}}
30
31 == Link syntax improvements for Nested Pages ==
32
33 With the addition of Nested Pages, a discrepancy appeared between the UI and the wiki syntax. The UI always talks about (nested) pages and never about spaces, but in the wiki syntax you would still have to specify both the space and the name of a page when linking to it (e.g. writing ##~[~[Some.Nested.Page.WebHome]]## if you want to create a link to the nested page ##Some.Nested.Page##). The same applies to ##image~:## or ##attach~:## syntax. The technical reason for this was that, at the wiki syntax level, untyped links were always being resolved to ##doc:## type links.
34
35 To improve this, we have added a new ##space:## type link which allows you to simply write ##~[~[space:Some.Nested.Page]]## and have made this the new default type that untyped links resolve to.
36
37 The outcome is that you can now simply type ##~[~[Some.Nested.Page]]## and you will create a link to the nested page ##Some.Nested.Page##.
38
39 For backwards compatibility with the existing untyped links, we have implemented the same mechanism we have applied for URLs, which is to:
40
41 * first try to link to a terminal page (i.e. if ##Some.Nested.Page## is actually a terminal page inside the ##Some.Nested## space; this was the previous default behavior)
42 * if no such terminal page exists, then link to the non-terminal page (i.e. ##Some.Nested.Page.WebHome##) for both when the non-terminal page exists or when it does not (and should be a wanted link)
43
44 The same thing applies for ##image~:## (e.g. ##image~:Page@file.jpg## translates technically to ##image~:Page.WebHome@file.jpg##) and for ##attach~:## syntax (e.g. ##attach~:Page@file.ext## translates technically to ##attach~:Page.WebHome@file.ext##).
45
46 == Color Theme Displayer ==
47
48 In the administration, an error message is displayed if the configured color theme is invalid. It could happen after an upgrade if you were using an old Colibri Theme.
49
50 {{image reference="ColorThemeDisplayer.png"/}}
51
52 == Miscellaneous ==
53
54 * The WebDAV feature is [[now configured using Servlet 3.0 annotations>>||anchor="HIssuesspecifictoXWiki8.0Milestone1"]] and is [[not bundled by default anymore>>||anchor="HIssuesspecifictoXWiki8.0Milestone1"]].
55 * The [[Statistics Application>>extensions:Extension.Statistics Application]] is no longer installed by default. The same applied for the [[Charting Plugin>>extensions:Extension.Charting Plugin]].
56
57 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+%22<version>%22&tempMax=1000]] fixed in this release.
58
59 = For Developers =
60
61 == Extension Manager improvements ==
62
63 === Feature version ===
64
65 Each extension feature now have its own version. See [[extensions:Extension.Extension Module Virtual Extensions]] for more details.
66
67 === Namespace constraint ===
68
69 It's now possible to indicate a constraint on where an extension can be installed (only root namespace, etc.).
70
71 In Maven you can do that using ##<xwiki.extension.namespaces>## custom property. See [[Maven Connector>>extensions:Extension.XWiki Commons - Extension - Repository - Maven||anchor="HCustomproperties"]] for more details.
72
73 === Compare Extensions ===
74
75 ##org.xwiki.extension.Extension## and ##org.xwiki.extension.ExtensionId## now implement ##Comparable## to make easier manipulate them (order lists, find out if we are doing an upgrade or a downgrade, etc.).
76
77 == Edit Action Events ==
78
79 Two new JavaScript events are available in edit mode:
80
81 * **##xwiki:actions:beforePreview##**
82 This event is fired after the user clicks on the "Preview" button from an edit mode, but before the edit form is validated. You can use this event to update the form fields before they are submitted to the preview action.
83 * **##xwiki:actions:beforeSave##**
84 This event is fired after the user clicks on the "Save" or "Save & Continue" button from an edit mode, but before the edit form is validated. You can use this event to update the form fields before they are submitted to the save action.
85
86 See the [[JavaScript API documentation>>platform:DevGuide.JavaScriptAPI]] for more information.
87
88 == New SVG Rasterizing API ==
89
90 New [[API>>extensions:Extension.SVG Rasterizing API]] to convert a vector-based SVG content into some binary format that can be displayed in browser (i.e. rasterizing).
91
92 == Deprecated and Retired projects ==
93
94 * Colibri skin moved to https://github.com/xwiki-contrib/skin-colibri
95 * Color Theme application moved to https://github.com/xwiki-contrib/skin-colibri
96 * Old XWiki 1.0 syntax rendering framework moved to https://github.com/xwiki-contrib/xwiki-platform-oldrendering
97 * XWiki 1.0 rendering parser moved to https://github.com/xwiki-contrib/xwiki10-parser
98 * XWiki 1.0 chart macro moved to https://github.com/xwiki-contrib/xwiki-platform-chart-macro10
99
100 == Upgrades ==
101
102 The following dependencies have been upgraded:
103
104 * [[Bouncy Castle 1.54>>http://jira.xwiki.org/browse/XCOMMONS-897]]
105 * [[HTMLCleaner 2.16>>http://jira.xwiki.org/browse/XCOMMONS-825]]
106 * [[Jackson 2.7.1>>http://jira.xwiki.org/browse/XCOMMONS-875]]
107 * [[JGroups 3.6.7>>http://jira.xwiki.org/browse/XWIKI-13003]]
108 * [[FOP 2.1>>http://jira.xwiki.org/browse/XWIKI-13026]]
109 * [[Slf4j 1.7.14>>http://jira.xwiki.org/browse/XCOMMONS-909]]
110 * [[CSS4J 0.20>>http://jira.xwiki.org/browse/XWIKI-8706]]
111 * [[Joda-Time 2.9.2>>https://jira.xwiki.org/browse/XWIKI-13062]]
112
113 == Miscellaneous ==
114
115 * Generated URLs for document-based skin extensions (SSX and JSX) now contain the version of the document, so when a change is made to the extension the browser don't use an outdated version from its cache.
116 * Support for chaining uberspectors, first introduced in XWiki as an enhancement of Velocity 1.5, has been part of the official library since Velocity 1.6. As such, we're deprecating our custom classes that provide this functionality. If you have custom uberspectors that implement ##org.xwiki.velocity.introspection.ChainableUberspector## or extend ##org.xwiki.velocity.introspection.AbstractChainableUberspector##, update them to ##org.apache.velocity.util.introspection.ChainableUberspector## and ##org.apache.velocity.util.introspection.AbstractChainableUberspector##. If you have a custom list of uberspectors specified under ##runtime.introspector.uberspect.chainClasses##, just use the ##runtime.introspector.uberspect## property for defining the list.
117 * the [[XWiki Select Widget>>platform:DevGuide.XWikiSelect]] now offers a javascript API in the form of a jQuery plugin, to get the current value or clear the selection.
118 * the [[WYSIWYG editor>>extensions:Extension.WYSIWYG Editor Module]] script service has a new method to render a document as a full HTML page. You can use it like this:(((
119 {{code language="none"}}<textarea class="wysiwyg">$escapetool.xml($services.wysiwyg.render('Some.Content.Template'))</textarea>{{/code}}
120 The main difference between this API and the existing ##$doc.getRenderedContent()## is that it replaces [[the skin extension hooks>>extensions:Extension.Skin Extension Plugin]] with the corresponding resource includes (e.g. style sheets includes), allowing us to define a WYSIWYG editor content template in a wiki page.
121 )))
122 * Replaced a few String-based APIs by Locale-based equivalents
123 * All Document Events are now Cancelable and it's now possible for an ##EventListener## implementation to cancel saving a Document.
124
125 = Translations =
126
127 The following translations have been updated:
128
129 {{language codes="none, none"/}}
130
131 = Tested Browsers & Databases =
132
133 {{warning}}
134 The QA Tests are executed after the release has been done. Thus, they are being prepared now and will be published soon.
135 {{/warning}}
136
137 {{comment}}
138 TODO: uncomment and update with proper link when the report is ready.
139 {{include reference="TestReports.ManualTestReportTemplateSummary"/}}
140 {{/comment}}
141
142 = Performances tests compared to <last super stable version> =
143
144 <a summary of the comparison with latest super stable version>
145
146 More details on <link to the test report>.
147
148 = Known issues =
149
150 * [[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]]
151
152 = Backward Compatibility and Migration Notes =
153
154 == General Notes ==
155
156 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.
157
158 == Issues specific to XWiki 8.0 Milestone 1 ==
159
160 * The WebDAV feature is now configured using Servlet 3.0 annotations and is not bundled by default anymore.
161 ** If you were using this feature, you should check the [[Instructions to install it manually>>extensions:Extension.WebDAV Server||anchor="HPrerequisites26InstallationInstructions"]].
162 ** If you were not using it, you should make sure to edit your ##web.xml## to remove all the Servlet and Filter definitions for WebDAV (search for ##dav## in ##web.xml##).
163 * With the improvement done in the wiki links, ##image~:## and ##attach~:## syntax, existing untyped links pointing to inexistent documents (e.g. ##~[~[Doc]]##) will no longer be resolved to point to a new terminal document in the same space (i.e. ##<currentSpace>.Doc##, when ##<currentSpace>.Doc## does not exist), but will be resolved to point to a new non-terminal document in the top level (i.e. ##Doc.WebHome##). The reason is because we don`t currently have a way to specify a relative link to a nested document (i.e. space) and we only use absolute links. This only affects wanted links, since for existing documents the backwards compatibility mechanism preserves the previous behavior.
164 * Mail API Unique Message Identifier (since 7.4.1): In order to solve [[XWIKI-12165>>http://jira.xwiki.org/browse/XWIKI-12165]], the unique identifier of each mime message sent has been change to a SHA1 based on the ##Message-ID## header and the list of recipients of the mails, ensuring uniqueness during a newsletter or mailing sending. To introduce this change, the ##MailContentStore## and the ##MailListener API## has been broken, and now use a new ExtendedMimeMessage instead of the simple ##MimeMessage## for all arguments. The values ##messageId## returned or used as argument in the API is no more equivalent to the ##Message-ID## header, but is now the unique identifier returned by ##ExtendedMimeMessage#getUniqueMessageId()##. Finally, the ##MessageMimeMessageFactory## now returns cloned ##MimeMessage## without changing the ##Message-ID##.
165
166 == API Breakages ==
167
168 The following APIs were modified since XWiki 7.4:
169
170 {{code language="none"}}
171 <clirr output here>
172 {{/code}}

Get Connected