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
- Add two new cases to the responses (
notAcceptable
,tooManyRequests
). (#437) by @KKuzmichev
- Fix
SUPPORTED_PLATFORMS
for tvOS. This helps Carthage to build only the specified platform when the option--platform
is used. (#464) by @jasminlapalme
- 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
- Turn
HttpServer
andHttpServerIO
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 initializingURLComponents
. (#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
- 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)
toHttpResonse
as a compability case for the changedhtml(String)
case.
-
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 whenshareFilesFromDirectory
is being used to share files #406 by @nichbar
- 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
forHttpRequest
path and query parameters parsing #404) by @mazyod HttpResponse
functionsstatusCode()
andreasonPhrase
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
fromAnyObject
toAny
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
andREADME.md
in the Xcode-Project for easy access / changes.
- 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