6.0.0
Breaking changes:
- New
supportsCustomHeaders
property inWebSocketClient
interface #474 - Support custom
CoroutineContext
for theReconnectingWebSocketClient
#473 - Use
kotlinx\-io
'sByteString
instead ofByteArray
in web socket API #449 - Use
kotlinx\-io
'sByteString
instead ofByteArray
in public STOMP APIs #448
Implemented enhancements:
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
andSpringSockJSWebSocketClient
objects #411
Upgraded dependencies:
- Bump com.benasher44:uuid from 0.8.2 to 0.8.4 #478 (@dependabot[bot])
- Bump org.springframework:spring-websocket from 6.1.4 to 6.1.5 #472 (@dependabot[bot])
- Bump com.fasterxml.jackson:jackson-bom from 2.16.1 to 2.17.0 #471 (@dependabot[bot])
- Bump kotlin from 1.9.22 to 1.9.23 #465 (@dependabot[bot])
- Bump ktor from 2.3.8 to 2.3.9 #461 (@dependabot[bot])
- Bump kotlinx-serialization from 1.6.2 to 1.6.3 #456 (@dependabot[bot])
- Bump kotlinx-coroutines from 1.7.3 to 1.8.0 #450 (@dependabot[bot])
- Bump com.fasterxml.jackson:jackson-bom from 2.16.0 to 2.16.1 #439 (@dependabot[bot])
- Bump org.jetbrains.kotlinx:atomicfu from 0.23.1 to 0.23.2 #437 (@dependabot[bot])
- Bump moshi from 1.15.0 to 1.15.1 #429 (@dependabot[bot])
- Bump org.eclipse.jetty.websocket:websocket-jetty-client from 11.0.18 to 11.0.19 #424 (@dependabot[bot])
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 whenws://
was used #458 - Custom headers are not respected in Darwin client #457