Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
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.
8 {{jira url="" 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}}
16 This is the release notes for [[XWiki Commons>>]], [[XWiki Rendering>>]], [[XWiki Platform>>]] and [[XWiki Enterprise>>]]. They share the same release notes as they are released together and have the same version.
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.
20 = New and Noteworthy (since XWiki 8.1) =
22 [[Full list of issues fixed and Dashboard for 8.2>>]].
24 == CKEditor Becomes the Default WYSIWYG Editor ==
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.
28 {{image reference="ReleaseNotes.ReleaseNotesXWiki82RC1.WebHome@ckeditor.png" width="600"/}}
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.
32 {{image reference="ReleaseNotes.ReleaseNotesXWiki82RC1.WebHome@defaultWysiwygEditorConfig.png" width="600"/}}
34 == New Homepage ==
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;"/}}
39 == Tour for Homepage ==
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.
43 {{image reference="ReleaseNotes.ReleaseNotesXWiki82RC1.WebHome@step4.png" width="600px;"/}}
45 == Default Templates ==
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.
49 {{image reference="templates_create.png" width="600px;"/}}
51 {{image reference="templates.png" width="600px;"/}}
53 == Application Index ==
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]].
57 {{image reference="ReleaseNotes.ReleaseNotesXWiki82M2.WebHome@appIndex.png" width="600px;"/}}
59 == Configure Syntaxes in Administration UI ==
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.
63 {{image reference="ReleaseNotesXWiki82M1@admin-rendering.png"/}}
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.
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:
69 {{image reference="ReleaseNotesXWiki82M1@edit-more-syntaxes.png"/}}
71 == Miscellaneous ==
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:ReleaseNotes.ReleaseNotesXWiki82RC1.WebHome@templates.png
78 image:ReleaseNotes.ReleaseNotesXWiki82RC1.WebHome@templateView.png
79 image:ReleaseNotes.ReleaseNotesXWiki82RC1.WebHome@templateEdit.png
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="ReleaseNotes.ReleaseNotesXWiki82M2.WebHome@edit_section.png" width="600px;"/}}
85 )))
86 * Improved the way ratings stars are displayed by removing the white background from picture(((
87 {{image reference="ReleaseNotes.ReleaseNotesXWiki82M2.WebHome@stars.png"/}}
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"/}}
93 {{image reference="tippanel-4.png"/}}
94 )))
96 See the [[full list of JIRA issues>>]] fixed in this release.
98 = For Developers =
100 == Associate Editors to Data Types ==
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.
104 == Instance Filter improvements ==
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).
109 == Deprecated and Retired projects ==
111 === MediaWiki parser ===
113 ##xwiki-rendering-syntax-mediawiki## has been deprecated and moved to
115 It's now recommended to use [[MediaWiki Syntax extension>>extensions:Extension.MediaWiki.MediaWiki Syntax]] instead.
117 == Upgrades ==
119 The following dependencies have been upgraded:
121 * [[Guice 4.1.0>>]]
122 * [[Commons Compress 1.12>>]]
123 * [[httpasyncclient 4.1.2>>]]
124 * [[JGroups 3.6.10>>]]
125 * [[Less4j 1.17.2>>]]
126 * [[Infinispan 8.2.3>>]]
127 * [[Groovy 2.4.7>>]]
128 * [[Jackson 2.7.5>>]]
129 * [[httpcore 4.4.5>>]]
130 * [[cssparser 0.9.19>>]]
131 * [[Tika 1.13>>]]
132 * [[HSQLDB 2.3.4>>]]
133 * [[Infinispan 8.2.2>>]]
134 * [[Pygments 2.1.3>>]]
135 * [[Commons FileUpload 1.3.2>>]]
136 * [[Joda-Time 2.9.4>>]]
137 * [[httpasyncclient 4.1.1>>]]
138 * [[old Jackson 1.9.13>>]]
139 * [[JBoss Logging 3.3.0>>]]
140 * [[javax.mail 1.4.7>>]]
142 == Miscellaneous ==
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="ReleaseNotes.ReleaseNotesXWiki82M2.WebHome@livetable-boolean.png"/}}
157 {{image reference="ReleaseNotes.ReleaseNotesXWiki82M2.WebHome@livetable-multilist.png"/}}
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
162 = Translations =
164 The following translations have been updated:
166 {{language codes="ca, de, es, fr, lv, nl, pt_BR, ru, sk"/}}
168 = Tested Browsers & Databases =
170 {{include reference="TestReports.ManualTestReportSummaryXWiki82"/}}
172 {{comment}}
173 = Performances tests compared to <last super stable version> =
175 <a summary of the comparison with latest super stable version>
177 More details on <link to the test report>.
178 {{/comment}}
180 = Known issues =
182 * [[Bugs we know about>>]]
184 = Backward Compatibility and Migration Notes =
186 == General Notes ==
188 When upgrading make sure you compare your ##xwiki.cfg##, and ##web.xml## files with the newest version since some configuration parameters may have been modified or added. Note that you should add so that XWiki will attempt to automatically migrate your current database to the new schema. Make sure you backup your Database before doing anything.
190 == Issues specific to XWiki 8.2 ==
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.
206 == API Breakages ==
208 The following APIs were modified since XWiki 8.1:
210 {{backwardCompatiblityReport version="8.2"/}}
212 = Credits =
214 The following people have contributed code to this release (sorted alphabetically):
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