Version 14.1 by Thomas Mortagne on 2009/08/13

Hide last authors
Thomas Mortagne 6.1 1 #startfloatingbox()
2 *Contents*
3 #toc ("2" "4" "")
4 #endfloatingbox()
Thomas Mortagne 2.1 5
Thomas Mortagne 6.1 6 1 Release Notes for XWiki Enterprise 2.0 Milestone 3
Thomas Mortagne 2.1 7
Thomas Mortagne 6.1 8 Second milestone of the XWiki Enterprise 2.0 version ([Roadmap>enterprise:Main.Roadmap]).
Thomas Mortagne 3.1 9
Thomas Mortagne 6.1 10 1.1 New and Noteworthy (since XWiki Enterprise 2.0 Milestone 2)
Thomas Mortagne 3.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
Thomas Mortagne 8.1 15 * Upgrade to SmartGWT 1.2
16 * New experimental network event distribution module
Thomas Mortagne 2.1 17
Thomas Mortagne 14.1 18 1.1.1 WYSIWYG improvements
Thomas Mortagne 2.1 19
Thomas Mortagne 14.1 20 1.1.1.1 Double click to edit a macro
Thomas Mortagne 8.1 21
Thomas Mortagne 14.1 22 1.1.1.1 Nicer macro names in the list of macros
Thomas Mortagne 8.1 23
Thomas Mortagne 14.1 24 WYSIWYG does not expose macro identifier anymore but human readable names provided by the different macros.
Thomas Mortagne 8.1 25
Thomas Mortagne 14.1 26 1.1.1 Rendering improvements
Thomas Mortagne 8.1 27
Thomas Mortagne 14.1 28 1.1.1.1 Footnote macro
Thomas Mortagne 8.1 29
Thomas Mortagne 14.1 30 See [Footnote macro documentation>code:Macros.Footnote20Macro].
Thomas Mortagne 8.1 31
Thomas Mortagne 14.1 32 1.1.1.1 Smaller XHTML output
Thomas Mortagne 8.1 33
Thomas Mortagne 14.1 34 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.
Thomas Mortagne 8.1 35
Thomas Mortagne 14.1 36 1.1.1.1 Renderers are now real components
Thomas Mortagne 8.1 37
Thomas Mortagne 9.1 38 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.
39
40 See [code:Modules.RenderingModule].
41
Thomas Mortagne 14.1 42 1.1.1.1 New plain text parser
Thomas Mortagne 10.1 43
44 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.
45
Thomas Mortagne 14.1 46 1.1.1 Remote Observation Manager
47
48 It's now possible to make different instances of XWiki or other programs shares events.
49
50 The main use cases for this are:
51 - clustering
52 - external monitoring of XWiki
53
54 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.
55
Thomas Mortagne 6.1 56 1.1.1 Important bugs fixed
Thomas Mortagne 2.1 57
Thomas Mortagne 8.1 58 * XWIKI-4140 - Wiki macros are evaluating programming rights on wrong (local) documents when executed in virtual wikis
59 * XWIKI-4114 - Not possible to put content in info, warning and error macro from the WYSIWYG
Thomas Mortagne 3.1 60
Thomas Mortagne 6.1 61 1.1 Known issues
Thomas Mortagne 3.1 62
Thomas Mortagne 6.1 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]
Thomas Mortagne 3.1 64
Thomas Mortagne 6.1 65 1.1 Backward Compatibility and Migration Notes
Thomas Mortagne 2.1 66
Thomas Mortagne 6.1 67 1.1.1 General Notes
Thomas Mortagne 2.1 68
Thomas Mortagne 6.1 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>.")
Thomas Mortagne 2.1 70
Thomas Mortagne 6.1 71 You may also want to [import the default wiki XAR>Main.Download] in order to benefit from improvements listed above.
Thomas Mortagne 3.1 72
Thomas Mortagne 6.1 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.")
Thomas Mortagne 3.1 74
Thomas Mortagne 6.1 75 1.1.1 API Breakages
76
Thomas Mortagne 9.1 77 The following APIs were modified since XWiki Enterprise 2.0M2:
Thomas Mortagne 6.1 78
Thomas Mortagne 2.1 79 * Rendering Module
Thomas Mortagne 9.1 80 ** Macro have to provide a human readable name in various AbstractMacro helpers constructors
81 ** Big refactor around renderers and the way to use them since they are real components now
Thomas Mortagne 12.1 82 ** Details:\\{code:none}[ERROR] org.xwiki.rendering.block.MacroBlock: Method 'public java.lang.String getName()' has been removed
Thomas Mortagne 13.1 83 [ERROR] org.xwiki.rendering.block.PlainTextBlockFilter: In method 'public PlainTextBlockFilter(org.xwiki.rendering.renderer.LinkLabelGenerator)' the number of arguments has changed
Thomas Mortagne 12.1 84 [ERROR] org.xwiki.rendering.configuration.RenderingConfiguration: Method 'public java.util.Properties getMacroCategories()' has been added to an interface
85 [ERROR] org.xwiki.rendering.listener.chaining.AbstractChainingListener: In method 'public AbstractChainingListener(org.xwiki.rendering.listener.chaining.ListenerChain)' the number of arguments has changed
86 [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
87 [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
88 [ERROR] org.xwiki.rendering.macro.AbstractMacro: In method 'public AbstractMacro(java.lang.String, java.lang.Class)' the number of arguments has changed
89 [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
90 [ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public boolean exists(java.lang.String, org.xwiki.rendering.parser.Syntax)' has been removed
91 [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
92 [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
93 [ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public java.util.Set getMacroIds()' has been added to an interface
94 [ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public java.util.Set getMacroIds(org.xwiki.rendering.parser.Syntax)' has been added to an interface
95 [ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public java.util.Set getMacroNames(org.xwiki.rendering.parser.Syntax)' has been removed
96 [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
97 [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
98 [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
99 [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
100 [ERROR] org.xwiki.rendering.macro.descriptor.MacroDescriptor: Method 'public java.lang.String getDefaultCategory()' has been added to an interface
101 [ERROR] org.xwiki.rendering.macro.descriptor.MacroDescriptor: Method 'public java.lang.String getName()' has been added to an interface
102 [ERROR] org.xwiki.rendering.parser.SyntaxType: Method 'public org.xwiki.rendering.parser.SyntaxType getSyntaxType(java.lang.String)' has been removed
103 [ERROR] org.xwiki.rendering.renderer.EventsRenderer: Class org.xwiki.rendering.renderer.EventsRenderer removed
104 [ERROR] org.xwiki.rendering.renderer.PlainTextRenderer: Class org.xwiki.rendering.renderer.PlainTextRenderer removed
105 [ERROR] org.xwiki.rendering.renderer.PrintRenderer: Method 'public void setPrinter(org.xwiki.rendering.renderer.printer.WikiPrinter)' has been added to an interface
106 [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
107 [ERROR] org.xwiki.rendering.renderer.PrintRendererFactory: Method 'public java.util.List getAvailableSyntaxes()' has been removed
108 [ERROR] org.xwiki.rendering.renderer.PrintRendererFactory: Method 'public org.xwiki.rendering.parser.Syntax getSyntax()' has been added to an interface
109 [ERROR] org.xwiki.rendering.renderer.TexRenderer: Class org.xwiki.rendering.renderer.TexRenderer removed
110 [ERROR] org.xwiki.rendering.renderer.XHTMLRenderer: Class org.xwiki.rendering.renderer.XHTMLRenderer removed
111 [ERROR] org.xwiki.rendering.renderer.XWikiSyntaxRenderer: Class org.xwiki.rendering.renderer.XWikiSyntaxRenderer removed
112 [ERROR] org.xwiki.rendering.renderer.chaining.AbstractChainingPrintRenderer: Class org.xwiki.rendering.renderer.chaining.AbstractChainingPrintRenderer removed
113 [ERROR] org.xwiki.rendering.renderer.printer.MonitoringWikiPrinter: Class org.xwiki.rendering.renderer.printer.MonitoringWikiPrinter removed
114 [ERROR] org.xwiki.rendering.renderer.xhtml.DefaultXHTMLImageRenderer: Class org.xwiki.rendering.renderer.xhtml.DefaultXHTMLImageRenderer removed
115 [ERROR] org.xwiki.rendering.renderer.xhtml.DefaultXHTMLLinkRenderer: Class org.xwiki.rendering.renderer.xhtml.DefaultXHTMLLinkRenderer removed
116 [ERROR] org.xwiki.rendering.renderer.xhtml.XHTMLImageRenderer: Method 'public org.xwiki.rendering.renderer.printer.XHTMLWikiPrinter getXHTMLWikiPrinter()' has been added to an interface
117 [ERROR] org.xwiki.rendering.renderer.xhtml.XHTMLLinkRenderer: Method 'public org.xwiki.rendering.renderer.printer.XHTMLWikiPrinter getXHTMLWikiPrinter()' has been added to an interface
118 [ERROR] org.xwiki.rendering.renderer.xhtml.XHTMLRendererFactory: Class org.xwiki.rendering.renderer.xhtml.XHTMLRendererFactory removed
Thomas Mortagne 13.1 119 [ERROR] org.xwiki.rendering.util.ParserUtils: Method 'public java.util.List parsePlainText(java.lang.String)' has been removed
Thomas Mortagne 12.1 120 [ERROR] org.xwiki.rendering.util.RenderersUtils: Class org.xwiki.rendering.util.RenderersUtils removed{code}

Get Connected