<
From version < 23.1 >
edited by Thomas Mortagne
on 2015/08/05
To version < 24.1 >
edited by Vincent Massol
on 2015/08/07
>
Change comment: Improve RN

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -ReleaseNotesXWiki72M2
1 +Release Notes for XWiki 7.2 Milestone 2
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ThomasMortagne
1 +XWiki.VincentMassol
Content
... ... @@ -4,9 +4,9 @@
4 4  
5 5  This is the release notes for [[XWiki Commons>>http://commons.xwiki.org]], [[XWiki Rendering>>http://rendering.xwiki.org]], [[XWiki Platform>>http://platform.xwiki.org]] and [[XWiki Enterprise>>http://enterprise.xwiki.org]]. They share the same release notes as they are released together and have the same version.
6 6  
7 -<insert description of release here>
7 +The focus of this release was on fixing issues introduced in 7.2 Milestone 1 with the new Nested Document/Nested Spaces features and to continue adding support for this feature in various existing features (using a tree for the Import UI instead of a list, new DB table to have performant Space queries, start of Nested Spaces support in the XWiki JS APIs, etc). Another major feature added was the new Script permission to allow forbidding Script execution to specific Users or Groups.
8 8  
9 -= New and Noteworthy (since XWiki <version - 1>) =
9 += New and Noteworthy (since XWiki 7.2 Milestone 1) =
10 10  
11 11  [[Full list of issues fixed and Dashboard for <version>>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=<fill id here>]].
12 12  
... ... @@ -14,51 +14,47 @@
14 14  
15 15  The Script Right is now set to DENY by default, meaning that if you do not have it explicitly, you will not be able to execute the scripts that you write with your user account.
16 16  
17 -However, for backwards compatibility reasons, the standard XWiki Enterprise distribution comes with the Script Right being allowed for all users at the main wiki level so that, unless you (as an admin) explicitly revoke the right for some users or explicitly deny it, they will be able to execute the scripts they wrote, just like before.
17 +However, for backward-compatibility reasons, the standard XWiki Enterprise distribution comes with the Script Right being allowed for all users at the main wiki level, so that, unless you (as an Admin) explicitly revoke the right for some users or explicitly deny it, they will be able to execute the scripts they wrote, just like before.
18 18  
19 19  {{image reference="scriptRightsExplicitlyAllowedInXWikiPreferences.png"/}}
20 20  
21 -== <feature N> ==
22 -
23 -<description of feature N>
24 -
25 25  == Miscellaneous ==
26 26  
27 -* Import UI move to new standard tree
23 +* Import UI move to new standard tree(((
28 28  {{image reference="import.png"/}}
25 +)))
29 29  * The size of the Job status cache is now configurable. See ##job.statusCacheSize## property in ##xwiki.properties## files.
30 30  
31 -See the [[full list of JIRA issues>>http://jira.xwiki.org/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?jqlQuery=project+in+%28XCOMMONS%2C+XRENDERING%2C+XWIKI%2C+XE%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+%3D+%22<version>%22&tempMax=1000]] fixed in this release.
28 +See the [[full list of JIRA issues>>http://jira.xwiki.org/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?jqlQuery=project+in+%28XCOMMONS%2C+XRENDERING%2C+XWIKI%2C+XE%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+%3D+%227.2-milestone-2%22&tempMax=1000]] fixed in this release.
32 32  
33 33  = For Developers =
34 34  
35 35  == New Space/XWikiSpace table ==
36 36  
37 -A new tables dedicated to spaces has been introduced. See [[platform:DevGuide.DatabaseSchema]] for more details.
34 +A [[new table dedicated to Spaces has been introduced>>platform:DevGuide.DatabaseSchema]], in order to have performant and scalable Space-related queries (like supporting getting paginated Space which is useful for the Document Tree macro for example).
38 38  
39 39  == Queries improvement ==
40 40  
41 41  === Allow executing complete SELECT queries ===
42 42  
43 -In HQL and XWQL it's now possible to execute complete ##SELECT## queries without programming right as long as you follow some rules currently defined in ##com.xpn.xwiki.internal.store.hibernate.query.HqlQueryUtils## which is a list of database field allowed in the SELECT clause:
40 +In HQL and XWQL it's now possible to execute full ##SELECT## queries without Programming Right as long as you follow some rules currently defined in ##com.xpn.xwiki.internal.store.hibernate.query.HqlQueryUtils##, which contains a list of the database field allowed in the SELECT clause. Namely:
41 +* For the ##Document##/##XWikiDocument## table: ##fullName##, ##name##, ##space##, ##language##, ##defaultLanguage##, ##translation##, ##hidden##
42 +* For the ##Space##/##XWikiSpace## table: ##reference##, ##name##, ##parent##, ##hidden##
44 44  
45 -* ##Document##/##XWikiDocument## table: ##fullName##, ##name##, ##space##, ##language##, ##defaultLanguage##, ##translation##, ##hidden##
46 -* ##Space##/##XWikiSpace## table: ##reference##, ##name##, ##parent##, ##hidden##
44 +This is also true for the Named Queries located in the ##queries.hbm.xml## file.
47 47  
48 -This is also true for the named queries located in ##queries.hbm.xml## file.
46 +=== New Secure Query ===
49 49  
50 -=== New SecureQuery ===
48 +The right to execute or not some Query is now controlled by each ##org.xwiki.query.QueryExecutor##.
51 51  
52 -The right to execute or not some query is now controlled by each ##org.xwiki.query.QueryExecutor##.
50 +Anyone can ask the executor to check or ignore Right through the new ##org.xwiki.query.SecureQuery## extending ##org.xwiki.query.Query##:
53 53  
54 -Anyone can ask the executor to check or ignore right through the new ##org.xwiki.query.SecureQuery## extending ##org.xwiki.query.Query##:
52 +* ##checkCurrentAuthor()##: indicate if the current author right should be checked
53 +* ##checkCurrentUser()##: indicate if the result should be filtered based on current user Right (only implemented by SOLR right now)
55 55  
56 -* checkCurrentAuthor: indicate if the current author right should be checked
57 -* checkCurrentUser: indicate if the result should be filtered based on current user right (only implemented by SOLR right now)
58 -
59 59  == JS API Improvements ==
60 60  
61 -* It's now possible to create a Nested Spaces Reference using XWik'is Javascript API. For example:(((
57 +* It's now possible to create a Nested Spaces Reference using XWiki's Javascript API. For example:(((
62 62  {{code language="javascript"}}
63 63  // Construct a Nested Space reference
64 64  var reference = new XWiki.SpaceReference('wiki', ['space1', 'space2']);
... ... @@ -87,25 +87,11 @@
87 87  var reference = XWiki.EntityReference.fromJSONObject(jsonText.evalJSON());
88 88  {{/code}}
89 89  )))
90 -* A new ##XWiki.EntityReferenceTree## class which partially mimic Java ##EntityReferenceTree## on Javascript side. There is not much yet, it was mostly introduced to make easier to manipulate a serailized Java ##EntityReferenceTree##
86 +* A new ##XWiki.EntityReferenceTree## JS class has been added, which partially mimics the Java ##EntityReferenceTree## Class. It's still missing features though as it was introduced mostly to make it easier to manipulate a serialized Java ##EntityReferenceTree##.
91 91  
92 -== Deprecated and Retired projects ==
93 -
94 -* [[OSCache based cache extension>>extensions:Extension.Cache OSCache]] moved to https://github.com/xwiki-contrib/xwiki-platform-cache-oscache
95 -
96 -== Upgrades ==
97 -
98 -The following dependencies have been upgraded:
99 -
100 -* [[Groovy 2.4.4>>http://jira.xwiki.org/browse/XCOMMONS-831]]
101 -* [[Tika 1.9>>http://jira.xwiki.org/browse/XWIKI-12274]]
102 -* [[JRuby 1.7.21>>http://jira.xwiki.org/browse/XWIKI-12344]]
103 -* [[Jackson 2.6.0>>http://jira.xwiki.org/browse/XCOMMONS-833]]
104 -* [[Hibernate Validator 4.3.2>>http://jira.xwiki.org/browse/XWIKI-12365]]
105 -
106 106  == Miscellaneous ==
107 107  
108 -* Custom displayers are now executed with the rights of the user who wrote them (i.e. author of the class document or content author of the displayer document), and not the rights of the user who wrote the script that uses them (i.e. current context document's content author). See [[XWIKI-12306>>http://jira.xwiki.org/browse/XWIKI-12306]] for more details.
90 +* Custom displayers are now executed with the Rights of the user who wrote them (i.e. author of the class document or content author of the displayer document), and not the Rights of the user who wrote the script that uses them (i.e. current context document's content author). See [[XWIKI-12306>>http://jira.xwiki.org/browse/XWIKI-12306]] for more details.
109 109  * In the [[Active Install Extension>>extensions:Extension.Active Installs Server Application]], a new Velocity Macro has been introduced to compute the number of Active Installs having a specific Extension. Example usage:(((
110 110  {{code language="none"}}
111 111  {{include reference="ActiveInstalls.ExtensionCount"/}}
... ... @@ -126,6 +126,20 @@
126 126  )))
127 127  * Better support of non-DOCUMENT ##EntityReferences## in ##DocumentReferenceConverter##. It now behaves like ##XWiki#getDocument(EntityReference)##
128 128  
111 +== Deprecated and Retired projects ==
112 +
113 +* The [[OSCache-based Cache Extension>>extensions:Extension.Cache OSCache]] has been [[moved to ##xwiki-contrib##>>https://github.com/xwiki-contrib/xwiki-platform-cache-oscache]] since we've been using the Infinispan implementation for a while now and the XWiki Core developers don't intend to continue supporting the OSCache-based one (it can be maintained by the Community, by whoever's interested in supporting it).
114 +
115 +== Upgrades ==
116 +
117 +The following dependencies have been upgraded:
118 +
119 +* [[Groovy 2.4.4>>http://jira.xwiki.org/browse/XCOMMONS-831]]
120 +* [[Tika 1.9>>http://jira.xwiki.org/browse/XWIKI-12274]]
121 +* [[JRuby 1.7.21>>http://jira.xwiki.org/browse/XWIKI-12344]]
122 +* [[Jackson 2.6.0>>http://jira.xwiki.org/browse/XCOMMONS-833]]
123 +* [[Hibernate Validator 4.3.2>>http://jira.xwiki.org/browse/XWIKI-12365]]
124 +
129 129  = Translations =
130 130  
131 131  The following translations have been updated:
... ... @@ -152,13 +152,13 @@
152 152  
153 153  When upgrading make sure you compare your ##xwiki.cfg##, ##xwiki.properties## and ##web.xml## files with the newest version since some configuration parameters may have been modified or 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.
154 154  
155 -== Issues specific to XWiki <version> ==
151 +== Issues specific to XWiki 7.2 Milestone 2 ==
156 156  
157 157  <issues specific to the project>
158 158  
159 159  == API Breakages ==
160 160  
161 -The following APIs were modified since <project> <version - 1>:
157 +The following APIs were modified since XWiki 7.2 Milestone 1:
162 162  
163 163  {{code language="none"}}
164 164  <clirr output here>

Get Connected