Tapestry 5.3.8 is a drop-in replacement for prior Tapestry 5.3 releases. To upgrade, just update the dependency in your build configuration (Maven POM, Gradle build script, etc.) – or Download the new JAR file -- and the new version will just work. However, please review the How to Upgrade instructions before upgrading.
This is a bug fix release, mainly meant to address compatibility with Java 8. The ASM library is updated to a Java 8 compatible version (5.0), however, if you wish to run this release on JRE 8, you still need to manually specify a Java 8 compatible version of javassist (such as 3.18.2-GA). With Maven you'd include:
Code Block |
---|
language | xml |
---|
title | pom.xml (partial) |
---|
|
<dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>3.18.2-GA</version>
</dependency> |
Javassist has changed their group coordinates (from javassist to org.javassist), which further complicates the situation. You'll also have to manually exclude javassist:javassist dependency (if your dependencies are resolved automatically). With Maven, you'd add:
Code Block |
---|
language | xml |
---|
title | pom.xml (partial) |
---|
|
<exclusions>
<exclusion>
<artifactId>javassist</artifactId>
<groupId>javassist</groupId>
</exclusion>
</exclusions> |
where needed.
As with any Tapestry upgrade, be sure to change your application's version number.
HTML |
---|
HTML |
---|
Release Notes - Tapestry 5 - Version 5.3.8
<h2> BugBugs fixed
</h2>
<ul>
<li>[<a href='https://issues.apache.org/jira/browse/TAP5-311'>TAP5-311</a>] - NPE in BeanDisplay if used in a form with a default model
</li>
<li>[<a href='https://issues.apache.org/jira/browse/TAP5-983'>TAP5-983</a>] - CLONE -NPE in BeanDisplay if used in a form with a default model
</li>
<li>[<a href='https://issues.apache.org/jira/browse/TAP5-1865'>TAP5-1865</a>] - Chinese valication message issue
</li>
<li>[<a href='https://issues.apache.org/jira/browse/TAP5-2270'>TAP5-2270</a>] - BeanDisplay exception when used inside a Form
</li>
<li>[<a href='https://issues.apache.org/jira/browse/TAP5-2298'>TAP5-2298</a>] - "Any" component lacks any useful documentation
</li>
<li>[<a href='https://issues.apache.org/jira/browse/TAP5-2321'>TAP5-2321</a>] - Tapestry 5.3.7 does not run with Java 8
</li>
</ul>
<h2> Dependency upgrade
</h2>
<ul>
<li>[<a href='https://issues.apache.org/jira/browse/TAP5-2295'>TAP5-2295</a>] - Vulnerability in Tapestry-upload module due to commons-file-upload
</li>
</ul>
<h2> Improvements Improvementmade
</h2>
<ul>
<li>[<a href='https://issues.apache.org/jira/browse/TAP5-1718'>TAP5-1718</a>] - Tapestry-beanvalidator isn't validating nested DTO objects / Doesn't mark the invalid fields in the UI
</li>
<li>[<a href='https://issues.apache.org/jira/browse/TAP5-2157'>TAP5-2157</a>] - Czech translations
</li>
</ul>
<h2> New Features Featureadded
</h2>
<ul>
<li>[<a href='https://issues.apache.org/jira/browse/TAP5-2305'>TAP5-2305</a>] - Create a @Sortable annotation for properties
</li>
</ul>
|