Version 17.1 by Vincent Massol on 2012/09/01

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 <insert description of release here>
6
7 = New and Noteworthy (since XWiki Enterprise 4.2 Milestone 2) =
8
9 == Improved upload UI ==
10
11 The new HTML5 FileUploader has been integrated in a few places:
12
13 * The standard attachment upload form
14 * The Import section of the Administration
15
16 See [[below>>||anchor="HNewHTML5FileUploadwidget"]] for more details about this feature.
17
18 == New logging administration UI ==
19
20 It's now possible to review and modify the log level for all registered loggers.
21
22 {{image reference="extensions:Extension.Logging Application@loggingadmin.png"/}}
23
24 == IRC Bot Application Improvements ==
25
26 The [[IRC Bot Application>>extensions:Extension.IRC Bot Application]] now recognizes XAR import events and when receiving one, it doesn't send subsequent IRC notifications for modified or created documents to avoid spamming the IRC channel.
27
28 == New Content Macro ==
29
30 The [[new Content macro>>extensions:Extension.Content Macro]] allows to enter content in any of the supported Syntaxes and thus allows to have content written in various syntaxes. For example:
31
32 {{code}}
33 This is in **bold**
34
35 {{content syntax="confluence/1.0"}}
36 This is *bold* too!
37 {{/content}}
38 {{/code}}
39
40 == Miscellaneous ==
41
42 * Display the request URL in the IRC channel when the Link Checker bot listener is active and a broken link is found, thus making it easier to reproduce and debug the broken link
43
44 = For Developers =
45
46 == New HTML5 File Upload widget ==
47
48 The [[File Upload widget>>doc:platform:DevGuide.HTML5Upload]] can enhance HTML input elements of type file to provide an interactive upload UI. It can submit files either automatically when the user selects local files, or after the user presses the container form's submit button.
49
50 To use this widget, it is enough to create a new instance of ##XWiki.FileUploader## passing the target ##input## element as the first parameter, and an optional configuration object as the second parameter.
51
52 {{code language="javascript"}}
53 new XWiki.FileUploader(targetInput, {
54 autoUpload: true,
55 progressAutohide: true
56 });
57 {{/code}}
58
59 [[image:platform:DevGuide.HTML5Upload@html5uploads.png||class="screenshot"]]
60
61 == JSRX and SSRX ==
62
63 It's now possible by default to add [[skin extensions>>extensions:Extension.Skin Extension Plugin]] located in JAR files. Example usage:
64
65 {{code}}
66 $xwiki.jsrx("/lib/codemirror.js")
67 $xwiki.ssrx("/lib/codemirror.css")
68 {{/code}}
69
70 == Documents Macro improvements ==
71
72 The ##~{{documents}}## macro [[now supports specifying the list of columns to display>>extensions:Extension.Documents Macro]]. For example:
73
74 {{code}}
75 {{documents count="5" actions="false" space="Main" parent="Main.WebHome" columns="doc.title"/}}
76 {{/code}}
77
78 would display:
79
80 {{image reference="documents-columns.png"/}}
81
82 == Attachment Picker improvements ==
83
84 It is now possible to specify a different document for the source (and target in case of uploads) of attachments, using the new ##targetdocname## macro parameter.
85
86 == Search improvements ==
87
88 The Lucene index also stores the MIME type of the indexed attachments, allowing to customize the search to only include or exclude attachments of a certain type. The new field is named [[##mimetype##>>doc:extensions:Extension.Search Application Query Syntax||anchor="Hmimetype"]] and it contains a valid MIME type string, as returned by the container in which XWiki is running. For example, add ##-mimetype:image/*## to a query to exclude all image attachments from the results, or add ##mimetype:application/pdf## to only search inside PDF attachments.
89
90 Remember that in case of an upgrade, you have to rebuild the entire index to have this new field for existing documents.
91
92 == Extension Manager improvements ==
93
94 * the custom Maven property <xwiki.extension.features> now accept any number of new lines and white spaces between elements
95 (((
96 {{code language="xml"}}
97 <xwiki.extension.features>
98 org.xwiki.platform:xwiki-platform-oldcore,
99 com.xpn.xwiki.platform:xwiki-core
100 </xwiki.extension.features>
101 {{/code}}
102 )))
103
104 == XAR format improvement ==
105
106 It's now possible to indicate the extension identifier right in the XAR package descriptor (package.xml). Among other things this allow standard import UI to find what it currently importing and register it automatically as installed extension if it can be found in the registered repositories during import process.
107
108 The XAR Maven plugin automatically take care of adding this information to the generated package.xml for Maven project. If for some reason you need to indicate it by hand you can use the property <extensionId> under the the <infos> element in the package.xml file.
109
110 {{code language="xml"}}
111 <package>
112 <infos>
113 <name>XWiki Platform - Extension - UI</name>
114 <description>XWiki Extension Manager, an application for managing extensions in a wiki.</description>
115 <licence></licence>
116 <author>XWiki.Admin</author>
117 <extensionId>org.xwiki.platform:xwiki-platform-extension-ui</extensionId>
118 <version>4.2-SNAPSHOT</version>
119 <backupPack>true</backupPack>
120 </infos>
121 <files>
122 [...]
123 </files>
124 </package>
125 {{/code}}
126
127 == Deprecated and Retired projects ==
128
129 <description of deprecated and retired projects>
130
131 == Upgrades ==
132
133 The following dependencies have been upgraded:
134
135 * Prototype.js 1.7.1
136 * Jython 2.5.3
137 * Pegdown 1.1.0 (used by the XWiki Markdown Parser)
138
139 == Miscellaneous ==
140
141 * The ##AbstractMockingComponentTestCase## testing framework class has been modified. Read the [[Testing page>>dev:Community.Testing]] for more details on how to use it.
142
143 == Translations ==
144
145 The following translations have been updated:
146
147 {{language codes="code1, code2"/}}
148
149 = Tested Browsers =
150
151 Here's the list of browsers tested with this version (i.e. browsers that we've tested as working - Check the list of [[supported browsers>>dev:Community.BrowserSupportStrategy]]):
152
153 {{velocity}}
154 ## name = iexplorer, firefox, chrome, safari, opera
155 {{/velocity}}
156
157 {{browser name="browser" version="x.x"/}}
158
159 = Known issues =
160
161 * [[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]]
162
163 = Test Report =
164
165 You can check the [[manual test report>>TestReports.WebHome#<anchor to test report>]] to learn about what was tested and the results on various browsers.
166
167 = Backward Compatibility and Migration Notes =
168
169 == General Notes ==
170
171 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
172
173 {{warning}}
174 Always make sure you compare your ##xwiki.cfg## and ##xwiki.properties## files with the newest version since some configuration parameters were 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.
175 {{/warning}}
176
177 == Issues specific to <projet> <version> ==
178
179 <issues specific to the project>
180
181 == API Breakages ==
182
183 The following APIs were modified since <project> <version - 1>:
184
185 {{code language="none"}}
186 <clirr output here>
187 {{/code}}

Get Connected