{scrollbar} |
This is the consolidated list of changes between Tapestry versions 5.1 and 5.2. To upgrade from 5.1 to 5.2, most users will be able to just update the Maven dependency in their POM file (or download the new JAR file) and the new version will just work. However, please read carefully below before upgrading, and also review theĀ How to Upgrade instructions.
Contents
The following changes have been made in Tapestry 5.2 that are likely to result in unexpected behavior if your application relies on the changed functionality. Please review this list carefully before upgrading from 5.1 to 5.2. Also check the Deprecated API List for non-breaking changes.
private final DateFormat format = DateFormat.getDateInstance(DateFormat.MEDIUM, locale);
in a page and using it will cause problems because DateFormat is not thread safe. Instead, you must create the DateFormat in a method. See Release Notes: Tapestry 5.2.0 (below) for details.Previously valid code in 5.1.0.5:
<t:form><t:label for="search"/><t:textfield t:id="search" size="50"/></t:form> |
Combined with JavaScript that references the id:
jQuery('#search-label').text('This is the search label'); |
New JavaScript code for 5.2:
jQuery('label[for=search]').text('This is the search label'); |
{scrollbar} |