Skip to content

Releases: joffrey-bion/krossbow

7.1.0

04 Jun 08:02
Compare
Choose a tag to compare

Upgraded dependencies:

7.0.0

30 Apr 00:59
Compare
Choose a tag to compare

Breaking changes:

  • Stop throwing and deprecate org.hildan.krossbow.stomp.WebSocketConnectionException #499
  • Add websocket subprotocol negotiation for STOMP #497
  • Expose the negotiated web socket subprotocol as WebSocketConnection.protocol #498
  • Support selecting web socket subprotocols (Sec\-WebSocket\-Protocol header) #493

Implemented enhancements:

  • Enable binary compatibility mode for default methods in interfaces #496

Upgraded dependencies:

6.0.0

30 Mar 20:16
ac3c5b2
Compare
Choose a tag to compare

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

24 Nov 17:27
Compare
Choose a tag to compare

Upgraded dependencies:

5.11.0

14 Nov 22:14
Compare
Choose a tag to compare

Upgraded dependencies:

5.10.0

02 Nov 23:30
Compare
Choose a tag to compare

Upgraded dependencies:

5.8.0

14 Oct 17:24
Compare
Choose a tag to compare

Upgraded dependencies:

5.7.0

19 Sep 21:45
Compare
Choose a tag to compare

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

18 Sep 09:30
Compare
Choose a tag to compare

Implemented enhancements:

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

Upgraded dependencies:

5.5.0

21 Aug 21:13
b8e0595
Compare
Choose a tag to compare

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