Releases: joffrey-bion/krossbow
Releases · joffrey-bion/krossbow
7.1.0
Upgraded dependencies:
- Bump org.springframework:spring-websocket from 6.1.7 to 6.1.8 #514 (@dependabot[bot])
- Bump kotlinx-io from 0.3.4 to 0.3.5 #510 (@dependabot[bot])
- Bump ktor from 2.3.10 to 2.3.11 #503 (@dependabot[bot])
- Bump org.springframework:spring-websocket from 6.1.6 to 6.1.7 #508 (@dependabot[bot])
- Bump kotlinx-coroutines from 1.8.0 to 1.8.1 #505 (@dependabot[bot])
- Bump com.fasterxml.jackson:jackson-bom from 2.17.0 to 2.17.1 #501 (@dependabot[bot])
7.0.0
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:
- Bump kotlinx-io from 0.3.2 to 0.3.3 #495 (@dependabot[bot])
- Bump org.jetbrains.kotlinx:atomicfu from 0.23.2 to 0.24.0 #490 (@dependabot[bot])
- Bump org.springframework:spring-websocket from 6.1.5 to 6.1.6 #488 (@dependabot[bot])
- Bump ktor from 2.3.9 to 2.3.10 #484 (@dependabot[bot])
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
5.12.0
Upgraded dependencies:
- Bump com.fasterxml.jackson:jackson-bom from 2.15.3 to 2.16.0 #405 (@dependabot[bot])
- Bump kotlinx-serialization from 1.6.0 to 1.6.1 #404 (@dependabot[bot])
- Bump kotlin from 1.9.20 to 1.9.21 #409 (@dependabot[bot])
5.11.0
Upgraded dependencies:
- Bump com.benasher44:uuid from 0.8.1 to 0.8.2 #403 (@dependabot[bot])
- Bump kotlin from 1.9.10 to 1.9.20 #402
- Bump ktor from 2.3.5 to 2.3.6 #401 (@dependabot[bot])
5.10.0
Upgraded dependencies:
- Bump com.squareup.okhttp3:okhttp from 4.11.0 to 4.12.0 #396 (@dependabot[bot])
5.8.0
Upgraded dependencies:
- Bump com.fasterxml.jackson:jackson-bom from 2.15.2 to 2.15.3 #393 (@dependabot[bot])
- Bump ktor from 2.3.4 to 2.3.5 #389 (@dependabot[bot])
- Bump org.springframework:spring-websocket from 6.0.12 to 6.0.13 #392 (@dependabot[bot])
- Bump com.squareup.okio:okio from 3.5.0 to 3.6.0 #387 (@dependabot[bot])
- Bump de.fayard.refreshVersions from 0.60.2 to 0.60.3 #386 (@dependabot[bot])
5.7.0
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 ofasKrossbowWebSocketClient\(\)
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
Implemented enhancements:
- Define a specific
SessionDisconnectedException
to represent STOMP frames completion #379
Upgraded dependencies:
- Bump org.eclipse.jetty.websocket:websocket-client from 9.4.51.v20230217 to 9.4.52.v20230823 #373 (@dependabot[bot])
- Bump com.benasher44:uuid from 0.8.0 to 0.8.1 #375 (@dependabot[bot])
- Bump ktor from 2.3.3 to 2.3.4 #371 (@dependabot[bot])
- Bump kotlin from 1.9.0 to 1.9.10 #368 (@dependabot[bot])
- Bump kotlinx-serialization from 1.5.1 to 1.6.0 #367 (@dependabot[bot])
5.5.0
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