Wiki source code of ReleaseNotesXWiki72M2
Version 9.3 by Vincent Massol on 2015/07/29
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | {{box cssClass="floatinginfobox" title="**Contents**"}} |
2 | {{toc/}} | ||
3 | {{/box}} | ||
4 | |||
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 | |||
7 | <insert description of release here> | ||
8 | |||
9 | = New and Noteworthy (since XWiki <version - 1>) = | ||
10 | |||
11 | [[Full list of issues fixed and Dashboard for <version>>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=<fill id here>]]. | ||
12 | |||
13 | == <feature N> == | ||
14 | |||
15 | <description of feature N> | ||
16 | |||
17 | == Miscellaneous == | ||
18 | |||
19 | <insert misc user stuff and important bug fix descriptions here in a list, when they are too small to warrant a section by themselves - Change the version in the URL below!> | ||
20 | |||
21 | 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. | ||
22 | |||
23 | = For Developers = | ||
24 | |||
![]() |
8.1 | 25 | == New Space/XWikiSpace table == |
26 | |||
27 | A new tables dedicated to spaces has been introduced. See [[platform:DevGuide.DatabaseSchema]] for more details. | ||
28 | |||
![]() |
7.2 | 29 | == Queries improvement == |
![]() |
1.1 | 30 | |
![]() |
7.2 | 31 | === Allow executing complete SELECT queries === |
![]() |
1.1 | 32 | |
![]() |
7.2 | 33 | 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: |
34 | |||
35 | * ##Document##/##XWikiDocument## table: ##fullName##, ##name##, ##space##, ##language##, ##defaultLanguage##, ##translation##, ##hidden## | ||
36 | * ##Space##/##XWikiSpace## table: ##reference##, ##name##, ##parent##, ##hidden## | ||
37 | |||
38 | === New SecureQuery === | ||
39 | |||
40 | The right to execute or not some query is now controlled by each ##org.xwiki.query.QueryExecutor##. | ||
41 | |||
42 | Anyone can ask the executor to check or ignore right through the new ##org.xwiki.query.SecureQuery## extending ##org.xwiki.query.Query##: | ||
43 | |||
44 | * checkCurrentAuthor: indicate if the current author right should be checked | ||
45 | * checkCurrentUser: indicate if the result should be filtered based on current user right (only implemented by SOLR right now) | ||
46 | |||
![]() |
9.3 | 47 | == JS API Improvements == |
![]() |
9.1 | 48 | |
49 | * It's now possible to create a Nested Spaces Reference using XWik'is Javascript API. For example:((( | ||
50 | {{code language="javascript"}} | ||
![]() |
9.2 | 51 | // Construct a Nested Space reference |
52 | var reference = new XWiki.SpaceReference('wiki', ['space1', 'space2']); | ||
53 | expect(XWiki.Model.serialize(reference)).toEqual('wiki:space1.space2'); | ||
54 | reference = new XWiki.DocumentReference('wiki', ['space1', 'space2'], 'page'); | ||
55 | expect(XWiki.Model.serialize(reference)).toEqual('wiki:space1.space2.page'); | ||
56 | // Construct a non-Nested Space reference | ||
57 | reference = new XWiki.SpaceReference('wiki', 'space'); | ||
58 | expect(XWiki.Model.serialize(reference)).toEqual('wiki:space'); | ||
59 | // Try passing non-valid space parameters | ||
60 | expect(function() {new XWiki.SpaceReference('wiki', [])}).toThrow('Missing mandatory space name or invalid type for: []'); | ||
61 | expect(function() {new XWiki.SpaceReference('wiki', 12)}).toThrow('Missing mandatory space name or invalid type for: [12]'); | ||
![]() |
9.1 | 62 | {{/code}} |
63 | ))) | ||
![]() |
9.2 | 64 | * A new ##XWiki.EntityReference.equals()## method has been added. For example:((( |
65 | {{code language="javascript"}} | ||
66 | var reference1 = new XWiki.DocumentReference('wiki', ['space1', 'space2'], 'page'); | ||
67 | var reference2 = new XWiki.DocumentReference('wiki', ['space1', 'space2'], 'page'); | ||
68 | var reference3 = new XWiki.DocumentReference('wiki2', ['space1', 'space2'], 'page'); | ||
69 | expect(reference1.equals(reference2)).toBe(true); | ||
70 | expect(reference1.equals(reference3)).toBe(false); | ||
71 | {{/code}} | ||
72 | ))) | ||
![]() |
9.1 | 73 | |
![]() |
1.1 | 74 | == Deprecated and Retired projects == |
75 | |||
76 | <description of deprecated and retired projects> | ||
77 | |||
78 | == Upgrades == | ||
79 | |||
80 | The following dependencies have been upgraded: | ||
81 | |||
![]() |
2.1 | 82 | * [[Groovy 2.4.4>>http://jira.xwiki.org/browse/XCOMMONS-831]] |
![]() |
3.1 | 83 | * [[Tika 1.9>>http://jira.xwiki.org/browse/XWIKI-12274]] |
![]() |
4.1 | 84 | * [[JRuby 1.7.21>>http://jira.xwiki.org/browse/XWIKI-12344]] |
![]() |
5.1 | 85 | * [[Jackson 2.6.0>>http://jira.xwiki.org/browse/XCOMMONS-833]] |
![]() |
1.1 | 86 | |
87 | == Miscellaneous == | ||
88 | |||
![]() |
7.1 | 89 | * 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. |
![]() |
1.1 | 90 | |
91 | = Translations = | ||
92 | |||
93 | The following translations have been updated: | ||
94 | |||
95 | {{language codes="none, none"/}} | ||
96 | |||
97 | = Tested Browsers & Databases = | ||
98 | |||
99 | {{include reference="TestReports.ManualTestReportTemplateSummary"/}} | ||
100 | |||
101 | = Performances tests compared to <last super stable version> = | ||
102 | |||
103 | <a summary of the comparison with latest super stable version> | ||
104 | |||
105 | More details on <link to the test report>. | ||
106 | |||
107 | = Known issues = | ||
108 | |||
109 | * [[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]] | ||
110 | |||
111 | = Backward Compatibility and Migration Notes = | ||
112 | |||
113 | == General Notes == | ||
114 | |||
115 | 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. | ||
116 | |||
117 | == Issues specific to XWiki <version> == | ||
118 | |||
119 | <issues specific to the project> | ||
120 | |||
121 | == API Breakages == | ||
122 | |||
123 | The following APIs were modified since <project> <version - 1>: | ||
124 | |||
125 | {{code language="none"}} | ||
126 | <clirr output here> | ||
127 | {{/code}} |