tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Tapestry > Release Notes 5.4
Date Mon, 26 Dec 2011 18:14:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/9/12/_/styles/combined.css?spaceKey=TAPESTRY&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/TAPESTRY/Release+Notes+5.4">Release
Notes 5.4</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~hlship">Howard
M. Lewis Ship</a>
    </h4>
        <br/>
                         <h4>Changes (1)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" > <br>In prior versions of Tapestry,
all instance fields of components had to be visibility private; starting with versions 5.3.2
and 5.4, this has been relaxed. Component fields may be protected, or package private (that
is, no visibility modifier). Fields that are final, or annotated with ![Retain|http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/annotations/Retain.html]
may even be public.  In any case, this makes it easier for pages to work with other pages
in the same package, and for subclasses to more easily access the fields (including parameter
fields, or injections) provided by base classes. This feature should be used with care, as
it can lead to designs that are more difficult to maintain. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">
<br>{scrollbar} <br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <style type='text/css'>/*<![CDATA[*/
table.ScrollbarTable  {border: none;padding: 3px;width: 100%;padding: 3px;margin: 0px;background-color:
#f0f0f0}
table.ScrollbarTable td.ScrollbarPrevIcon {text-align: center;width: 16px;border: none;}
table.ScrollbarTable td.ScrollbarPrevName {text-align: left;border: none;}
table.ScrollbarTable td.ScrollbarParent {text-align: center;border: none;}
table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;}
table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;}

/*]]>*/</style><div class="Scrollbar"><table class='ScrollbarTable'><tr><td
class='ScrollbarPrevIcon'><a href="/confluence/display/TAPESTRY/Release+Notes+5.3"><img
border='0' align='middle' src='/confluence/images/icons/back_16.gif' width='16' height='16'></a></td><td
width='33%' class='ScrollbarPrevName'><a href="/confluence/display/TAPESTRY/Release+Notes+5.3">Release
Notes 5.3</a>&nbsp;</td><td width='33%' class='ScrollbarParent'><sup><a
href="/confluence/display/TAPESTRY/Release+Notes"><img border='0' align='middle' src='/confluence/images/icons/up_16.gif'
width='8' height='8'></a></sup><a href="/confluence/display/TAPESTRY/Release+Notes">Release
Notes</a></td><td width='33%' class='ScrollbarNextName'>&nbsp;</td></tr></table></div>


<p>This is the consolidated list of changes between Tapestry versions 5.3 and 5.4. To
upgrade from 5.2 to 5.3, most users who are not using deprecated features will be able to
just update the Maven dependency in their POM file (or <a href="/confluence/display/TAPESTRY/Download"
title="Download">download</a> the new JAR file) and the new version will just work.
However, please read carefully below before upgrading. </p>

<h2><a name="ReleaseNotes5.4-BreakingFeatures"></a>Breaking Features</h2>

<p>Tapestry's use of the <a href="http://www.csg.is.titech.ac.jp/~chiba/javassist/"
class="external-link" rel="nofollow">Javassist</a> bytecode library has been completely
removed, along with many related services, such as <a href="http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/ioc/services/ClassFactory.html"
class="external-link" rel="nofollow">ClassFactory</a>, that were deprecated in 5.3.
Use <a href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/services/PlasticProxyFactory.html"
class="external-link" rel="nofollow">PlasticProxyFactory</a> instead.</p>

<h2><a name="ReleaseNotes5.4-NewFeatures"></a>New Features</h2>

<h3><a name="ReleaseNotes5.4-Componentfieldvisibility"></a>Component field
visibility</h3>

<p>In prior versions of Tapestry, all instance fields of components had to be visibility
private; starting with versions 5.3.2 and 5.4, this has been relaxed. Component fields may
be protected, or package private (that is, no visibility modifier). Fields that are final,
or annotated with !<a href="http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/annotations/Retain.html"
class="external-link" rel="nofollow">Retain</a> may even be public.  In any case,
this makes it easier for pages to work with other pages in the same package, and for subclasses
to more easily access the fields (including parameter fields, or injections) provided by base
classes. This feature should be used with care, as it can lead to designs that are more difficult
to maintain.</p>

<style type='text/css'>/*<![CDATA[*/
table.ScrollbarTable  {border: none;padding: 3px;width: 100%;padding: 3px;margin: 0px;background-color:
#f0f0f0}
table.ScrollbarTable td.ScrollbarPrevIcon {text-align: center;width: 16px;border: none;}
table.ScrollbarTable td.ScrollbarPrevName {text-align: left;border: none;}
table.ScrollbarTable td.ScrollbarParent {text-align: center;border: none;}
table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;}
table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;}

/*]]>*/</style><div class="Scrollbar"><table class='ScrollbarTable'><tr><td
class='ScrollbarPrevIcon'><a href="/confluence/display/TAPESTRY/Release+Notes+5.3"><img
border='0' align='middle' src='/confluence/images/icons/back_16.gif' width='16' height='16'></a></td><td
width='33%' class='ScrollbarPrevName'><a href="/confluence/display/TAPESTRY/Release+Notes+5.3">Release
Notes 5.3</a>&nbsp;</td><td width='33%' class='ScrollbarParent'><sup><a
href="/confluence/display/TAPESTRY/Release+Notes"><img border='0' align='middle' src='/confluence/images/icons/up_16.gif'
width='8' height='8'></a></sup><a href="/confluence/display/TAPESTRY/Release+Notes">Release
Notes</a></td><td width='33%' class='ScrollbarNextName'>&nbsp;</td></tr></table></div>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/TAPESTRY/Release+Notes+5.4">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=27834361&revisedVersion=2&originalVersion=1">View
Changes</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message