Last modified by Thomas Mortagne on 2017/03/24

<
From version < 10.3 >
edited by Eduard Moraru
on 2014/09/18
To version < 10.5 >
edited by Eduard Moraru
on 2014/09/18
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -6,14 +6,81 @@
6 6  
7 7  <insert description of release here>
8 8  
9 -= New and Noteworthy (since XWiki <version - 1>) =
9 += New and Noteworthy (since XWiki 6.1) =
10 10  
11 -[[Full list of issues fixed and Dashboard for <version>>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=<fill id here>]].
11 +[[Full list of issues fixed and Dashboard for 6.2>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=12494]].
12 12  
13 13  == Flamingo ==
14 14  
15 15  * The textarea now use a monospace font.
16 16  
17 +== Flamingo Skin ==
18 +
19 +* The user profile looks better on smartphones:(((
20 + {{image reference="flamingo-user-profile.png" width="12%"/}}
21 +)))
22 +
23 +== New structure for apps created with App Within Minutes ==
24 +
25 +When you create a new application using AWM, your application will be structured into 2 spaces (one for data and the other for code). For more details, see [[AWM's documentation>>extensions:Extension.App Within Minutes Application||anchor="HApplicationStructure"]].
26 +
27 +{{image reference="AppWithinMinutes-Step1.png"/}}
28 +
29 +== Initialization screen improvements ==
30 +
31 +If XWiki initialization failed you get a detailed log and it stop refreshing the page.
32 +
33 +{{image reference="init_errors.png"/}}
34 +
35 +== Icon Theme Application ==
36 +
37 +A new application is now bundled in XWiki: [[extensions:Extension.Icon Theme Application]]. Its purpose is to let the user chose which icon set she would like to have in her wiki.
38 +
39 +{{image reference="iconset-administration.png"/}}
40 +
41 +This application is compatible with icon stored as images but also with font icons such as [[FontAwesome>>http://fortawesome.github.io/Font-Awesome/]]!
42 +
43 +== Font Awesome ==
44 +
45 +[[Font Awesome>>extensions:Extension.Font Awesome Icon Theme]] is our first alternative to [[silk>>http://www.famfamfam.com/lab/icons/silk/]] as an Icon Theme. It is now bundled in XWiki, but the Icon Theme mapping is still at a beta state.
46 +
47 +== Application Bar ==
48 +
49 +* The icons are now bigger.
50 +* The icons displayed in the application bar use the new Icon Theme Application, in order to let the user choose the icon set she wants to see:
51 +\\{{image reference="appbar-with-fontawesome.png" width="40%"/}} {{image reference="appbar-with-silk.png" width="40%"/}}
52 +* On devices with small screen, when panels are displayed under the page content (currently, it is the case for Flamingo only), the appbar is now displayed differently to use all the available width:
53 +\\{{image reference="AppBarLowRes.png"/}}
54 +
55 +== Flamingo ==
56 +
57 +* **[[Flamingo>>extensions:Extension.Flamingo Skin]] is the new default skin in XWiki!**
58 +* The [[applications panel>>extensions:Extension.Panels Application||anchor="HApplicationPanel"]] (also known as the "Applications Bar") has been set by default on the left panel.
59 +* The default icon theme is now [[Font Awesome>>extensions:Extension.Font Awesome Icon Theme]].
60 +* A new application has been made to manage color themes on Flamingo. It does not only permit to change colors anymore, but also the typography, etc... That is why it is called [[extensions:Extension.Flamingo Theme Application]].
61 +{{image reference="FlamingoThemeEditor.png" width="50%"/}}
62 +* By default, a new theme is enabled: ##FlamingoDefaultTheme##, made with the new application described above.
63 +* [[extensions:Extension.Colibri Skin]] can use the themes from Flamingo thanks to a mapping between [[extensions:Extension.Flamingo Theme Application]] and [[extensions:Extension.Color Theme Application]]. The results may not be perfect though.
64 +* Improved Login form(((
65 +{{image reference="flamingoLogin.png"/}}
66 +)))
67 +* The page headers from Colibri ColorThemes can be displayed for Flamingo skin by setting the ##$displayPageHeader## to ##true## in ##layoutExtraVars.vm##. By default this variable is set to false (((
68 +[[{{image reference="Flamingo_displayPageHeader_false.png" width="400px"/}}>>attach:Flamingo_displayPageHeader_false.png]] [[{{image reference="Flamingo_displayPageHeader_true.png" width="400px"/}}>>attach:Flamingo_displayPageHeader_true.png]]
69 +)))
70 +* You can control whether or not you want to display the create and the "more actions" menus with 2 new variables: ##$displayCreateMenu## and ##$displayMoreActionsMenu##. You can manually set them in the ##layoutExtraVars.vm## file.(((
71 +
72 +You can see the results of all this changes in the following screenshot:
73 +{{image reference="flamingo.png" width="65%"/}}
74 +)))
75 +
76 +== Blog Application ==
77 +
78 +The blog panels are now displayed on the right column by default, to fit Flamingo:
79 +
80 +(((
81 +{{image reference="flamingo-blog.png" width="60%"/}}
82 +)))
83 +
17 17  == Miscellaneous ==
18 18  
19 19  * The RTF export is now only supported when an Office Server is connected to XWiki (we used to default to using FOP when no Office Server is connected but the quality of the export was too low to consider this a viable solution).
... ... @@ -94,24 +94,104 @@
94 94  # ----------------------------------------------------------------------------------------------------------------
95 95  {{/code}}
96 96  )))
164 +* When using the standalone package, the logs can also be found in files under ##data/logs/##.
165 +* The jetty configuration is now split in several files, making it easier to configure the needed parts.
166 +* There's a sample configuration file for enabling HTTPS for the standalone Jetty server.
167 +* The port on which Jetty listens for request can be configured using the ##JETTY_PORT## environment variables; ##JETTY_STOP_PORT## can be used to configure the port where stop commands are expected.
168 +* Jetty's messages are now more informative: internal information isn't displayed, while notifications for the users are printed both at startup and shutdown.
169 +* Single line fields in documents are not merged at character level anymore. This might increase a bit the number of potential conflicts but at the same time improve the suggestion in most cases in case of real conflict since most of the time this kind of field cannot really be merged.
170 +* The XWiki Snapshots maven extensions repository is now used by default (when no other repositories are configured) on snapshot/development builds of XWiki Enterprise in order to make the testing of snapshot builds easier and faster.
171 +* ModalPopup and LightBox resource components are now responsive. For small resolutions their width will occupy the whole screen.(((
172 +{{image reference="afterAddUsers.png"/}} {{image reference="afterSharebyEmail.png"/}}
173 +)))
174 +* Deleted document translations can now be restored, even if the main document or a different translation has already been restored (as long as no conflict exists). See [[XWIKI-9567>>http://jira.xwiki.org/browse/XWIKI-9567]] and the [[documentation>>extensions:Extension.Index Application||anchor="HRestoringatranslation"]].
175 +* The [[Font Awesome Icon Theme>>extensions:Extension.Font Awesome Icon Theme]] has been improved with 50 new icons.
176 +* In Flamingo, the form of the login page has been changed to navigate easily using the keyboard.
177 +* Annotations initialization speedup
178 +* Wiki macros initialization speedup
97 97  
98 98  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+%226.2%22&tempMax=1000]] fixed in this release.
99 99  
100 100  = For Developers =
101 101  
102 -== <developer feature N> ==
184 +== Wiki module improvements ==
103 103  
104 -<description of developer feature N>
186 +* Added an API to directly get the wiki identifiers:
187 +** From Velocity:(((
188 +{{code language="velocity"}}
189 +#set($wikiIds = $services.wiki.allIds)
190 +{{/code}}
191 +)))
192 +** From Java:(((
193 +{{code language="java"}}
194 +Collection<String> wikiIds = wikiDescriptorManager.getAllIds();
195 +{{/code}}
196 +)))
105 105  
106 -== Deprecated and Retired projects ==
198 +== The ##XWiki.widgets.ConfirmationBox## widget can display a //Cancel// button ==
107 107  
108 -<description of deprecated and retired projects>
200 +By passing the ##showCancelButton : true## option in the ##interactionParameters## argument to the constructor, a //Cancel// button will be displayed next to the //Yes// and //No// ones. The label of the button can be specified with the ##cancelButtonText## interaction option, and an optional callback to execute with the ##onCancel## behavior option.
109 109  
202 +== The ##XWiki.widgets.ModalPopup#createButton## method now accepts an ##extraClass## parameter ==
203 +
204 +The fifth parameter can be used to add additional classes, besides the standard ##button##, to the created buttons.
205 +
206 +== WikiStream module renamed to Filter module ==
207 +
208 +The heart of WikiStream being far more generic than wikis, most of it have been moved to commons in the already existing [[Filter module>>extensions:Extension.Filter Module]].
209 +
210 +Most of WikiStream module moved to commons filter module (everything that wasn't really depending on any platform project) and it also been renamed to ##Filter## on platform side to follow commons naming. The structure of the API did not changed a bit except for the naming. In short every "WikiStream" in your code should be changed to ##Filter## or ##FilterStream##. None of the existing streams identifiers changed except for the generic XML streams which is is now ##filter+xml## (instead of wiki+xml).
211 +
212 +== Mail Sender API ==
213 +
214 +* The new [[Mail Sender API>>extensions:Extension.Action API]] is now bundled by default in XWiki Enterprise.
215 +* It's now possible to access the Mail Sending API configuration from scripts by calling ##$services.mailsender.configuration##.
216 +* The ##send()## API now sends messages synchronously and a new ##sendAsynchronously()## API has been added
217 +* Using the following will now automatically add a template body part too:(((
218 +{{code language="none"}}
219 +#set ($message = $services.mailsender.createMessage('template', $templateReference, $mailParameters)
220 +{{/code}}
221 +)))
222 +* In addition the "template" Mime Message Factory supports passing "to", "from", "cc" and "bcc" addresses in the parameters list, for example:(((
223 +{{code language="none"}}
224 +#set ($mailParameters = {'from' : 'localhost@xwiki.org', 'to' : 'john@doe.com', 'language' : $xcontext.language, 'velocityVariables' : { 'var1' : 'value1' }})
225 +#set ($message = $services.mailsender.createMessage('template', $templateReference, $mailParameters)
226 +{{/code}}
227 +)))
228 +
229 +== Building XWiki is now possible using Maven 3.1 and 3.2 ==
230 +
231 +The packager Maven plugin was using temporary APIs used only in Maven 3.0, which [[made it impossible to build modules depending on that plugin with other versions of Maven than 3.0.x>>http://jira.xwiki.org/browse/XWIKI-9760]]. This has now been fixed, and the build works with any 3.x Maven version.
232 +
233 +== Blame generic API and Script Service ==
234 +
235 +Provides the implementation of the blame/annotate/praise algorithm.
236 +
237 +Like the diff module API, this API is not tied to any type so you have to first transform the datas you want to blame into lists and you will be able to link them with any kind of revision metadata. Blame will link each elements of the initial list with the revision metadata of the original revision it came from. You will have to call blame in loop with each revised list, starting from the most recent one, until all element are annotated.
238 +
239 +See [[Blame Module>>extensions:Extension.Blame Module]] for more information.
240 +
110 110  == Upgrades ==
111 111  
112 112  The following dependencies have been upgraded:
113 113  
114 -* <list libraries that have been upgraded>
245 +* [[Bootstrap 3.2.0>>http://jira.xwiki.org/browse/XWIKI-10579]]
246 +* [[HTML5Shiv 3.7.2>>http://jira.xwiki.org/browse/XWIKI-10615]]
247 +* [[Jetty 8.1.15>>http://jira.xwiki.org/browse/XWIKI-10653]]
248 +* [[Maven 3.2.2>>http://jira.xwiki.org/browse/XCOMMONS-616]]
249 +* [[JFreechart 1.0.19>>http://jira.xwiki.org/browse/XWIKI-10689]]
250 +* [[Joda-Time 2.4>>http://jira.xwiki.org/browse/XWIKI-10692]]
251 +* [[xalan 2.7.2>>http://jira.xwiki.org/browse/XWIKI-10694]]
252 +* [[Groovy 2.3.6>>http://jira.xwiki.org/browse/XCOMMONS-625]]
253 +* [[Velocity Tools 2.0>>http://jira.xwiki.org/browse/XWIKI-5347]]
254 +* [[Jython 2.7-b3>>http://jira.xwiki.org/browse/XWIKI-10837]]
255 +* [[httpclient 4.3.5>>http://jira.xwiki.org/browse/XCOMMONS-631]]
256 +* [[Guava 18.0>>http://jira.xwiki.org/browse/XCOMMONS-632]]
257 +* [[Apache FOP 1.1>>http://jira.xwiki.org/browse/XWIKI-8351]]
258 +* [[Maven 3.2.3>>http://jira.xwiki.org/browse/XCOMMONS-634]]
259 +* [[JGroups 3.4.5>>http://jira.xwiki.org/browse/XWIKI-10890]]
260 +* [[HTMLCleaner 2.9>>http://jira.xwiki.org/browse/XCOMMONS-635]]
261 +* [[Font Awesome 4.2.0>>http://jira.xwiki.org/browse/XWIKI-10913]]
115 115  
116 116  == Miscellaneous ==
117 117  
... ... @@ -119,12 +119,40 @@
119 119  * A new parameter ##targetQueryString## has been added to the UI Extension points [[##org.xwiki.platform.panels.Applications##>>platform:ExtensionPoint.AddApplicationUIX]] and [[##org.xwiki.platform.panels.Applications.more##>>platform:ExtensionPoint.MoreApplicationUIX]].
120 120  * New ##com.xpn.xwiki.api.Collection#getValue(String name)##. That means you can write directly ##$myobject.getValue('fieldname')## instead of ##$myobject.getProperty('fieldname').value##. Who knows, maybe we well get a bit less missuses of ## com.xpn.xwiki.api.Object#get(String name)##.
121 121  * New org.xwiki.text.StringUtils which extends org.apache.commons.lang3.StringUtils with new useful methods. See [[http://extensions.xwiki.org/xwiki/bin/view/Extension/Text+Module#HFeatures]].
269 +* The user of an Activity Stream event is now always stored as an absolute serialized reference. See [[XWIKI-9066>>http://jira.xwiki.org/browse/XWIKI-9066]] for more details.
270 +* A new user and group references related reference resolver have been provided:(((
271 +{{code language="java"}}
272 +@Inject
273 +@Named("user/current")
274 +private DocumentReferenceResolver<String> currentUserDocumentResolver;
122 122  
276 +@Inject
277 +@Named("user/current")
278 +private EntityReferenceResolver<String> currentUserEntityResolver;
279 +
280 +@Inject
281 +@Named("user")
282 +private EntityReferenceResolver<String> defaultUserEntityResolver;
283 +{{/code}}
284 +)))
285 +* Each XWiki class property can now control how it's merged. Just need to overwrite ##com.xpn.xwiki.objects.classes.PropertyClass#mergeProperty## method.
286 +* The target syntax is now part of the Rendering Context when the Rendering is used to render some Blocks (otherwise it's ##null##. For example when parsing content).
287 +* Added new ##org.xwiki.rendering.renderer.printer.WriterWikiPrinter## to output all calls to ##org.xwiki.rendering.renderer.printer.WikiPrinter## into a ##org.xwiki.rendering.renderer.printer.Writer##
288 +* Added the new component ##org.xwiki.skinx.internal.LinkSkinExtension## (with the hint "##linkx##") that wraps the ##$xwiki.linkx## plugin
289 +* New ##$cookietool## available for working with cookies in Velocity. See [[XCOMMONS-627>>http://jira.xwiki.org/browse/XCOMMONS-627]]
290 +* New ##$doc.isTranslation()## method is available in the web API. See [[XWIKI-10805>>http://jira.xwiki.org/browse/XWIKI-10805]]
291 +* ##xwiki-platform-font-awesome## has been moved in the ##xwiki-platform-icon## module and renamed ##xwiki-platform-icon-fontawesome##.
292 +* [[Icon Theme>>extensions:Extension.Icon Theme Application]] can now use JavaScript Extensions.
293 +* The [[Icon class>>https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-api/src/main/java/org/xwiki/icon/Icon.java]] of the [[Icon Theme>>extensions:Extension.Icon Theme Application]] does not store the name of the icon anymore, since it is already stored in a map in the [[IconSet class>>https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-icon/xwiki-platform-icon-api/src/main/java/org/xwiki/icon/IconSet.java]] (better memory usage).
294 +* It is now possible to compile a LESS file or to compute a color theme from an other skin.
295 +* ##xwiki-platform-less-css## has been renamed ##xwiki-platform-lesscss## in order to be consistent with our naming conventions.
296 +* new API to flush rendering cache. See [[platform:AdminGuide.Performances||anchor="HConfigurationbased"]].
297 +
123 123  = Translations =
124 124  
125 125  The following translations have been updated:
126 126  
127 -{{language codes="da, de, fr, lv"/}}
302 +{{language codes="da, de, fr, lv, pl, ru, sv, zh"/}}
128 128  
129 129  = Tested Browsers & Databases =
130 130  
... ... @@ -140,10 +140,6 @@
140 140  
141 141  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.
142 142  
143 -== Issues specific to XWiki <version> ==
144 -
145 -<issues specific to the project>
146 -
147 147  == API Breakages ==
148 148  
149 149  The following APIs were modified since XWiki 6.1:

Get Connected