Skip to content

Latest commit

 

History

History
85 lines (68 loc) · 7.25 KB

CHANGELOG.md

File metadata and controls

85 lines (68 loc) · 7.25 KB

Changelog

All notable changes to this project will be documented in this file. Changes notes typically follow this pattern:

Fixed

  • Something was fixed. (#pr-number) by @pr-author

Changed

  • Something was changed. (#pr-number) by @pr-author

Added

  • Something was added. (#pr-number) by @pr-author

Removed

  • Something was removed. (#pr-number) by @pr-author

Deprecated

  • Something was deprecated. (#pr-number) by @pr-author

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

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

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.

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

Added

  • The .movedTemporarily case (HTTP 307) to possibles HTTP responses. (#352) by @csch
  • An example to the README for "How to load HTML by string?". (#352) by @IvanovDeveloper
  • CircleCI for Continous Integration in the project. (#364) by @Vkt0r
  • Support for the Swift 5. (#370) by @alanzeino

Changed

  • The syntax to support Swift 3 and Swift 4. (#347) by @fandyfyf
  • Set to NO the ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES in the tvOS target to avoid App Store checks due to the Frameworks directory. (#361) by @Vkt0r
  • The process of reading of request body and headers. (#362) by @adamkaplan

Fixed

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