Show last authors
1 #startfloatingbox()
2 *Contents*
3 #toc ("2" "4" "")
4 #endfloatingbox()
5
6 1 Release Notes for XWiki Enterprise 2.0 Milestone 1
7
8 First milestone of the XWiki Enterprise 2.0 version ([Roadmap>enterprise:Main.Roadmap]).
9
10 1.1 New and Noteworthy (since XWiki Enterprise 1.9)
11
12 At a glance (see below for details):
13
14 * Lots of improvements and new features in the new WYSIWYG editor
15 * Lots of improvements and bugfixes in the rendering engine and the syntax converter
16 * Lots of improvements and bugfixes in the 1.0 to 2.0 syntax converter
17 * New Chart macro for XWiki 2.0 syntax
18 * New info, warning and error macros
19 * Improvements for the blog application
20
21 1.1.1 New Chart macro for XWiki 2.0 syntax
22
23 See [Chart macro documentation>code:Macros.ChartMacro20].
24
25 1.1.1 New info, warning and error macros
26
27 See [Message macro documentation>code:Macros.MessageMacro].
28
29 1.1.1 New Search Interface
30
31 The default search page UI has been improved to be easier to understand and use.
32
33 {image:newsearchui.png|width=600| }
34
35 1.1.1 New Tag Cloud Panel
36
37 A panels containing the tag cloud is now provided by default and can be used like any other panel.
38
39 {image:tagcloudpanel.png}
40
41 1.1.1 New "wiki" parameter for all script macros
42
43 It's now possible to not parse velocity macro content for wiki syntax by using the wiki="false" parameter. For example:
44
45 \\
46
47 {code}
48 {{velocity wiki="false"}}
49 #set($var = "**not bold**")
50 $var
51 {{/velocity}}
52
53 {code}
54
55 \\
56 \\
57
58 will render
59
60 \\
61
62 {code}
63 **not bold**
64
65 {code}
66
67 \\
68 \\
69
70 1.1.1 New events for XWiki startup/shutdown
71
72 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.
73
74 1.1.1 Velocity tools and Velocity properties can be easily changed
75
76 See velocity.tools and velocity.properties parameters in xwiki.properties.
77
78 1.1 Known issues
79
80 * [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]
81
82 1.1 Backward Compatibility and Migration Notes
83
84 1.1.1 General Notes
85
86 #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,....")
87
88 You may also want to [import the default wiki XAR>Main.Download] in order to benefit from improvements listed above.
89
90 #warning("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.")
91
92 1.1.1 Velocity macro cleaning
93
94 We changed the default filter for the Velcity macro. The new one only remove indentation white space and does not touch new lines or other white spaces anymore. The former one can still be used by putting
95
96 {code}
97 {{velocity filter="html"}}{{/velocity}}
98 {code}
99
100 \\
101 \\
102
103 1.1.1 API Breakages
104
105 The following APIs were modified since XWiki Enterprise 1.9:
106
107 * Rendering Module
108 ** Block.replace() has been replaced by Block.replaceChild()
109 ** ParseException constructor and methods have been modified since they were unused
110 ** XWikiXHTMLImageRenderer and XWikiXHTMLLinkRenderer classes have been moved to a XWiki-specific module so that the main Rendering module can be used standalone
111 ** Merged SimpleXHTMLImageRenderer and XWikiXHTMLImageRenderer into DefaultXHTMLImageRenderer which now handles the case where we're inside a wiki or not
112 ** Merged SimpleXHTMLLinkRenderer and XWikiXHTMLLinkRenderer into DefaultXHTMLLinkRenderer which now handles the case where we're inside a wiki or not

Get Connected