From a3d443268ad7f981cb7d50365570c2d51aaf9b17 Mon Sep 17 00:00:00 2001
From: Erik Little
Date: Sun, 29 Jul 2018 10:34:17 -0400
Subject: [PATCH] bump version
---
CHANGELOG.md | 4 +
README.md | 6 +-
Socket.IO-Client-Swift.podspec | 4 +-
docs/12to13.html | 6 +-
docs/Classes.html | 235 ++++++-------
docs/Classes/OnAckCallback.html | 7 +-
docs/Classes/SSLSecurity.html | 7 +-
docs/Classes/SocketAckEmitter.html | 12 +-
docs/Classes/SocketAnyEvent.html | 12 +-
docs/Classes/SocketEngine.html | 47 +--
docs/Classes/SocketIOClient.html | 80 +++--
docs/Classes/SocketManager.html | 28 +-
docs/Classes/SocketRawAckView.html | 7 +-
docs/Classes/SocketRawView.html | 10 +-
docs/Enums.html | 137 ++++----
docs/Enums/SocketAckStatus.html | 11 +-
docs/Enums/SocketClientEvent.html | 39 +--
docs/Enums/SocketEnginePacketType.html | 31 +-
docs/Enums/SocketIOClientOption.html | 80 +----
docs/Enums/SocketIOStatus.html | 30 +-
docs/Enums/SocketParsableError.html | 19 +-
docs/Guides.html | 5 +-
docs/Protocols.html | 326 +++++++++---------
docs/Protocols/ConfigSettable.html | 4 +-
docs/Protocols/SocketData.html | 4 +-
docs/Protocols/SocketDataBufferable.html | 8 +-
docs/Protocols/SocketEngineClient.html | 7 +-
docs/Protocols/SocketEnginePollable.html | 14 +-
docs/Protocols/SocketEngineSpec.html | 48 +--
docs/Protocols/SocketEngineWebsocket.html | 4 +-
docs/Protocols/SocketIOClientSpec.html | 18 +-
docs/Protocols/SocketLogger.html | 8 +-
docs/Protocols/SocketManagerSpec.html | 28 +-
docs/Protocols/SocketParsable.html | 6 +-
docs/Structs.html | 5 +-
docs/Structs/SocketEventHandler.html | 4 +-
docs/Structs/SocketIOClientConfiguration.html | 20 +-
docs/Structs/SocketPacket.html | 14 +-
docs/Structs/SocketPacket/PacketType.html | 75 ++--
docs/Typealiases.html | 5 +-
docs/faq.html | 4 +-
docs/index.html | 10 +-
docs/search.json | 2 +-
43 files changed, 700 insertions(+), 731 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5575ba3..782da41 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+# v13.3.0
+
+- Copy cookies from polling to WebSockets ([#1057](https://github.com/socketio/socket.io-client-swift/issues/1057), [#1058](https://github.com/socketio/socket.io-client-swift/issues/1058))
+
# v13.2.1
- Fix packets getting lost when WebSocket upgrade fails. [#1033](https://github.com/socketio/socket.io-client-swift/issues/1033)
diff --git a/README.md b/README.md
index b0fcb36..eea6ed0 100644
--- a/README.md
+++ b/README.md
@@ -86,7 +86,7 @@ let package = Package(
.executable(name: "socket.io-test", targets: ["YourTargetName"])
],
dependencies: [
- .package(url: "https://github.com/socketio/socket.io-client-swift", .upToNextMinor(from: "13.2.0"))
+ .package(url: "https://github.com/socketio/socket.io-client-swift", .upToNextMinor(from: "13.3.0"))
],
targets: [
.target(name: "YourTargetName", dependencies: ["SocketIO"], path: "./Path/To/Your/Sources")
@@ -99,7 +99,7 @@ Then import `import SocketIO`.
### Carthage
Add this line to your `Cartfile`:
```
-github "socketio/socket.io-client-swift" ~> 13.2.0
+github "socketio/socket.io-client-swift" ~> 13.3.0
```
Run `carthage update --platform ios,macosx`.
@@ -113,7 +113,7 @@ Create `Podfile` and add `pod 'Socket.IO-Client-Swift'`:
use_frameworks!
target 'YourApp' do
- pod 'Socket.IO-Client-Swift', '~> 13.2.0'
+ pod 'Socket.IO-Client-Swift', '~> 13.3.0'
end
```
diff --git a/Socket.IO-Client-Swift.podspec b/Socket.IO-Client-Swift.podspec
index d6c3b72..24a9545 100644
--- a/Socket.IO-Client-Swift.podspec
+++ b/Socket.IO-Client-Swift.podspec
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = "Socket.IO-Client-Swift"
s.module_name = "SocketIO"
- s.version = "13.2.1"
+ s.version = "13.3.0"
s.summary = "Socket.IO-client for iOS and OS X"
s.description = <<-DESC
Socket.IO-client for iOS and OS X.
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.source = {
:git => "https://github.com/socketio/socket.io-client-swift.git",
- :tag => 'v13.2.1',
+ :tag => 'v13.3.0',
:submodules => true
}
s.pod_target_xcconfig = {
diff --git a/docs/12to13.html b/docs/12to13.html
index 84cee3e..480603b 100644
--- a/docs/12to13.html
+++ b/docs/12to13.html
@@ -270,7 +270,7 @@ will fire a connect event.
The difference is that if connect() is just called on the manager, then any sockets for that manager that are not the default
socket will not automatically connect. connect() will need to be called individually for each socket. However, if connect()
-is called on a client, then in addition to opening the connection if needed, the client will connect to the its namespace,
+is called on a client, then in addition to opening the connection if needed, the client will connect to its namespace,
and a connect event fired.
@@ -280,8 +280,8 @@ and a connect event fired.
+
@@ -189,39 +190,6 @@
-
-
@@ -365,88 +333,6 @@ Example:
-
-
- -
-
-
-
-
-
-
-
A wrapper around Starscream’s SSLSecurity that provides a minimal Objective-C interface.
-
-
See more
-
-
-
Declaration
-
-
Swift
-
open class SSLSecurity : NSObject
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
A manager for a socket.io connection.
-
-
A SocketManager is responsible for multiplexing multiple namespaces through a single SocketEngineSpec.
-
-
Example:
-
let manager = SocketManager(socketURL: URL(string:"http://localhost:8080/")!)
-let defaultNamespaceSocket = manager.defaultSocket
-let swiftSocket = manager.socket(forNamespace: "/swift")
-
-// defaultNamespaceSocket and swiftSocket both share a single connection to the server
-
-
-
Sockets created through the manager are retained by the manager. So at the very least, a single strong reference
-to the manager must be maintained to keep sockets alive.
-
-
To disconnect a socket and remove it from the manager, either call SocketIOClient.disconnect() on the socket,
-or call one of the disconnectSocket methods on this class.
-
-
NOTE: The manager is not thread/queue safe, all interaction with the manager should be done on the handleQueue
-
-
See more
-
-
-
-
-
-
-
-
@@ -515,14 +401,129 @@ or call one of the
disconnectSocket methods on this class.
+
+
+
+ -
+
+
+
+
+
+
+
A manager for a socket.io connection.
+
+
A SocketManager is responsible for multiplexing multiple namespaces through a single SocketEngineSpec.
+
+
Example:
+
let manager = SocketManager(socketURL: URL(string:"http://localhost:8080/")!)
+let defaultNamespaceSocket = manager.defaultSocket
+let swiftSocket = manager.socket(forNamespace: "/swift")
+
+// defaultNamespaceSocket and swiftSocket both share a single connection to the server
+
+
+
Sockets created through the manager are retained by the manager. So at the very least, a single strong reference
+to the manager must be maintained to keep sockets alive.
+
+
To disconnect a socket and remove it from the manager, either call SocketIOClient.disconnect() on the socket,
+or call one of the disconnectSocket methods on this class.
+
+
NOTE: The manager is not thread/queue safe, all interaction with the manager should be done on the handleQueue
+
+
See more
+
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
A wrapper around Starscream’s SSLSecurity that provides a minimal Objective-C interface.
+
+
See more
+
+
+
Declaration
+
+
Swift
+
open class SSLSecurity : NSObject
+
+
+
+
+
+
+
+
+
@@ -189,38 +190,6 @@
-
-
- -
-
-
-
-
-
-
-
Represents the type of engine.io packet types.
-
-
See more
-
-
-
Declaration
-
-
Swift
-
@objc public enum SocketEnginePacketType : Int
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
The set of events that are generated by the client.
-
-
See more
-
-
-
Declaration
-
-
Swift
-
public enum SocketClientEvent : String
-
-
-
-
-
-
-
-
+
+
+ -
+
+
+
+
+
+
+
The set of events that are generated by the client.
+
+
See more
+
+
+
Declaration
+
+
Swift
+
public enum SocketClientEvent : String
+
+
+
+
+
+
+
+
-
@@ -340,7 +309,41 @@
Declaration
Swift
-
public enum SocketIOStatus : Int, CustomStringConvertible
+
@objc
+public enum SocketIOStatus : Int, CustomStringConvertible
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
Represents the type of engine.io packet types.
+
+
See more
+
+
+
Declaration
+
+
Swift
+
@objc
+public enum SocketEnginePacketType : Int
@@ -387,8 +390,8 @@
+
@@ -291,8 +292,8 @@