Tapestry 5.6.2 is a drop-in replacement for Tapestry 5.4, 5.5 and 5.6 releases. It's a recommended upgrade for 5.6.1 and 5.6.0 but be aware of the warning below. 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.
The most interesting improvement is - TAP5-2640Getting issue details... STATUS : better exceptions in tapestry-json code, plus JSONArray now implementing Collection and JSONObject implementing Map.
The tapestry-json improvements (TAP5-2640) introduced an incompatibility with dependencies built with earlier versions than Tapestry 5.6.2.
The method JSONObject#get(String)
will fail with a NoSuchMethodError
exception due to a signature change to conform to the Map
interface.
Possible workarounds:
- Use a newer version of the dependency build with at least Tapestry 5.6.2
- Shade the dependency and update it manually
- Fork the dependency and update it manually
Improvements made
Bugs fixed