|
| 1 | +# 0.8.0 |
| 2 | +> Published 30 June 2025 |
| 3 | +
|
| 4 | +## Overview |
| 5 | +This release brings a lot of changes, including breaking changes: |
| 6 | +- Kotlin 2.2.0 Update |
| 7 | +- Decoupling of `kotlinx.serialization` from the core functionality |
| 8 | +- Simplifying lifetime schema (services lost their `CoroutineScope`) |
| 9 | +- Irreversible enforcement of the [strict mode](https://kotlin.github.io/kotlinx-rpc/strict-mode.html) |
| 10 | + |
| 11 | +These changes significantly reduce the number of footguns and improve the overall usability of the library. |
| 12 | + |
| 13 | +Additionally, the internal structure of kRPC protocol and our compiler plugin reduced its complexity. |
| 14 | +That allows us to provide better quality in future releases |
| 15 | +(and this also applies to gRPC, even though in this particular release it was not a priority). |
| 16 | + |
| 17 | +For the full list of changes that require migration, |
| 18 | +see the [Migration Guide](https://kotlin.github.io/kotlinx-rpc/0-8-0.html). |
| 19 | + |
| 20 | +## Docs update |
| 21 | + |
| 22 | +We added three new documentation sections: |
| 23 | +- [API Reference](https://kotlin.github.io/kotlinx-rpc/api/index.html) |
| 24 | +- [Platform compatibility overview](https://kotlin.github.io/kotlinx-rpc/platforms.html) |
| 25 | +- [Changelog](https://kotlin.github.io/kotlinx-rpc/changelog.html) in the web |
| 26 | + |
| 27 | +### Features 🎉 |
| 28 | +* Serialization decoupling by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/354 |
| 29 | +* Update Kotlin to 2.2.0 by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/359 |
| 30 | + |
| 31 | +### Breaking Changes 🔴 |
| 32 | +* [Meta] Strict mode, deprecations, lifetime by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/353 |
| 33 | + |
| 34 | +### Bug fixes 🐛 |
| 35 | +* Fix compilation for standalone k2 module by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/350 |
| 36 | +* Fix Pupperteer Version by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/355 |
| 37 | + |
| 38 | +### Documentation 📗 |
| 39 | +* Platforms Table and docs by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/356 |
| 40 | +* Dokka by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/357 |
| 41 | +* Add Changelog.md to Docs by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/358 |
| 42 | +* Onboarding by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/363 |
| 43 | + |
| 44 | +### Other Changes 🧹 |
| 45 | +* Advance version to 0.8.0-SNAPSHOT by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/340 |
| 46 | +* Update README.md to use non-suspend flows by @brokenhappy in https://github.com/Kotlin/kotlinx-rpc/pull/342 |
| 47 | +* Fix kotlin master builds by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/345 |
| 48 | +* Simplify Gradle Configs by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/360 |
| 49 | + |
| 50 | +## New Contributors |
| 51 | +* @brokenhappy made their first contribution in https://github.com/Kotlin/kotlinx-rpc/pull/342 |
| 52 | + |
| 53 | +**Full Changelog**: https://github.com/Kotlin/kotlinx-rpc/compare/0.7.0...0.8.0 |
| 54 | + |
| 55 | +# 0.7.0 |
| 56 | +> Published 13 May 2025 |
| 57 | +
|
| 58 | +## Announcement |
| 59 | +This release enforces ERROR as a default reporting level for APIs that are forbidden by the strict mode. |
| 60 | +You can still change the level manually, but in `0.8.0` strict mode will be enforced irreversibly. |
| 61 | + |
| 62 | +### Breaking Changes 🔴 |
| 63 | +* Change strict mode to level ERROR by default by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/338 |
| 64 | + |
| 65 | +### Other Changes 🧹 |
| 66 | +* Update Kotlin to 2.1.21 by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/337 |
| 67 | +* Version 0.7.0-SNAPSHOT by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/325 |
| 68 | +* Samples: version 0.6.2 by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/326 |
| 69 | +* 2.2.0 compiler migration by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/335 |
| 70 | + |
| 71 | +**Full Changelog**: https://github.com/Kotlin/kotlinx-rpc/compare/0.6.2...0.7.0 |
| 72 | + |
| 73 | +# 0.6.2 |
| 74 | +> Published 17 April 2025 |
| 75 | +
|
| 76 | +### Bug fixes 🐛 |
| 77 | +* Fix flows that emit Units by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/323 |
| 78 | + |
| 79 | +**Full Changelog**: https://github.com/Kotlin/kotlinx-rpc/compare/0.6.1...0.6.2 |
| 80 | + |
| 81 | +# 0.6.1 |
| 82 | +> Published 11 April 2025 |
| 83 | +
|
| 84 | +### Bug fixes 🐛 |
| 85 | +* Fix bidirectional flows in non-suspend streams by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/316 |
| 86 | +* Fix KRPC-173 (#315) by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/317 |
| 87 | + |
| 88 | +**Full Changelog**: https://github.com/Kotlin/kotlinx-rpc/compare/0.6.0...0.6.1 |
| 89 | + |
| 90 | +# 0.6.0 |
| 91 | +> Published 4 April 2025 |
| 92 | +
|
| 93 | +### Features 🎉 |
| 94 | +* 2.1.20 by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/309 |
| 95 | +* Non suspend flow by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/299 |
| 96 | + |
| 97 | +### Documentation 📗 |
| 98 | +* Update gRPC Docs and Sample by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/284 |
| 99 | + |
| 100 | +### Infra 🚧 |
| 101 | +* Update monitior by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/282 |
| 102 | +* Fix build config for for-ide builds by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/287 |
| 103 | +* Update build for custom KC versions by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/293 |
| 104 | +* Fix kotlin master compilation by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/306 |
| 105 | + |
| 106 | +### Other Changes 🧹 |
| 107 | +* Upgrade Gradle to 8.12.1 by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/286 |
| 108 | +* Version 0.6.0-SNAPSHOT by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/283 |
| 109 | +* Update leftover sources from jvm-only to kmp by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/300 |
| 110 | +* KRPC-129 Move compatibility tests from Toolbox to Kotlin RPC repo by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/304 |
| 111 | +* Dependency bump by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/303 |
| 112 | +* Better compiler error message for checked annotations by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/302 |
| 113 | + |
| 114 | +**Full Changelog**: https://github.com/Kotlin/kotlinx-rpc/compare/0.5.1...0.6.0 |
| 115 | + |
1 | 116 | # 0.5.1 |
2 | 117 | > Published 12 February 2025 |
3 | 118 |
|
|
0 commit comments