Version 28.2 by Marius Dumitru Florea on 2016/01/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 <version - 1>) =
10
11 [[Full list of issues fixed and Dashboard for <version>>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=<fill id here>]].
12
13 == <feature N> ==
14
15 <description of feature N>
16
17 == Link syntax improvements for Nested Pages ==
18
19 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.
20
21 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.
22
23 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##.
24
25 For backwards compatibility with the existing untyped links, we have implemented the same mechanism we have applied for URLs, which is to:
26
27 * 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)
28 * 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)
29
30 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##).
31
32 == Miscellaneous ==
33
34 * The WebDAV feature is [[now configured using Servlet 3.0 annotations>>||anchor="HIssuesspecifictoXWiki8.0Milestone1"]].
35 * The [[Statistics Application>>extensions:Extension.Statistics Application]] is no longer installed by default. The same applied for the [[Charting Plugin>>extensions:Extension.Charting Plugin]].
36
37 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.
38
39 = For Developers =
40
41 == Extension Manager improvements ==
42
43 === Feature version ===
44
45 Each extension feature now have its own version. See [[extensions:Extension.Extension Module Virtual Extensions]] for more details.
46
47 === Namespace constraint ===
48
49 It's now possible to indicate a constraint on where an extension can be installer (only root namespace, etc.).
50
51 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.
52
53 === Compare Extensions ===
54
55 ##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.).
56
57 == Edit Action Events ==
58
59 Two new JavaScript events are available in edit mode:
60
61 * **##xwiki:actions:beforePreview##**
62 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.
63 * **##xwiki:actions:beforeSave##**
64 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.
65
66 See the [[JavaScript API documentation>>platform:DevGuide.JavaScriptAPI]] for more information.
67
68 == Deprecated and Retired projects ==
69
70 * Colibri skin moved to https://github.com/xwiki-contrib/skin-colibri
71 * Color Theme application moved to https://github.com/xwiki-contrib/skin-colibri
72 * Old XWiki 1.0 syntax rendering framework moved to https://github.com/xwiki-contrib/xwiki-platform-oldrendering
73 * XWiki 1.0 rendering parser moved to https://github.com/xwiki-contrib/xwiki10-parser
74 * XWiki 1.0 chart macro moved to https://github.com/xwiki-contrib/xwiki-platform-chart-macro10
75
76 == Upgrades ==
77
78 The following dependencies have been upgraded:
79
80 * [[Bouncy Castle 1.54>>http://jira.xwiki.org/browse/XCOMMONS-897]]
81 * [[HTMLCleaner 2.16>>http://jira.xwiki.org/browse/XCOMMONS-825]]
82 * [[Jackson 2.7.0>>http://jira.xwiki.org/browse/XCOMMONS-875]]
83 * [[JGroups 3.6.7>>http://jira.xwiki.org/browse/XWIKI-13003]]
84 * [[FOP 2.1>>http://jira.xwiki.org/browse/XWIKI-13026]]
85 * [[Slf4j 1.7.14>>http://jira.xwiki.org/browse/XCOMMONS-909]]
86 * [[CSS4J 0.20>>http://jira.xwiki.org/browse/XWIKI-8706]]
87
88 == Miscellaneous ==
89
90 * Replaced a few String based APIs by Locale based equivalent
91 * 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.
92 * 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.
93 * 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 (it was also introduced in [[XWiki 7.4.1>>ReleaseNotes.ReleaseNotesXWiki741]]).
94 * 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:(((
95 {{code language="none"}}<textarea class="wysiwyg">$escapetool.xml($services.wysiwyg.render('Some.Content.Template'))</textarea>{{/code}}
96 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.
97 )))
98
99 = Translations =
100
101 The following translations have been updated:
102
103 {{language codes="none, none"/}}
104
105 = Tested Browsers & Databases =
106
107 {{warning}}
108 The QA Tests are executed after the release has been done. Thus, they are being prepared now and will be published soon.
109 {{/warning}}
110
111 {{comment}}
112 TODO: uncomment and update with proper link when the report is ready.
113 {{include reference="TestReports.ManualTestReportTemplateSummary"/}}
114 {{/comment}}
115
116 = Performances tests compared to <last super stable version> =
117
118 <a summary of the comparison with latest super stable version>
119
120 More details on <link to the test report>.
121
122 = Known issues =
123
124 * [[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]]
125
126 = Backward Compatibility and Migration Notes =
127
128 == General Notes ==
129
130 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.
131
132 == Issues specific to XWiki 8.0 Milestone 1 ==
133
134 * The WebDAV feature is now configured using Servlet 3.0 annotations. Make sure you deploy XWiki in a Servlet Container that is configured to discover Servlet 3.0 annotations (at least for the XWiki ##xwiki-platform-webdav-server-*.jar## JAR). If you're upgrading also make sure you edit your ##web.xml## to remove all the Servlet and Filter definitions for WebDAV (search for ##dav## in ##web.xml##).
135 * 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.
136
137 == Mail API Unique Message Identifier (since 7.4.1) ==
138
139 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##.
140
141 == API Breakages ==
142
143 The following APIs were modified since <project> <version - 1>:
144
145 {{code language="none"}}
146 <clirr output here>
147 {{/code}}

Get Connected