Version 9.1 by Vincent Massol on 2011/12/15

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 Following the [[goals established for the 3.x cycle>>enterprise:Main.Roadmap#HXWikiEnterprise3.xCycle]], XWiki Enterprise 3.3 delivers the first usable but experimental versions of App Within Minutes and Extension Manager features.
6
7 = New and Noteworthy since XWiki Enterprise 3.2 =
8
9 The full unabridged list of issues fixed in this release is available in our [[JIRA Dashboard>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=10590]].
10
11 == App Within Minutes (Experimental) ==
12
13 {{info}}This feature is experimental at this point which means you shouldn't use it in production at this stage. However we need the maximum number of feedback on this new feature in order to finalize it and to make it reach the production-ready status which we'd like to reach in 3.4 or 3.5.{{/info}}
14
15 This feature offers a wizard to help you create collaborative web applications within minutes, based on XWiki's powerful structured data management system.
16
17 Check the [[App Within Minutes documentation>>extensions:Extension.App Within Minutes Application]] for more details.
18
19 {{gallery}}
20 image:AppWithinMinutes-Step0.png
21 image:AppWithinMinutes-Step1.png
22 image:AppWithinMinutes-Step2.png
23 image:AppWithinMinutes-Step3.png
24 image:AppWithinMinutes-HomePage.png
25 {{/gallery}}
26
27 == Extension Manager (Experimental) ==
28
29 {{info}}This feature is experimental at this point which means you shouldn't use it in production at this stage. However we need the maximum number of feedback on this new feature in order to finalize it and to make it reach the production-ready status which we'd like to reach in 3.4 or 3.5.{{/info}}
30
31 Check the [[Extension Manager Application documentation>>extensions:Extension.Extension Manager Application]] for more details.
32
33 [[image:em.png||class="screenshot"]]
34
35 == Link Checker ==
36
37 It's now possible to [[check the statuses of all external links found in your wiki>>extensions:Extension.Link Checker Application]].
38
39 [[image:externallinks.png||class="screenshot"]]
40
41 == FAQ Application ==
42
43 A [[new FAQ application>>extensions:Extension.FAQ Application]] is now made available (but not bundled by default in XWiki Enterprise):
44
45 [[image:extensions:Extension.FAQ Application@faq.png||class="screenshot"]]
46
47 == Better support for exporting CJK documents as PDF ==
48
49 CJK characters, shorthand for Chinese, Japanese and Korean, need special fonts not provided in the standard 14 fonts required by the PDF specification, nor in the FreeFonts distributed and enabled by default with XWiki. Starting with this version we also distribute three new free fonts, along with the configuration needed to enable them for their target languages.
50
51 [[image:cjk.png||class="screenshot"]]
52
53 == LDAP user membership improvements ==
54
55 Organization unit and search filter support have been added in the group membership mapping settings. To use them, replace the group DN with an organization unit DN or with any search filter.
56
57 == Attachments improvements ==
58
59 Since the filesystem attachment storage allows uploading very large files, a necessary improvement is to be able to pause and resume downloads. Starting with this version, it is possible to do so, since the ##/download/## action now respects the ##Range## HTTP header.
60
61 Several bugs with downloading attachments when the filesystem storage is enabled have also been fixed, making this feature ready for production use.
62
63 == Debian packages ==
64
65 Debian packages and repositories are now available.
66
67 You can add one of the following list files to ##/etc/debian/apt/source.list.d/##:
68 * http://maven.xwiki.org/stable/xwiki-stable.list : all stable releases starting with 3.3
69 * http://maven.xwiki.org/releases/xwiki-releases.list : all releases starting with 3.3 Milestone 1
70 * http://maven.xwiki.org/snapshots/xwiki-snapshots.list : all snapshots release starting with the 3.3 branch
71
72 {{code}}
73 sudo wget http://maven.xwiki.org/stable/xwiki-stable.list -P /etc/apt/sources.list.d
74 {{/code}}
75
76 = For Developers =
77
78 == Script services for Application Manager and Wiki Manager ==
79
80 There are script services now available for the old application and wiki manager plugins. You can access them via ##$services.applicationmanager## and ##$services.wikimanager##, and call all the methods previously exposed by their respective plugin APIs. For the moment the plugins are still there, with the script services just bridging them to the new preferred way of accessing APIs from Velocity scripts.
81
82 == Cache improvements ==
83
84 Several bugfixes and improvements have been committed, affecting the rendering cache, the cache macro, and the cache infrastructure in general. An important change is the introduction of an infinispan-based cache implementation, replacing JBossCache as the default one.
85
86 == New xdom+xml syntax ==
87
88 The rendering now come with two reference XML based syntaxes which are the exact representation of rendering events.
89
90 Two variants are provided:
91 * 1.0: a stable syntax which represent the rendering events in the state they had when this version has been released. If anything change a new version of the syntax will be created (1.1, etc.)
92 * current: always in sync with rendering events whatever the version but also mean that it can change anytime without warning, only use that for internal use when you are sure you will render and parse with the same version of XWiki Rendering
93
94 == XE and XEM XAR changes ==
95
96 The XAR plugin by default doesn't bundle dependencies anymore, so the XE and XEM XARs now come in two variants:
97
98 * the old ##xwiki-enterprise-wiki## module has been renamed into [[##xwiki-enterprise-ui##>>https://github.com/xwiki/xwiki-enterprise/tree/xwiki-enterprise-3.3-milestone-1/xwiki-enterprise-ui]], and produces a XAR only with the documents specific to XWiki Enterprise, without dependencies;
99 * the full XAR with all the dependencies bundled in it is now produced by the [[##xwiki-enterprise-ui-all##>>https://github.com/xwiki/xwiki-enterprise/tree/xwiki-enterprise-3.3-milestone-1/xwiki-enterprise-distribution/xwiki-enterprise-ui-all]] module.
100
101 == JSR330 Provider Support ==
102
103 XWiki now [[supports JSR330 Providers>>extensions:Extension.Component Module#HRegisteringandUsingaProvider]].
104
105 They are useful for the following use cases:
106 * You wish to break a cyclic dependency
107 * You wish to lazily get a component instance (instead of it getting injected when your Component is looked up the first time)
108 * You wish to control how you return the instance you're providing for. For example you may wish to read the Component Hint from a configuration file and return the instance of the Component matching that Hint dynamically
109
110 == Component Event Improvements ==
111
112 The registration and unregistration event triggered by a component manager is now perfectly paired. Registering an existing component role and hint now trigger the unregistration event before registering the new component.
113
114 == New Disposable interface for Components ==
115
116 To prepare the future uninstallation feature of the Extension Manager, singleton components could now implements the Disposable interface. This interface require a single dispose() methods that will be call when a singleton component is unregistered from its component manager. When a singleton component has been created, this could happen in three cases:
117 * the component role and hints is explicitly unregistered
118 * another component role with same hints is registered and therefore replace the existing component
119 * the component instance is explicitly released calling the release function in the manager
120
121 Components that require a singleton component should be aware that the instance provided is now subject release and should prevent from accessing a component that have been released. This could be done by observing the registration events of the component manager. The Unregister Event is always triggered when a component is released.
122
123 == Upgrades ==
124
125 The following dependencies have been upgraded:
126
127 * commons-lang 3.1
128 * Groovy 1.8.4
129 * LogBack 1.0
130 * Selenium 2.13.0
131 * SLF4J 1.6.4
132 * Maven AntRun Plugin 1.7
133 * Maven Shade Plugin 1.5
134 * Maven Checkstyle Plugin 2.8
135 * CSS4J 0.13
136 * JGroups 2.12.2
137 * Reflections 0.9.6
138
139 == Miscellaneous ==
140
141 * Make it simple to add Icon Transformation mappings when using the Rendering in standalone mode
142 * Add support for being able to override components more than once TODO: Document it and linke to the documentation
143 * Bundle the Icon and WikiWord Transformations in the Rendering Standalone JAR
144 * Comments Macro is not bundled in the Rendering Standalone JAR
145 * Allow setting time to live and max entries when using the Cache macro
146 * IRC Bot application improvements
147 * Move to JBoss Infinispan as default cache implementation
148 * Application Manager and Wiki Manager plugins now expose a ScriptService and don't need to be added as plugin in xwiki.cfg file anymore. You can access they using {{code language="velocity"}}$services.applicationmanager{{/code}} and {{code language="velocity"}}$services.wikimanager{{/code}}.
149 * The Dashboard feature which was part of several applications (XWiki Enterprise Application and Administration Application) has been extracted into in a separate [[Dashboard Application>>extensions:Extension.Dashboard Application]]. There's now a new ##Dashboard## space which is visible in the list of spaces on the XE home page.
150 * Starting with XE 3.2 we had introduced caching of rendered content to improve performances but that led to a huge increase in memory needs. We've now tuned this and we've been able to keep the performance improvement and at the same time to drastically reduce the memory need.
151
152 == Translations ==
153
154 The following translations have been updated:
155
156 {{language codes="cs, fr, pl, pt_BR, ru, sv, uk, it"/}}
157
158 = Supported Browsers =
159
160 Here's the list of supported browsers for this version (i.e. browsers that we've tested as working):
161
162 {{browser name="iexplorer" version="8"/}}
163
164 {{browser name="iexplorer" version="9"/}}
165
166 {{browser name="firefox" version="3.6"/}}
167
168 {{browser name="firefox" version="8"/}}
169
170 {{browser name="chrome" version="15"/}}
171
172 = Supported Databases =
173
174 Here's the list of supported databases for this version (i.e. databases that we've tested as working):
175 * HSQLDB
176 * Oracle 10g and 11g (note that Oracle support was broken in XWiki Enterprise 3.2 and is now fixed in 3.3)
177 * MySQL 5.x
178
179 = Known issues =
180
181 * [[Bugs we know about>>http://jira.xwiki.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=category+%3D+%22Top+Level+Projects%22+AND+issuetype+%3D+Bug+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC]]
182 * We've had reports that support for PostgreSQL has been broken since XWiki Enterprise 3.2. If you're using Postgre SQL we recommend you to stay on XWiki Enterprise 3.1.1 and wait for its support to be fixed in upcoming 3.3.1 or 3.4 versions.
183
184 = Test Report =
185
186 You can check the [[manual test reports>>http://www.xwiki.org/xwiki/bin/view/TestReports/WebHome]] to learn about what was tested and the results on various browsers.
187
188 = Backward Compatibility and Migration Notes =
189
190 == General Notes ==
191
192 {{warning}}
193 If you're running in a multiwiki setup you'll also need to define the property //xwiki.store.migration.databases=all// to your //xwiki.cfg// file or explicitly name all databases to be migrated as in //xwiki.store.migration.databases=db1,db2,...//.
194 {{/warning}}
195
196 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
197
198 {{warning}}
199 Always make sure you compare your ##xwiki.cfg## and ##xwiki.properties## files with the newest version since some configuration parameters were added. Note that you should add ##xwiki.store.migration=1## so that XWiki will attempt to automatically migrate your current database to the new schema. Make sure you backup your Database before doing anything.
200 {{/warning}}
201
202 == Issues specific to XWiki Enterprise 3.3 ==
203
204 === Default Cache implementation changed ===
205
206 As mentioned above, a new cache implementation based on the successor of JBossCache, Infinispan, has been implemented and selected as the default cache provider. Any custom code that deals with caches should be checked for eventual incompatibilities.
207
208 === Maven XAR plugin behavior changed ===
209
210 The Maven plugin used for packaging XAR modules has been changed so that by default it doesn't bundle the XAR dependencies. This is reflected in the default XE wiki, which now comes in two variants, described [[above>>#HXEandXEMXARchanges]]. If you're counting on the old behavior for your custom projects, you can configure the plugin to bundle dependencies by setting the ##includeDependencies## property to ##true##.
211
212 === Entity references are now immutable ===
213
214 EntityReference (and derived classes, DocumentReference...) has been refactored and are now immutable. This change has been introduced to prevent dangerous issues where a reference hold by an object could be changed by another one. This have a lot of consequences on the reference API and this break the backward compatibility. The following change should be noticed:
215 * all setters on EntityReference is now protected and could not be used anymore by any public code. Deriving a reference to render it mutable is hardly discouraged.
216 * EntityReference#getChild() has been removed, since a single entity may have more than one child. A EntityReference#getReversedParentChain() method has been added to allow easy iteration from the root entity to their children in a given parent chain.
217 * EntityReference#clone() has been removed, a copy-construtor is still available, but is useless since an entity is immutable, there is no need to clone it
218 * EntityReference#replaceParent(oldParent,newParent) allow creating a new entity with one of the parent in the parent chain replaced
219 * EntityReference#appendParent() allow creating a new entity with an appended root parent, this one is useless on any derived class since the parent chain could not appended in them.
220
221 == API Breakages ==
222
223 The following APIs were modified since XWiki Enterprise 3.2:
224
225 {{code language="none"}}
226 <clirr output here>
227 {{/code}}

Get Connected