Skip to content

Releases: shareup/websocket-apple

v2.5.0

03 Jun 20:40
78df9bf

Choose a tag to compare

Consume Synchronized static library.

v2.4.0

10 Apr 09:52

Choose a tag to compare

Consume SynchronizedDynamic dynamic library instead of the statically-linked library.

v2.3.0

17 Mar 09:05
00de3b9

Choose a tag to compare

Add timeoutIntervalForRequest and timeoutIntervalForResource.

v2.2.2

20 Dec 18:24
17747e7

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

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

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

Choose a tag to compare

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

v2.1.0

31 Oct 22:11
b15957b

Choose a tag to compare

Add WebSocket.maximumMessageSize.

v2.0.3

08 Jul 21:41
98375bd

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

Choose a tag to compare

Add onCompletion to URLSessionWebSocketDelegate.