Skip to content

Release 0.8.0 #366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: leftovers
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env:
ALGOLIA_INDEX_NAME: 'prod_kotlin_rpc'
ALGOLIA_KEY: '${{ secrets.ALGOLIA_KEY }}'
CONFIG_JSON_PRODUCT: 'kotlinx-rpc'
CONFIG_JSON_VERSION: '0.7.0'
CONFIG_JSON_VERSION: '0.8.0'

jobs:
build:
Expand Down
54 changes: 54 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,57 @@
# 0.8.0
> Published 30 June 2025

## 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](https://kotlin.github.io/kotlinx-rpc/strict-mode.html)

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](https://kotlin.github.io/kotlinx-rpc/0-8-0.html).

## Docs update

We added three new documentation sections:
- [API Reference](https://kotlin.github.io/kotlinx-rpc/api/index.html)
- [Platform compatibility overview](https://kotlin.github.io/kotlinx-rpc/platforms.html)
- [Changelog](https://kotlin.github.io/kotlinx-rpc/changelog.html) in the web

### Features 🎉
* Serialization decoupling by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/354
* Update Kotlin to 2.2.0 by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/359

### Breaking Changes 🔴
* [Meta] Strict mode, deprecations, lifetime by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/353

### Bug fixes 🐛
* Fix compilation for standalone k2 module by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/350
* Fix Pupperteer Version by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/355

### Documentation 📗
* Platforms Table and docs by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/356
* Dokka by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/357
* Add Changelog.md to Docs by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/358
* Onboarding by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/363

### Other Changes 🧹
* Advance version to 0.8.0-SNAPSHOT by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/340
* Update README.md to use non-suspend flows by @brokenhappy in https://github.com/Kotlin/kotlinx-rpc/pull/342
* Fix kotlin master builds by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/345
* Simplify Gradle Configs by @Mr3zee in https://github.com/Kotlin/kotlinx-rpc/pull/360

## New Contributors
* @brokenhappy made their first contribution in https://github.com/Kotlin/kotlinx-rpc/pull/342

**Full Changelog**: https://github.com/Kotlin/kotlinx-rpc/compare/0.7.0...0.8.0

# 0.7.0
> Published 13 May 2025

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Example of a setup in a project's `build.gradle.kts`:
plugins {
kotlin("multiplatform") version "2.2.0"
kotlin("plugin.serialization") version "2.2.0"
id("org.jetbrains.kotlinx.rpc.plugin") version "0.7.0"
id("org.jetbrains.kotlinx.rpc.plugin") version "0.8.0"
}
```

Expand All @@ -151,15 +151,15 @@ And now you can add dependencies to your project:
```kotlin
dependencies {
// Client API
implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-client:0.7.0")
implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-client:0.8.0")
// Server API
implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-server:0.7.0")
implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-server:0.8.0")
// Serialization module. Also, protobuf and cbor are provided
implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-serialization-json:0.7.0")
implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-serialization-json:0.8.0")

// Transport implementation for Ktor
implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-ktor-client:0.7.0")
implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-ktor-server:0.7.0")
implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-ktor-client:0.8.0")
implementation("org.jetbrains.kotlinx:kotlinx-rpc-krpc-ktor-server:0.8.0")

// Ktor API
implementation("io.ktor:ktor-client-cio-jvm:$ktor_version")
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/kotlinx-rpc/help-versions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[
{"version":"0.7.0","url":"/kotlinx-rpc/0.7.0/","isCurrent":true}
{"version":"0.8.0","url":"/kotlinx-rpc/0.8.0/","isCurrent":true}
]
2 changes: 1 addition & 1 deletion docs/pages/kotlinx-rpc/v.list
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
<var name="host" value="https://kotlin.github.io"/>

<!-- Library versions -->
<var name="kotlinx-rpc-version" value="0.7.0"/>
<var name="kotlinx-rpc-version" value="0.8.0"/>
<var name="kotlin-version" value="2.2.0"/>
</vars>
2 changes: 1 addition & 1 deletion docs/pages/kotlinx-rpc/writerside.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
<images dir="images" web-path="images/"/>
<categories src="c.list"/>
<vars src="v.list"/>
<instance src="rpc.tree" version="0.7.0" web-path="/kotlinx-rpc/"/>
<instance src="rpc.tree" version="0.8.0" web-path="/kotlinx-rpc/"/>
</ihp>
60 changes: 30 additions & 30 deletions kotlin-js-store/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading