Skip to content

update to jwt-kit v5beta#53

Open
JaapWijnen wants to merge 2 commits intovapor-community:mainfrom
JaapWijnen:update-jwt-kit-version
Open

update to jwt-kit v5beta#53
JaapWijnen wants to merge 2 commits intovapor-community:mainfrom
JaapWijnen:update-jwt-kit-version

Conversation

@JaapWijnen
Copy link
Copy Markdown

@JaapWijnen JaapWijnen commented Mar 14, 2024

This updates google-cloud-kit to use the new v5 version of jwt-kit. Currently a beta tag.
The new release contains some API improvements and no longer vendors BoringSSL!

@JaapWijnen
Copy link
Copy Markdown
Author

cc @nathanfallet

@Joannis Joannis requested a review from nathanfallet March 14, 2024 11:45
@nathanfallet
Copy link
Copy Markdown
Member

Is the signature change a breaking change?

@owainhunt
Copy link
Copy Markdown

The move to v5 is breaking, as some other libraries rely on v4 and haven't been updated - we wouldn't be able to update without effort. Should there be a google-cloud-kit v1 that uses jwt-kit v4, and a v2 that uses v5?

@0xTim
Copy link
Copy Markdown
Member

0xTim commented Apr 19, 2024

The signature change is most definitely breaking. Judging that the package is already in an RC state, it makes sense to tag a 1.0 that uses v4 and then a v2 that uses v5 as @owainhunt says (and also take the opportunity to migrate it to Swift Concurrency)

@nathanfallet
Copy link
Copy Markdown
Member

I'll have a look on that, that's a great idea, I'll make the tags and everything.
For Swift concurrency there is an ongoing PR #44, it might not be available right now

@JaapWijnen
Copy link
Copy Markdown
Author

@nathanfallet let me know if you need this updated :) Or if there's other plans first

@0xTim
Copy link
Copy Markdown
Member

0xTim commented Jun 19, 2024

I would say it's probably worth keeping this open to track the JWTKit changes until a stable release is tagged

@Sherlouk
Copy link
Copy Markdown

Understand the desire as above to wait until a stable release is tagged before moving this forward, though was curious if this branch, as is, works for others? Adding it to my project gets a compiler error on this payload.

@0xTim
Copy link
Copy Markdown
Member

0xTim commented Jul 15, 2024

We're planning to tag the release this week and the API should be stable now so worth updating ready for that

@JaapWijnen
Copy link
Copy Markdown
Author

@0xTim I see there was an RC tag in august. Can we cut a v2 branch for google-cloud-kit to then adopt jwt-kit v5? Or what would you like to see here ideally?

@JaapWijnen JaapWijnen force-pushed the update-jwt-kit-version branch from a28b4e9 to e8cdcf3 Compare October 22, 2024 22:26
@0xTim
Copy link
Copy Markdown
Member

0xTim commented Oct 22, 2024

@JaapWijnen If you want to do it under a major version then yep that's the way to go

@JaapWijnen JaapWijnen force-pushed the update-jwt-kit-version branch from e8cdcf3 to 93b8d7a Compare November 8, 2024 11:37
@Sherlouk
Copy link
Copy Markdown

Hey folks, any plans to move forward with this PR? 🙂

@0xTim
Copy link
Copy Markdown
Member

0xTim commented Dec 20, 2024

Just updated it to compile, tests pass locally.

I'll let people merge and tag this when ready

@owainhunt
Copy link
Copy Markdown

@nathanfallet @Andrewangeta is this waiting on anything before it can be merged/tagged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants