Last modified by Thomas Mortagne on 2017/03/24

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
Thomas Mortagne 15.1 10 1.1 New and Noteworthy (since XWiki Enterprise 1.9)
Vincent Massol 1.1 11
Thomas Mortagne 2.1 12 At a glance (see below for details):
Thomas Mortagne 17.1 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
Vincent Massol 1.1 19
Thomas Mortagne 2.1 20 1.1.1 New Chart macro for XWiki 2.0 syntax
21
Vincent Massol 18.1 22 See [Chart macro documentation>extensions:Extension.Chart Macro].
Thomas Mortagne 2.1 23
24 1.1.1 New info, warning and error macros
25
Vincent Massol 18.1 26 See [Info>>extensions:Extension.Info Macro], [Warning>>extensions:Extension.Warning Macro] and [Error>>extensions:Extension.Error Macro] macro documentation.
Thomas Mortagne 2.1 27
28 1.1.1 New Search Interface
29
Thomas Mortagne 14.1 30 The default search page UI has been improved to be easier to understand and use.
31
Thomas Mortagne 17.1 32 {image:newsearchui.png|width=600}
Thomas Mortagne 2.1 33
34 1.1.1 New Tag Cloud Panel
35
Thomas Mortagne 14.1 36 A panels containing the tag cloud is now provided by default and can be used like any other panel.
37
Thomas Mortagne 10.1 38 {image:tagcloudpanel.png}
Thomas Mortagne 2.1 39
Vincent Massol 15.2 40 1.1.1 New "wiki" parameter for all script macros
Thomas Mortagne 2.1 41
Vincent Massol 15.2 42 It's now possible to not parse velocity macro content for wiki syntax by using the wiki="false" parameter. For example:
Thomas Mortagne 2.1 43
Thomas Mortagne 12.1 44 {code}
Vincent Massol 15.2 45 {{velocity wiki="false"}}
Thomas Mortagne 17.1 46 #set($var = "**not bold**")
Thomas Mortagne 12.1 47 $var
48 {{/velocity}}
49 {code}
50
51 will render
52
53 {code}
Thomas Mortagne 17.1 54 **not bold**
Thomas Mortagne 12.1 55 {code}
56
Thomas Mortagne 2.1 57 1.1.1 New events for XWiki startup/shutdown
58
Thomas Mortagne 13.1 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.
Thomas Mortagne 2.1 60
61 1.1.1 Velocity tools and Velocity properties can be easily changed
62
Thomas Mortagne 17.1 63 See <tt>velocity.tools</tt> and <tt>velocity.properties</tt> parameters in xwiki.properties.
Thomas Mortagne 2.1 64
Thomas Mortagne 17.1 65
Vincent Massol 1.1 66 1.1 Known issues
67
Thomas Mortagne 20.1 68 * [Bugs we know about>https://jira.xwiki.org/secure/IssueNavigator.jspa?reset=true&&type=1&pid=10010&resolution=-1&sorter/field=updated&sorter/order=DESC]
Vincent Massol 1.1 69
70 1.1 Backward Compatibility and Migration Notes
71
72 1.1.1 General Notes
73
Thomas Mortagne 17.1 74 #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>.")
Vincent Massol 1.1 75
76 You may also want to [import the default wiki XAR>Main.Download] in order to benefit from improvements listed above.
77
Thomas Mortagne 17.1 78 #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.")
Vincent Massol 1.1 79
Thomas Mortagne 6.1 80 1.1.1 Velocity macro cleaning
81
82 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
Thomas Mortagne 17.1 83 {code}{{velocity filter="html"}}{{/velocity}}{code}
Thomas Mortagne 6.1 84
Vincent Massol 1.1 85 1.1.1 API Breakages
86
87 The following APIs were modified since XWiki Enterprise 1.9:
88
89 * Rendering Module
Thomas Mortagne 17.1 90 ** <tt>Block.replace()</tt> has been replaced by <tt>Block.replaceChild()</tt>
91 ** <tt>ParseException</tt> constructor and methods have been modified since they were unused
92 ** <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
93 ** 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
94 ** 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
95 ** Details:\\{code:none}
96 [ERROR] org.xwiki.rendering.block.AbstractBlock: Method 'public void replace(java.util.List)' has been removed
97 [ERROR] org.xwiki.rendering.block.Block: Method 'public void replace(java.util.List)' has been removed
98 [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
99 [ERROR] org.xwiki.rendering.block.Block: Method 'public void replaceChild(java.util.List, org.xwiki.rendering.block.Block)' has been added to an interface
100 [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
101 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception)' has been removed
102 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception, java.lang.String, int)' has been removed
103 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception, java.lang.String, java.lang.String, int)' has been removed
104 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public java.lang.String getFileName()' has been removed
105 [ERROR] org.xwiki.rendering.parser.ParseException: Method 'public int getLineNumber()' has been removed
106 [ERROR] org.xwiki.rendering.renderer.xhtml.XWikiXHTMLImageRenderer: Class org.xwiki.rendering.renderer.xhtml.XWikiXHTMLImageRenderer removed
107 [ERROR] org.xwiki.rendering.renderer.xhtml.XWikiXHTMLLinkRenderer: Class org.xwiki.rendering.renderer.xhtml.XWikiXHTMLLinkRenderer removed
108 [ERROR] org.xwiki.rendering.renderer.XHTMLRenderer: Method 'public XHTMLRenderer(org.xwiki.rendering.renderer.printer.WikiPrinter)' has been removed
109 [ERROR] org.xwiki.rendering.renderer.xhtml.SimpleXHTMLImageRenderer: Class org.xwiki.rendering.renderer.xhtml.SimpleXHTMLImageRenderer removed
110 [ERROR] org.xwiki.rendering.renderer.xhtml.SimpleXHTMLLinkRenderer: Class org.xwiki.rendering.renderer.xhtml.SimpleXHTMLLinkRenderer removed{code}
111

Get Connected