Percent encode, URLEncodedForm using FoundationEssentials#639
Percent encode, URLEncodedForm using FoundationEssentials#639adam-fowler merged 10 commits intomainfrom
Conversation
214bfe9 to
15e32b0
Compare
|
Assuming this doesn't break older Apple OS'es, LGTM |
|
I've removed the breaking change, because I think it needs more discussion |
|
@adam-fowler I think the breaking change issue could be resolved by introducing a new conditional compilation flag. So if people depend on this package and use |
We have discussed used the SwiftPM traits support coming in Swift 6.1 for these kind of things |
removingURLPercentEncodingfrom FoundationEssentialsaddingPercentEncodingAnd...
URLEncodedFormDecoder.DateDecodingStrategy.formattedand equivalentURLEncodedFormEncoderversion. This usesDateFormattera pre swift 6.0 type. We cannot remove our dependency on Foundation without removing this. In theory we could add aHummingbirdFoundationCompatto include this in as it can be implemented with.customin a similar way to how JSONEncoder does it.