Skip to content

Having trouble upgrading from an old version of jjwt #955

Closed Answered by lhazlewood
landryraccoon asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @landryraccoon!

There isn't a formal dedicated guide per se, but there is an extensive list of changes in the 0.12.0 https://github.com/jwtk/jjwt/blob/0.12.6/CHANGELOG.md#0120 following through to 0.12.6 that was written in a way meant to guide people going through an upgrade.

Also, most developers have the IDE tell them when a deprecated method is used, e.g. the method is often highlighted as a warning:

or when authoring:

Upon encountering such a method, we always indicate in JavaDoc what the alternative is. For example, seeing that setSigningKey has a line through it and is therefore deprecated, that method's JavaDoc says:

* @deprecated since 0.12.0 in favor of {@link #verifyWith(S…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@bdemers
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by lhazlewood
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants