Version 28.1 by Thomas Mortagne on 2014/07/16

Hide last authors
Eduard Moraru 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
7 <insert description of release here>
8
Thomas Mortagne 9.1 9 = New and Noteworthy (since XWiki 6.1) =
Eduard Moraru 1.1 10
11 [[Full list of issues fixed and Dashboard for <version>>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=<fill id here>]].
12
Guillaume Delhumeau 15.1 13 == Flamingo Skin ==
Eduard Moraru 1.1 14
Guillaume Delhumeau 15.1 15 * The user profile looks better on smartphones:(((
16 {{image reference="flamingo-user-profile.png" width="12%"/}}
17 )))
Eduard Moraru 1.1 18
Eduard Moraru 4.2 19 == New structure for apps created with App Within Minutes ==
20
Eduard Moraru 4.3 21 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"]].
Eduard Moraru 4.2 22
23 {{image reference="AppWithinMinutes-Step1.png"/}}
24
Eduard Moraru 1.1 25 == Miscellaneous ==
26
Sergiu Dumitriu 25.1 27 * When using the standalone package, the logs can also be found in files under ##data/logs/##.
Sergiu Dumitriu 26.1 28 * The jetty configuration is now split in several files, making it easier to configure the needed parts.
29 * There's a sample configuration file for enabling HTTPS for the standalone Jetty server.
30 * 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.
31 * Jetty's messages are now more informative: internal information isn't displayed, while notifications for the users are printed both at startup and shutdown.
Thomas Mortagne 28.1 32 * 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.
Eduard Moraru 1.1 33
Sergiu Dumitriu 25.1 34 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+%22<6.2-milestone-1%22&tempMax=1000]] fixed in this release.
Eduard Moraru 1.1 35
36 = For Developers =
37
Thomas Mortagne 2.1 38 == Wiki module improvements ==
Eduard Moraru 1.1 39
Vincent Massol 21.3 40 * Added an API to directly get the wiki identifiers:
41 ** From Velocity:(((
Thomas Mortagne 2.1 42 {{code language="velocity"}}
Thomas Mortagne 3.1 43 #set($wikiIds = $services.wki.allIds)
Thomas Mortagne 2.1 44 {{/code}}
Vincent Massol 21.3 45 )))
46 ** From Java:(((
Thomas Mortagne 2.1 47 {{code language="java"}}
48 Collection<String> wikiIds = wikiDescriptorManager.getAllIds();
49 {{/code}}
50 )))
51
Sergiu Dumitriu 22.1 52 == The ##XWiki.widgets.ConfirmationBox## widget can display a //Cancel// button ==
53
54 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.
55
56 == The ##XWiki.widgets.ModalPopup#createButton## method now accepts an ##extraClass## parameter ==
57
58 The fifth parameter can be used to add additional classes, besides the standard ##button##, to the created buttons.
59
Thomas Mortagne 23.1 60 == WikiStream module renamed to Filter module ==
61
62 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]].
63
64 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).
65
Vincent Massol 24.2 66 == Mail Sender API ==
Vincent Massol 24.1 67
68 * The new [[Mail Sender API>>extensions:Extension.Action API]] is now bundled by default in XWiki Enterprise.
69 * It's now possible to access the Mail Sending API configuration from scripts by calling ##$services.mailsender.configuration##.
70 * The ##send()## API now sends messages synchronously and a new ##sendAsynchronously()## API has been added
71
Eduard Moraru 1.1 72 == Deprecated and Retired projects ==
73
74 <description of deprecated and retired projects>
75
76 == Upgrades ==
77
Guillaume Delhumeau 6.1 78 The following dependencies have been upgraded:
Eduard Moraru 1.1 79
Guillaume Delhumeau 5.1 80 * [[Bootstrap 3.2.0>>http://jira.xwiki.org/browse/XWIKI-10579]]
Sergiu Dumitriu 27.1 81 * [[Groovy 2.3.4>>http://jira.xwiki.org/browse/XCOMMONS-619]]
Guillaume Delhumeau 7.1 82 * [[HTML5Shiv 3.7.2>>http://jira.xwiki.org/browse/XWIKI-10615]]
Sergiu Dumitriu 27.1 83 * [[Jetty 8.1.15>>http://jira.xwiki.org/browse/XWIKI-10653]]
Eduard Moraru 1.1 84
85 == Miscellaneous ==
86
Eduard Moraru 1.2 87 * 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.
Thomas Mortagne 16.1 88 * A new user and group references related reference resolver have been provided:(((
89 {{code language="java"}}
90 @Inject
91 @Named("user/current")
Thomas Mortagne 17.1 92 private DocumentReferenceResolver<String> currentUserDocumentResolver;
Eduard Moraru 1.2 93
Thomas Mortagne 16.1 94 @Inject
95 @Named("user/current")
Thomas Mortagne 17.1 96 private EntityReferenceResolver<String> currentUserEntityResolver;
Thomas Mortagne 16.1 97
98 @Inject
99 @Named("user")
Thomas Mortagne 17.1 100 private EntityReferenceResolver<String> defaultUserEntityResolver;
Thomas Mortagne 16.1 101 {{/code}}
102 )))
Thomas Mortagne 19.1 103 * Each XWiki class property can now control how it's merged. Just need to overwrite ##com.xpn.xwiki.objects.classes.PropertyClass#mergeProperty## method.
Vincent Massol 21.2 104 * 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).
Thomas Mortagne 16.1 105
Eduard Moraru 1.1 106 = Translations =
107
108 The following translations have been updated:
109
110 {{language codes="none, none"/}}
111
112 = Tested Browsers & Databases =
113
114 {{include reference="TestReports.ManualTestReportTemplateSummary"/}}
115
116 = Known issues =
117
118 * [[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]]
119
120 = Backward Compatibility and Migration Notes =
121
122 == General Notes ==
123
124 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.
125
Vincent Massol 12.1 126 == Issues specific to XWiki 6.2-milestone-1 ==
Eduard Moraru 1.1 127
Eduard Moraru 1.2 128 * After the upgrade, old Activity Stream events might now be visible anymore. Only new events will start to be displayed. See [[XWIKI-9066>>http://jira.xwiki.org/browse/XWIKI-9066]].
Vincent Massol 12.1 129 * The new Mail Sender API was using a property named ##smtp_from## when the from address was not specified when sending an email. Even though this property is used by the old Mail Sender plugin, it doesn't exist by default in ##XWikiPreferences##. We're now using the ##admin_email## property which is the one you see in the Admin UI.
Eduard Moraru 1.2 130
Eduard Moraru 1.1 131 == API Breakages ==
132
133 The following APIs were modified since <project> <version - 1>:
134
135 {{code language="none"}}
136 <clirr output here>
137 {{/code}}

Get Connected