Hide last authors
Vincent Massol 1.1 1 #startfloatingbox()
2 *Contents*
3 #toc ("2" "4" "")
4 #endfloatingbox()
5
6 1 Release Notes for XWiki Enterprise 2.0 Milestone 1
7
Thomas Mortagne 5.1 8 First milestone of the XWiki Enterprise 2.0 version ([Roadmap>enterprise:Main.Roadmap]).
9
Vincent Massol 11.2 10 1.1 New and Noteworthy (since XWiki Enterprise 1.9.1)
Vincent Massol 1.1 11
Thomas Mortagne 2.1 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
Thomas Mortagne 3.1 17 * New info, warning and error macros
Thomas Mortagne 2.1 18 * Improvements for the blog application
Vincent Massol 1.1 19
Thomas Mortagne 2.1 20 1.1.1 New Chart macro for XWiki 2.0 syntax
21
Thomas Mortagne 4.1 22 See [Chart macro documentation>code:Macros.ChartMacro].
Thomas Mortagne 2.1 23
24 1.1.1 New info, warning and error macros
25
Thomas Mortagne 4.1 26 See [Message macro documentation>code:Macros.MessageMacro].
Thomas Mortagne 2.1 27
28 1.1.1 New Search Interface
29
Thomas Mortagne 10.1 30 {image:newsearchui.png|width=600}
Thomas Mortagne 2.1 31
32 1.1.1 New Tag Cloud Panel
33
Thomas Mortagne 10.1 34 {image:tagcloudpanel.png}
Thomas Mortagne 2.1 35
Thomas Mortagne 12.1 36 1.1.1 New "wiki" parameter for all scrip macros
Thomas Mortagne 2.1 37
Thomas Mortagne 12.1 38 It's now possible to generated not content with velocity easily simply by setting wiki="false".
Thomas Mortagne 2.1 39
Thomas Mortagne 12.1 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
Thomas Mortagne 2.1 53 1.1.1 New events for XWiki startup/shutdown
54
Thomas Mortagne 13.1 55 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.
Thomas Mortagne 2.1 56
57 1.1.1 Velocity tools and Velocity properties can be easily changed
58
Thomas Mortagne 12.1 59 See <tt>velocity.tools</tt> and <tt>velocity.properties</tt> parameters in xwiki.properties.
Thomas Mortagne 2.1 60
Vincent Massol 1.1 61 1.1 Known issues
62
63 * [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]
64
65 1.1 Backward Compatibility and Migration Notes
66
67 1.1.1 General Notes
68
69 #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>.")
70
71 You may also want to [import the default wiki XAR>Main.Download] in order to benefit from improvements listed above.
72
73 #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.")
74
Thomas Mortagne 6.1 75 1.1.1 Velocity macro cleaning
76
77 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
78 {code}{{velocity filter="html"}}{{/velocity}}{code}
79
Vincent Massol 1.1 80 1.1.1 API Breakages
81
82 The following APIs were modified since XWiki Enterprise 1.9:
83
84 * Rendering Module
85 ** <tt>Block.replace()</tt> has been replaced by <tt>Block.replaceChild()</tt>
86 ** <tt>ParseException</tt> constructor and methods have been modified since they were unused
87 ** <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
Vincent Massol 1.2 88 ** 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
89 ** 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
Vincent Massol 1.1 90 ** Details:\\{code:none}
91 [ERROR] org.xwiki.rendering.block.AbstractBlock: Method 'public void replace(java.util.List)' has been removed
92 [ERROR] org.xwiki.rendering.block.Block: Method 'public void replace(java.util.List)' has been removed
93 [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
94 [ERROR] org.xwiki.rendering.block.Block: Method 'public void replaceChild(java.util.List, org.xwiki.rendering.block.Block)' has been added to an interface
95 [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
96 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception)' has been removed
97 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception, java.lang.String, int)' has been removed
98 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception, java.lang.String, java.lang.String, int)' has been removed
99 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public java.lang.String getFileName()' has been removed
100 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public int getLineNumber()' has been removed
101 [ERROR] org.xwiki.rendering.renderer.xhtml.XWikiXHTMLImageRenderer: Class org.xwiki.rendering.renderer.xhtml.XWikiXHTMLImageRenderer removed
Vincent Massol 1.2 102 [ERROR] org.xwiki.rendering.renderer.xhtml.XWikiXHTMLLinkRenderer: Class org.xwiki.rendering.renderer.xhtml.XWikiXHTMLLinkRenderer removed
103 [ERROR] org.xwiki.rendering.renderer.XHTMLRenderer: Method 'public XHTMLRenderer(org.xwiki.rendering.renderer.printer.WikiPrinter)' has been removed
104 [ERROR] org.xwiki.rendering.renderer.xhtml.SimpleXHTMLImageRenderer: Class org.xwiki.rendering.renderer.xhtml.SimpleXHTMLImageRenderer removed
105 [ERROR] org.xwiki.rendering.renderer.xhtml.SimpleXHTMLLinkRenderer: Class org.xwiki.rendering.renderer.xhtml.SimpleXHTMLLinkRenderer removed{code}
Vincent Massol 1.1 106

Get Connected