Krossbow Versions Save

A Kotlin multiplatform coroutine-based STOMP client over websockets, with built-in conversions.

6.0.0

1 month ago

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

5.12.0

5 months ago

Upgraded dependencies:

5.11.0

5 months ago

Upgraded dependencies:

5.10.0

6 months ago

Upgraded dependencies:

5.8.0

6 months ago

Upgraded dependencies:

5.7.0

7 months ago

Implemented enhancements:

  • asKrossbowWebSocketClient\(\) extension to adapt Spring clients to Krossbow WS API #383

Deprecations:

  • Deprecate built-in adapted Spring client objects in favor of asKrossbowWebSocketClient\(\) extension #385
  • Deprecate SpringWebSocketClientAdapter in favor of asKrossbowWebSocketClient\(\) extension #384
  • Deprecate Spring Jetty client (deprecated in Spring 6 for removal) #382

Upgraded dependencies:

  • Upgrade Spring to version 6.0.12 (Java 17+ only) #298

5.6.0

7 months ago

Implemented enhancements:

  • Define a specific SessionDisconnectedException to represent STOMP frames completion #379

Upgraded dependencies:

5.5.0

8 months ago

Implemented enhancements:

  • Support for custom headers in the web socket handshake #360

Upgraded dependencies:

  • Bump org.jetbrains.kotlinx:atomicfu from 0.21.0 to 0.22.0 #362 (@dependabot[bot])
  • Upgrade uuid to version 0.8.0 #361
  • Upgrade Okio to version 3.5.0 #358
  • Upgrade Kotlin to version 1.9.0 #357

Fixed bugs:

  • OkHttp fails to report handshake failures when it can't read the response body #359

5.4.0

9 months ago

Upgraded dependencies:

5.3.0

10 months ago

Implemented enhancements:

  • Provide additional info in WebSocketConnectionException #337

Removals:

  • Remove support for deprecated watchosX86 target #336

Upgraded dependencies:

  • Upgrade Kotlin to version 1.8.22 #335
  • Upgrade jackson to version 2.15.2 #334
  • Upgrade uuid to version 0.7.1 #333
  • Upgrade Ktor to version 2.3.1 #332