Skip to content

0.15.4 - Ktor 2.0, New native memory manager, NodeJS transport

Compare
Choose a tag to compare
@whyoleg whyoleg released this 14 Apr 06:13
· 35 commits to master since this release
947d5ee

Breaking changes

  • Ktor is updated to 2.0, which is not compatible with previous versions
  • Only new native memory manager is supported from now
  • Changed ktor transport dependencies:
    • rsocket-ktor-client and rsocket-ktor-server - plugins for ktor client and server with RSocket support with ktor-like builders and routing (WS transport only)
      • client supported on all platforms
      • server supported on JVM and Native(except windows)
    • rsocket-transport-ktor-tcp - client and server TCP transport using ktor-network
      • supported on JVM and Native(except windows) platforms
    • rsocket-transport-ktor-websocket-client and rsocket-transport-ktor-websocket-server- client and server WS transport
      • comparing to rsocket-ktor-client and rsocket-ktor-server provides similar API to other rsocket-transport-* modules for simple usage without knowing ktor specifics
      • client supported on all platforms
      • server supported on JVM and Native(except windows)

Features:

  • Update to ktor 2.0 #208, #215
  • Support new native memory manager #208, #209
  • Support Native WS client and server transport #215
  • Experimental NodeJS TCP client and server transport #191

Bug fixes:

  • Fix limiter overflow #218 Thanks to @yuriykulikov !
  • Fix closing connection on cancelling requester #220

Other

  • Rework build configuration
  • Rework publication, to use single macos CI instance
  • Run JVM tests on java 8, 11 and 17
  • Replace jfrog snapshots publication to Github Packages
  • Improve tests stability
  • Make mulitplatform chat sample an independent project, using latest stable rsocket-kotlin version

Version updates

  • kotlin 1.6.20
  • ktor 2.0.0
  • kotlinx.coroutines 1.6.1

PR's merged

New Contributors

Full Changelog: 0.14.3...0.15.4