Skip to content

Releases: shareup/websocket-apple

v2.3.0

17 Mar 09:05
00de3b9
Compare
Choose a tag to compare

Add timeoutIntervalForRequest and timeoutIntervalForResource.

v2.2.2

20 Dec 18:24
17747e7
Compare
Choose a tag to compare

Add comprehensive logging using Apple's os_log.

Currently, all the logs are captured at the debug log level, which means they are not persisted to disk. This may be changed in the future.

Unified Logging and Activity Tracing WWDC video

v2.2.1

20 Dec 09:50
Compare
Choose a tag to compare

Specify an autorelease frequency of .workItem, which creates an autorelease pool around each block, for the publisher queue.

v2.2.0

20 Dec 09:42
8f47235
Compare
Choose a tag to compare
  • Remove webSocketQueue because URLSessionWebSocketTask seems to be thread-safe.
  • Allow consumers to specify the DispatchQueue on which WebSocket will publish messages.

v2.1.1

19 Dec 10:57
Compare
Choose a tag to compare

Send Subscribers.Completion.failure when receiving client-side networking errors.

v2.1.0

31 Oct 22:11
b15957b
Compare
Choose a tag to compare

Add WebSocket.maximumMessageSize.

v2.0.3

08 Jul 21:41
98375bd
Compare
Choose a tag to compare

Serialize all communication with URLSessionWebSocketTask on the delegate queue.

This is an attempt to fix a problem in which URLSessionWebSocketTask occassionally throws this exception:

Fatal error: Only one of message or error should be nil: file /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/swiftlang_overlay_Foundation/swiftlang-1103.8.25.8/swift/stdlib/public/Darwin/Foundation/URLSession.swift, line 46

https://developer.apple.com/forums/thread/117827

v2.0.2

06 Jul 10:53
Compare
Choose a tag to compare

Add onCompletion to URLSessionWebSocketDelegate.

v2.0.1

05 Jul 22:31
Compare
Choose a tag to compare

Fix crash when closing WebSocket.

v2.0.0

05 Jul 20:46
Compare
Choose a tag to compare