Wiki source code of Release Notes for XWiki 8.2

Version 11.20 by Ecaterina Moraru (Valica) on 2016/07/25

Hide last authors
Marius Dumitru Florea 1.1 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
Ecaterina Moraru (Valica) 5.3 7 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.
Ecaterina Moraru (Valica) 1.5 8
Marius Dumitru Florea 1.1 9 = New and Noteworthy (since XWiki 8.1) =
10
Ecaterina Moraru (Valica) 1.2 11 [[Full list of issues fixed and Dashboard for 8.2>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=13615]].
Ecaterina Moraru (Valica) 1.8 12
Ecaterina Moraru (Valica) 1.25 13 == CKEditor Becomes the Default WYSIWYG Editor ==
14
15 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.
16
Ecaterina Moraru (Valica) 1.29 17 {{image reference="ReleaseNotes.ReleaseNotesXWiki82RC1.WebHome@ckeditor.png" width="600"/}}
Ecaterina Moraru (Valica) 1.25 18
19 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.
20
Ecaterina Moraru (Valica) 1.29 21 {{image reference="ReleaseNotes.ReleaseNotesXWiki82RC1.WebHome@defaultWysiwygEditorConfig.png" width="600"/}}
Ecaterina Moraru (Valica) 1.25 22
Ecaterina Moraru (Valica) 1.8 23 == New Homepage ==
24
Ecaterina Moraru (Valica) 1.40 25 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.
Ecaterina Moraru (Valica) 3.2 26 {{image reference="Homepage.png" width="600px;"/}}
Ecaterina Moraru (Valica) 1.8 27
Ecaterina Moraru (Valica) 1.25 28 == Tour for Homepage ==
29
30 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.
31
Ecaterina Moraru (Valica) 1.30 32 {{image reference="ReleaseNotes.ReleaseNotesXWiki82RC1.WebHome@step4.png" width="600px;"/}}
Ecaterina Moraru (Valica) 1.25 33
Ecaterina Moraru (Valica) 3.3 34 == Default Templates ==
35
Ecaterina Moraru (Valica) 6.1 36 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.
Ecaterina Moraru (Valica) 3.3 37
Ecaterina Moraru (Valica) 5.2 38 {{image reference="templates_create.png" width="600px;"/}}
39
40 {{image reference="templates.png" width="600px;"/}}
41
Ecaterina Moraru (Valica) 1.8 42 == Application Index ==
43
44 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]].
45
Ecaterina Moraru (Valica) 1.20 46 {{image reference="ReleaseNotes.ReleaseNotesXWiki82M2.WebHome@appIndex.png" width="600px;"/}}
Ecaterina Moraru (Valica) 1.8 47
Ecaterina Moraru (Valica) 1.2 48 == Configure Syntaxes in Administration UI ==
Marius Dumitru Florea 1.1 49
Ecaterina Moraru (Valica) 1.2 50 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.
Marius Dumitru Florea 1.1 51
Ecaterina Moraru (Valica) 1.4 52 {{image reference="ReleaseNotesXWiki82M1@admin-rendering.png"/}}
Marius Dumitru Florea 1.1 53
Ecaterina Moraru (Valica) 1.2 54 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.
55
56 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:
57
Ecaterina Moraru (Valica) 1.4 58 {{image reference="ReleaseNotesXWiki82M1@edit-more-syntaxes.png"/}}
Ecaterina Moraru (Valica) 1.2 59
Marius Dumitru Florea 1.1 60 == Miscellaneous ==
61
Ecaterina Moraru (Valica) 1.25 62 * Removed ##Main.Welcome## page from the Dashboard since we now have a new Homepage that contains the welcome messages
Ecaterina Moraru (Valica) 1.41 63 * 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.
Ecaterina Moraru (Valica) 6.1 64 * 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.(((
Ecaterina Moraru (Valica) 1.25 65 {{gallery}}
Ecaterina Moraru (Valica) 1.30 66 image:ReleaseNotes.ReleaseNotesXWiki82RC1.WebHome@templates.png
67 image:ReleaseNotes.ReleaseNotesXWiki82RC1.WebHome@templateView.png
68 image:ReleaseNotes.ReleaseNotesXWiki82RC1.WebHome@templateEdit.png
Ecaterina Moraru (Valica) 1.25 69 {{/gallery}}
70 )))
Ecaterina Moraru (Valica) 1.37 71 * Events produced during Filter conversion job are now folded by default. This essentially means that they won't appear in Activity Stream anymore.
Ecaterina Moraru (Valica) 1.8 72 * Improved the edit section styling to be in consistency with the Flamingo Skin style(((
Ecaterina Moraru (Valica) 1.22 73 {{image reference="ReleaseNotes.ReleaseNotesXWiki82M2.WebHome@edit_section.png" width="600px;"/}}
Ecaterina Moraru (Valica) 1.8 74 )))
Ecaterina Moraru (Valica) 6.1 75 * Improved the way ratings stars are displayed by removing the white background from picture(((
Ecaterina Moraru (Valica) 1.33 76 {{image reference="ReleaseNotes.ReleaseNotesXWiki82M2.WebHome@stars.png"/}}
Ecaterina Moraru (Valica) 1.8 77 )))
Ecaterina Moraru (Valica) 1.2 78 * 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"]].
Vincent Massol 7.1 79 * Added [[2 new Tips Panel>>extensions:Extension.Help Application||anchor="HTipsPanel"]]:(((
Vincent Massol 9.2 80 {{image reference="tippanel-3.png"/}}
Marius Dumitru Florea 1.1 81
Vincent Massol 9.2 82 {{image reference="tippanel-4.png"/}}
Vincent Massol 7.1 83 )))
84
Ecaterina Moraru (Valica) 2.1 85 See the [[full list of JIRA issues>>http://jira.xwiki.org/issues/?filter=14320]] fixed in this release.
Marius Dumitru Florea 1.1 86
87 = For Developers =
88
Ecaterina Moraru (Valica) 1.26 89 == Associate Editors to Data Types ==
Marius Dumitru Florea 1.1 90
Ecaterina Moraru (Valica) 1.26 91 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.
92
93 == Instance Filter improvements ==
94
95 * 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.
96 * Instance Output Filter now use the context locale as default locale (used to be empty locale).
97
Marius Dumitru Florea 1.1 98 == Deprecated and Retired projects ==
99
Ecaterina Moraru (Valica) 1.27 100 === MediaWiki parser ===
Marius Dumitru Florea 1.1 101
Ecaterina Moraru (Valica) 1.27 102 ##xwiki-rendering-syntax-mediawiki## has been deprecated and moved to https://github.com/xwiki-contrib/syntax-mediawiki-1.0.
103
104 It's now recommended to use [[MediaWiki Syntax extension>>extensions:Extension.MediaWiki.MediaWiki Syntax]] instead.
105
Marius Dumitru Florea 1.1 106 == Upgrades ==
107
108 The following dependencies have been upgraded:
109
Ecaterina Moraru (Valica) 1.28 110 * [[Guice 4.1.0>>http://jira.xwiki.org/browse/XCOMMONS-1004]]
111 * [[Commons Compress 1.12>>http://jira.xwiki.org/browse/XCOMMONS-1005]]
112 * [[httpasyncclient 4.1.2>>http://jira.xwiki.org/browse/XCOMMONS-1009]]
113 * [[JGroups 3.6.10>>http://jira.xwiki.org/browse/XWIKI-13532]]
114 * [[Less4j 1.17.2>>http://jira.xwiki.org/browse/XWIKI-13119]]
115 * [[Infinispan 8.2.3>>http://jira.xwiki.org/browse/XWIKI-13561]]
Ecaterina Moraru (Valica) 1.8 116 * [[Groovy 2.4.7>>http://jira.xwiki.org/browse/XCOMMONS-995]]
117 * [[Jackson 2.7.5>>http://jira.xwiki.org/browse/XCOMMONS-998]]
118 * [[httpcore 4.4.5>>http://jira.xwiki.org/browse/XCOMMONS-999]]
Ecaterina Moraru (Valica) 1.2 119 * [[cssparser 0.9.19>>http://jira.xwiki.org/browse/XCOMMONS-983]]
120 * [[Tika 1.13>>http://jira.xwiki.org/browse/XWIKI-13448]]
121 * [[HSQLDB 2.3.4>>http://jira.xwiki.org/browse/XWIKI-13449]]
122 * [[Infinispan 8.2.2>>http://jira.xwiki.org/browse/XWIKI-13451]]
123 * [[Pygments 2.1.3>>http://jira.xwiki.org/browse/XWIKI-13453]]
124 * [[Commons FileUpload 1.3.2>>http://jira.xwiki.org/browse/XCOMMONS-990]]
125 * [[Joda-Time 2.9.4>>http://jira.xwiki.org/browse/XWIKI-13462]]
126 * [[httpasyncclient 4.1.1>>http://jira.xwiki.org/browse/XCOMMONS-991]]
127 * [[old Jackson 1.9.13>>http://jira.xwiki.org/browse/XCOMMONS-992]]
128 * [[JBoss Logging 3.3.0>>http://jira.xwiki.org/browse/XCOMMONS-993]]
129 * [[javax.mail 1.4.7>>http://jira.xwiki.org/browse/XCOMMONS-981]]
Marius Dumitru Florea 1.1 130
131 == Miscellaneous ==
132
Ecaterina Moraru (Valica) 1.39 133 * New ##org.xwiki.rendering.listener.SectionGeneratorListener## to generate section events from headers events
Ecaterina Moraru (Valica) 1.28 134 * Instance Output filter now indicate the target syntax for Input filters producing rendering events
135 * 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
136 * ##$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:(((
137 {{code language="none"}}
138 #set ($out = $out.replaceAll(" (id|for)=('|"")$regextool.quote($oldId)",
139 " ${escapetool.d}1=${escapetool.d}2$regextool.quoteReplacement($newId)"))
140 {{/code}}
141 )))
Ecaterina Moraru (Valica) 1.8 142 * Added 2 new column types for the Livetable macro: [["boolean" and "multilist">>extensions:Extension.Livetable Macro||anchor="HAllacceptedvalues-2"]](((
Ecaterina Moraru (Valica) 1.21 143 {{image reference="ReleaseNotes.ReleaseNotesXWiki82M2.WebHome@livetable-boolean.png"/}}
Ecaterina Moraru (Valica) 1.8 144
145
Ecaterina Moraru (Valica) 1.21 146 {{image reference="ReleaseNotes.ReleaseNotesXWiki82M2.WebHome@livetable-multilist.png"/}}
Ecaterina Moraru (Valica) 1.8 147 )))
Ecaterina Moraru (Valica) 1.2 148 * 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 ##!##)
Thomas Mortagne 10.1 149 * It's now possible to use the more consistent "Space" instead of "XWikiSpace" in XWQL request
Marius Dumitru Florea 1.1 150
151 = Translations =
152
153 The following translations have been updated:
154
Ecaterina Moraru (Valica) 1.2 155 {{language codes="ca, de, es, fr, lv, nl, pt_BR, ru, sk"/}}
Marius Dumitru Florea 1.1 156
157 = Tested Browsers & Databases =
158
159 {{warning}}
160 The QA Tests are executed after the release has been done. Thus, they are being prepared now and will be published soon.
161 {{/warning}}
162
163 {{comment}}
164 TODO: uncomment and update with proper link when the report is ready.
165 {{include reference="TestReports.ManualTestReportTemplateSummary"/}}
166 {{/comment}}
167
Ecaterina Moraru (Valica) 1.2 168 {{comment}}
Marius Dumitru Florea 1.1 169 = Performances tests compared to <last super stable version> =
170
171 <a summary of the comparison with latest super stable version>
172
173 More details on <link to the test report>.
Ecaterina Moraru (Valica) 1.2 174 {{/comment}}
Marius Dumitru Florea 1.1 175
176 = Known issues =
177
178 * [[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]]
179
180 = Backward Compatibility and Migration Notes =
181
182 == General Notes ==
183
184 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.
185
Ecaterina Moraru (Valica) 1.2 186 == Issues specific to XWiki 8.2 ==
Marius Dumitru Florea 1.1 187
Ecaterina Moraru (Valica) 1.42 188 * 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]].
189 ** The following breaking changes have been done:
Ecaterina Moraru (Valica) 1.34 190 *** ##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##
191 *** ##$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##
Ecaterina Moraru (Valica) 1.28 192 ** 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.
193 *** 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.
194 *** If the TextArea property supports wiki syntax but it's mostly code (e.g. Velocity, HTML) then best is to configure the Text editor.
195 *** Finally, if the TextArea property supports wiki syntax and it's mostly free text then best is to configure the WYSIWYG editor.
Ecaterina Moraru (Valica) 1.23 196 * The behavior of the ##getRenderedContent## methods located in Document/XWikiDocument changed a bit.
Ecaterina Moraru (Valica) 1.8 197 ** 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
198 ** methods rendering the document itself: they are still rendering in the context of whatever called this method but with the right of the document
Ecaterina Moraru (Valica) 1.43 199 * 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.
Ecaterina Moraru (Valica) 1.2 200 * 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.
Marius Dumitru Florea 1.1 201
202 == API Breakages ==
203
Ecaterina Moraru (Valica) 1.2 204 The following APIs were modified since XWiki 8.1:
Marius Dumitru Florea 1.1 205
Ecaterina Moraru (Valica) 1.2 206 {{backwardCompatiblityReport version="8.2"/}}
Marius Dumitru Florea 1.1 207
208 = Credits =
209
210 The following people have contributed code to this release (sorted alphabetically):
211
Ecaterina Moraru (Valica) 1.10 212 Alexandru Cotiuga
213 Anca Luca
214 Clemens Robbenhaar
215 Denis Gervalle
216 Ecaterina Moraru (Valica)
217 Eduard Moraru
218 Guillaume Delhumeau
219 katpavlova
220 Marius Dumitru Florea
221 Medjdoub
222 Pascal Bastien
223 Raluca Stavro
224 rnveach
225 Sean Whalen
226 Sergiu Dumitriu
227 Thomas Mortagne
228 Vincent Massol

Get Connected