Skip to content

Update io.jsonwebtoken artifacts for Java 11 compatibility#22762

Merged
tdcmeehan merged 1 commit intoprestodb:masterfrom
kiersten-stokes:update-jsonwebtoken
May 22, 2024
Merged

Update io.jsonwebtoken artifacts for Java 11 compatibility#22762
tdcmeehan merged 1 commit intoprestodb:masterfrom
kiersten-stokes:update-jsonwebtoken

Conversation

@kiersten-stokes
Copy link
Contributor

@kiersten-stokes kiersten-stokes commented May 15, 2024

Description

The previous io.jsonwebtoken.jjwt:0.9.0 is not compatible with Java 11 at runtime. For versions 10.0.0 and beyond, the jjwt api and implementation are split into separate artifacts.

Motivation and Context

This was discovered while testing #22417, which has a depedency on jjwt-api.

See also: https://github.com/jwtk/jjwt#understanding-jjwt-dependencies

Impact

Enhances Java 11 support

Test Plan

An API update necessitated the update of one of the jdbc tests to include a longer key.

Contributor checklist

  • Please make sure your submission complies with our development, formatting, commit message, and attribution guidelines.
  • PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced.
  • Documented new properties (with its default value), SQL syntax, functions, or other functionality.
  • If release notes are required, they follow the release notes guidelines.
  • Adequate tests were added if applicable.
  • CI passed.

Release Notes

Please follow release notes guidelines and fill in the release notes below.

== RELEASE NOTES ==

General Changes
* Upgrade io.jsonwebtoken artifacts to 0.11.5 :pr:`22762`

@kiersten-stokes kiersten-stokes requested a review from a team as a code owner May 15, 2024 17:20
@steveburnett
Copy link
Contributor

Nit, update the PR number placeholder 12345 in the release note entry.

== RELEASE NOTES ==

General Changes
* Upgrade io.jsonwebtoken artifacts to 0.11.5 :pr:`22762`

@tdcmeehan
Copy link
Contributor

@steveburnett this doesn't affect any user functionality, so we can omit it.

@tdcmeehan tdcmeehan merged commit de8fb66 into prestodb:master May 22, 2024
@wanglinsong wanglinsong mentioned this pull request Jun 25, 2024
36 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants