Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 {{error}}
6 The following regressions were found after this version has been released. We recommend downloading the [[8.2.1>>ReleaseNotes.ReleaseNotesXWiki821]] release that fixes these issues.
7
8 {{jira url="https://jira.xwiki.org" style="list" source="list" fields="status, key, summary, note"}}
9 XCOMMONS-1026|(This can cause a real mess with multiwiki instances.)
10 XWIKI-13603
11 XWIKI-13606
12 XWIKI-13600
13 {{/jira}}
14 {{/error}}
15
16 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.
17
18 This release integrates CKEditor as the default WYSIWYG content editor. It also features a redesigned default homepage, a tour on the home page to describe the XWiki user interface to newcomers, new default templates, a new application index in the drawer and a new administration UI to help manage available syntaxes. There are also minor improvements to the template providers, the Flamingo skin and Ratings. For developers, we have Livetable macro improvements and a long overdue change of behavior for the ##getRenderedContent()## method.
19
20 = New and Noteworthy (since XWiki 8.1) =
21
22 [[Full list of issues fixed and Dashboard for 8.2>>https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=13615]].
23
24 == CKEditor Becomes the Default WYSIWYG Editor ==
25
26 Starting with this version we have a new WYSIWYG editor: the [[CKEditor>>extensions:Extension.CKEditor Integration]]. The integration with CKEditor was already available as an extension and now this extension is bundled with the standard XWiki distribution.
27
28 {{image reference="[email protected]" width="600"/}}
29
30 The old WYSIWYG editor is still available and if you want to switch back to it you can do it from the "Edit Mode Settings" section in the wiki administration.
31
32 {{image reference="[email protected]Config.png" width="600"/}}
33
34 == New Homepage ==
35
36 We replaced the Dashboard application from the main Homepage and added introductory steps as wiki syntax. This change will make it simpler for new users to edit the Homepage content, while also benefiting from some basic help concepts. The left panels area also showcases now the "Navigation" panel, while the right panels area contain a "Need Help?" panel.
37 {{image reference="Homepage.png" width="600px;"/}}
38
39 == Tour for Homepage ==
40
41 A [[tour>>extensions:Extension.Tour Application]] has been created to present the existing UI elements from the home page. Every user will be guided through this tour in order to become familiar with XWiki.
42
43 {{image reference="[email protected]" width="600px;"/}}
44
45 == Default Templates ==
46
47 We added 4 default templates that will appear in the Create step. Their purpose is to showcase the template feature, by providing pre-created page structures that can be used immediately. The templates added are: Article, Encyclopedia, Meeting Report and Simple Page.
48
49 {{image reference="templates_create.png" width="600px;"/}}
50
51 {{image reference="templates.png" width="600px;"/}}
52
53 == Application Index ==
54
55 We removed some applications from the AppBar (like Scheduler, Invitation, Panels, etc.) with the intention to simplify the interface and promote a smaller number of applications inside the AppBar panel. In order for the applications to still be discoverable, we added in the Drawer an [[Application Index>>extensions:Extension.Application Index Application]].
56
57 {{image reference="[email protected]" width="600px;"/}}
58
59 == Configure Syntaxes in Administration UI ==
60
61 It's now possible to [[easily configure the markup syntaxes>>extensions:Extension.Rendering Administration Application]] that you wish to be made available to your users when writing pages, directly from the Admin UI.
62
63 {{image reference="[email protected]"/}}
64
65 We've also modified the default syntax configuration when you start with a fresh new XWiki; by default the only configured syntax is the XWiki Syntax 2.1. To add more you need to install extensions offering new syntaxes or go to the Admin UI to configure more syntaxes for those bundled by default in XWiki.
66
67 Note that the ##xwiki/2.1## syntax is the only configured syntax by default now (we used to also have the ##xwiki/2.0## syntax too but we want to incitate users to use the newest syntax). In addition when the user is an Admin and only 1 syntax is configured, a hint is given to the user to let him know he can configure more syntaxes:
68
69 {{image reference="[email protected]"/}}
70
71 == Miscellaneous ==
72
73 * Removed ##Main.Welcome## page from the Dashboard since we now have a new Homepage that contains the welcome messages
74 * You now have the option to create a blog post from anywhere inside the Blog page (or one of its children) by simply using the ##+## (create page) button and selecting //Blog Post// as your new page's type.
75 * When creating a new page, the Template Providers for specific applications can now add an //icon// and a //description//, in order to display additional information in template providers list. We added new icons and descriptions for the Blog and Dashboard default templates.(((
76 {{gallery}}
77 image:[email protected]
78 image:[email protected]
79 image:[email protected]
80 {{/gallery}}
81 )))
82 * Events produced during Filter conversion job are now folded by default. This essentially means that they won't appear in Activity Stream anymore.
83 * Improved the edit section styling to be in consistency with the Flamingo Skin style(((
84 {{image reference="[email protected]_section.png" width="600px;"/}}
85 )))
86 * Improved the way ratings stars are displayed by removing the white background from picture(((
87 {{image reference="[email protected]"/}}
88 )))
89 * Default XWiki Syntax 1.0 configuration has been removed from ##xwiki.cfg## and is now [[documented here>>extensions:Extension.Old XWiki 1\.0 syntax renderer||anchor="HConfiguration"]].
90 * Added [[2 new Tips Panel>>extensions:Extension.Help Application||anchor="HTipsPanel"]]:(((
91 {{image reference="tippanel-3.png"/}}
92
93 {{image reference="tippanel-4.png"/}}
94 )))
95
96 See the [[full list of JIRA issues>>https://jira.xwiki.org/issues/?filter=14320]] fixed in this release.
97
98 = For Developers =
99
100 == Associate Editors to Data Types ==
101
102 This version introduces a new module that provides APIs to associate editors to data types. For instance you can associate a date picker to ##java.util.Date##, or a WYSIWYG editor to ##org.xwiki.rendering.block.XDOM##. There can be multiple editors available for a specific data type and the user or the administrator can configure the preferred one. Checkout the [[Edit Module>>extensions:Extension.Edit Module]] documentation for more details. This new API has been used to embed CKEditor as the default WYSIWYG editor.
103
104 == Instance Filter improvements ==
105
106 * Instance Output Filter now support missing begin/end event on document locale and revision so input filter for which those two concept don't make sense don't have to send them anymore.
107 * Instance Output Filter now use the context locale as default locale (used to be empty locale).
108
109 == Deprecated and Retired projects ==
110
111 === MediaWiki parser ===
112
113 ##xwiki-rendering-syntax-mediawiki## has been deprecated and moved to https://github.com/xwiki-contrib/syntax-mediawiki-1.0.
114
115 It's now recommended to use [[MediaWiki Syntax extension>>extensions:Extension.MediaWiki.MediaWiki Syntax]] instead.
116
117 == Upgrades ==
118
119 The following dependencies have been upgraded:
120
121 * [[Guice 4.1.0>>https://jira.xwiki.org/browse/XCOMMONS-1004]]
122 * [[Commons Compress 1.12>>https://jira.xwiki.org/browse/XCOMMONS-1005]]
123 * [[httpasyncclient 4.1.2>>https://jira.xwiki.org/browse/XCOMMONS-1009]]
124 * [[JGroups 3.6.10>>https://jira.xwiki.org/browse/XWIKI-13532]]
125 * [[Less4j 1.17.2>>https://jira.xwiki.org/browse/XWIKI-13119]]
126 * [[Infinispan 8.2.3>>https://jira.xwiki.org/browse/XWIKI-13561]]
127 * [[Groovy 2.4.7>>https://jira.xwiki.org/browse/XCOMMONS-995]]
128 * [[Jackson 2.7.5>>https://jira.xwiki.org/browse/XCOMMONS-998]]
129 * [[httpcore 4.4.5>>https://jira.xwiki.org/browse/XCOMMONS-999]]
130 * [[cssparser 0.9.19>>https://jira.xwiki.org/browse/XCOMMONS-983]]
131 * [[Tika 1.13>>https://jira.xwiki.org/browse/XWIKI-13448]]
132 * [[HSQLDB 2.3.4>>https://jira.xwiki.org/browse/XWIKI-13449]]
133 * [[Infinispan 8.2.2>>https://jira.xwiki.org/browse/XWIKI-13451]]
134 * [[Pygments 2.1.3>>https://jira.xwiki.org/browse/XWIKI-13453]]
135 * [[Commons FileUpload 1.3.2>>https://jira.xwiki.org/browse/XCOMMONS-990]]
136 * [[Joda-Time 2.9.4>>https://jira.xwiki.org/browse/XWIKI-13462]]
137 * [[httpasyncclient 4.1.1>>https://jira.xwiki.org/browse/XCOMMONS-991]]
138 * [[old Jackson 1.9.13>>https://jira.xwiki.org/browse/XCOMMONS-992]]
139 * [[JBoss Logging 3.3.0>>https://jira.xwiki.org/browse/XCOMMONS-993]]
140 * [[javax.mail 1.4.7>>https://jira.xwiki.org/browse/XCOMMONS-981]]
141
142 == Miscellaneous ==
143
144 * New ##org.xwiki.rendering.listener.SectionGeneratorListener## to generate section events from headers events
145 * Instance Output filter now indicate the target syntax for Input filters producing rendering events
146 * The same relative file path supported for ##source## filter properties parameter is now supported for any InputSource filter properties parameter in the Filter test framework
147 * ##$regextool## [[Velocity Tool>>extensions:Extension.Velocity Module||anchor="HVelocityTools"]] has a new method to quote the replacement string in ##String#replaceAll()##. Here's how you can use it:(((
148 {{code language="none"}}
149 #set ($out = $out.replaceAll(" (id|for)=('|"")$regextool.quote($oldId)",
150 " ${escapetool.d}1=${escapetool.d}2$regextool.quoteReplacement($newId)"))
151 {{/code}}
152 )))
153 * Added 2 new column types for the Livetable macro: [["boolean" and "multilist">>extensions:Extension.Livetable Macro||anchor="HAllacceptedvalues-2"]](((
154 {{image reference="[email protected]"/}}
155
156
157 {{image reference="[email protected]ng"/}}
158 )))
159 * The URL API module (##xwiki-platform-url-api##) [[now provides>>extensions:Extension.URL API||anchor="HTools"]] an ##EntityReferenceResolver<String>## resolver and an ##EntityReferenceSerializer<String>## serializer implementations (with hint ##url##) that can be used to parse/serialize ##EntityReference## when used in URLs. The rationale is that Tomcat, for security reasons, doesn't support forward and backward slashes (##/##, ##\##) in URLs by default. Thus, if a reference contains some reserved characters such as dot (##.##), colon (##:##), etc and you use a default serializer they'll be escaped using a backslash, leading to problems under Tomcat. So this resolver/serializer uses a different escape character (namely, it uses ##!##)
160 * It's now possible to use the more consistent "Space" instead of "XWikiSpace" in XWQL request
161
162 = Translations =
163
164 The following translations have been updated:
165
166 {{language codes="ca, de, es, fr, lv, nl, pt_BR, ru, sk"/}}
167
168 = Tested Browsers & Databases =
169
170 {{include reference="TestReports.ManualTestReportSummaryXWiki82"/}}
171
172 {{comment}}
173 = Performances tests compared to <last super stable version> =
174
175 <a summary of the comparison with latest super stable version>
176
177 More details on <link to the test report>.
178 {{/comment}}
179
180 = Known issues =
181
182 * [[Bugs we know about>>https://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]]
183
184 = Backward Compatibility and Migration Notes =
185
186 == General Notes ==
187
188 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.
189
190 == Issues specific to XWiki 8.2 ==
191
192 * We refactored the way in which the editors are loaded for page content and TextArea properties. We're now using the new [[Edit API>>extensions:Extension.Edit Module]].
193 ** The following breaking changes have been done:
194 *** ##textarea_text.vm## and ##textarea_wysiwyg.vm## Velocity templates have been removed. In case you have customized these templates you can port the changes to the new editor templates available in ##/templates/editors/xdom*.vm##
195 *** ##$xcontext.getEditorWysiwyg()## has been deprecated and is now returning ##null## all the time (which translates into "no TextArea fields that need a WYSIWYG editor"). If you were using this method to customize the WYSIWYG editor then you can do the same from the new editor templates available in ##/templates/editors/xdom*.vm##
196 ** A side effect of this refactoring is that the Object and Class editors are now using the configured preferred editor, unless it is overwritten using the "editor" meta property.
197 *** If you have a TextArea property that doesn't support wiki syntax then best is to configure the xclass to use the //PureText// editor for this property.
198 *** If the TextArea property supports wiki syntax but it's mostly code (e.g. Velocity, HTML) then best is to configure the Text editor.
199 *** Finally, if the TextArea property supports wiki syntax and it's mostly free text then best is to configure the WYSIWYG editor.
200 * The behavior of the ##getRenderedContent## methods located in Document/XWikiDocument changed a bit.
201 ** methods taking a String to render in the context of the document: they are still rendering in the context of the document but with the right of whatever called the method
202 ** methods rendering the document itself: they are still rendering in the context of whatever called this method but with the right of the document
203 * The ##xwiki.rendering.syntaxes## configuration property from ##xwiki.cfg## has changed purpose. It's now used only to define the //initial// list of active syntaxes. Then an Admin can go to the Admin UI to enable or disable syntaxes.
204 * Support for the Markdown syntax is no longer bundled by default and needs to be [[installed as an Extension>>extensions:Extension.Markdown Syntaxes]] if needed.
205
206 == API Breakages ==
207
208 The following APIs were modified since XWiki 8.1:
209
210 {{backwardCompatiblityReport version="8.2"/}}
211
212 = Credits =
213
214 The following people have contributed code to this release (sorted alphabetically):
215
216 Alexandru Cotiuga
217 Anca Luca
218 Clemens Robbenhaar
219 Denis Gervalle
220 Ecaterina Moraru (Valica)
221 Eduard Moraru
222 Guillaume Delhumeau
223 katpavlova
224 Marius Dumitru Florea
225 Manuel Smeria
226 Medjdoub
227 Pascal Bastien
228 Raluca Stavro
229 rnveach
230 Sean Whalen
231 Sergiu Dumitriu
232 Thomas Mortagne
233 Vincent Massol

Get Connected