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.3.0
Date Tue, 19 Apr 2011 20:13: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.3.0">Release
Notes 5.3.0</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>Some number of interfaces
and APIs in Tapestry 5.3 will be removed in Tapestry 5.4 or later. These include: <br></td></tr>
            <tr><td class="diff-changed-lines" >* The &quot;suppress redirects&quot;
functionality, which allows component event requests to <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">response</span>
<span class="diff-added-words"style="background-color: #dfd;">respond</span> directly
with HTML, as in Tapestry 4 <br></td></tr>
            <tr><td class="diff-unchanged" >* The RenderSupport environmental
(replaced with the JavaScriptSupport environmental) <br>* ClassFactory service and ClassFab
interface (replaced with the PlasticProxyFactory service and PlasticClass interface) <br></td></tr>
            <tr><td class="diff-snipped" >...<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.2.5"><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.2.5">Release
Notes 5.2.5</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>

<h5><a name="ReleaseNotes5.3.0-Renderingcommments"></a>Rendering commments</h5>

<p>It is now possible to have Tapestry emit rendering comments; these are comments (such
as <tt>&lt;!&#45;&#45;BEGIN Index:loop (context:Index.tml, line 15)&#45;&#45;&gt;</tt>)
that can assist you in debugging markup output on the client-side. This is enabled for all
requests using the configuration symbol <tt>tapestry.component-render-tracing-enabled</tt>,
and can be added to any request by adding the query parameter <tt>t:component-trace=true</tt>
to the URL. This will significantly increase the size of the rendered markup, but can be very
helpful with complex layouts to determine which component was responsible for which portion
of the rendered page.</p>

<h5><a name="ReleaseNotes5.3.0-Adaptableservicecontributions"></a>Adaptable
service contributions</h5>

<p>When making contributions to a service, you are no longer restricted to contributing
a value that is assignable to the type associated with the configuration; objects of any type
may be contributed, and the TypeCoercer service is used to coerce the value to the configuration's
type.</p>

<h5><a name="ReleaseNotes5.3.0-Componentdebuggingimprovements"></a>Component
debugging improvements</h5>

<p>Because of how Tapestry instruments your pages and components, it has been difficult
to debug Tapestry applications; any mutable field shows its default value in the debugger,
regardless of what has been written to the field or read out of it. In Tapestry 5.3, when
in <em>development mode</em>, Tapestry now shadows values read from or written
to such fields into the fields themselves (this has also been fixed in the 5.2.5 maintenance
release). This does not occur in production, to avoid potential memory leaks.</p>

<h5><a name="ReleaseNotes5.3.0-Reloadingdisabledinproduction"></a>Reloading
disabled in production</h5>

<p>Tapestry no longer checks for changes to Tapestry component class files, templates,
or message catalogs in production mode. It is assumed that Tapestry applications are packaged
as WAR files in production, and that changing the WAR file causes the servlet container to
redeploy the entire application. This change is to improve throughput and reduce memory consumption
in production applications.</p>

<h5><a name="ReleaseNotes5.3.0-StringtoEnumcoercions"></a>String-to-Enum
coercions</h5>

<p>The TypeCoercer service now automatically generates String-to-Enum coercions without
requiring a specific contribution. This coercion is case insensitive. A contribution is still
allowed, and will take priority over the default coercion, but is only necessary to support
"aliases" for enum values outside those defined by the enum type itself.</p>

<h5><a name="ReleaseNotes5.3.0-JavaScriptandCSSminimization"></a>JavaScript
and CSS minimization</h5>

<p>A new optional library, tapestry-yuicompressor, has been added. This library adds
support for compressing JavaScript libraries and CSS files using <a href="http://developer.yahoo.com/yui/compressor/"
class="external-link" rel="nofollow">the YUICompressor library</a> </p>

<h5><a name="ReleaseNotes5.3.0-Deprecations"></a>Deprecations</h5>

<p>Some number of interfaces and APIs in Tapestry 5.3 will be removed in Tapestry 5.4
or later. These include:</p>
<ul>
	<li>The "suppress redirects" functionality, which allows component event requests to
respond directly with HTML, as in Tapestry 4</li>
	<li>The RenderSupport environmental (replaced with the JavaScriptSupport environmental)</li>
	<li>ClassFactory service and ClassFab interface (replaced with the PlasticProxyFactory
service and PlasticClass interface)</li>
</ul>



<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.2.5"><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.2.5">Release
Notes 5.2.5</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.3.0">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=24190989&revisedVersion=8&originalVersion=7">View
Changes</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message