jwt-kit icon indicating copy to clipboard operation
jwt-kit copied to clipboard

Drop support for Swift 5

Open 0xTim opened this issue 1 year ago • 4 comments

JWTKit v5 should only support Swift 6

0xTim avatar Sep 16 '24 15:09 0xTim

Why?

adam-fowler avatar Sep 16 '24 17:09 adam-fowler

I don't see the benefit of going Swift 6+. It would definitely be painful for many of my current clients.

Joannis avatar Sep 16 '24 17:09 Joannis

It's causing issues trying to write some that produces no warnings/errors in both language versions. Higher up the list is we're going to move to Swift Testing which pretty much necessitates the need for Swift 6

0xTim avatar Sep 16 '24 21:09 0xTim

Last time I checked jwt-kit compiles in both 5.10 and 6.0 mode without issue.

adam-fowler avatar Sep 17 '24 09:09 adam-fowler

Ah this is unfortunate. We're still stuck on an older swift toolchain and therefore can't use v5 of this package now anymore. We were hoping to get around issues we were having with v4. The betas were working very well before.

JaapWijnen avatar Oct 22 '24 22:10 JaapWijnen

This was mainly necessitated by the move to Swift Testing unfotunately

0xTim avatar Oct 24 '24 13:10 0xTim