Last modified by Sergiu Dumitriu on 2011/08/17

Show last authors
1 {{velocity output="false"}}
2 $xwiki.ssx.use("ReleaseNotesXWikiEnterprise30M3")
3 {{/velocity}}
4
5 {{box cssClass="floatinginfobox" title="**Contents**"}}
6 {{toc/}}
7 {{/box}}
8
9 Second milestone of the XWiki Enterprise 3.2 version ([[Roadmap>>Main.Roadmap]]). During a time when most developers are on vacation, there's very few things to announce in this release.
10
11 = New and Noteworthy (since XWiki Enterprise 3.2 Milestone 1) =
12
13 == User Dashboards ==
14
15 After wiki- and space-wide dashboards, this milestone brings support for personal dashboards. Each user can define their own dashboard in their profile document.
16
17 image:userdashboard.png
18
19 == Spotlight search improvements ==
20
21 Much polishing and bugfixing work has gone into the Spotlight-like search, making it more stable and easier to use and customize. Some of the improvements include the option to display only one "//loading//" status for all the suggestion sources, and the option to display hints next to each search result.
22
23 image:suggest.png
24
25 == Extension Manager improvements ==
26
27 Progressing further with the extension manager, 3.2M2 adds support for //virtual extensions//, or aliases for extensions that have changed their identifiers, and support for pulling in ##provided## dependencies.
28
29 = For Developers =
30
31 == New JavaScript testing framework ==
32
33 Unit tests for JavaScript code can now be written using the [[Jasmine framework>>http://pivotal.github.com/jasmine/]] for behavioral-driven development.
34
35 == Named parameters for the event stream ==
36
37 The new [[event stream module>>extensions:Extension.Event Stream Module]] now has support for arbitrary named parameters to be associated with the stored events. This is a better way of dealing with extra parameters than the old up to 5 numbered parameters supported by the old ActivityStream plugin. The limitation is that both the name and the value must be strings of at most 255 characters. Read more about the event stream module and how to use these named parameters in [[the module's documentation>>extensions:Extension.Event Stream Module]].
38
39 == GPG signed artifacts ==
40
41 From now on, all build artifacts will be signed by one of the XWiki developers using a PGP signature. Such signatures are available in [[our maven repository>>http://maven.xwiki.org/releases/org/]] as ##.asc## files next to each artifact. We advise you to check the signatures of the files you download to make sure there are no problems with them.
42
43 To check the signatures, you should:
44
45 # Install GPG, if it's not already installed on your system
46 # Download both the artifact and its ##.asc## counterpart
47 # Run ##gpg -~-verify -~-keyserver-options auto-key-retrieve=true //artifact-file.jar.asc//##
48
49 == Moved legacy code into separate modules ==
50
51 By default, the platform is now free of legacy code: deprecated features that have been officially removed, but are still included via aspects for backwards compatibility. For each platform module that had legacy code, there's a corresponding module in ##xwiki-platform-legacy## that generates an extended ##jar## containing the deprecated classes or methods.
52
53 == Upgrades ==
54
55 * Groovy 1.8.1
56 * jruby 1.6.3
57 * Hibernate 3.6.6 Final
58
59 = Backward Compatibility and Migration Notes =
60
61 == General Notes ==
62
63 {{warning}}
64 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,...//.
65 {{/warning}}
66
67 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from the improvements listed above.
68
69 {{warning}}
70 Always make sure you compare your //xwiki.cfg// file with the newest version since some configuration parameters were added. Note 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.
71 {{/warning}}
72
73 == API Breakages ==
74
75 The following APIs were modified since XWiki Enterprise 3.1:
76
77 {{code language="none"}}
78 com.xpn.xwiki.plugin.activitystream.api.ActivityEvent: Method 'public java.util.Map getParameters()' has been added to an interface
79 com.xpn.xwiki.plugin.activitystream.api.ActivityEvent: Method 'public void setParameters(java.util.Map)' has been added to an interface
80 com.xpn.xwiki.plugin.adwords.AdWordsPluginApi: Method 'public com.xpn.xwiki.plugin.XWikiPluginInterface getPlugin()' has been removed
81 com.xpn.xwiki.plugin.alexa.AlexaPluginApi: Method 'public com.xpn.xwiki.plugin.XWikiPluginInterface getPlugin()' has been removed
82 org.xwiki.bridge.AttachmentNameFactory: Class org.xwiki.bridge.AttachmentNameFactory removed
83 org.xwiki.bridge.AttachmentNameSerializer: Class org.xwiki.bridge.AttachmentNameSerializer removed
84 org.xwiki.bridge.DocumentNameFactory: Class org.xwiki.bridge.DocumentNameFactory removed
85 org.xwiki.bridge.DocumentNameSerializer: Class org.xwiki.bridge.DocumentNameSerializer removed
86 org.xwiki.eventstream.Event: Method 'public java.util.Map getParameters()' has been added to an interface
87 org.xwiki.eventstream.Event: Method 'public void setParameters(java.util.Map)' has been added to an interface
88 com.xpn.xwiki.api.Api: Method 'public boolean checkProgrammingRights()' has been removed
89 com.xpn.xwiki.api.Context: Method 'public boolean isVirtual()' has been removed
90 com.xpn.xwiki.api.Document: Method 'public com.xpn.xwiki.stats.impl.DocumentStats getCurrentMonthWebStats(java.lang.String)' has been removed
91 com.xpn.xwiki.api.StatsService: Method 'public com.xpn.xwiki.XWikiContext ajc$superDispatch$com_xpn_xwiki_api_StatsService$getXWikiContext()' has been removed
92 com.xpn.xwiki.api.StatsService: Method 'public com.xpn.xwiki.stats.impl.DocumentStats getCurrentMonthXWikiStats(java.lang.String)' has been removed
93 com.xpn.xwiki.api.StatsServiceCompatibilityAspect: Class com.xpn.xwiki.api.StatsServiceCompatibilityAspect removed
94 com.xpn.xwiki.api.XWiki: Removed field ajc$interField$com_xpn_xwiki_api_XWikiCompatibilityAspect$util
95 com.xpn.xwiki.api.XWiki: Method 'public int add(int, int)' has been removed
96 com.xpn.xwiki.api.XWiki: Method 'public long add(long, long)' has been removed
97 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String add(java.lang.String, java.lang.String)' has been removed
98 com.xpn.xwiki.api.XWiki: Method 'public com.xpn.xwiki.XWiki ajc$privFieldGet$com_xpn_xwiki_api_XWikiCompatibilityAspect$com_xpn_xwiki_api_XWiki$xwiki(com.xpn.xwiki.api.XWiki)' has been removed
99 com.xpn.xwiki.api.XWiki: Method 'public void ajc$privFieldSet$com_xpn_xwiki_api_XWikiCompatibilityAspect$com_xpn_xwiki_api_XWiki$xwiki(com.xpn.xwiki.api.XWiki, com.xpn.xwiki.XWiki)' has been removed
100 com.xpn.xwiki.api.XWiki: Method 'public com.xpn.xwiki.XWikiContext ajc$superDispatch$com_xpn_xwiki_api_XWiki$getXWikiContext()' has been removed
101 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String clearAccents(java.lang.String)' has been removed
102 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String clearName(java.lang.String)' has been removed
103 com.xpn.xwiki.api.XWiki: Method 'public int copyWikiWeb(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean)' has been removed
104 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String escapeText(java.lang.String)' has been removed
105 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String escapeURL(java.lang.String)' has been removed
106 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String generateRandomString(int)' has been removed
107 com.xpn.xwiki.api.XWiki: Method 'public java.util.List getArrayList()' has been removed
108 com.xpn.xwiki.api.XWiki: Method 'public java.util.Date getCurrentDate()' has been removed
109 com.xpn.xwiki.api.XWiki: Method 'public java.util.Date getDate()' has been removed
110 com.xpn.xwiki.api.XWiki: Method 'public java.util.Date getDate(long)' has been removed
111 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String getDocLanguagePreference()' has been removed
112 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String getFormEncoded(java.lang.String)' has been removed
113 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String getHTMLArea(java.lang.String)' has been removed
114 com.xpn.xwiki.api.XWiki: Method 'public java.util.Map getHashMap()' has been removed
115 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String getMessage(java.lang.String)' has been removed
116 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String getNl()' has been removed
117 com.xpn.xwiki.api.XWiki: Method 'public com.xpn.xwiki.api.Object getNull()' has been removed
118 com.xpn.xwiki.api.XWiki: Method 'public java.util.Collection getRecentActions(java.lang.String, int)' has been removed
119 com.xpn.xwiki.api.XWiki: Method 'public int getTimeDelta(long)' has been removed
120 com.xpn.xwiki.api.XWiki: Method 'public java.util.Map getTreeMap()' has been removed
121 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String getURLEncoded(java.lang.String)' has been removed
122 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String getWebCopyright()' has been removed
123 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String getWebPreference(java.lang.String)' has been removed
124 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String getWebPreference(java.lang.String, java.lang.String)' has been removed
125 com.xpn.xwiki.api.XWiki: Method 'public int getWebPreferenceAsInt(java.lang.String)' has been removed
126 com.xpn.xwiki.api.XWiki: Method 'public int getWebPreferenceAsInt(java.lang.String, int)' has been removed
127 com.xpn.xwiki.api.XWiki: Method 'public long getWebPreferenceAsLong(java.lang.String)' has been removed
128 com.xpn.xwiki.api.XWiki: Method 'public long getWebPreferenceAsLong(java.lang.String, long)' has been removed
129 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String getWebPreferenceFor(java.lang.String, java.lang.String)' has been removed
130 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String getWebPreferenceFor(java.lang.String, java.lang.String, java.lang.String)' has been removed
131 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String getXMLEncoded(java.lang.String)' has been removed
132 com.xpn.xwiki.api.XWiki: Method 'public boolean isVirtual()' has been removed
133 com.xpn.xwiki.api.XWiki: Method 'public void outputImage(java.awt.image.BufferedImage)' has been removed
134 com.xpn.xwiki.api.XWiki: Method 'public double parseDouble(java.lang.String)' has been removed
135 com.xpn.xwiki.api.XWiki: Method 'public float parseFloat(java.lang.String)' has been removed
136 com.xpn.xwiki.api.XWiki: Method 'public int parseInt(java.lang.String)' has been removed
137 com.xpn.xwiki.api.XWiki: Method 'public java.lang.Integer parseInteger(java.lang.String)' has been removed
138 com.xpn.xwiki.api.XWiki: Method 'public long parseLong(java.lang.String)' has been removed
139 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String parseMessage()' has been removed
140 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String parseMessage(java.lang.String)' has been removed
141 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String printStrackTrace(java.lang.Throwable)' has been removed
142 com.xpn.xwiki.api.XWiki: Method 'public void sendMessage(java.lang.String, java.lang.String, java.lang.String)' has been removed
143 com.xpn.xwiki.api.XWiki: Method 'public void sendMessage(java.lang.String, java.lang.String[], java.lang.String)' has been removed
144 com.xpn.xwiki.api.XWiki: Method 'public java.util.List sort(java.util.List)' has been removed
145 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String[] split(java.lang.String, java.lang.String)' has been removed
146 com.xpn.xwiki.api.XWiki: Method 'public java.lang.String sqlfilter(java.lang.String)' has been removed
147 com.xpn.xwiki.api.XWiki: Method 'public java.lang.Number toNumber(com.xpn.xwiki.api.Object)' has been removed
148 com.xpn.xwiki.api.XWikiCompatibilityAspect: Class com.xpn.xwiki.api.XWikiCompatibilityAspect removed
149 compatibility.com.xpn.xwiki.api.ApiCompatibilityAspect: Class compatibility.com.xpn.xwiki.api.ApiCompatibilityAspect removed
150 compatibility.com.xpn.xwiki.api.ContextCompatibilityAspect: Class compatibility.com.xpn.xwiki.api.ContextCompatibilityAspect removed
151 compatibility.com.xpn.xwiki.api.DocumentCompatibilityAspect: Class compatibility.com.xpn.xwiki.api.DocumentCompatibilityAspect removed
152 com.xpn.xwiki.plugin.lucene.IndexRebuilder: Method 'protected int addTranslationsOfDocument(com.xpn.xwiki.doc.XWikiDocument, com.xpn.xwiki.XWikiContext)' has been removed
153 com.xpn.xwiki.plugin.wikimanager.WikiManager: Removed field LOG
154 com.xpn.xwiki.plugin.wikimanager.WikiManager: Method 'public void importPackage(java.lang.String, java.lang.String, com.xpn.xwiki.XWikiContext)' has been removed
155 {{/code}}

Get Connected