Wiki source code of ReleaseNotesXWikiEnterprise20M3
Version 3.1 by Thomas Mortagne on 2009/08/10
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
3.1 | 1 | {{velocity filter="none"}} |
2 | {{html clean="false" wiki="true"}} | ||
![]() |
2.1 | 3 | #startfloatingbox() |
![]() |
3.1 | 4 | **Contents** |
5 | |||
6 | {{toc start="2" depth="4" numbered=""/}} | ||
![]() |
2.1 | 7 | #endfloatingbox() |
8 | |||
9 | |||
![]() |
3.1 | 10 | = Release Notes for XWiki Enterprise 2.0 Milestone 2 = |
![]() |
2.1 | 11 | |
12 | |||
![]() |
3.1 | 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 | |||
![]() |
2.1 | 21 | At a glance (see below for details): |
22 | * Lots of improvements and new features in the new WYSIWYG editor | ||
23 | * Lots of improvements and bugfixes in the rendering engine and the syntax converter | ||
24 | * Improvements for the blog application | ||
25 | * It's now possible to choose the content renderer to use when viewing a page | ||
26 | * New xwiki-properties module | ||
27 | * New Latvian translation | ||
28 | * New Swedish translation | ||
29 | * New Korean translation | ||
30 | |||
![]() |
3.1 | 31 | === New Wiki rendering 2.0 macros === |
![]() |
2.1 | 32 | |
33 | |||
34 | |||
![]() |
3.1 | 35 | See [[platform:DevGuide.WikiMacroTutorial]]. |
36 | |||
37 | |||
38 | === Output syntax parameter === | ||
39 | |||
40 | |||
41 | |||
![]() |
2.1 | 42 | 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.) |
43 | |||
![]() |
3.1 | 44 | See [[URL parsing documentation>>platform:AdminGuide.URL resolution#HoutputSyntaxandoutputSyntaxVersion]]. |
![]() |
2.1 | 45 | |
46 | |||
![]() |
3.1 | 47 | === WYSIWYG improvements === |
48 | |||
49 | |||
50 | |||
51 | |||
![]() |
2.1 | 52 | * Add the ability to configure the colors displayed by the color picker |
53 | * Allow the page to link to to be searched for or selected from the most recently edited pages | ||
54 | * Component Manager should generate event when the component is registered instead of initialized | ||
55 | |||
![]() |
3.1 | 56 | === Rendering improvements === |
![]() |
2.1 | 57 | |
![]() |
3.1 | 58 | |
59 | |||
60 | |||
![]() |
2.1 | 61 | * New Section editing |
62 | * Allow default document syntax to be specified in User profile configuration | ||
63 | |||
![]() |
3.1 | 64 | === 1.0 -> 2.0 syntax converter === |
![]() |
2.1 | 65 | |
![]() |
3.1 | 66 | |
67 | |||
68 | |||
![]() |
2.1 | 69 | * Converter should make sure code macro are forced standalone |
![]() |
3.1 | 70 | * Converter should make sure to put {{html clean="false"}}$msg.get{{/html}} calls in ~{{html~}} macros |
![]() |
2.1 | 71 | * Converter should trim code macro content |
72 | |||
![]() |
3.1 | 73 | === Component Manager api improvements === |
![]() |
2.1 | 74 | |
![]() |
3.1 | 75 | |
76 | |||
77 | |||
![]() |
2.1 | 78 | * Add way to directly provide the component instance when register it |
79 | * Add way to unregister component | ||
80 | |||
![]() |
3.1 | 81 | === New xwiki-properties module === |
![]() |
2.1 | 82 | |
![]() |
3.1 | 83 | |
84 | |||
85 | |||
![]() |
2.1 | 86 | * Java bean populating support |
87 | * Java type conversion support | ||
88 | * Java bean validation support | ||
![]() |
3.1 | 89 | <p/> |
90 | Among other things this mean the following changes for the 2.0 macros: | ||
![]() |
2.1 | 91 | |
92 | * any case is supported for macros parameters names | ||
93 | * public fields are now supported (not only getters and setters) | ||
94 | * java macro parameters bean is validated agains JSR 303 (See ) | ||
95 | * macro properties java bean can implements RawProperties to get custom non converted parameters | ||
96 | * you can add support for any type conversion by implementing Converter component | ||
97 | * any Enum conversion is supported (no need to register each Enum subclass agains ConvertUtils anymore) | ||
98 | * support for Color conversion | ||
![]() |
3.1 | 99 | <p/> |
100 | See [[Properties module documentation>>code:Modules.PropertiesModule]]. | ||
![]() |
2.1 | 101 | |
102 | |||
![]() |
3.1 | 103 | === Miscellaneous UI improvements === |
![]() |
2.1 | 104 | |
![]() |
3.1 | 105 | |
106 | |||
107 | |||
![]() |
2.1 | 108 | * Improved document footer section |
109 | * Improved tag display and editing | ||
110 | |||
![]() |
3.1 | 111 | === Important bugs fixed === |
![]() |
2.1 | 112 | |
![]() |
3.1 | 113 | |
114 | |||
115 | |||
![]() |
2.1 | 116 | * XWIKI-4033 - When saving after section edit entire page is overwritten |
117 | * XWIKI-4043 - Main.AllDocs not showing any documents in a farm | ||
118 | |||
![]() |
3.1 | 119 | == Known issues == |
![]() |
2.1 | 120 | |
121 | |||
122 | |||
123 | |||
![]() |
3.1 | 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 | |||
![]() |
2.1 | 135 | #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>.") |
136 | |||
![]() |
3.1 | 137 | You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from improvements listed above. |
![]() |
2.1 | 138 | |
139 | #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.") | ||
140 | |||
141 | |||
![]() |
3.1 | 142 | === API Breakages === |
143 | |||
144 | |||
145 | |||
![]() |
2.1 | 146 | The following APIs were modified since XWiki Enterprise 2.0M1: |
147 | |||
![]() |
3.1 | 148 | |
![]() |
2.1 | 149 | * Rendering Module |
150 | ** <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. | ||
![]() |
3.1 | 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"}} | ||
![]() |
2.1 | 157 | [ERROR] org.xwiki.rendering.block.AbstractBlock: Method 'public void setParameter(java.lang.String, java.lang.Object)' has been removed |
158 | [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 | ||
159 | [ERROR] org.xwiki.rendering.macro.AbstractMacro: Method 'protected void registerConverter(org.apache.commons.beanutils.Converter, java.lang.Class)' has been removed | ||
160 | [ERROR] org.xwiki.rendering.macro.AbstractMacroSource: Class org.xwiki.rendering.macro.AbstractMacroSource removed | ||
161 | [ERROR] org.xwiki.rendering.macro.MacroManager: Removed java.lang.Comparable from the set of implemented interfaces | ||
162 | [ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public int getPriority()' has been removed | ||
163 | [ERROR] org.xwiki.rendering.macro.MacroSource: Class org.xwiki.rendering.macro.MacroSource removed | ||
164 | [ERROR] org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor: Parameter 3 of 'public AbstractMacroDescriptor(java.lang.String, org.xwiki.rendering.macro.descriptor.ContentDescriptor, java.lang.Class)' has changed its type to org.xwiki.properties.BeanDescriptor | ||
165 | [ERROR] org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor: Method 'protected java.lang.annotation.Annotation extractParameterAnnotation(java.lang.reflect.Method, java.lang.reflect.Method, java.lang.Class)' has been removed | ||
166 | [ERROR] org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor: Method 'protected void extractParameterDescriptor(java.beans.PropertyDescriptor, java.lang.Object)' has been removed | ||
167 | [ERROR] org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor: Parameter 3 of 'public DefaultMacroDescriptor(java.lang.String, org.xwiki.rendering.macro.descriptor.ContentDescriptor, java.lang.Class)' has changed its type to org.xwiki.properties.BeanDescriptor | ||
168 | [ERROR] org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor: Method 'public DefaultMacroDescriptor(java.lang.String, java.lang.Class)' has been removed | ||
169 | [ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: In method 'public DefaultParameterDescriptor()' the number of arguments has changed | ||
170 | [ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setDefaultValue(java.lang.Object)' has been removed | ||
171 | [ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setDescription(java.lang.String)' has been removed | ||
172 | [ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setMandatory(boolean)' has been removed | ||
173 | [ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setName(java.lang.String)' has been removed | ||
174 | [ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setType(java.lang.Class)' has been removed | ||
175 | [ERROR] org.xwiki.rendering.macro.descriptor.annotation.ParameterDescription: Class org.xwiki.rendering.macro.descriptor.annotation.ParameterDescription removed | ||
176 | [ERROR] org.xwiki.rendering.macro.descriptor.annotation.ParameterHidden: Class org.xwiki.rendering.macro.descriptor.annotation.ParameterHidden removed | ||
177 | [ERROR] org.xwiki.rendering.macro.descriptor.annotation.ParameterMandatory: Class org.xwiki.rendering.macro.descriptor.annotation.ParameterMandatory removed | ||
![]() |
3.1 | 178 | [ERROR] org.xwiki.rendering.renderer.PrintRendererFactory: Method 'public java.util.List getAvailableSyntaxes()' has been added to an interface |
179 | {{/code}} |