From 082a2071fe5dd96675ba9fdf5d3278a1646e4c04 Mon Sep 17 00:00:00 2001
From: Danny Sung
Date: Wed, 1 Sep 2021 15:25:41 -0700
Subject: [PATCH] Update dependency versions and CI for consistency with other
repos and Swift 4.x removal (#252)
* Update dependency versions and CI for consistency with other repos and Swift 4.x removal
* Travis: Remove SWIFT_SNAPSHOT from macOS build
---
.jazzy.yaml | 2 -
.travis.yml | 19 +-
Package.swift | 4 +-
docs/Classes.html | 121 ++++-----
docs/Classes/BufferList.html | 34 +--
docs/Classes/ClientRequest.html | 50 ++--
docs/Classes/ClientRequest/Options.html | 32 +--
docs/Classes/ClientResponse.html | 22 +-
docs/Classes/FastCGI.html | 16 +-
docs/Classes/FastCGIServer.html | 38 +--
docs/Classes/FastCGIServerRequest.html | 32 +--
.../FastCGIParserErrorType.html | 14 +-
docs/Classes/FastCGIServerResponse.html | 22 +-
docs/Classes/HTTP.html | 22 +-
docs/Classes/HTTPServer.html | 131 +++++++---
docs/Classes/HTTPServerRequest.html | 18 +-
docs/Classes/HTTPServerResponse.html | 20 +-
docs/Classes/HeadersContainer.html | 29 +--
docs/Classes/ListenerGroup.html | 16 +-
docs/Classes/SPIUtils.html | 18 +-
docs/Classes/URLParser.html | 16 +-
docs/Enums.html | 29 +--
docs/Enums/HTTPStatusCode.html | 22 +-
docs/Enums/HTTPStatusCode/Class.html | 14 +-
docs/Enums/KeepAliveState.html | 16 +-
docs/Enums/ServerState.html | 14 +-
docs/Protocols.html | 33 +--
docs/Protocols/ProtocolHandlerFactory.html | 22 +-
docs/Protocols/Server.html | 36 +--
docs/Protocols/ServerDelegate.html | 16 +-
docs/Protocols/ServerMonitor.html | 18 +-
docs/Protocols/ServerRequest.html | 18 +-
docs/Protocols/ServerResponse.html | 20 +-
docs/Structs.html | 54 ++++-
docs/Structs/ConnectionUpgrader.html | 16 +-
docs/Structs/HTTPServerError.html | 229 ++++++++++++++++++
docs/Structs/Monitor.html | 14 +-
docs/Structs/ServerOptions.html | 16 +-
docs/badge.svg | 4 +-
docs/css/jazzy.css | 40 ++-
.../Contents/Resources/Documents/Classes.html | 121 ++++-----
.../Documents/Classes/BufferList.html | 34 +--
.../Documents/Classes/ClientRequest.html | 50 ++--
.../Classes/ClientRequest/Options.html | 32 +--
.../Documents/Classes/ClientResponse.html | 22 +-
.../Resources/Documents/Classes/FastCGI.html | 16 +-
.../Documents/Classes/FastCGIServer.html | 38 +--
.../Classes/FastCGIServerRequest.html | 32 +--
.../FastCGIParserErrorType.html | 14 +-
.../Classes/FastCGIServerResponse.html | 22 +-
.../Resources/Documents/Classes/HTTP.html | 22 +-
.../Documents/Classes/HTTPServer.html | 131 +++++++---
.../Documents/Classes/HTTPServerRequest.html | 18 +-
.../Documents/Classes/HTTPServerResponse.html | 20 +-
.../Documents/Classes/HeadersContainer.html | 29 +--
.../Documents/Classes/ListenerGroup.html | 16 +-
.../Resources/Documents/Classes/SPIUtils.html | 18 +-
.../Documents/Classes/URLParser.html | 16 +-
.../Contents/Resources/Documents/Enums.html | 29 +--
.../Documents/Enums/HTTPStatusCode.html | 22 +-
.../Documents/Enums/HTTPStatusCode/Class.html | 14 +-
.../Documents/Enums/KeepAliveState.html | 16 +-
.../Documents/Enums/ServerState.html | 14 +-
.../Resources/Documents/Protocols.html | 33 +--
.../Protocols/ProtocolHandlerFactory.html | 22 +-
.../Resources/Documents/Protocols/Server.html | 36 +--
.../Documents/Protocols/ServerDelegate.html | 16 +-
.../Documents/Protocols/ServerMonitor.html | 18 +-
.../Documents/Protocols/ServerRequest.html | 18 +-
.../Documents/Protocols/ServerResponse.html | 20 +-
.../Contents/Resources/Documents/Structs.html | 54 ++++-
.../Documents/Structs/ConnectionUpgrader.html | 16 +-
.../Documents/Structs/HTTPServerError.html | 229 ++++++++++++++++++
.../Resources/Documents/Structs/Monitor.html | 14 +-
.../Documents/Structs/ServerOptions.html | 16 +-
.../Resources/Documents/css/jazzy.css | 40 ++-
.../Contents/Resources/Documents/index.html | 31 +--
.../Contents/Resources/Documents/js/jazzy.js | 59 ++++-
.../Resources/Documents/js/jquery.min.js | 4 +-
.../Resources/Documents/js/lunr.min.js | 7 +-
.../Documents/js/typeahead.jquery.js | 48 ++--
.../Contents/Resources/Documents/search.json | 2 +-
.../Contents/Resources/docSet.dsidx | Bin 90112 -> 90112 bytes
docs/docsets/KituraNet.tgz | Bin 149584 -> 152883 bytes
docs/index.html | 31 +--
docs/js/jazzy.js | 59 ++++-
docs/js/jquery.min.js | 4 +-
docs/js/lunr.min.js | 7 +-
docs/js/typeahead.jquery.js | 48 ++--
docs/search.json | 2 +-
docs/undocumented.json | 48 ++--
91 files changed, 1980 insertions(+), 955 deletions(-)
create mode 100644 docs/Structs/HTTPServerError.html
create mode 100644 docs/docsets/KituraNet.docset/Contents/Resources/Documents/Structs/HTTPServerError.html
mode change 100755 => 100644 docs/docsets/KituraNet.docset/Contents/Resources/Documents/js/jquery.min.js
mode change 100755 => 100644 docs/js/jquery.min.js
diff --git a/.jazzy.yaml b/.jazzy.yaml
index 3aa4fd44..e5388fcc 100644
--- a/.jazzy.yaml
+++ b/.jazzy.yaml
@@ -10,5 +10,3 @@ readme: README.md
skip_undocumented: false
hide_documentation_coverage: false
-
-xcodebuild_arguments: [-project, Kitura-NIO.xcodeproj, -target, KituraNet, LIBRARY_SEARCH_PATHS=.build/debug]
diff --git a/.travis.yml b/.travis.yml
index b3c00740..6fab7ee1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,35 +20,30 @@ matrix:
dist: xenial
sudo: required
services: docker
- env: DOCKER_IMAGE=docker.kitura.net/kitura/swift-ci:5.1 DOCKER_PRIVILEGED=true SWIFT_TEST_ARGS="--parallel --sanitize=thread" CUSTOM_TEST_SCRIPT=.kitura-test.sh
+ env: DOCKER_IMAGE=docker.kitura.net/kitura/swift-ci-ubuntu16.04:5.1.5 DOCKER_PRIVILEGED=true SWIFT_TEST_ARGS="--parallel --sanitize=thread" CUSTOM_TEST_SCRIPT=.kitura-test.sh
- os: linux
dist: xenial
sudo: required
services: docker
- env: DOCKER_IMAGE=docker.kitura.net/kitura/swift-ci:5.3.3 DOCKER_PRIVILEGED=true SWIFT_TEST_ARGS="--parallel --sanitize=thread" CUSTOM_TEST_SCRIPT=.kitura-test.sh
+ env: DOCKER_IMAGE=docker.kitura.net/kitura/swift-ci-ubuntu18.04:5.4 DOCKER_PRIVILEGED=true SWIFT_TEST_ARGS="--parallel --sanitize=thread" CUSTOM_TEST_SCRIPT=.kitura-test.sh
- os: linux
dist: xenial
sudo: required
services: docker
- env: DOCKER_IMAGE=swift:5.1 SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT DOCKER_PRIVILEGED=true SWIFT_TEST_ARGS="--parallel --sanitize=thread"
+ env: DOCKER_IMAGE=docker.kitura.net/kitura/swift-ci-ubuntu18.04:latest USE_SWIFT_DEVELOPMENT_SNAPSHOT=1 DOCKER_PRIVILEGED=true SWIFT_TEST_ARGS="--parallel --sanitize=thread"
- # Removing support due to issue compiling swift-nio-ssl
- # - os: osx
- # osx_image: xcode10.3
- # sudo: required
- # env: SWIFT_SNAPSHOT=5.0.1 JAZZY_ELIGIBLE=true SWIFT_TEST_ARGS="--parallel"
- os: osx
osx_image: xcode11.3
sudo: required
- env: SWIFT_SNAPSHOT=5.1.3 JAZZY_ELIGIBLE=true SWIFT_TEST_ARGS="--parallel --sanitize=thread"
+ env: JAZZY_ELIGIBLE=true SWIFT_TEST_ARGS="--parallel --sanitize=thread"
- os: osx
osx_image: xcode12.2
sudo: required
- env: SWIFT_SNAPSHOT=5.3.1 SWIFT_TEST_ARGS="--parallel --sanitize=thread"
+ env: SWIFT_TEST_ARGS="--parallel --sanitize=thread"
- os: osx
- osx_image: xcode11.6
+ osx_image: xcode12.5
sudo: required
- env: SWIFT_SNAPSHOT=$SWIFT_DEVELOPMENT_SNAPSHOT SWIFT_TEST_ARGS="--parallel --sanitize=thread" CUSTOM_TEST_SCRIPT=.kitura-test.sh
+ env: USE_SWIFT_DEVELOPMENT_SNAPSHOT=1 SWIFT_TEST_ARGS="--parallel --sanitize=thread" CUSTOM_TEST_SCRIPT=.kitura-test.sh
before_install:
diff --git a/Package.swift b/Package.swift
index 5114ae72..1da1be5d 100644
--- a/Package.swift
+++ b/Package.swift
@@ -30,8 +30,8 @@ let package = Package(
.package(url: "https://github.com/apple/swift-nio.git", from: "2.8.0"),
.package(url: "https://github.com/apple/swift-nio-ssl.git", from: "2.0.0"),
.package(url: "https://github.com/apple/swift-nio-extras.git", from: "1.0.0"),
- .package(url: "https://github.com/Kitura/BlueSSLService.git", from: "1.0.200"),
- .package(url: "https://github.com/Kitura/LoggerAPI.git", from: "1.9.200")
+ .package(url: "https://github.com/Kitura/BlueSSLService.git", from: "2.0.0"),
+ .package(url: "https://github.com/Kitura/LoggerAPI.git", from: "2.0.0")
],
targets: [
.target(
diff --git a/docs/Classes.html b/docs/Classes.html
index a06afa4e..e8c5a8af 100644
--- a/docs/Classes.html
+++ b/docs/Classes.html
@@ -23,7 +23,7 @@
- (95% documented)
+ (94% documented)
ConnectionUpgrader
+
+ HTTPServerError
+
Monitor
@@ -165,7 +168,7 @@
-
+
Classes
The following classes are available globally.
@@ -176,11 +179,13 @@
Classes
-
@@ -250,9 +255,11 @@
Declaration
-
@@ -294,10 +301,6 @@
Declaration
-
-
-
-
-
-
@@ -344,7 +343,7 @@ Declaration
-
The root
class for the FastCGI server implementation.
+
The “root” class for the FastCGI server implementation.
See more
@@ -359,10 +358,6 @@ Declaration
-
-
-
-
-
-
-
@@ -464,9 +451,11 @@ Declaration
-
@@ -519,9 +508,11 @@
Declaration
-
@@ -537,14 +528,7 @@
HTTPServer
-
An HTTP server that listens for connections on a socket.
-
Usage Example:
-
//Create a server that listens for connections on a specified socket.
- let server = try HTTPServer.listen(on: 0, delegate: delegate)
- ...
- //Stop the server.
- server.stop()
-
+
Undocumented
See more
@@ -565,9 +549,11 @@ Declaration
-
@@ -620,9 +606,11 @@
Declaration
-
@@ -671,10 +659,6 @@
Declaration
-
-
-
-
-
@@ -698,16 +682,13 @@ Declaration
Swift
public class HeadersContainer
+
extension HeadersContainer: Collection
-
-
-
-
-
@@ -749,9 +730,11 @@ Declaration
-
@@ -792,9 +775,11 @@
Declaration
-
@@ -840,8 +825,8 @@
Declaration