Wiki source code of ReleaseNotesXWikiEnterprise20

Version 18.1 by Thomas Mortagne on 2009/09/23

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}{{toc start="2"/}}{{/box}}
2
3 = Release Notes for XWiki Enterprise 2.0
4
5 == New and Noteworthy (since XWiki Enterprise 1.9.3)
6
7 {{error}}TODO{{/error}}
8
9 === Colibri skin
10
11 See [[Colibri skin documentation>>code:Skins.ColibriSkin]] for more details.
12
13 XWiki 2.0 introduces a new, lightweight, easily customizable skin. The main goal of the Colibri skin is to provide the proper support for fast and easy modifications of the look and feel of the wiki. The Colibri skin colors and decorative images are defined in ColorTheme objects inside Wiki documents, that can be changed directly in the web interface.
14
15 [[image:code:Skins.ColibriSkin@colibri1.png]]
16
17 Several predefined themes are bundled with XE:
18
19 [[image:code:Skins.ColibriSkin@colibri2.png]]
20
21 === General UI
22
23 * Make section editing work for any section level. You can configure it using the new property ##xwiki.section.depth## in ##xwiki.cfg## file
24 * Change button order in preview mode
25 * Make all skins display the document title as the top level header and ensure there's no duplicate titles displayed. Not all the pages has been converted to new title handling. It will be fixed during the 2.0.x branch life (hopefully for 2.0.1)
26 * Space Index, Document Index and Orphaned Page now use generic livetable tools
27 * Remove "History" from the edit modes
28 * TOC macro now starts at first level by default
29 * Several IE6/7 bugfixes
30 * Improve group creation form
31 * Reorganize editor button
32 * Diff UI improvement
33 * Improve the Rename form
34 * Nicer pagination of the document history
35 * Display a friendly message instead of an error when clicking on History after having created a new page
36 * The "Rights editor help" panels has been removed
37 * Improve Import administration section
38 * Improved document footer section
39 * Improved tag display and editing
40
41 === WYSIWYG
42
43 * Upgrade to [[GWT 1.7.0>>http://code.google.com/webtoolkit/releases/release-notes-1.7.0.html#Release_Notes_Current]]
44 * Faster navigation for image and link insertion
45 * Add internationalization support
46 * Improve UX in wysiwyg dialogs / wizards: navigation, error reporting, forms, etc
47
48 ==== Double click to edit a macro
49
50 User can now double click on a macro to edit it and double click in the list of macro to insert it.
51
52 ==== Nicer macro names in the list of macros
53
54 WYSIWYG does not expose macro identifier anymore but human readable names provided by the different macros.
55
56 ==== Macros categories
57
58 Each macro can now be added in a default category the macro author thinks appropriate. It's also possible to overwrite the macro category with configuration.
59
60 The macros categories are mainly used in WYSIWYG to make it easier to find the macros to use.
61
62 image:ReleaseNotesXWikiEnterprise20M4@macro-category.png
63 image:ReleaseNotesXWikiEnterprise20M4@macro-filter.png
64
65 === Rendering 2.0
66
67 * Not all the pages has been converted to new xwiki/2.0 syntax. It will be fixed during the 2.0.x branch life (hopefully for 2.0.1).
68 * New Section editing
69 * Allow default document syntax to be specified in User profile configuration
70
71 ==== Output syntax parameter
72
73 It's now possible to decide which renderer to use to print the document content. For example if you want to generate dome JSON page you can use "?outputSyntax=plain&xpage=plain" to make sure only the content is printed and there is no html syntax printed, just a plain text of what exactly was generated by a velocity macro (without macro markers html comments etc.)
74
75 See [[URL parsing documentation>>platform:AdminGuide.URL resolution#HoutputSyntaxandoutputSyntaxVersion]].
76
77 ==== New Wiki rendering 2.0 macros
78
79 See [[platform:DevGuide.WikiMacroTutorial]].
80
81 ==== New Tag Cloud Panel
82
83 A panels containing the tag cloud is now provided by default and can be used like any other panel.
84
85 image:ReleaseNotesXWikiEnterprise20M1@tagcloudpanel.png
86
87 ==== New Search Interface
88
89 The default search page UI has been improved to be easier to understand and use.
90
91 [[image:ReleaseNotesXWikiEnterprise20M1@newsearchui.png||width=600]]
92
93 ==== New info, warning and error macros
94
95 See [[Message macro documentation>>code:Macros.MessageMacro]] for more details.
96
97 ==== New Chart macro for XWiki 2.0 syntax
98
99 See [[Chart macro documentation>>code:Macros.ChartMacro20]].
100
101 ==== Script macro improvements
102
103 See the [[Script Macro documentation>>code:Macros.ScriptMacro]] for more details.
104
105 * It's now possible to add JARs attached to a page to the Script Macro class loader.
106 * All the script macros in the same rendering process (a document and it's included documents) share the same class loader. For example this makes possible to declare a groovy class in a document and use it in other documents which includes it.
107 * It's now possible to not parse velocity macro content for wiki syntax by using the wiki="false" parameter.
108
109 ==== New Python macro
110
111 See [[code:Macros.PythonMacro]] for more details.
112
113 ==== Footnote macro
114
115 See [[Footnote macro documentation>>code:Macros.Footnote20Macro]].
116
117 [[image:code:Macros.Footnote20Macro@footnote1.png]]
118
119 ==== Formula macro
120
121 Ability to render Mathematical Formulas using the ~{{formula}} macro (see [[documentation page>>code:Macros.FormulaMacro]]).
122
123 You can check for examples on the [[Wikipedia Math Markup page>>http://en.wikipedia.org/wiki/Math_markup]].
124
125 ==== Smaller XHTML output
126
127 We introduced a light XHTML renderer which avoid having all extra datas needed by the WYSIWYG. You will not get any weird XHTML comment anymore in the rendered page.
128
129 ==== Renderers are now real components
130
131 The same way it's possible to add any parser it's now possible to add any renderer for a specific output simply by registering it as a component.
132
133 See [[code:Modules.RenderingModule]] for more details.
134
135 ==== New plain text parser
136
137 Plain text parser make possible to put in a page some plain text to render it exactly as it. The syntax name of plain text renderer is ##plain/1.0##, you can enable it in xwiki.cfg.
138
139 === Scheduler improvements
140
141 * Allow to manually trigger a job (execute it once)
142 * Upgrade to Quartz 1.6.5
143
144 === Watchlist
145
146 * Add watch/unwatch wiki in the Watch menu
147 * Improve notification email readability by displaying icons for objects, classes and properties
148 * Watch List support registering for user activity
149 * Put document metadata modifications in diffs
150 * Make the watchlist work across multiple wikis
151 * Put links to pages in email notifications
152 * Use activitystream feed building feature to generate watchlist RSS feed
153 * In virtual mode allow each wiki to have its own watchlist email template document
154 * big speed improvement by refactoring the watchlist based on activity stream plugin
155 * add support for class and object diff in the mails
156 * add support for full wiki watching
157 * allow to create watchlist notifications for any interval of time
158 * mails design improvement
159
160 === New Activity stream
161
162 * Provide a way to delete events after a configurable amount of time
163 * Allow to store all activity events in the main wiki in virtual mode
164
165 === New events for XWiki startup/shutdown
166
167 It's now possible for a component or a plugin to register to startup or shutdown events. It's very useful when some plugin need to start and stop an external service.
168
169 === Velocity tools and Velocity properties can be easily changed
170
171 See ##velocity.tools## and ##velocity.properties## parameters in xwiki.properties.
172
173 1.1.1 Component Manager api improvements
174
175 * Add way to directly provide the component instance when register it
176 * Add way to unregister component
177
178 1.1.1 New xwiki-properties module
179
180 * Java bean populating support
181 * Java type conversion support
182 * Java bean validation support
183
184 Among other things this mean the following changes for the 2.0 macros:
185 * any case is supported for macros parameters names
186 * public fields are now supported (not only getters and setters)
187 * java macro parameters bean is validated agains JSR 303 (See )
188 * macro properties java bean can implements RawProperties to get custom non converted parameters
189 * you can add support for any type conversion by implementing Converter component
190 * any Enum conversion is supported (no need to register each Enum subclass agains ConvertUtils anymore)
191 * support for Color conversion
192
193 See [Properties module documentation>code:Modules.PropertiesModule].
194
195 1.1.1 Remote Observation Manager
196
197 It's now possible to make different instances of XWiki or other programs shares events.
198
199 The main use cases for this are:
200 - clustering
201 - external monitoring of XWiki
202
203 This release include documents events support for code using new Observation Manager and remote events support in document cache so that's it's possible to do basic clustering already. The old code using old notification system will be upgraded during the RC process before the final 2.0 version and support will be added for other types of events. Note that Remote Observation Manager already support any kind of fully Serializable events.
204
205 == Known issues
206
207 * [[Bugs we know about>>http://jira.xwiki.org/jira/secure/IssueNavigator.jspa?reset=true&&type=1&pid=10010&resolution=-1&sorter/field=updated&sorter/order=DESC]]
208
209 == Backward Compatibility and Migration Notes
210
211 === General Notes
212
213 {{warning}}If you're running in a multiwiki setup you'll also need to define the property ##xwiki.store.migration.databases=all## to your ##xwiki.cfg## file or explicitly name all databases to be migrated as in ##xwiki.store.migration.databases=db1,db2,...##.
214 {{/warning}}
215
216 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from improvements listed above.
217
218 {{warning}}
219 Always make sure you compare your ##xwiki.cfg## file with the newest version since some configuration parameters were added. Of note, 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.
220 {{/warning}}
221
222 === API Breakages
223
224 The following APIs were modified since XWiki Enterprise 1.9:
225
226 * Rendering Module
227 ** ##>Block.replace()## has been replaced by ##Block.replaceChild()##>
228 ** ##ParseException## constructor and methods have been modified since they were unused
229 ** ##XWikiXHTMLImageRenderer## and ##XWikiXHTMLLinkRenderer## classes have been moved to a XWiki-specific module so that the main Rendering module can be used standalone
230 ** Merged ##SimpleXHTMLImageRenderer## and ##XWikiXHTMLImageRenderer## into ##DefaultXHTMLImageRenderer## which now handles the case where we're inside a wiki or not
231 ** Merged ##SimpleXHTMLLinkRenderer## and ##XWikiXHTMLLinkRenderer## into ##DefaultXHTMLLinkRenderer## which now handles the case where we're inside a wiki or not
232 ** ##AbstractBlock## constructors has been refactored to make easier to create new common macros. Main change is that the macro author does not have to provide the MacroDescriptor anymore.
233 ** Macro parameters bean are now supposed to use xwiki-properties annotations instead of ##org.xwiki.rendering.macro.descriptor.annotation.*## annotations. Simply change ##org.xwiki.rendering.macro.descriptor.annotation.Parameter*## by ##org.xwiki.properties.annotation.Property*## to upgrade you macro parameters bean.
234 ** Macro have to provide a human readable name in various AbstractMacro helpers constructors
235 ** Big refactor around renderers and the way to use them since they are real components now
236 ** Syntax, SyntaxFactory and SyntaxType classes moved to the proper package (org.xwiki.rendering.syntax)
237 ** Definition lists now take parameters
238 ** Details:
239 {{code language="none"}}
240
241 {{code}}
242
243 == Dependencies
244
245 This release includes the following modules in the specified versions since XWiki Enterprise 1.9.3 was released:
246
247 === Core/Web
248
249 |=Group Id|=Artifact Id|=New Version|=Old Version|=JIRA URL
250 |##com.xpn.xwiki.platform##|##xwiki-*##|2.0|1.9.3|
251 |##org.xwiki.platform##|##xwiki-*##|2.0|1.9.3|
252
253 === Applications
254
255 |=Group Id|=Artifact Id|=New Version|=Old Version|=JIRA URL
256 |##com.xpn.xwiki.platform.applications##|##xwiki-application-administration##|1.17|1.12|[[jira>>http://jira.xwiki.org/jira/browse/XAADMINISTRATION]]
257 |##com.xpn.xwiki.platform.applications##|##xwiki-application-blog##|1.12|1.8|[[jira>>http://jira.xwiki.org/jira/browse/XABLOG]]
258 |##com.xpn.xwiki.platform.applications##|##xwiki-application-officeimporter##|1.11|1.9|[[jira>>http://jira.xwiki.org/jira/browse/XAOFFICE]]
259 |##com.xpn.xwiki.platform.applications##|##xwiki-application-panels##|1.24|1.20.1|[[jira>>http://jira.xwiki.org/jira/browse/XAPANELS]]
260 |##com.xpn.xwiki.platform.applications##|##xwiki-application-scheduler##|1.12|1.11|
261 |##com.xpn.xwiki.platform.applications##|##xwiki-application-statistics##|1.5|1.4|
262 |##com.xpn.xwiki.platform.applications##|##xwiki-application-tag##|1.7|1.7|
263 |##com.xpn.xwiki.platform.applications##|##xwiki-application-watchlist##|1.20|1.16|
264 |##com.xpn.xwiki.platform.applications##|##xwiki-application-webdav##|1.2|1.2|
265 |##com.xpn.xwiki.platform.applications##|##xwiki-application-wiki-macro-bridge##|1.2|N/A|
266
267 === Plugins
268
269 |=Group Id|=Artifact Id|=New Version|=Old Version|=JIRA URL
270 |##com.xpn.xwiki.platform.plugins##|##xwiki-plugin-activitystream##|1.4|N/A|
271 |##com.xpn.xwiki.platform.plugins##|##xwiki-plugin-jodatime##|1.3|1.3|
272 |##com.xpn.xwiki.platform.plugins##|##xwiki-plugin-lucene##|1.10|1.8|
273 |##com.xpn.xwiki.platform.plugins##|##xwiki-plugin-mailsender##|1.13|1.10|
274 |##com.xpn.xwiki.platform.plugins##|##xwiki-plugin-scheduler##|1.12|1.9|
275 |##com.xpn.xwiki.platform.plugins##|##xwiki-plugin-skinx##|1.10|1.9|
276 |##com.xpn.xwiki.platform.plugins##|##xwiki-plugin-tag##|1.7|1.6|
277 |##com.xpn.xwiki.platform.plugins##|##xwiki-plugin-watchlist##|1.20|1.16|
278
279 === Skins
280
281 |=Group Id|=Artifact Id|=New Version|=Old Version|=JIRA URL
282 |##com.xpn.xwiki.platform.skins##|##xwiki-skin-albatross##|1.24|1.21|
283 |##com.xpn.xwiki.platform.skins##|##xwiki-skin-colibri##|1.3|N/A|
284 |##com.xpn.xwiki.platform.skins##|##xwiki-skin-toucan##|1.28|1.22|
285
286 === Top Level POM
287
288 |=Group Id|=Artifact Id|=New Version|=Old Version|=JIRA URL
289 |##com.xpn.xwiki.platform##|##xwiki##|27|24|
290
291 === Tools
292
293 |=Group Id|=Artifact Id|=New Version|=Old Version|=JIRA URL
294 |##org.xwiki.platform.tools##|##xwiki-jetty-resources##|1.16|1.14|
295 |##org.xwiki.platform.tools##|##xwiki-rootwebapp##|1.2|1.1|
296 |##org.xwiki.platform.tools##|##xwiki-xar-handlers##|1.9|1.8|
297 |##org.xwiki.platform.tools##|##xwiki-xar-plugin##|1.13|1.12|
298 |##org.xwiki.platform.tools##|##xwiki-configuration-resources##|1.32|1.27|
299 |##org.xwiki.platform.tools##|##xwiki-packager-plugin##|1.13|1.12|
300 |##org.xwiki.platform.tools##|##xwiki-license-resources##|1.1|1.0|
301 |##org.xwiki.platform.tools##|##xwiki-verification-resources##|1.14|1.13|

Get Connected