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.1)
11
12 At a glance (see below for details):
13 * Lots of improvements and new features in the new WYSIWYG editor
14 * Lots of improvements and bugfixes in the rendering engine and the syntax converter
15 * Lots of improvements and bugfixes in the 1.0 to 2.0 syntax converter
16 * New Chart macro for XWiki 2.0 syntax
17 * New info, warning and error macros
18 * Improvements for the blog application
19
20 1.1.1 New Chart macro for XWiki 2.0 syntax
21
22 See [Chart macro documentation>code:Macros.ChartMacro].
23
24 1.1.1 New info, warning and error macros
25
26 See [Message macro documentation>code:Macros.MessageMacro].
27
28 1.1.1 New Search Interface
29
30 The default search page UI has been improved to be easier to understand and use.
31
32 {image:newsearchui.png|width=600}
33
34 1.1.1 New Tag Cloud Panel
35
36 A panels containing the tag cloud is now provided by default and can be used like any other panel.
37
38 {image:tagcloudpanel.png}
39
40 1.1.1 New "wiki" parameter for all scrip macros
41
42 It's now possible to generated not content with velocity easily simply by setting wiki="false".
43
44 {code}
45 {{velocity}}
46 #set($var = "**not bold**")
47 $var
48 {{/velocity}}
49 {code}
50
51 will render
52
53 {code}
54 **not bold**
55 {code}
56
57 1.1.1 New events for XWiki startup/shutdown
58
59 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.
60
61 1.1.1 Velocity tools and Velocity properties can be easily changed
62
63 See <tt>velocity.tools</tt> and <tt>velocity.properties</tt> parameters in xwiki.properties.
64
65 1.1 Known issues
66
67 * [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]
68
69 1.1 Backward Compatibility and Migration Notes
70
71 1.1.1 General Notes
72
73 #warning("If you're running in a multiwiki setup you'll also need to define the property <tt>xwiki.store.migration.databases=all</tt> to your <tt>xwiki.cfg</tt> file or explicitly name all databases to be migrated as in <tt>xwiki.store.migration.databases=db1,db2,...</tt>.")
74
75 You may also want to [import the default wiki XAR>Main.Download] in order to benefit from improvements listed above.
76
77 #warning("Always make sure you compare your <tt>xwiki.cfg</tt> file with the newest version since some configuration parameters were added. Of note, you should add <tt>xwiki.store.migration=1</tt> so that XWiki will attempt to automatically migrate your current database to the new schema. Make sure you backup your Database before doing anything.")
78
79 1.1.1 Velocity macro cleaning
80
81 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
82 {code}{{velocity filter="html"}}{{/velocity}}{code}
83
84 1.1.1 API Breakages
85
86 The following APIs were modified since XWiki Enterprise 1.9:
87
88 * Rendering Module
89 ** <tt>Block.replace()</tt> has been replaced by <tt>Block.replaceChild()</tt>
90 ** <tt>ParseException</tt> constructor and methods have been modified since they were unused
91 ** <tt>XWikiXHTMLImageRenderer</tt> and <tt>XWikiXHTMLLinkRenderer</tt> classes have been moved to a XWiki-specific module so that the main Rendering module can be used standalone
92 ** Merged <tt>SimpleXHTMLImageRenderer</tt> and <tt>XWikiXHTMLImageRenderer</tt> into <tt>DefaultXHTMLImageRenderer</tt> which now handles the case where we're inside a wiki or not
93 ** Merged <tt>SimpleXHTMLLinkRenderer</tt> and <tt>XWikiXHTMLLinkRenderer</tt> into <tt>DefaultXHTMLLinkRenderer</tt> which now handles the case where we're inside a wiki or not
94 ** Details:\\{code:none}
95 [ERROR] org.xwiki.rendering.block.AbstractBlock: Method 'public void replace(java.util.List)' has been removed
96 [ERROR] org.xwiki.rendering.block.Block: Method 'public void replace(java.util.List)' has been removed
97 [ERROR] org.xwiki.rendering.block.Block: Method 'public void replaceChild(org.xwiki.rendering.block.Block, org.xwiki.rendering.block.Block)' has been added to an interface
98 [ERROR] org.xwiki.rendering.block.Block: Method 'public void replaceChild(java.util.List, org.xwiki.rendering.block.Block)' has been added to an interface
99 [ERROR] org.xwiki.rendering.parser.ParseException: Parameter 2 of 'public ParseException(java.lang.String, java.lang.Exception)' has changed its type to java.lang.Throwable
100 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception)' has been removed
101 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception, java.lang.String, int)' has been removed
102 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception, java.lang.String, java.lang.String, int)' has been removed
103 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public java.lang.String getFileName()' has been removed
104 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public int getLineNumber()' has been removed
105 [ERROR] org.xwiki.rendering.renderer.xhtml.XWikiXHTMLImageRenderer: Class org.xwiki.rendering.renderer.xhtml.XWikiXHTMLImageRenderer removed
106 [ERROR] org.xwiki.rendering.renderer.xhtml.XWikiXHTMLLinkRenderer: Class org.xwiki.rendering.renderer.xhtml.XWikiXHTMLLinkRenderer removed
107 [ERROR] org.xwiki.rendering.renderer.XHTMLRenderer: Method 'public XHTMLRenderer(org.xwiki.rendering.renderer.printer.WikiPrinter)' has been removed
108 [ERROR] org.xwiki.rendering.renderer.xhtml.SimpleXHTMLImageRenderer: Class org.xwiki.rendering.renderer.xhtml.SimpleXHTMLImageRenderer removed
109 [ERROR] org.xwiki.rendering.renderer.xhtml.SimpleXHTMLLinkRenderer: Class org.xwiki.rendering.renderer.xhtml.SimpleXHTMLLinkRenderer removed{code}

Get Connected