Closed CodeDead closed 1 year ago
this JsonMapper
builder pattern usage (instead of the deprecated configure
method) breaks anyone using jackson prior to 2.13 :(
this
JsonMapper
builder pattern usage (instead of the deprecatedconfigure
method) breaks anyone using jackson prior to 2.10 :(
Any reason to continue using 4+ year old dependencies? Why not upgrade?
enterprise software :D
enterprise software :D
In that case, why not use an older version of java-jwt as well? Why upgrade one but not the other dependencies?
Can't really expect current and up-to-date software not to keep up with the times. But, fortunately, the older versions of java-jwt are still available on mavenCentral.
that's what i'm doing, but this seems like a fairly aggressive upgrade, understanding that the mapper.configure
method was only actually deprecated as of jackson 2.13
that's what i'm doing, but this seems like a fairly aggressive upgrade, understanding that the
mapper.configure
method was only actually deprecated as of jackson 2.13
Jackson 2.13 is 2 years old and even the JDK release schedule is on a 6 month basis. Spring updates and deprecates and removes methods with almost every release, which also happens every 6 months.
Not really sure why this would be considered fairly aggressive or even problematic since you can continue to use older versions of the library until you upgrade the required dependencies.
Other tools, frameworks and libraries are much more maintenance heavy when compared to java-jwt, including the JDK itself.
Waiting 1 or 2 years to replace a deprecated method is fairly acceptable in my opinion for a library that is updated on a continuous basis (https://github.com/auth0/java-jwt/pull/657)
Changes
JsonMapper
methodsinstanceof
(because if the value is null, it will returnfalse
in theinstanceof
check)References
None.
Testing
Checklist