swifter v1.5.0 Release Notes

Release Date: 2020-09-26 // over 3 years ago
  • โž• Added

    • โž• Add two new cases to the responses (notAcceptable, tooManyRequests). (#437) by @KKuzmichev

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix an issue causing a crash when the Content-Lenght was negative. (#457) by @Vkt0r

    ๐Ÿ”„ Changed

    • ๐Ÿ›  Fix SUPPORTED_PLATFORMS for tvOS. This helps Carthage to build only the specified platform when the option --platform is used. (#464) by @jasminlapalme

Previous changes from v1.5.0-rc.1

  • โœ‚ Removed

    • ๐Ÿ‘Œ Support for the iOS 8 deployment target. (#462) by @Vkt0r

    โž• Added

    • โž• Add the trailing_whitespace rule in Swiftlint and autocorrect all the source files. (#421) by @Vkt0r
    • โšก๏ธ Update the project for Xcode 11.1. (#438) by @Vkt0r
    • โž• Add optional 'Content-Type' to Data HttpResponse. (#450) by @SoftwareEngineerChris
    • ๐Ÿ‘Œ Support Xcode 12 and Swift 5+. (#462) by @Vkt0r

    ๐Ÿ”„ Changed

    • Turn HttpServer and HttpServerIO into open classes to allow for more customization. (#443) by @cobbal
    • Set the version of the HTTP Server based in the project version in the Info.plist for macOS, iOS and tvOS platforms. (#416) by @Vkt0r
    • โšก๏ธ Update HttpParser so it percent-encodes the URL components before initializing URLComponents. (#423) by @nejcvivod
    • โšก๏ธ Update SwifterTestsHttpParser with a test for parsing bracketed query strings. (#423) by @nejcvivod
    • ๐Ÿ‘‰ Use swift_version CocoaPods DSL. (#425) by @dnkoutso
    • ๐Ÿ›  Fix compiler warnings in Socket+File.swift for iOS, tvOS, and Linux platforms by using withUnsafeBytes rather than & to get a scoped UnsafeRawPointer (#445) by @kbongort.
    • ๐Ÿ›  Fix tests on linux by importing FoundationNetworking for NSURLSession APIs. (#446) by @kbongort
    • Replace CircleCI for continuous integration in favor of Github Actions. (#446) by @Vkt0r