Last modified by Thomas Mortagne on 2017/03/24

<
From version < 2.1 >
edited by Thomas Mortagne
on 2009/08/10
To version < 3.1 >
edited by Thomas Mortagne
on 2009/08/10
>
Change comment: Document converted from syntax xwiki/1.0 to syntax xwiki/2.0

Summary

Details

Page properties
Syntax
... ... @@ -1,1 +1,1 @@
1 -XWiki 1.0
1 +XWiki 2.0
Content
... ... @@ -1,14 +1,23 @@
1 +{{velocity filter="none"}}
2 +{{html clean="false" wiki="true"}}
1 1  #startfloatingbox()
2 -*Contents*
3 -#toc ("2" "4" "")
4 +**Contents**
5 +
6 +{{toc start="2" depth="4" numbered=""/}}
4 4  #endfloatingbox()
5 5  
6 -1 Release Notes for XWiki Enterprise 2.0 Milestone 2
7 7  
8 -Second milestone of the XWiki Enterprise 2.0 version ([Roadmap>enterprise:Main.Roadmap]).
10 += Release Notes for XWiki Enterprise 2.0 Milestone 2 =
9 9  
10 -1.1 New and Noteworthy (since XWiki Enterprise 2.0 Milestone 1)
11 11  
13 +
14 +Second milestone of the XWiki Enterprise 2.0 version ([[Roadmap>>enterprise:Main.Roadmap]]).
15 +
16 +
17 +== New and Noteworthy (since XWiki Enterprise 2.0 Milestone 1) ==
18 +
19 +
20 +
12 12  At a glance (see below for details):
13 13   * Lots of improvements and new features in the new WYSIWYG editor
14 14   * Lots of improvements and bugfixes in the rendering engine and the syntax converter
... ... @@ -19,45 +19,67 @@
19 19   * New Swedish translation
20 20   * New Korean translation
21 21  
22 -1.1.1 New Wiki rendering 2.0 macros
31 +=== New Wiki rendering 2.0 macros ===
23 23  
24 -See [platform:DevGuide.WikiMacroTutorial].
25 25  
26 -1.1.1 Output syntax parameter
27 27  
35 +See [[platform:DevGuide.WikiMacroTutorial]].
36 +
37 +
38 +=== Output syntax parameter ===
39 +
40 +
41 +
28 28  It's now possible to decide which renderer to use to print the document content. For example if you want to generate dome JSON page you can use "?outputSyntax=plain&xpage=plain" to make sure only the content is printed and there is no html syntax printed, just a plain text of what exactly was generated by a velocity macro (without macro markers html comments etc.)
29 29  
30 -See [URL parsing documentation>platform:AdminGuide.URL resolution#HoutputSyntaxandoutputSyntaxVersion].
44 +See [[URL parsing documentation>>platform:AdminGuide.URL resolution#HoutputSyntaxandoutputSyntaxVersion]].
31 31  
32 -1.1.1 WYSIWYG improvements
33 33  
47 +=== WYSIWYG improvements ===
48 +
49 +
50 +
51 +
34 34  * Add the ability to configure the colors displayed by the color picker
35 35  * Allow the page to link to to be searched for or selected from the most recently edited pages
36 36  * Component Manager should generate event when the component is registered instead of initialized
37 37  
38 -1.1.1 Rendering improvements
56 +=== Rendering improvements ===
39 39  
58 +
59 +
60 +
40 40  * New Section editing
41 41  * Allow default document syntax to be specified in User profile configuration
42 42  
43 -1.1.1 1.0 -> 2.0 syntax converter
64 +=== 1.0 -> 2.0 syntax converter ===
44 44  
66 +
67 +
68 +
45 45  * Converter should make sure code macro are forced standalone
46 -* Converter should make sure to put $msg.get calls in {{html}} macros
70 +* Converter should make sure to put {{html clean="false"}}$msg.get{{/html}} calls in ~{{html~}} macros
47 47  * Converter should trim code macro content
48 48  
49 -1.1.1 Component Manager api improvements
73 +=== Component Manager api improvements ===
50 50  
75 +
76 +
77 +
51 51  * Add way to directly provide the component instance when register it
52 52  * Add way to unregister component
53 53  
54 -1.1.1 New xwiki-properties module
81 +=== New xwiki-properties module ===
55 55  
83 +
84 +
85 +
56 56  * Java bean populating support
57 57  * Java type conversion support
58 58  * Java bean validation support
59 -
89 +<p/>
60 60  Among other things this mean the following changes for the 2.0 macros:
91 +
61 61  * any case is supported for macros parameters names
62 62  * public fields are now supported (not only getters and setters)
63 63  * java macro parameters bean is validated agains JSR 303 (See )
... ... @@ -65,41 +65,64 @@
65 65  * you can add support for any type conversion by implementing Converter component
66 66  * any Enum conversion is supported (no need to register each Enum subclass agains ConvertUtils anymore)
67 67  * support for Color conversion
99 +<p/>
100 +See [[Properties module documentation>>code:Modules.PropertiesModule]].
68 68  
69 -See [Properties module documentation>code:Modules.PropertiesModule].
70 70  
71 -1.1.1 Miscellaneous UI improvements
103 +=== Miscellaneous UI improvements ===
72 72  
105 +
106 +
107 +
73 73  * Improved document footer section
74 74  * Improved tag display and editing
75 75  
76 -1.1.1 Important bugs fixed
111 +=== Important bugs fixed ===
77 77  
113 +
114 +
115 +
78 78  * XWIKI-4033 - When saving after section edit entire page is overwritten
79 79  * XWIKI-4043 - Main.AllDocs not showing any documents in a farm
80 80  
81 -1.1 Known issues
119 +== Known issues ==
82 82  
83 -* [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]
84 84  
85 -1.1 Backward Compatibility and Migration Notes
86 86  
87 -1.1.1 General Notes
88 88  
124 +* [[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]]
125 +
126 +== Backward Compatibility and Migration Notes ==
127 +
128 +
129 +
130 +
131 +=== General Notes ===
132 +
133 +
134 +
89 89  #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>.")
90 90  
91 -You may also want to [import the default wiki XAR>Main.Download] in order to benefit from improvements listed above.
137 +You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from improvements listed above.
92 92  
93 93  #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.")
94 94  
95 -1.1.1 API Breakages
96 96  
142 +=== API Breakages ===
143 +
144 +
145 +
97 97  The following APIs were modified since XWiki Enterprise 2.0M1:
98 98  
148 +
99 99  * Rendering Module
100 100  ** <tt>AbstractBlock</tt> constructors has been refactored to make easier to create new common macros. Main change is that the macro author does not have to provide the MacroDescriptor anymore.
101 -** Macro parameters bean are now supposed to use xwiki-properties annotations instead of <tt>org.xwiki.rendering.macro.descriptor.annotation.\*</tt> annotations. Simply change <tt>org.xwiki.rendering.macro.descriptor.annotation.Parameter\*</tt> by <tt>org.xwiki.properties.annotation.Property\*</tt> to upgrade you macro parameters bean.
102 -** Details:\\{code:none}
151 +** Macro parameters bean are now supposed to use xwiki-properties annotations instead of <tt>org.xwiki.rendering.macro.descriptor.annotation.**</tt> annotations. Simply change <tt>org.xwiki.rendering.macro.descriptor.annotation.Parameter**</tt> by <tt>org.xwiki.properties.annotation.Property*</tt> to upgrade you macro parameters bean.
152 +** Details:<br/>
153 +{{/html}}
154 +{{/velocity}}
155 +
156 +{{code language="none"}}
103 103  [ERROR] org.xwiki.rendering.block.AbstractBlock: Method 'public void setParameter(java.lang.String, java.lang.Object)' has been removed
104 104  [ERROR] org.xwiki.rendering.macro.AbstractMacro: Parameter 1 of 'public AbstractMacro(org.xwiki.rendering.macro.descriptor.MacroDescriptor)' has changed its type to java.lang.String
105 105  [ERROR] org.xwiki.rendering.macro.AbstractMacro: Method 'protected void registerConverter(org.apache.commons.beanutils.Converter, java.lang.Class)' has been removed
... ... @@ -121,4 +121,5 @@
121 121  [ERROR] org.xwiki.rendering.macro.descriptor.annotation.ParameterDescription: Class org.xwiki.rendering.macro.descriptor.annotation.ParameterDescription removed
122 122  [ERROR] org.xwiki.rendering.macro.descriptor.annotation.ParameterHidden: Class org.xwiki.rendering.macro.descriptor.annotation.ParameterHidden removed
123 123  [ERROR] org.xwiki.rendering.macro.descriptor.annotation.ParameterMandatory: Class org.xwiki.rendering.macro.descriptor.annotation.ParameterMandatory removed
124 -[ERROR] org.xwiki.rendering.renderer.PrintRendererFactory: Method 'public java.util.List getAvailableSyntaxes()' has been added to an interface{code}
178 +[ERROR] org.xwiki.rendering.renderer.PrintRendererFactory: Method 'public java.util.List getAvailableSyntaxes()' has been added to an interface
179 +{{/code}}

Get Connected