Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to jwt-kit v5beta #53

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JaapWijnen
Copy link

@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
Author

cc @nathanfallet

@nathanfallet
Copy link
Member

Is the signature change a breaking change?

@owainhunt
Copy link

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
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
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
Author

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

@0xTim
Copy link
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

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
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
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?

@0xTim
Copy link
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

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