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

Get Connected