Skip to content

6.0.0

Compare
Choose a tag to compare
@joffrey-bion joffrey-bion released this 30 Mar 20:16
· 34 commits to main since this release
ac3c5b2

Breaking changes:

  • New supportsCustomHeaders property in WebSocketClient interface #474
  • Support custom CoroutineContext for the ReconnectingWebSocketClient #473
  • Use kotlinx\-io's ByteString instead of ByteArray in web socket API #449
  • Use kotlinx\-io's ByteString instead of ByteArray in public STOMP APIs #448

Implemented enhancements:

  • Add support for the linuxArm64 target #467
  • Switch from okio to kotlinx-io internally #447

Removals:

  • Remove the hidden WebSocketClient.connect\(url\) overload (without headers) #455
  • Remove the deprecated SpringWebSocketClientAdapter from public API (make it private) #454
  • Remove the deprecated SpringJettyWebSocketClient #410
  • Remove the deprecated JsWebSocketClientAdapter #453
  • Remove the deprecated WebSocketClient.Companion.default\(\) #452
  • Remove the deprecated SpringDefaultWebSocketClient and SpringSockJSWebSocketClient objects #411

Upgraded dependencies:

Fixed bugs:

  • Ktor-based websocket client doesn't fail when using custom headers in the browser #460
  • Sometimes 2 CLOSE frames are sent in Ktor client (JS engine) #459
  • OkHttp implementation reports http:// scheme in unresolved host error even when ws:// was used #458
  • Custom headers are not respected in Darwin client #457