Skip to content

Releases: httpswift/swifter

1.5.0

26 Sep 17:57
9483a5d
Compare
Choose a tag to compare

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

1.5.0-rc.1

17 Sep 15:19
Compare
Choose a tag to compare
1.5.0-rc.1 Pre-release
Pre-release

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

1.4.7

10 Jun 14:24
8b5afb4
Compare
Choose a tag to compare

Added

  • A new CHANGELOG.md to keep track of changes in the project. (#385) by @Vkt0r
  • Added Danger and Swiftlint to the project. (#398) by @Vkt0r
  • Added the following to Scopes: manifest, ontouchstart, dataText. (#410) by @apocolipse
  • Added htmlBody(String) to HttpResonse as a compability case for the changed html(String) case. (#410) by @apocolipse

Fixed

  • An issue causing a crash regarding a thread race condition. (#399) by @Vkt0r

  • An issue in the HttpRouter causing issues to handle routes with overlapping in the tail. (#379, #382) by @Vkt0r

  • Fixes build errors by excluding XC(UI)Test files from regular targets. (#397) by @ChristianSteffens

  • Fixes HttpRequest.path value to be parsed without query parameters. (#404) by @mazyod

  • Fixes the issue of missing Content-Length header item when shareFilesFromDirectory is being used to share files. (#406) by @nichbar

Changed

  • Performance: Batch reads of websocket payloads rather than reading byte-by-byte. (#387) by @lynaghk
  • Podspec source_files updated to match source file directory changes. (#400) by @welsonpan
  • Refactor: Use Foundation API for Base64 encoding. (#403) by @mazyod
  • Refactor: Use URLComponents for HttpRequest path and query parameters parsing #404) by @mazyod
  • HttpResponse functions statusCode() and reasonPhrase changed to computed variables instead of functions, and made public (No impact on existing usage as it was previously internal). (#410) by @apocolipse
  • Adjusted the associated type of enum case HttpResponseBody.json from AnyObject to Any to allow Swift dictionaries/arrays without converting to their Objective-C counterparts. (#393) by @edwinveger
  • HttpResponse: html requires now a complete html-string, not only the body-part.
  • Include the CHANGELOG.md and README.md in the Xcode-Project for easy access / changes.

Removed

1.4.3

26 Sep 14:59
Compare
Choose a tag to compare
Change version to 1.4.3

1.4.2: Merge pull request #317 from oliveroneill/server-start-bug

05 Jul 23:29
b332956
Compare
Choose a tag to compare