Version 19.4 by Sorin Burjan on 2011/11/02

Hide last authors
Thomas Mortagne 1.1 1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
Sergiu Dumitriu 14.2 5 First milestone of the XWiki Enterprise 3.3 version ([[Roadmap>>Main.Roadmap]]). Since we're getting closer to the end of the 3.x cycle, there are fewer new features in this release, most of the changes being internal.
Thomas Mortagne 1.1 6
7 = New and Noteworthy (since XWiki Enterprise 3.2 version) =
8
Sergiu Dumitriu 14.3 9 == Preview of the upcoming application designer ==
10
11 A key element of the Application Within Minutes feature, the application designer makes its debut in this release with a preview of the new class editor. While not ready for production yet, you're invited to test it and provide feedback on the interaction and user experience, by [[commenting on the issue>>http://jira.xwiki.org/browse/XWIKI-7110]] or [[replying to the email thread>>http://lists.xwiki.org/pipermail/devs/2011-October/024440.html]].
12
Marius Dumitru Florea 17.1 13 [[[[image:classEditor.png||width="500px" style="border:1px solid #EFEFEF"]]>>attach:classEditor.png]]
14
15 You can give it a try by simply adding an object of type ##XWiki.DocumentSheetBinding## to an existing class or a new document, setting the ##sheet## property to ##AppWithinMinutes.ClassEditSheet## and then editing that document in "Inline form" edit mode.
16
Thomas Mortagne 1.1 17 == Debian packages ==
18
19 Starting with 3.3 Milestone 1 Debian packages and repositories are released.
20
Vincent Massol 15.2 21 You can add one of the following list files to ##/etc/debian/apt/source.list.d/##:
Thomas Mortagne 1.1 22 * http://maven.xwiki.org/stable/xwiki-stable.list : all stable releases starting with 3.3 (so nothing right now)
23 * http://maven.xwiki.org/releases/xwiki-releases.list : all releases starting with 3.3 Milestone 1
24 * http://maven.xwiki.org/snapshots/xwiki-snapshots.list : all snapshots release starting with 3.3 branch
25
26 {{code}}
27 sudo wget http://maven.xwiki.org/stable/xwiki-stable.list -P /etc/apt/sources.list.d
28 {{/code}}
29
Thomas Mortagne 9.1 30 == LDAP user membership improvements ==
Thomas Mortagne 1.1 31
Thomas Mortagne 10.1 32 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.
Thomas Mortagne 1.1 33
Vincent Massol 19.1 34 == Attachments improvements ==
Sergiu Dumitriu 14.1 35
36 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.
37
38 Several bugs with downloading attachments when the filesystem storage is enabled have also been fixed, making this feature ready for production use.
39
Vincent Massol 19.1 40 == Link Checker ==
41
42 It's now possible to tell XWiki to check for validity of external links found in the Wiki (to verify broken links for example). This is implemented through a [[Link Checker Transformation>>rendering:Main.Transformations#HLinkCheckerTransformation]].
43
44 It's not enabled by default. To enable it, edit the ##xwiki.properties## file and add ##linkchecker## to the list of transformations to execute. For example:
45
46 {{code}}
47 rendering.transformations = macro, icon, linkchecker
48 {{/code}}
49
50 Note that there's no UI for it yet (planned for 3.3 Milestone 2) but the Link States can be access through a Script Service. For example from Velocity:
51
52 {{code}}
53 {{velocity}}
54 #set ($states = $services.linkchecker.getLinkStates())
55 {{/velocity}}
56 {{/code}}
57
Thomas Mortagne 1.1 58 = For Developers =
59
Sergiu Dumitriu 13.2 60 == Script services for Application Manager and Wiki Manager ==
Thomas Mortagne 1.1 61
Sergiu Dumitriu 13.2 62 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 prefered way of accessing APIs from Velocity scripts.
Thomas Mortagne 1.1 63
Sergiu Dumitriu 14.1 64 == Cache improvements ==
65
66 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.
67
Thomas Mortagne 18.1 68 == New xdom+xml syntax ==
69
70 The rendering now come with two reference XML based syntaxes which are the exact representation of rendering events.
71
72 Two variants are provided:
73 * 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.)
74 * 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
75
Sergiu Dumitriu 14.1 76 == XE and XEM XAR changes ==
77
78 The XAR plugin by default doesn't bundle dependencies anymore, so the XE and XEM XARs now come in two variants:
79
80 * 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;
81 * 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.
82
Thomas Mortagne 1.1 83 == Upgrades ==
84
Sergiu Dumitriu 13.2 85 The following dependencies have been upgraded:
Thomas Mortagne 1.1 86
Sergiu Dumitriu 13.2 87 * CSS4J 0.13
88 * Groovy 1.8.3
Vincent Massol 3.1 89 * JGroups 2.12.2
Sergiu Dumitriu 13.2 90 * reflections 0.9.6
Sergiu Dumitriu 14.1 91 * Selenium 2.11
Vincent Massol 4.1 92 * SLF4J 1.6.3
Thomas Mortagne 1.1 93
94 == Miscellaneous ==
95
Vincent Massol 6.1 96 * Make it simple to add Icon Transformation mappings when using the Rendering in standalone mode
97 * Add support for being able to override components more than once TODO: Document it and linke to the documentation
Vincent Massol 7.1 98 * Bundle the Icon and WikiWord Transformations in the Rendering Standalone JAR
99 * Comments Macro is not bundled in the Rendering Standalone JAR
Vincent Massol 8.1 100 * Allow setting time to live and max entries when using the Cache macro
101 * IRC Bot application improvements
102 * Move to JBoss Infinispan as default cache implementation
Thomas Mortagne 12.1 103 * 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}}.
Thomas Mortagne 1.1 104
105 == Translations ==
106
Sergiu Dumitriu 13.2 107 The following translations have been updated:
Thomas Mortagne 1.1 108
Sergiu Dumitriu 13.2 109 {{language codes="fr, it, sv, uk"/}}
Thomas Mortagne 1.1 110
111 = Supported Browsers =
112
113 Here's the list of supported browsers for this version (i.e. browsers that we've tested as working):
114
115 {{velocity}}
116 ## name = iexplorer, firefox, chrome, safari, opera
117 {{/velocity}}
118
Sorin Burjan 19.2 119 {{browser name="iexplorer" version="8"/}}
Sorin Burjan 19.3 120
Sorin Burjan 19.2 121 {{browser name="iexplorer" version="9"/}}
Sorin Burjan 19.3 122
Sorin Burjan 19.2 123 {{browser name="firefox" version="3.6.23"/}}
Sorin Burjan 19.3 124
Sorin Burjan 19.2 125 {{browser name="firefox" version="7.0.1"/}}
Sorin Burjan 19.3 126
Sorin Burjan 19.2 127 {{browser name="chrome" version="15"/}}
Thomas Mortagne 1.1 128
129 = Known issues =
130
131 * [[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]]
132
133 = Test Report =
134
Sorin Burjan 19.4 135 You can check the [[manual test report>>TestReports.ManualTestReportXE33M1#<anchor to test report>]] to learn about what was tested and the results on various browsers.
Thomas Mortagne 1.1 136
137 = Backward Compatibility and Migration Notes =
138
139 == General Notes ==
140
141 {{warning}}
142 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,...//.
143 {{/warning}}
144
145 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
146
147 {{warning}}
148 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.
149 {{/warning}}
150
Sergiu Dumitriu 15.1 151 == Issues specific to XWiki Enterprise 3.3 Milestone 1 ==
Thomas Mortagne 1.1 152
Sergiu Dumitriu 15.1 153 === Default Cache implementation changed ===
Thomas Mortagne 1.1 154
Sergiu Dumitriu 15.1 155 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.
156
157 === Maven XAR plugin behavior changed ===
158
159 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##.
160
Thomas Mortagne 1.1 161 == API Breakages ==
162
Caleb James DeLisle 11.1 163 Internals of the filesystem attachment store were moved around, there are not API and were never intended that way and not useful as API but clirr sees them as API so it is technically a break. See: [[XWIKI-7085>>http://jira.xwiki.org/browse/XWIKI-7085]].
164
Thomas Mortagne 1.1 165 The following APIs were modified since <project> <version - 1>:
166
167 {{code language="none"}}
Sergiu Dumitriu 13.1 168 org.xwiki.component.annotation.ComponentAnnotationLoader: In method 'public void initialize(org.xwiki.component.manager.ComponentManager, java.lang.ClassLoader, java.util.List, java.util.List)' the number of arguments has changed
169 com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin: Removed org.xwiki.observation.EventListener from the set of implemented interfaces
170 com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin: Method 'public java.util.List getEvents()' has been removed
171 com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin: Method 'public void onEvent(org.xwiki.observation.event.Event, java.lang.Object, java.lang.Object)' has been removed
172 org.xwiki.cache.eviction.EntryEvictionConfiguration: Method 'public void setAlgotithm(org.xwiki.cache.eviction.EntryEvictionConfiguration$Algorithm)' has been removed
173 org.xwiki.model.reference.ObjectPropertyReferenceResolver: Method 'public org.xwiki.model.reference.ObjectPropertyReference resolve(java.lang.Object, java.lang.Object[])' has been added to an interface
174 org.xwiki.model.reference.ObjectReferenceResolver: Method 'public org.xwiki.model.reference.ObjectReference resolve(java.lang.Object, java.lang.Object[])' has been added to an interface
175 com.xpn.xwiki.api.XWiki: Method 'public com.xpn.xwiki.plugin.query.XWikiQuery createQueryFromRequest(java.lang.String)' has been removed
176 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String displaySearch(java.lang.String, java.lang.String)' has been removed
177 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String displaySearch(java.lang.String, java.lang.String, com.xpn.xwiki.plugin.query.XWikiCriteria)' has been removed
178 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String displaySearch(java.lang.String, java.lang.String, java.lang.String, com.xpn.xwiki.plugin.query.XWikiCriteria)' has been removed
179 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String displaySearchColumns(java.lang.String, com.xpn.xwiki.plugin.query.XWikiQuery)' has been removed
180 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String displaySearchColumns(java.lang.String, java.lang.String, com.xpn.xwiki.plugin.query.XWikiQuery)' has been removed
181 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String displaySearchOrder(java.lang.String, com.xpn.xwiki.plugin.query.XWikiQuery)' has been removed
182 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String displaySearchOrder(java.lang.String, java.lang.String, com.xpn.xwiki.plugin.query.XWikiQuery)' has been removed
183 com.xpn.xwiki.api.XWiki: Method 'public java.util.List search(com.xpn.xwiki.plugin.query.XWikiQuery)' has been removed
184 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String searchAsTable(com.xpn.xwiki.plugin.query.XWikiQuery)' has been removed
185 com.xpn.xwiki.doc.DeletedFilesystemAttachment: Class com.xpn.xwiki.doc.DeletedFilesystemAttachment removed
186 com.xpn.xwiki.doc.FilesystemAttachmentContent: Class com.xpn.xwiki.doc.FilesystemAttachmentContent removed
187 com.xpn.xwiki.doc.ListAttachmentArchive: Class com.xpn.xwiki.doc.ListAttachmentArchive removed
188 com.xpn.xwiki.doc.MutableDeletedFilesystemAttachment: Class com.xpn.xwiki.doc.MutableDeletedFilesystemAttachment removed
189 com.xpn.xwiki.store.AttachmentArchiveDeleteRunnable: Class com.xpn.xwiki.store.AttachmentArchiveDeleteRunnable removed
190 com.xpn.xwiki.store.AttachmentArchiveSaveRunnable: Class com.xpn.xwiki.store.AttachmentArchiveSaveRunnable removed
191 com.xpn.xwiki.store.AttachmentContentStreamProvider: Class com.xpn.xwiki.store.AttachmentContentStreamProvider removed
192 com.xpn.xwiki.store.FilesystemAttachmentRecycleBinStore: Class com.xpn.xwiki.store.FilesystemAttachmentRecycleBinStore removed
193 com.xpn.xwiki.store.FilesystemAttachmentStore: Class com.xpn.xwiki.store.FilesystemAttachmentStore removed
194 com.xpn.xwiki.store.FilesystemAttachmentVersioningStore: Class com.xpn.xwiki.store.FilesystemAttachmentVersioningStore removed
195 com.xpn.xwiki.store.HibernateTransaction: Class com.xpn.xwiki.store.HibernateTransaction removed
196 com.xpn.xwiki.store.XWikiHibernateTransaction: Class com.xpn.xwiki.store.XWikiHibernateTransaction removed
197 org.xwiki.workspace.WorkspaceManagerException: Class org.xwiki.workspace.WorkspaceManagerException removed
Thomas Mortagne 1.1 198 {{/code}}

Get Connected