Wiki source code of Release Notes for XWiki 15.0-rc-1
Last modified by Manuel Leduc on 2023/03/29
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{velocity}} | ||
2 | #set ($rnObject = $doc.getObject('ReleaseNotes.Code.ReleaseNoteClass')) | ||
3 | #set ($product = $rnObject.product) | ||
4 | #set ($version = $rnObject.version) | ||
5 | #set ($versionPrefix = $stringtool.substringBefore($version, '-')) | ||
6 | #set ($versionParts = $stringtool.split($versionPrefix, '.')) | ||
7 | #set ($isRC = $version.contains('rc')) | ||
8 | #set ($isFinal = !$isRC) | ||
9 | #set ($isFirstFinal = $versionParts.size() == 2 && $isFinal) | ||
10 | {{/velocity}} | ||
11 | |||
12 | {{box cssClass="floatinginfobox" title="**Contents**"}} | ||
13 | {{toc/}} | ||
14 | {{/box}} | ||
15 | |||
16 | This is the release notes for [[XWiki Commons>>http://commons.xwiki.org]], [[XWiki Rendering>>http://rendering.xwiki.org]] and [[XWiki Platform>>http://platform.xwiki.org]]. They share the same release notes as they are released together and have the same version. | ||
17 | |||
18 | This is the first release of the 15.x cycle. This release consists mostly of dependency upgrades and bug fixes including security fixes with some small new features for admins and developers. Some fixes also required changes that could cause breakages, please read the respective sections before upgrading. | ||
19 | |||
20 | {{error}} | ||
21 | The following regressions were introduced in this release (and found after it was released). Please check them out and if they impact you we recommend waiting to upgrade to a version where they are fixed. | ||
22 | |||
23 | {{velocity}} | ||
24 | #if ($isFirstFinal) | ||
25 | #set ($affectedVersions = "${version}-rc-1, ${version}") | ||
26 | #set ($fixVersionJQL = " and (fixVersion != ${version}-rc-1 or fixVersion is empty)") | ||
27 | #else | ||
28 | #set ($affectedVersions = "${version}") | ||
29 | #set ($fixVersionJQL = "") | ||
30 | #end | ||
31 | {{jira id="xwikiorg" source="jql"}} | ||
32 | category = 10000 and affectedVersion in ($affectedVersions)${fixVersionJQL}and priority = Blocker and resolution in (Fixed, Unresolved) and component != "Development Issues only" | ||
33 | {{/jira}} | ||
34 | {{/velocity}} | ||
35 | {{/error}} | ||
36 | |||
37 | = New and Noteworthy (since {{velocity}}$product{{/velocity}} 14.10.2) = | ||
38 | |||
39 | [[Full list of issues fixed and Dashboard for 15.0>>https://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=15300]]. | ||
40 | |||
41 | {{releasenotechanges/}} | ||
42 | |||
43 | {{comment}} | ||
44 | |||
45 | === Moved Modules === | ||
46 | |||
47 | <description deprecated, retired and moved projects> | ||
48 | {{/comment}} | ||
49 | |||
50 | === Upgrades === | ||
51 | |||
52 | The following runtime dependencies have been upgraded (they have a different release cycle than [[XWiki Commons>>http://commons.xwiki.org]], [[XWiki Rendering>>http://rendering.xwiki.org]] and [[XWiki Platform>>http://platform.xwiki.org]]): | ||
53 | |||
54 | * [[Vue 2.7.14>>https://jira.xwiki.org/browse/XWIKI-20417]] | ||
55 | * [[Vue-i18n 8.28.2>>https://jira.xwiki.org/browse/XWIKI-20418]] | ||
56 | * [[Dompurify 2.4.1>>https://jira.xwiki.org/browse/XWIKI-20419]] | ||
57 | * [[CKEditor 4.20.1>>https://jira.xwiki.org/browse/XWIKI-20489]] | ||
58 | * [[JGroups 5.2.11>>https://jira.xwiki.org/browse/XCOMMONS-2004]] | ||
59 | * [[Caffeine 3.1.2>>https://jira.xwiki.org/browse/XCOMMONS-2147]] | ||
60 | * [[SLF4J 2.0.6 and Logback 1.3.5>>https://jira.xwiki.org/browse/XCOMMONS-2517]] | ||
61 | * [[Infinispan 14.0.5>>https://jira.xwiki.org/browse/XCOMMONS-2545]] | ||
62 | * [[Jackson 2.14.1>>https://jira.xwiki.org/browse/XCOMMONS-2574]] | ||
63 | * [[Plexus Classworlds 2.7.0>>https://jira.xwiki.org/browse/XCOMMONS-2575]] | ||
64 | * [[Byte Buddy 1.12.22>>https://jira.xwiki.org/browse/XCOMMONS-2576]] | ||
65 | * [[HTTP Core 4.4.16>>https://jira.xwiki.org/browse/XCOMMONS-2581]] | ||
66 | * [[Protobuf Java 3.21.12>>https://jira.xwiki.org/browse/XCOMMONS-2582]] | ||
67 | * [[Checker Qual 3.29.0>>https://jira.xwiki.org/browse/XCOMMONS-2584]] | ||
68 | * [[Commons Net 3.9.0>>https://jira.xwiki.org/browse/XCOMMONS-2585]] | ||
69 | * [[httpclient 4.5.14>>https://jira.xwiki.org/browse/XCOMMONS-2587]] | ||
70 | * [[Jaxen 2.0.0>>https://jira.xwiki.org/browse/XCOMMONS-2588]] | ||
71 | * [[Protostream 4.6.0.Final>>https://jira.xwiki.org/browse/XCOMMONS-2589]] | ||
72 | * [[httpclient 5.2.1>>https://jira.xwiki.org/browse/XCOMMONS-2591]] | ||
73 | * [[Groovy 3.0.14>>https://jira.xwiki.org/browse/XCOMMONS-2593]] | ||
74 | * [[AspectJ 1.9.19>>https://jira.xwiki.org/browse/XCOMMONS-2594]] | ||
75 | * [[cssparser 0.9.30>>https://jira.xwiki.org/browse/XCOMMONS-2595]] | ||
76 | * [[Error Prone annotations 2.18.0>>https://jira.xwiki.org/browse/XCOMMONS-2598]] | ||
77 | * [[Plexus Archiver 4.6.1>>https://jira.xwiki.org/browse/XCOMMONS-2599]] | ||
78 | * [[Closure Compiler v20230103>>https://jira.xwiki.org/browse/XCOMMONS-2601]] | ||
79 | * [[Gson 2.10.1>>https://jira.xwiki.org/browse/XCOMMONS-2603]] | ||
80 | * [[Woodstox 6.5.0>>https://jira.xwiki.org/browse/XCOMMONS-2609]] | ||
81 | * [[Doxia 1.12.0>>https://jira.xwiki.org/browse/XRENDERING-698]] | ||
82 | * [[jodconverter 4.4.5>>https://jira.xwiki.org/browse/XWIKI-20137]] | ||
83 | * [[Tika 2.6.0>>https://jira.xwiki.org/browse/XWIKI-20201]] | ||
84 | * [[Docker Java to 3.2.14>>https://jira.xwiki.org/browse/XWIKI-20412]] | ||
85 | * [[PostgresSQL connector 42.5.1>>https://jira.xwiki.org/browse/XWIKI-20413]] | ||
86 | * [[JNR POSIX 3.1.16>>https://jira.xwiki.org/browse/XWIKI-20414]] | ||
87 | * [[JNR Constants 0.10.4>>https://jira.xwiki.org/browse/XWIKI-20415]] | ||
88 | * [[Joda-Time 2.12.2>>https://jira.xwiki.org/browse/XWIKI-20441]] | ||
89 | * [[Netty 4.1.86.Final>>https://jira.xwiki.org/browse/XWIKI-20473]] | ||
90 | * [[Syntax higlighting 4.6.1>>https://jira.xwiki.org/browse/XWIKI-20505]] | ||
91 | * [[Tour Application 1.3.6>>https://jira.xwiki.org/browse/XWIKI-20506]] | ||
92 | * [[Templates Application v1.0.8>>https://jira.xwiki.org/browse/XWIKI-20507]] | ||
93 | * [[embedded Maven to 3.8.7>>https://jira.xwiki.org/browse/XWIKI-20512]] | ||
94 | * [[pagedjs to 0.4.0>>https://jira.xwiki.org/browse/XWIKI-20542]] | ||
95 | * [[JNA 5.13.0>>https://jira.xwiki.org/browse/XWIKI-20558]] | ||
96 | * [[Netty 4.1.87.Final>>https://jira.xwiki.org/browse/XWIKI-20559]] | ||
97 | * [[MariaDB connector 3.1.1>>https://jira.xwiki.org/browse/XWIKI-20560]] | ||
98 | |||
99 | = Translations = | ||
100 | |||
101 | The following translations have been updated: | ||
102 | |||
103 | {{language codes="de,ja,ro"/}} | ||
104 | |||
105 | = Tested Browsers & Databases = | ||
106 | |||
107 | {{include reference="TestReports.ManualTestReportSummaryXWiki150.WebHome"/}} | ||
108 | |||
109 | {{comment}} | ||
110 | TODO: uncomment and update with proper links when the report is ready. | ||
111 | |||
112 | = Performances tests compared to <last super stable version> = | ||
113 | |||
114 | {{display reference="test:Performances.Jetty HSQLDB single wiki xxx to yyy" section="HSummary"/}} | ||
115 | |||
116 | More details on [[performance comparison on single wiki between x.x and y.y>>test:Performances.Jetty HSQLDB single wiki xxx to yyy]]. | ||
117 | {{/comment}} | ||
118 | |||
119 | = Known issues = | ||
120 | |||
121 | * [[Bugs we know about>>https://jira.xwiki.org/issues/?jql=category%20%3D%2010000%20AND%20issuetype%20%3D%20Bug%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20updated%20DESC]] | ||
122 | |||
123 | = Backward Compatibility and Migration Notes = | ||
124 | |||
125 | == General Notes == | ||
126 | |||
127 | * When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added: | ||
128 | ** ##xwiki.cfg## | ||
129 | ** ##xwiki.properties## | ||
130 | ** ##web.xml## | ||
131 | ** ##hibernate.cfg.xml## | ||
132 | * Add ##xwiki.store.migration=1## in ##xwiki.cfg## so that XWiki will attempt to automatically migrate your current database to any new schema. Make sure you backup your Database before doing anything. | ||
133 | |||
134 | == Issues specific to {{velocity}}$product $version{{/velocity}} == | ||
135 | |||
136 | === Change of macro priorities === | ||
137 | |||
138 | The priority of the following macros has been changed from very high (10) to normal (1000): | ||
139 | |||
140 | * ##include## | ||
141 | * ##display## | ||
142 | * ##context## | ||
143 | * ##template## | ||
144 | * ##uiextension## | ||
145 | * ##uiextensions## | ||
146 | |||
147 | It means they have the same priority that most other macros so they will be executed in the order you see them in the wiki content instead of before previous macros, it's especially important when combined with script macros. | ||
148 | |||
149 | This hopefully fixes more confusion than causing problems but it could impact cases like: | ||
150 | |||
151 | * if you include a document which contains macro which a very high priority, those macros used to be executed very early and they are now limited by the priority of the include macro | ||
152 | * ((( | ||
153 | if you were including things to use in a script macro after that script macro, it won't work anymore: | ||
154 | |||
155 | {{code}} | ||
156 | {{velocity}} | ||
157 | #macroFromTheTemplate('value') | ||
158 | {{/velocity}} | ||
159 | |||
160 | {{template name="template/with/macros.vm"/}} | ||
161 | {{/code}} | ||
162 | |||
163 | doesn't behave as expected anymore and should instead be written as | ||
164 | |||
165 | |||
166 | {{code}} | ||
167 | {{template name="template/with/macros.vm"/}} | ||
168 | |||
169 | {{velocity}} | ||
170 | #macroFromTheTemplate('value') | ||
171 | {{/velocity}} | ||
172 | {{/code}} | ||
173 | |||
174 | because in the first version the velocity macro is going to be executed before the template macro (because it appear first in the content). | ||
175 | ))) | ||
176 | |||
177 | === Change of default author when executing the include macro === | ||
178 | |||
179 | For security reasons, it was decided to modify the default behavior of the include macro regarding the execution of the included content: if the content author of the target document does not have programming rights, the include macro will execute it right away with the right of the target document content author instead of just parsing it and returning the blocks. | ||
180 | |||
181 | === Change of behavior for ##ComponentManager#getInstanceList## === | ||
182 | |||
183 | ##org.xwiki.component.manager.ComponentManager#getInstanceList## and ##org.xwiki.component.manager.ComponentManager#getInstanceMap## don't fail anymore by default, if one of the components fail to initialize. However, it's possible to still thrown an exception if needed, by using the ##@ComponentMandatory## annotation, either on the component class, or at a higher level in the inheritance hierarchy (e.g. inside the role class), to impact all components who are a subclass of it. | ||
184 | |||
185 | == API Breakages == | ||
186 | |||
187 | The following APIs were modified since {{velocity}}$product{{/velocity}} 14.10.2: | ||
188 | |||
189 | {{velocity}} | ||
190 | {{backwardCompatibilityReport134 version="$version"/}} | ||
191 | {{/velocity}} | ||
192 | |||
193 | = Credits = | ||
194 | |||
195 | The following people have contributed code and translations to this release (sorted alphabetically): | ||
196 | |||
197 | * Alex Cotiugă | ||
198 | * Andreea Chirica | ||
199 | * Antoine Mottier | ||
200 | * DenisF | ||
201 | * Jens Mittelbach | ||
202 | * Manuel Leduc | ||
203 | * Marius Dumitru Florea | ||
204 | * Michael Hamann | ||
205 | * Nikita Petrenko | ||
206 | * Oana-Lavinia Florean | ||
207 | * Raphaël Jakse | ||
208 | * Simon Urli | ||
209 | * Simpel | ||
210 | * Suguru Hirahara | ||
211 | * Thomas Mortagne | ||
212 | * Vincent Massol | ||
213 | * tambovtsev | ||
214 | * trrenty |