Wiki source code of ReleaseNotesXWikiEnterprise20M1
Last modified by Thomas Mortagne on 2017/03/24
Show last authors
author | version | line-number | content |
---|---|---|---|
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 | * 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>extensions:Extension.Chart Macro]. | ||
23 | |||
24 | 1.1.1 New info, warning and error macros | ||
25 | |||
26 | See [Info>>extensions:Extension.Info Macro], [Warning>>extensions:Extension.Warning Macro] and [Error>>extensions:Extension.Error Macro] macro documentation. | ||
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 script macros | ||
41 | |||
42 | It's now possible to not parse velocity macro content for wiki syntax by using the wiki="false" parameter. For example: | ||
43 | |||
44 | {code} | ||
45 | {{velocity wiki="false"}} | ||
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 | |||
66 | 1.1 Known issues | ||
67 | |||
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] | ||
69 | |||
70 | 1.1 Backward Compatibility and Migration Notes | ||
71 | |||
72 | 1.1.1 General Notes | ||
73 | |||
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>.") | ||
75 | |||
76 | You may also want to [import the default wiki XAR>Main.Download] in order to benefit from improvements listed above. | ||
77 | |||
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.") | ||
79 | |||
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 | ||
83 | {code}{{velocity filter="html"}}{{/velocity}}{code} | ||
84 | |||
85 | 1.1.1 API Breakages | ||
86 | |||
87 | The following APIs were modified since XWiki Enterprise 1.9: | ||
88 | |||
89 | * Rendering Module | ||
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} |