Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
0.20.0 - kotlinx-io, Ktor 3.1, QUIC, Wasm source code.tar.gz | 2025-03-11 | 227.0 kB | |
0.20.0 - kotlinx-io, Ktor 3.1, QUIC, Wasm source code.zip | 2025-03-11 | 573.0 kB | |
README.md | 2025-03-11 | 2.7 kB | |
Totals: 3 Items | 802.6 kB | 0 |
Breaking changes
- The whole codebase is migrated to use kotlinx-io types instead of ktor-io
- Ktor major version was updated (Ktor 2.x -> Ktor 3.x)
- New transport API was introduced, which should align transport creation DSL per all transports and enforce consistent naming scheme. Old API will be dropped in next major release
- Ktor plugins are migrated to use latest ktor APIs and renamed to repeat ktor modules naming convention
There is no migration guide, but migrating chat sample could be a starting point in understanding what's changed. As for standalone transport API changes, at this moment tests contains both old and new API so could be used as a references: ktor-tcp and ktor-websocket
Main changes
- Rework transport and internal implementation to support multiplexed transports (https://github.com/rsocket/rsocket-kotlin/pull/255, https://github.com/rsocket/rsocket-kotlin/pull/256, https://github.com/rsocket/rsocket-kotlin/pull/259, https://github.com/rsocket/rsocket-kotlin/pull/290)
- Netty TCP and QUIC transports (https://github.com/rsocket/rsocket-kotlin/pull/257, https://github.com/rsocket/rsocket-kotlin/pull/283, https://github.com/rsocket/rsocket-kotlin/pull/290)
- Rename and refactor ktor plugins (https://github.com/rsocket/rsocket-kotlin/pull/258, https://github.com/rsocket/rsocket-kotlin/pull/292)
- Migrate to kotlinx-io and ktor 3.0 (https://github.com/rsocket/rsocket-kotlin/pull/280, https://github.com/rsocket/rsocket-kotlin/pull/294, https://github.com/rsocket/rsocket-kotlin/pull/288, https://github.com/rsocket/rsocket-kotlin/pull/298)
- Support all K/N targets and Wasm (https://github.com/rsocket/rsocket-kotlin/pull/281)
- Setup benchmarks for all transports (https://github.com/rsocket/rsocket-kotlin/pull/293)
Other changes
- Add klib BCV (https://github.com/rsocket/rsocket-kotlin/pull/291)
- Deprecate nodejs transport in favor of ktor (https://github.com/rsocket/rsocket-kotlin/pull/287)
Core versions
- Kotlin 2.1.10
- kotlinx.coroutines 1.10.1
- kotlinx.io 0.6.0
- Ktor 3.1.1
Full Changelog: https://github.com/rsocket/rsocket-kotlin/compare/0.16.0...0.20.0