Version 30.1 by Marius Dumitru Florea on 2015/01/07

Hide last authors
Vincent Massol 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
Eduard Moraru 29.6 7 This milestone brings mainly UI improvements in the Menu application, Mail application and Flamingo skin, while offering developers the ability to write LESS in Skin Extensions, a cool icon picker and new ConfigurableClass and Mail Sender API features.
Vincent Massol 1.1 8
9 = New and Noteworthy (since XWiki 6.4-milestone-1) =
10
Eduard Moraru 29.2 11 [[Full list of issues fixed and Dashboard for 6.4>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=12791]].
Vincent Massol 1.1 12
Ecaterina Moraru (Valica) 15.1 13 == Menu Application ==
Vincent Massol 1.1 14
Ecaterina Moraru (Valica) 15.1 15 Taking advantage of the ability to have LESS inside our [[StyleSheetExtensions>>extensions:Extension.Skin Extension Plugin||anchor="HUseLESS"]], we improved the [[Menu Application>>extensions:Extension.Menu Application]], on Flamingo based skins, making it responsive and also adapting its styling according to the active [[Flamingo Theme>>extensions:Extension.Flamingo Theme Application]].
16 Colibri based skins preserve the initial styling.
Vincent Massol 1.1 17
Ecaterina Moraru (Valica) 15.1 18 {{gallery}}
19 image:menu_flamingo_charcoal.png
20 image:menu_flamingo_united.png
21 image:menu_flamingo_darkly.png
22 image:menu_flamingo_simplex.png
23 image:menu_flamingo_charcoal_responsive.png
24 {{/gallery}}
25
Vincent Massol 22.1 26 == Mail Feature ==
Ecaterina Moraru (Valica) 15.1 27
Vincent Massol 22.1 28 * The mail feature has a new Category in the Admin UI (see the [[Mail Application>>extensions:Extension.Mail Application]] for details).(((
Vincent Massol 24.2 29 {{image reference="emailcategory.png"/}}
Vincent Massol 22.1 30 )))
31 * There's now the possibility to configure default BCC addresses which will be added by default to all emails sent using the [[Mail Sender API>>extensions:Extension.Mail Sender API]].(((
32 {{image reference="emailsend.png"/}}
33 )))
34 * The [[Mail Sender API>>extensions:Extension.Mail Sender API]] now checks for permission before sending emails, when using it from scripts (i.e. when using the Mail Sender Script Service). There are currently 2 possible strategies that you configure in your ##xwiki.properties## file(((
Vincent Massol 2.1 35 {{code language="none"}}
36 #-# [Since 6.4M2]
37 #-# Defines which authorization checks are done when sending mails using the Mail Sender Script Service.
38 #-# Example of valid values:
39 #-# - "programmingrights": the current document must have Programming Rights
Vincent Massol 2.2 40 #-# - "alwaysallow": no check is performed. This is useful when running XWiki in a secure environment where we
Vincent Massol 2.1 41 #-# want to allow all users to be able to send emails through the Script Service.
42 #-# The default is:
43 # mail.sender.scriptServiceCheckerHint = programmingrights
44 {{/code}}
45 )))
Vincent Massol 22.1 46
Guillaume Delhumeau 28.1 47 == Flamingo ==
48
49 The history table, under each page, is now responsive to the screen size:
50
51 (((
52 {{image reference="responsive-history.png"/}}
53 )))
54
55 .
56
Vincent Massol 22.1 57 == Miscellaneous ==
58
Guillaume Delhumeau 7.1 59 * A list of icons supported by XWiki have been created, with mapping for Silk and Font Awesome. Which means that we now propose a list of icons that are both present in Silk and Font Awesome.
Eduard Moraru 29.3 60 * The list of columns in the UserDirectory customization screen is now sorted alphabetically
Vincent Massol 1.1 61
Eduard Moraru 29.2 62 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.4-milestone-2%22&tempMax=1000]] fixed in this release.
Vincent Massol 1.1 63
64 = For Developers =
65
Vincent Massol 2.1 66 == Mail Sender Permissions ==
Vincent Massol 1.1 67
Vincent Massol 2.1 68 There's now a [[pluggable permission checker>>extensions:Extension.Mail Sender API||anchor="HPluggablePermissionChecker"]] used for checking if a mail should be sent, when using the Mail Sender Script Service. Two implementations are provided (see above) but you can also provide your own implementation by implementing the ##org.xwiki.mail.script.ScriptServicePermissionChecker## component role:
Vincent Massol 1.1 69
Vincent Massol 2.1 70 {{code language="java"}}
71 @Role
72 @Unstable
73 public interface ScriptServicePermissionChecker
74 {
75 /**
76 * @param message the message to check for authorization
77 * @exception MessagingException if the message is not allowed to be sent
78 */
79 void check(MimeMessage message) throws MessagingException;
80 }
81 {{/code}}
82
83 For example you could imagine implementing checks on the size of the email or who the recipients are, run the content of the mail through some filter, etc.
84
Guillaume Delhumeau 9.1 85 == Icon Picker ==
86
87 An [[icon picker>>extensions:Extension.Icon Theme Application||anchor="#HIconPicker"]] has been created to help users selecting an image in the list of supported icons.
88
89 (((
90 {{image reference="icon-picker.png"/}}
91 )))
92
Guillaume Delhumeau 10.1 93 This picker is already used in [[Application Within Minutes>>extensions:Extension.App Within Minutes Application]] for the application's icon selection.
94
Guillaume Delhumeau 13.1 95 == Skin Extensions ==
96
97 [[Now you can use LESS in your Skin Extensions!>>extensions:Extension.Skin Extension Plugin||anchor="HUseLESS"]]. You just need to set the new property "Content Type" to LESS inside your Skin Extension object:
98
99 (((
100 {{image reference="contentTypeLESS.png"/}}.
101 )))
102
Vincent Massol 25.1 103 == Admin ConfigurableClass ==
104
105 The [[##ConfigurableClass## mechanism>>extensions:Extension.Administration Application||anchor="HMakingyourapplicationconfigurablewithConfigurableClass"]] has been improved to be able to contribute new categories in the Admin UI. For example the "Email" Category in the following screenshot is contributed through a ##ConfigurableClass##:
106
107 {{image reference="emailcategory.png"/}}
108
109 It was configured using:
110
111 {{image reference="emailconfigurableclass.png"/}}
112
Vincent Massol 1.1 113 == Upgrades ==
114
115 The following dependencies have been upgraded:
116
Thomas Mortagne 3.1 117 * [[JGroups 3.6.1>>http://jira.xwiki.org/browse/XWIKI-11523]]
Thomas Mortagne 4.1 118 * [[Pygments 2.0.1>>http://jira.xwiki.org/browse/XWIKI-11522]]
Thomas Mortagne 5.1 119 * [[Joda-Time 2.6>>http://jira.xwiki.org/browse/XWIKI-11516]]
Guillaume Delhumeau 14.1 120 * [[Bootstrap 3.3.1>>http://jira.xwiki.org/browse/XWIKI-11381]]
121 * [[Bootswatch 3.3.1+2>>http://jira.xwiki.org/browse/XWIKI-11569]]
Vincent Massol 1.1 122
123 == Miscellaneous ==
124
Eduard Moraru 20.3 125 * It's now possible to know what namespace a ComponentManager instance is associated with by casting it to ##org.xwiki.component.manager.NamespacedComponentManager##. See [[Component Module documentation>>http://extensions.xwiki.org/xwiki/bin/view/Extension/Component+Module||anchor="HNamespacedComponentManager"]].
Eduard Moraru 20.2 126 * Added getCurrentWikiDescriptor() method to the wiki API and script service to be consistent with the existing getCurrentWikiId() method
Thomas Mortagne 21.1 127 * The ClassLoader automatically set as Thread ClassLoader is now dynamic meaning that any modification of the context wiki will automatically change the actual Thread ClassLoader. It used to be set to whatever was the wiki in the URL at ExecutionContext init.
Guillaume Delhumeau 29.1 128 * [[A new CSS class>>platform:DevGuide.SpecialCSSClasses||anchor="HClassesfortheresponsiveness"]] have been added in Flamingo, to handle responsive tables.
Marius Dumitru Florea 30.1 129 * The #sheetTitle Velocity macro supports a new use case: displaying the sheet title if the current document doesn't have an object of some type:(((
130 {{code language="none"}}
131 #sheetTitle('The sheet used to display objects of type Space.MyClass', 'Space.MyClass')
132 {{/code}}
133 )))
Vincent Massol 1.1 134
135 = Translations =
136
137 The following translations have been updated:
138
Eduard Moraru 29.2 139 {{language codes="fr"/}}
Vincent Massol 1.1 140
Eduard Moraru 29.4 141 {{comment}}
142
Vincent Massol 1.1 143 = Tested Browsers & Databases =
144
Manuel Smeria 11.1 145 {{include reference="TestReports.ManualTestReportSummaryXWiki64M2"/}}
Vincent Massol 1.1 146
147 = Performances tests compared to <last super stable version> =
148
149 <a summary of the comparison with latest super stable version>
150
151 More details on <link to the test report>.
152
Eduard Moraru 29.4 153 {{/comment}}
154
Vincent Massol 1.1 155 = Known issues =
156
157 * [[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]]
158
159 = Backward Compatibility and Migration Notes =
160
161 == General Notes ==
162
163 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.
164
165 == API Breakages ==
166
Eduard Moraru 29.2 167 The following APIs were modified since XWiki 6.3:
Vincent Massol 1.1 168
Eduard Moraru 29.5 169 * It's very unlikely that this class is implemented by anything else and it does not make much sense to not have this method, since this is not really a cache behind it but a Map that keep engines forever it may create a memory leak on a big farm running for a long time(((
Vincent Massol 1.1 170 {{code language="none"}}
Eduard Moraru 29.5 171 org.xwiki.velocity.VelocityFactory: Method 'public org.xwiki.velocity.VelocityEngine removeVelocityEngine(java.lang.String)' has been added to an interface
Marius Dumitru Florea 30.1 172 {{/code}}
173 )))
Eduard Moraru 29.5 174
175 * This shouldn't be a backward incompatible change since it's a method addition on an Annotation.(((
176 {{code language="none"}}
177 org.xwiki.component.annotation.Component: Method 'public boolean staticRegistration()' has been added to an interface
Marius Dumitru Florea 30.1 178 {{/code}}
179 )))
Eduard Moraru 29.5 180
181 * Young API, this method needs to be available for consistency with the getMainWikiDescriptor/Id pair of methods(((
182 {{code language="none"}}
183 org.xwiki.wiki.descriptor.WikiDescriptorManager: Method 'public org.xwiki.wiki.descriptor.WikiDescriptor getCurrentWikiDescriptor()' has been added to an interface
Marius Dumitru Florea 30.1 184 {{/code}}
185 )))
Eduard Moraru 29.5 186
187 * Young API, adding a method to check permissions for sending mail and a method to configure default BCC addresses to use when sending mail.(((
188 {{code language="none"}}
189 org.xwiki.mail.MailSenderConfiguration: Method 'public java.util.List getBCCAddresses()' has been added to an interface
190 org.xwiki.mail.MailSenderConfiguration: Method 'public java.lang.String getScriptServicePermissionCheckerHint()' has been added to an interface
Marius Dumitru Florea 30.1 191 {{/code}}
192 )))
Eduard Moraru 29.5 193
194 * Young API, this method should not have been made public.(((
195 {{code language="none"}}
196 org.xwiki.mail.script.MimeMessageWrapper: In method 'public MimeMessageWrapper(org.xwiki.mail.internal.ExtendedMimeMessage, javax.mail.Session, org.xwiki.mail.MailSender, org.xwiki.context.Execution, org.xwiki.component.manager.ComponentManager)' the number of arguments has changed
197 org.xwiki.mail.script.MimeMessageWrapper: Accessibility of method 'public MimeMessageWrapper(org.xwiki.mail.internal.ExtendedMimeMessage, javax.mail.Session, org.xwiki.mail.MailSender, org.xwiki.context.Execution, org.xwiki.component.manager.ComponentManager)' has been decreased from public to package
Marius Dumitru Florea 30.1 198 {{/code}}
199 )))
Eduard Moraru 29.5 200
201 * WYSIWYG's MacroService API was not previously considering a multiwiki environment.(((
202 {{code language="none"}}
203 org.xwiki.gwt.wysiwyg.client.plugin.macro.MacroService: Method 'public org.xwiki.gwt.wysiwyg.client.plugin.macro.MacroDescriptor getMacroDescriptor(java.lang.String, java.lang.String, java.lang.String)' has been added to an interface
204 org.xwiki.gwt.wysiwyg.client.plugin.macro.MacroService: Method 'public java.util.List getMacroDescriptors(java.lang.String, java.lang.String)' has been added to an interface
205 org.xwiki.gwt.wysiwyg.client.plugin.macro.MacroServiceAsync: Method 'public void getMacroDescriptor(java.lang.String, java.lang.String, java.lang.String, com.google.gwt.user.client.rpc.AsyncCallback)' has been added to an interface
206 org.xwiki.gwt.wysiwyg.client.plugin.macro.MacroServiceAsync: Method 'public void getMacroDescriptors(java.lang.String, java.lang.String, com.google.gwt.user.client.rpc.AsyncCallback)' has been added to an interface
Marius Dumitru Florea 30.1 207 {{/code}}
208 )))
Eduard Moraru 29.5 209
210 * Add new methods to the Icon Set Module(((
211 {{code language="none"}}
212 org.xwiki.icon.IconManager: Method 'public java.util.List getIconNames()' has been added to an interface
213 org.xwiki.icon.IconManager: Method 'public java.util.List getIconNames(java.lang.String)' has been added to an interface
214 org.xwiki.icon.IconSetManager: Method 'public java.util.List getIconSetNames()' has been added to an interface
Marius Dumitru Florea 30.1 215 {{/code}}
216 )))
Eduard Moraru 29.5 217
218 * LESS refactoring.(((
219 {{code language="none"}}
220 org.xwiki.lesscss.LessCompilerScriptService: Method 'public boolean clearCacheFromFileSystemSkin(java.lang.String)' has been removed
221 org.xwiki.lesscss.LessCompilerScriptService: Return type of method 'public org.xwiki.lesscss.ColorTheme getColorThemeFromSkinFile(java.lang.String)' has been changed to org.xwiki.lesscss.colortheme.ColorTheme
222 org.xwiki.lesscss.LessCompilerScriptService: Return type of method 'public org.xwiki.lesscss.ColorTheme getColorThemeFromSkinFile(java.lang.String, java.lang.String)' has been changed to org.xwiki.lesscss.colortheme.ColorTheme
223 org.xwiki.lesscss.ColorTheme: Class org.xwiki.lesscss.ColorTheme removed
224 org.xwiki.lesscss.ColorThemeCache: Class org.xwiki.lesscss.ColorThemeCache removed
225 org.xwiki.lesscss.LESSCache: Class org.xwiki.lesscss.LESSCache removed
226 org.xwiki.lesscss.LESSColorThemeConverter: Class org.xwiki.lesscss.LESSColorThemeConverter removed
227 org.xwiki.lesscss.LESSCompiler: Class org.xwiki.lesscss.LESSCompiler removed
228 org.xwiki.lesscss.LESSCompilerException: Class org.xwiki.lesscss.LESSCompilerException removed
229 org.xwiki.lesscss.LESSSkinFileCache: Class org.xwiki.lesscss.LESSSkinFileCache removed
230 org.xwiki.lesscss.LESSSkinFileCompiler: Class org.xwiki.lesscss.LESSSkinFileCompiler removed
Marius Dumitru Florea 30.1 231 {{/code}}
232 )))

Get Connected