Skip to content

Releases: Kotlin/kotlinx-rpc

0.10.0

07 Oct 09:12
0e3b601

Choose a tag to compare

Overview

This release brings a lot of changes, work:

  • Kotlin 2.2.20 and 2.2.10 support
  • kRPC: Backpressure

To read about the backpressure feature,
see the updated kRPC Configuration page.

Breaking Changes 🔴

Features 🎉

Bug fixes 🐛

  • Add collect once check for client streams by @Mr3zee in #431
  • Fix diagnostic rendering for compiler plugins checkers by @Mr3zee in #432
  • fix wrong unchecked null cast (potential NPE) by @y9maly in #445

Documentation 📗

Infra 🚧

  • Fix docs yaml and signing tasks by @Mr3zee in #404
  • Fix jdk resolution problems on CI by @Mr3zee in #406
  • Use compat-patrouille for compatibility settings by @Mr3zee in #438

Other Changes 🧹

  • Fix how we create 'publishMavenArtifact' tasks by @Mr3zee in #416
  • Update grpc-sample app by @Mr3zee in #425
  • Fix LV and signing by @Mr3zee in #424
  • Update ktor-all-platforms-app sample to sync service creation by @Mr3zee in #455
  • Added Ktor closure tests and Cancellation tests, + minor fixes by @Mr3zee in #479
  • Fix flaky tests by @Mr3zee in #481

New Contributors

Full Changelog: 0.9.1...0.10.0

0.9.1

18 Jul 09:56
486bb39

Choose a tag to compare

Important fix, not included in any PR

We fixed a problem in 0.8.1 with unresolved Apple and Windows artifacts.
The same problem affected initial 0.9.0 release, that's why we've published 0.9.1 and skipped 0.9.0.

Bug fixes 🐛

  • Support nullable contextual serializers by @yakivy in #392
  • Make WS plugin installation for Ktor server more flexible by @Mr3zee in #398
  • Make KtorRpcClient inherit KrpcClient by @Mr3zee in #396

Documentation 📗

Infra 🚧

Other Changes 🧹

Full Changelog: 0.8.1...0.9.0

0.8.1

09 Jul 13:26
1b87350

Choose a tag to compare

Bug fixes 🐛

Documentation 📗

Infra 🚧

Other Changes 🧹

New Contributors

Full Changelog: 0.8.0...0.8.1

0.8.0

01 Jul 23:43
6fcb792

Choose a tag to compare

Overview

This release brings a lot of changes, including breaking changes:

  • Kotlin 2.2.0 Update
  • Decoupling of kotlinx.serialization from the core functionality
  • Simplifying lifetime schema (services lost their CoroutineScope)
  • Irreversible enforcement of the strict mode

These changes significantly reduce the number of footguns and improve the overall usability of the library.

Additionally, the internal structure of kRPC protocol and our compiler plugin reduced its complexity.
That allows us to provide better quality in future releases
(and this also applies to gRPC, even though in this particular release it was not a priority).

For the full list of changes that require migration,
see the Migration Guide.

Docs update

We added three new documentation sections:

Features 🎉

Breaking Changes 🔴

  • [Meta] Strict mode, deprecations, lifetime by @Mr3zee in #353

Bug fixes 🐛

Documentation 📗

Other Changes 🧹

New Contributors

Full Changelog: 0.7.0...0.8.0

0.7.0

14 May 11:01
7a2463a

Choose a tag to compare

Announcement

This release enforces ERROR as a default reporting level for APIs that are forbidden by the strict mode.
You can still change the level manually, but in 0.8.0 strict mode will be enforced irreversibly.

What's Changed

Breaking Changes 🔴

  • Change strict mode to level ERROR by default by @Mr3zee in #338

Other Changes 🧹

Full Changelog: 0.6.2...0.7.0

0.6.2

18 Apr 08:26
883c7ad

Choose a tag to compare

Bug fixes 🐛

Full Changelog: 0.6.1...0.6.2

0.6.1

11 Apr 09:34
9243ed6

Choose a tag to compare

Bug fixes 🐛

Full Changelog: 0.6.0...0.6.1

0.6.0

04 Apr 13:29
07b10fb

Choose a tag to compare

Features 🎉

Documentation 📗

Infra 🚧

Other Changes 🧹

  • Upgrade Gradle to 8.12.1 by @Mr3zee in #286
  • Version 0.6.0-SNAPSHOT by @Mr3zee in #283
  • Update leftover sources from jvm-only to kmp by @Mr3zee in #300
  • KRPC-129 Move compatibility tests from Toolbox to Kotlin RPC repo by @Mr3zee in #304
  • Dependency bump by @Mr3zee in #303
  • Better compiler error message for checked annotations by @Mr3zee in #302

Full Changelog: 0.5.1...0.6.0

0.5.1

13 Feb 13:03
d9d9c00

Choose a tag to compare

Features 🎉

Documentation 📗

Infra 🚧

Other Changes 🧹

New Contributors

Full Changelog: 0.5.0...0.5.1

0.5.0

28 Jan 12:19
a62433e

Choose a tag to compare

Features 🎉

Breaking Changes 🔴

  • Api naming by @Mr3zee in #236
  • Update Service Descriptors Generation by @Mr3zee in #227
  • Added basic CheckedTypeAnnotation impl with compiler plugin check by @Mr3zee in #240

Deprecations ⚠️

Infra 🚧

  • Update the project structure to work with kotlin-master by @Mr3zee in #234
  • Fixed version formatting with ENV vars by @Mr3zee in #235
  • Fix Kotlin master compilation by @Mr3zee in #245
  • Opt-out from annotations type safety analysis by @Mr3zee in #246

Other Changes 🧹

  • Added test for non-serializable params by @Mr3zee in #237
  • Updated descriptor to use RpcType instead of KType directly by @Mr3zee in #239

Full Changelog: 0.4.0...0.5.0