Last modified by Thomas Mortagne on 2017/03/24

Show last authors
1 #startfloatingbox()
2 *Contents*
3 #toc ("2" "4" "")
4 #endfloatingbox()
5
6 1 Release Notes for XWiki Enterprise 2.0 Milestone 3
7
8 Third (and last) milestone of the XWiki Enterprise 2.0 version ([Roadmap>enterprise:Main.Roadmap]).
9
10 1.1 New and Noteworthy (since XWiki Enterprise 2.0 Milestone 2)
11
12 At a glance (see below for details):
13 * Improvements and bug fixes in the GWT WYSIWYG editor
14 * Improvements and bugfixes in the rendering engine and the syntax converter
15 * New macros
16 * Upgrade to SmartGWT 1.2
17 * New experimental network event distribution module (to be used for clustering XWiki caches)
18 * Several Blog application improvements
19 * Several Tag application bug fixes
20 * Translations updated for de, fr, lv, nl, ru
21
22 1.1.1 WYSIWYG improvements
23
24 1.1.1.1 Double click to edit a macro
25
26 User can now double click on a macro to edit it and double click in the list of macro to insert it.
27
28 1.1.1.1 Nicer macro names in the list of macros
29
30 WYSIWYG does not expose macro identifier anymore but human readable names provided by the different macros.
31
32 1.1.1 Rendering improvements
33
34 1.1.1.1 Footnote macro
35
36 {image:footnote1.png|document=extensions:Extension.Footnote Macro}
37
38 See [Footnote macro documentation>extensions:Extension.Footnote Macro].
39
40 1.1.1.1 Formula macro
41
42 Ability to render Mathematical Formulas using the \{\{formula\}\} macro (see [documentation page>extensions:Extension.Formula Macro]).
43
44 You can check for examples on the [Wikipedia Math Markup page>http://en.wikipedia.org/wiki/Math_markup].
45
46 1.1.1.1 Smaller XHTML output
47
48 We introduced a light XHTML renderer which avoid having all extra datas needed by the WYSIWYG. You will not get any weird XHTML comment anymore in the rendered page.
49
50 1.1.1.1 Renderers are now real components
51
52 The same way it's possible to add any parser it's not possible to add any renderer for a specific output simply by registering it as a component.
53
54 See [extensions:Extension.Rendering Module].
55
56 1.1.1.1 New plain text parser
57
58 Plain text parser make possible to put in a page some plain text to render it exactly as it. The syntax name of plain text renderer is <tt>plain/1.0</tt>, you can enable it in xwiki.cfg.
59
60 1.1.1 Remote Observation Manager
61
62 It's now possible to make different instances of XWiki or other programs shares events.
63
64 The main use cases for this are:
65 - clustering
66 - external monitoring of XWiki
67
68 This release include documents events support for code using new Observation Manager and remote events support in document cache so that's it's possible to do basic clustering already. The old code using old notification system will be upgraded during the RC process before the final 2.0 version and support will be added for other types of events. Note that Remote Observation Manager already support any kind of fully Serializable events.
69
70 1.1.1 Translations updated
71
72 * de: Helmut Lehner
73 * fr: Guillaume Lerouge
74 * lv: Valdis Vitolins
75 * nl: Hank Schouten
76 * ru: Ivan Podgorny
77
78 1.1.1 Important bugs fixed
79
80 * XWIKI-4140 - Wiki macros are evaluating programming rights on wrong (local) documents when executed in virtual wikis
81 * XWIKI-4114 - Not possible to put content in info, warning and error macro from the WYSIWYG
82
83 1.1 Known issues
84
85 * [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]
86
87 1.1 Backward Compatibility and Migration Notes
88
89 1.1.1 General Notes
90
91 #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>.")
92
93 You may also want to [import the default wiki XAR>Main.Download] in order to benefit from improvements listed above.
94
95 #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.")
96
97 1.1.1 API Breakages
98
99 The following APIs were modified since XWiki Enterprise 2.0M2:
100
101 * Rendering Module
102 ** Macro have to provide a human readable name in various AbstractMacro helpers constructors
103 ** Big refactor around renderers and the way to use them since they are real components now
104 ** Details:\\{code:none}[ERROR] org.xwiki.rendering.block.MacroBlock: Method 'public java.lang.String getName()' has been removed
105 [ERROR] org.xwiki.rendering.block.PlainTextBlockFilter: In method 'public PlainTextBlockFilter(org.xwiki.rendering.renderer.LinkLabelGenerator)' the number of arguments has changed
106 [ERROR] org.xwiki.rendering.configuration.RenderingConfiguration: Method 'public java.util.Properties getMacroCategories()' has been added to an interface
107 [ERROR] org.xwiki.rendering.listener.chaining.AbstractChainingListener: In method 'public AbstractChainingListener(org.xwiki.rendering.listener.chaining.ListenerChain)' the number of arguments has changed
108 [ERROR] org.xwiki.rendering.macro.AbstractMacro: Parameter 2 of 'public AbstractMacro(java.lang.String, org.xwiki.rendering.macro.descriptor.ContentDescriptor)' has changed its type to java.lang.String
109 [ERROR] org.xwiki.rendering.macro.AbstractMacro: Parameter 2 of 'public AbstractMacro(java.lang.String, org.xwiki.rendering.macro.descriptor.ContentDescriptor, java.lang.Class)' has changed its type to java.lang.String
110 [ERROR] org.xwiki.rendering.macro.AbstractMacro: In method 'public AbstractMacro(java.lang.String, java.lang.Class)' the number of arguments has changed
111 [ERROR] org.xwiki.rendering.macro.MacroManager: Parameter 1 of 'public boolean exists(java.lang.String)' has changed its type to org.xwiki.rendering.macro.MacroId
112 [ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public boolean exists(java.lang.String, org.xwiki.rendering.parser.Syntax)' has been removed
113 [ERROR] org.xwiki.rendering.macro.MacroManager: Parameter 1 of 'public org.xwiki.rendering.macro.Macro getMacro(java.lang.String)' has changed its type to org.xwiki.rendering.macro.MacroId
114 [ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public org.xwiki.rendering.macro.Macro getMacro(java.lang.String, org.xwiki.rendering.parser.Syntax)' has been removed
115 [ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public java.util.Set getMacroIds()' has been added to an interface
116 [ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public java.util.Set getMacroIds(org.xwiki.rendering.parser.Syntax)' has been added to an interface
117 [ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public java.util.Set getMacroNames(org.xwiki.rendering.parser.Syntax)' has been removed
118 [ERROR] org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor: In method 'public AbstractMacroDescriptor(java.lang.String, org.xwiki.rendering.macro.descriptor.ContentDescriptor, org.xwiki.properties.BeanDescriptor)' the number of arguments has changed
119 [ERROR] org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor: Parameter 2 of 'public DefaultMacroDescriptor(java.lang.String, org.xwiki.rendering.macro.descriptor.ContentDescriptor)' has changed its type to java.lang.String
120 [ERROR] org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor: Parameter 2 of 'public DefaultMacroDescriptor(java.lang.String, org.xwiki.rendering.macro.descriptor.ContentDescriptor, org.xwiki.properties.BeanDescriptor)' has changed its type to java.lang.String
121 [ERROR] org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor: Parameter 3 of 'public DefaultMacroDescriptor(java.lang.String, org.xwiki.rendering.macro.descriptor.ContentDescriptor, org.xwiki.properties.BeanDescriptor)' has changed its type to org.xwiki.rendering.macro.descriptor.ContentDescriptor
122 [ERROR] org.xwiki.rendering.macro.descriptor.MacroDescriptor: Method 'public java.lang.String getDefaultCategory()' has been added to an interface
123 [ERROR] org.xwiki.rendering.macro.descriptor.MacroDescriptor: Method 'public java.lang.String getName()' has been added to an interface
124 [ERROR] org.xwiki.rendering.parser.SyntaxType: Method 'public org.xwiki.rendering.parser.SyntaxType getSyntaxType(java.lang.String)' has been removed
125 [ERROR] org.xwiki.rendering.renderer.EventsRenderer: Class org.xwiki.rendering.renderer.EventsRenderer removed
126 [ERROR] org.xwiki.rendering.renderer.PlainTextRenderer: Class org.xwiki.rendering.renderer.PlainTextRenderer removed
127 [ERROR] org.xwiki.rendering.renderer.PrintRenderer: Method 'public void setPrinter(org.xwiki.rendering.renderer.printer.WikiPrinter)' has been added to an interface
128 [ERROR] org.xwiki.rendering.renderer.PrintRendererFactory: In method 'public org.xwiki.rendering.renderer.PrintRenderer createRenderer(org.xwiki.rendering.parser.Syntax, org.xwiki.rendering.renderer.printer.WikiPrinter)' the number of arguments has changed
129 [ERROR] org.xwiki.rendering.renderer.PrintRendererFactory: Method 'public java.util.List getAvailableSyntaxes()' has been removed
130 [ERROR] org.xwiki.rendering.renderer.PrintRendererFactory: Method 'public org.xwiki.rendering.parser.Syntax getSyntax()' has been added to an interface
131 [ERROR] org.xwiki.rendering.renderer.TexRenderer: Class org.xwiki.rendering.renderer.TexRenderer removed
132 [ERROR] org.xwiki.rendering.renderer.XHTMLRenderer: Class org.xwiki.rendering.renderer.XHTMLRenderer removed
133 [ERROR] org.xwiki.rendering.renderer.XWikiSyntaxRenderer: Class org.xwiki.rendering.renderer.XWikiSyntaxRenderer removed
134 [ERROR] org.xwiki.rendering.renderer.chaining.AbstractChainingPrintRenderer: Class org.xwiki.rendering.renderer.chaining.AbstractChainingPrintRenderer removed
135 [ERROR] org.xwiki.rendering.renderer.printer.MonitoringWikiPrinter: Class org.xwiki.rendering.renderer.printer.MonitoringWikiPrinter removed
136 [ERROR] org.xwiki.rendering.renderer.xhtml.DefaultXHTMLImageRenderer: Class org.xwiki.rendering.renderer.xhtml.DefaultXHTMLImageRenderer removed
137 [ERROR] org.xwiki.rendering.renderer.xhtml.DefaultXHTMLLinkRenderer: Class org.xwiki.rendering.renderer.xhtml.DefaultXHTMLLinkRenderer removed
138 [ERROR] org.xwiki.rendering.renderer.xhtml.XHTMLImageRenderer: Method 'public org.xwiki.rendering.renderer.printer.XHTMLWikiPrinter getXHTMLWikiPrinter()' has been added to an interface
139 [ERROR] org.xwiki.rendering.renderer.xhtml.XHTMLLinkRenderer: Method 'public org.xwiki.rendering.renderer.printer.XHTMLWikiPrinter getXHTMLWikiPrinter()' has been added to an interface
140 [ERROR] org.xwiki.rendering.renderer.xhtml.XHTMLRendererFactory: Class org.xwiki.rendering.renderer.xhtml.XHTMLRendererFactory removed
141 [ERROR] org.xwiki.rendering.util.ParserUtils: Method 'public java.util.List parsePlainText(java.lang.String)' has been removed
142 [ERROR] org.xwiki.rendering.util.RenderersUtils: Class org.xwiki.rendering.util.RenderersUtils removed{code}

Get Connected