On Wed, Mar 31, 2021 at 1:40 PM Dmitry Gusev <dmitry.gu...@gmail.com> wrote:
> Hello, > Hello! > I'm upgrading one of our apps to latest 5.6.3 and found that this release > broke binary compatibility after tapestry-json improvements: > > https://issues.apache.org/jira/browse/TAP5-2640 > > Libraries compiled with < 5.6.2 _and_ using JSONObject class, > namely JSONObject#get(String), will fail with NoSuchMethodError at runtime. > The changes are indeed mentioned in https://tapestry.apache.org/release-notes-562.html, but I didn't know they would have binary compatibility broken. I'm sorry for that. > > Such libraries will need to be recompiled using 5.6.2+ > > Release notes for 5.6.2 miss this detail. > > On Wed, Feb 24, 2021 at 3:01 PM Thiago H. de Paula Figueiredo < > thiag...@gmail.com> wrote: > > > 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. 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-2640: better exceptions in > > tapestry-json code, plus JSONArray now implementing Collection and > > JSONObject implementing Map. > > > > Full details at https://tapestry.apache.org/release-notes-562.html. > > > > Thanks for everyone involved in this release! > > > > Happy coding! > > > > -- > > Thiago > > > > > -- > Dmitry Gusev > > AnjLab Team > http://anjlab.com > -- Thiago