kjwt icon indicating copy to clipboard operation
kjwt copied to clipboard

Update dependencies

Open sproctor opened this issue 11 months ago • 2 comments

A lot of the dependencies were 2+ years out of date. This PR brings most of them to current versions. Arrow removed some stuff in the next release and there were some parts that I didn't understand how to migrate. Newer versions of github release seem to be broken with Kotlin scripts, or incompatible in a way that I don't understand.

I also switch from "Dependency Update" to "Refresh Versions", because it's easier for me to use and saved a lot of work in updating.

sproctor avatar Jan 01 '25 15:01 sproctor

I appreciate your PR @sproctor - how confident are you with these changes?

To be honest with you Kotlin/Arrow/Gradle was a short detour in my career and haven't used any of that stack for almost 3 years now, unfortunately I have no idea how the language has changed since 1.6 or how Arrow has evolved.

nefilim avatar Jan 02 '25 22:01 nefilim

I should probably port my code to a maintained JWT library. None of the options are amazing though.

The only change I'm not super confident about is removing the annotation from the Serializer. The compiler complained about it and said it was useless, then the tests passed after removing it, so I figured it was ok.

The rest is just updating dependencies and switching to refreshVersions.

sproctor avatar Jan 08 '25 03:01 sproctor