blob: 1025fd57a9b57c09ad1506c95f1bd678962895bd [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta charset="utf-8">
<title>Apache Wicket 8.0.0-M9 released | Apache Wicket</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" href="/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="stylesheet" href="/css/style.css" type="text/css" media="screen" />
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" />
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
</head>
<body class="">
<div class="header default">
<div class="l-container">
<nav class="mainmenu">
<ul>
<!-- /start/quickstart.html || /news/2018/02/17/wicket-8.0.0-M9-released.html -->
<li class=""><a href="/start/quickstart.html">Quick Start</a></li>
<!-- /start/download.html || /news/2018/02/17/wicket-8.0.0-M9-released.html -->
<li class=""><a href="/start/download.html">Download</a></li>
<!-- /learn || /news/2018/02/17/wicket-8.0.0-M9-released.html -->
<li class=""><a href="/learn">Documentation</a></li>
<!-- /help || /news/2018/02/17/wicket-8.0.0-M9-released.html -->
<li class=""><a href="/help">Support</a></li>
<!-- /contribute || /news/2018/02/17/wicket-8.0.0-M9-released.html -->
<li class=""><a href="/contribute">Contribute</a></li>
<!-- /community || /news/2018/02/17/wicket-8.0.0-M9-released.html -->
<li class=""><a href="/community">Community</a></li>
<!-- /apache || /news/2018/02/17/wicket-8.0.0-M9-released.html -->
<li class=""><a href="/apache">Apache</a></li>
</ul>
</nav>
<div class="logo">
<a href="/"><img src="/img/logo-apachewicket-white.svg" alt="Apache Wicket"></a>
</div>
</div>
</div>
<main>
<div class="l-container">
<header class="l-full preamble">
<h1>Apache Wicket 8.0.0-M9 released</h1>
</header>
<section class="l-one-third right">
<div id="toc" class="toc"><div id="toc-title"><h2>Table of Contents</h2></div><ul><li class="toc--level-1 toc--section-1"><a href="#new-and-noteworthy"><span class="toc-number">1</span> <span class="toc-text">New and noteworthy</span></a></li><li class="toc--level-1 toc--section-2"><a href="#caveats"><span class="toc-number">2</span> <span class="toc-text">Caveats</span></a></li><li class="toc--level-1 toc--section-3"><a href="#using-this-release"><span class="toc-number">3</span> <span class="toc-text">Using this release</span></a></li><li class="toc--level-1 toc--section-4"><a href="#upgrading-from-earlier-versions"><span class="toc-number">4</span> <span class="toc-text">Upgrading from earlier versions</span></a><ul><li class="toc--level-2 toc--section-5"><a href="#this-release"><span class="toc-number">4.1</span> <span class="toc-text">This Release</span></a></li></ul></li></ul></div>
</section>
<section class="l-two-third left">
<div class="l-full">
<p class="meta">17 Feb 2018</p>
<p>The Apache Wicket PMC is proud to announce Apache Wicket 8.0.0-M9!</p>
<p>Apache Wicket is an open source Java component oriented web application
framework that powers thousands of web applications and web sites for
governments, stores, universities, cities, banks, email providers, and
more. You can find more about Apache Wicket at https://wicket.apache.org</p>
<p>This release marks another minor release of Wicket 8. We
use semantic versioning for the development of Wicket, and as such no
API breaks are present breaks are present in this release compared to
8.0.0.</p>
<h2 id="new-and-noteworthy">New and noteworthy</h2>
<p>Before <a href="https://issues.apache.org/jira/browse/WICKET-6498">WICKET-6498</a> users used to create a custom implementation of IHeaderResponseDecorator to place JavaScript items inside page body:</p>
<figure class="highlight"><pre><code class="language-java" data-lang="java"> <span class="nd">@Override</span>
<span class="kd">public</span> <span class="kt">void</span> <span class="nf">init</span><span class="o">()</span>
<span class="o">{</span>
<span class="n">setHeaderResponseDecorator</span><span class="o">(</span><span class="k">new</span> <span class="nc">JavaScriptToBodyCustomResponseDecorator</span><span class="o">(</span><span class="s">"footer-container"</span><span class="o">));</span>
<span class="o">}</span></code></pre></figure>
<p>See <a href="https://ci.apache.org/projects/wicket/guide/7.x/single.html#_put_javascript_inside_page_body">user guide</a> for more details. Now each application has a default IHeaderResponseDecorator, which decorates header responses with a ResourceAggregator. Applications have to make sure, that each response is now explicitly decorated with a ResourceAggregator too:</p>
<figure class="highlight"><pre><code class="language-java" data-lang="java"> <span class="nd">@Override</span>
<span class="kd">public</span> <span class="kt">void</span> <span class="nf">init</span><span class="o">()</span>
<span class="o">{</span>
<span class="n">setHeaderResponseDecorator</span><span class="o">(</span><span class="n">response</span> <span class="o">-&gt;</span>
<span class="o">{</span>
<span class="k">return</span> <span class="k">new</span> <span class="nf">ResourceAggregator</span><span class="o">(</span><span class="k">new</span> <span class="nc">JavaScriptFilteredIntoFooterHeaderResponse</span><span class="o">(</span><span class="n">response</span><span class="o">,</span> <span class="s">"footer-container"</span><span class="o">));</span>
<span class="o">});</span>
<span class="o">}</span></code></pre></figure>
<h2 id="caveats">Caveats</h2>
<p><a href="https://issues.apache.org/jira/browse/WICKET-6498">WICKET-6498</a> might not work as expected due to a known issue with all major browsers (Chrome, Firefox, IE &gt; 10) which allows deferred scripts to be executed before DOMContentLoaded is fired. For this reason WICKET-6498 should be avoided for production applications and used carefully.</p>
<h2 id="using-this-release">Using this release</h2>
<p>With Apache Maven update your dependency to (and don’t forget to
update any other dependencies on Wicket projects to the same version):</p>
<figure class="highlight"><pre><code class="language-xml" data-lang="xml"><span class="nt">&lt;dependency&gt;</span>
<span class="nt">&lt;groupId&gt;</span>org.apache.wicket<span class="nt">&lt;/groupId&gt;</span>
<span class="nt">&lt;artifactId&gt;</span>wicket-core<span class="nt">&lt;/artifactId&gt;</span>
<span class="nt">&lt;version&gt;</span>8.0.0-M9<span class="nt">&lt;/version&gt;</span>
<span class="nt">&lt;/dependency&gt;</span></code></pre></figure>
<p>Or download and build the distribution yourself, or use our
convenience binary package</p>
<ul>
<li>Source: <a href="http://www.apache.org/dyn/closer.cgi/wicket/8.0.0-M9">8.0.0-M9 source download</a></li>
<li>Binary: <a href="http://www.apache.org/dyn/closer.cgi/wicket/8.0.0-M9/binaries">8.0.0-M9 binary download</a></li>
</ul>
<!--more-->
<h2 id="upgrading-from-earlier-versions">Upgrading from earlier versions</h2>
<p>If you upgrade from 8.y.z this release is a drop in replacement. If
you come from a version prior to 8.0.0, please read our Wicket 8
migration guide found at</p>
<ul>
<li>http://s.apache.org/wicket8migrate</li>
</ul>
<p>Have fun!</p>
<p>— The Wicket team</p>
<p>========================================================================</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>The signatures for the source release artefacts:
</code></pre></div></div>
<p>Signature for apache-wicket-8.0.0-M9.zip:</p>
<div class="highlight"><pre>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAABAgAGBQJagFiiAAoJEIePAfqo01bhPxsP/jgrMjf/3IVHWSOftoHEYf+j
Wtb8gvB0Y3sY8L6syj5GQCuhceaovbq3NCnAz0qrn/tLRuUnybyj8GfyMrQv4wNP
rDj7zPRqhsldgbSTsjDP98b0V99F5ct68HsxOr3LzxNijFNFRxIDnF+73QZNjUcA
YL4xuxP80WvMb1mmwASg+l9MxhEWpeYWoyOBHNWFmjgI/4r3ineq2YSjAq3MZKOC
Vu4CqYS+ajEFMqduHU4aa9j4Lj4X81by34c9xCKERaioI7kFhoZzhws6ufoA/wNo
EPBPBft9oG72rUfX9VwyZxHMBmU50eKmEtFeCtWXqu5v8Js2rVTxmw4EGKENj3+8
Kiup7+zXu9t07mvoS4mCJ8fcl7P+g24e02pdqHDBea/a7zAKUdrIe6MCMJ2Qlw0g
E/xlDJ4utPcU7E88IQiCLpmarN3uBZKnivzm3Uir5U0dJtffu4IacABg5Svp3DAl
TcUOmM9QxKYjD8Ey6uORoGTm3gZmx4FcnNjSw0ch27fyNUpYVfEyU88KH9vz2dQP
Tcs9LxRpII4pBGXu0nK5zWZfXBgqxYfUUrIroCrzVWub+wqEw8pXo2K9GdrUYpcg
K12TIpW3X43zNG7L6lTJtFe2yffVLdyS1DDoqU3QI4gHe/vdIC3atd4BP0Aeauj1
jIvOQJKU+bwlubLLneTg
=MOtP
-----END PGP SIGNATURE-----
</pre></div>
<p>Signature for apache-wicket-8.0.0-M9.tar.gz:</p>
<div class="highlight"><pre>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAABAgAGBQJagFihAAoJEIePAfqo01bheU8QAIkUJK3zjjVeARkAbN3Zi1hE
b5qnaSiXkuxZyTfVzDS4Ui7OZwIOY1RJ1YlJ4fZwio+BJhpxnCiPjPLRC1VNwA4q
oMBsOfwePU92kJYQERfVfJgNkk1ixyh52k3qsoS4EIdKT+bOW52hT8zaXRNazhG3
nwyDTe00c/ibj5KM68L7R4LXef6tbnZAjegKBDNUsvWQltwE2xc1lVapnNoqtOAM
B26gWh5G8QDQxjWJESk9ik+Vyyg9We8lABV5+Hkqrugv3yECiD9ObcYE29bE/OHN
hfgzo5EX+umXzTkoHltQ0ZxAxPiWWquH3tjsy1/z/8r3BT4YBZs+PIoOCSPem6kK
aUoJiBEZ55WsBVd5NdYY7PiSwZ2KWsuE1XmqADY+USuhytPln04YNK9srdVESnCL
sBxGP0kgHKrD92O1aTLpzan3VhD1O8KzjH/8MMEWJxevQbW/gorlAjh7+iCVcH7g
YurqMjtq91YFFlZwU5YlczfhnZmR4/Efp3/O57S76HOyaMWYloj0vs2OQH3TJTm7
GLvO/b9R46mgnnlHVhxN2z1f0xTOFwpeXIjchb+jHs0SuxOVAqrIpGmsFG8Siv/V
3spQEzAzM/Enl2PgaCNlU0aus/i35FRLEmlCf7nyuwVQCbsE3d5W/fKLYeJOD9Wq
CCJOHO3iofZ0wlGnB5J7
=/qPh
-----END PGP SIGNATURE-----
</pre></div>
<p>========================================================================</p>
<h3 id="this-release">This Release</h3>
<h4 id="changelog-for-800-m9">CHANGELOG for 8.0.0-M9:</h4>
<h5 id="bug">Bug</h5>
<ul>
<li>[WICKET-6332] - NullPointerException in PageParameters#equals()</li>
<li>[WICKET-6441] - MockHttpSession and MockSessionStore don’t call onInvalidate() on invalidate()</li>
<li>[WICKET-6448] - Provide behavior that disables a button after click</li>
<li>[WICKET-6477] - Component.getDefaultModelObject() wraps in RuntimeException instead of WicketRuntimeException</li>
<li>[WICKET-6484] - Wicket.Cookie.set does not set ‘secure’ flag</li>
<li>
<table>
<tbody>
<tr>
<td>[WICKET-6489] - Exception when “identifier</td>
<td>code” javascript is not start on PrependJavaScript</td>
</tr>
</tbody>
</table>
</li>
<li>[WICKET-6491] - AjaxDownload is not working in blob mode for Microsoft browsers</li>
<li>[WICKET-6492] - javascript files are not minified in deployment mode and not united</li>
<li>[WICKET-6493] - WebSocket SessionIds are wrong (HttpSession one used instead of Websocket one) + NPE if no HttpSession is found during Handshake Request</li>
<li>[WICKET-6496] - Duplicate definition of interface JSONString</li>
<li>[WICKET-6501] - DefaultPageManagerProvider does not honour StoreSettings.setAsynchronous(false)</li>
<li>[WICKET-6506] - Performance issue when large component isn’t visible</li>
<li>[WICKET-6512] - pageId is being reset during Session::replaceSession() call</li>
<li>[WICKET-6513] - NullPointerException at PageStoreManager$SessionEntry after login</li>
<li>[WICKET-6518] - Memory leaks on quickstart restart in tomcat</li>
<li>[WICKET-6522] - ThreadLocal leak in PageStoreManager</li>
<li>[WICKET-6523] - Two AbstractAjaxTimerBehaviors on same component timeId conflict</li>
<li>[WICKET-6524] - Do not require bean validation 2.0.0</li>
<li>[WICKET-6529] - Feedback from onSubmit not rendered on stateless pages</li>
<li>[WICKET-6530] - Race-condition in session invalidation</li>
</ul>
<h5 id="new-feature">New Feature</h5>
<ul>
<li>[WICKET-6497] - unify javascript files</li>
<li>[WICKET-6498] - wicket 8 - js to asnyc and or defer</li>
</ul>
<h5 id="improvement">Improvement</h5>
<ul>
<li>[WICKET-6055] - AjaxLazyLoadPanel should provide non-blocking lazy load</li>
<li>[WICKET-6284] - Introduce lambda-enhanced factory method in ResourceReference</li>
<li>[WICKET-6499] - Support for Bean Validation 2.0</li>
<li>[WICKET-6503] - Ajax refresh and feedback panel</li>
<li>[WICKET-6504] - Use a serializable model for FileSystemResource’s path</li>
<li>[WICKET-6509] - Import junit packages as optional</li>
<li>[WICKET-6514] - FeedbackCollector(Component) should not collect session-scoped feedback messages</li>
<li>[WICKET-6517] - use Ajax for multipart instead of iframe</li>
</ul>
<h5 id="task">Task</h5>
<ul>
<li>[WICKET-6148] - Remove AjaxEventBehavior#onCheckEvent() before Wicket 8.0.0</li>
</ul>
</div>
</section>
</div>
</main>
<footer class="l-container">
<div class="l-full">
<img src="/img/asf_logo_url.svg" style="height:90px; float:left; margin-right:10px;">
<div style="margin-top:12px;">Copyright © 2020 — The Apache Software Foundation. Apache Wicket, Wicket, Apache, the Apache feather logo, and the Apache Wicket project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
</div>
</footer>
</body>
</html>