Version 12.1 by Thomas Mortagne on 2009/06/25

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 {image:newsearchui.png|width=600}
31
32 1.1.1 New Tag Cloud Panel
33
34 {image:tagcloudpanel.png}
35
36 1.1.1 New "wiki" parameter for all scrip macros
37
38 It's now possible to generated not content with velocity easily simply by setting wiki="false".
39
40 {code}
41 {{velocity}}
42 #set($var = "**not bold**")
43 $var
44 {{/velocity}}
45 {code}
46
47 will render
48
49 {code}
50 **not bold**
51 {code}
52
53 1.1.1 New events for XWiki startup/shutdown
54
55 It's now possible for a component or a plugin to register to statup or shutdown events. It's very useful when some plugin need to start and stop an external service.
56
57 #error("Add some doc")
58
59 1.1.1 Javascript and CSS files are now compressed
60
61 #warning("TODO")
62
63 1.1.1 Velocity tools and Velocity properties can be easily changed
64
65 See <tt>velocity.tools</tt> and <tt>velocity.properties</tt> parameters in xwiki.properties.
66
67 1.1 Known issues
68
69 * [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]
70
71 1.1 Backward Compatibility and Migration Notes
72
73 1.1.1 General Notes
74
75 #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>.")
76
77 You may also want to [import the default wiki XAR>Main.Download] in order to benefit from improvements listed above.
78
79 #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.")
80
81 1.1.1 Velocity macro cleaning
82
83 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
84 {code}{{velocity filter="html"}}{{/velocity}}{code}
85
86 1.1.1 API Breakages
87
88 The following APIs were modified since XWiki Enterprise 1.9:
89
90 * Rendering Module
91 ** <tt>Block.replace()</tt> has been replaced by <tt>Block.replaceChild()</tt>
92 ** <tt>ParseException</tt> constructor and methods have been modified since they were unused
93 ** <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
94 ** 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
95 ** 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
96 ** Details:\\{code:none}
97 [ERROR] org.xwiki.rendering.block.AbstractBlock: Method 'public void replace(java.util.List)' has been removed
98 [ERROR] org.xwiki.rendering.block.Block: Method 'public void replace(java.util.List)' has been removed
99 [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
100 [ERROR] org.xwiki.rendering.block.Block: Method 'public void replaceChild(java.util.List, org.xwiki.rendering.block.Block)' has been added to an interface
101 [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
102 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception)' has been removed
103 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception, java.lang.String, int)' has been removed
104 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception, java.lang.String, java.lang.String, int)' has been removed
105 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public java.lang.String getFileName()' has been removed
106 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public int getLineNumber()' has been removed
107 [ERROR] org.xwiki.rendering.renderer.xhtml.XWikiXHTMLImageRenderer: Class org.xwiki.rendering.renderer.xhtml.XWikiXHTMLImageRenderer removed
108 [ERROR] org.xwiki.rendering.renderer.xhtml.XWikiXHTMLLinkRenderer: Class org.xwiki.rendering.renderer.xhtml.XWikiXHTMLLinkRenderer removed
109 [ERROR] org.xwiki.rendering.renderer.XHTMLRenderer: Method 'public XHTMLRenderer(org.xwiki.rendering.renderer.printer.WikiPrinter)' has been removed
110 [ERROR] org.xwiki.rendering.renderer.xhtml.SimpleXHTMLImageRenderer: Class org.xwiki.rendering.renderer.xhtml.SimpleXHTMLImageRenderer removed
111 [ERROR] org.xwiki.rendering.renderer.xhtml.SimpleXHTMLLinkRenderer: Class org.xwiki.rendering.renderer.xhtml.SimpleXHTMLLinkRenderer removed{code}

Get Connected